Pashto yesstr/nostr locale are missing
[glibc.git] / ChangeLog
blob381eda5c6d99756aed0abafe3d7a3d2be21e0f8f
1 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ# 21697]
4         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
6 2017-07-05  Florian Weimer  <fweimer@redhat.com>
8         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
9         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
10         * resolv/tst-resolv-threads.c: New file.
12 2017-07-05  Florian Weimer  <fweimer@redhat.com>
14         support: Add resolver testing mode which does not patch _res.
15         * support/resolv_test.h (struct resolv_redirect_config): Add
16         disable_redirect, server_address_overrides.
17         * support/resolv_test.c (make_server_sockets_for_address): New
18         function.
19         (resolv_test_start): Call it.
21 2017-07-05  Florian Weimer  <fweimer@redhat.com>
23         * support/namespace.h (struct support_chroot_configuration)
24         (struct support_chroot): Define.
25         (support_chroot_create, support_chroot_free): New functions.
26         * support/support_chroot.c: New file.
27         * support/Makefile (libsupport-routines): Add support_chroot.
28         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
29         (path_resolv_conf): Remove definitions.
30         (chroot_env): New variable.
31         (prepare): Call support_chroot_create.
32         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
33         (special_test_callback, do_test): Likewise.
35 2017-07-05  Florian Weimer  <fweimer@redhat.com>
37         Add subtest to check isolation of multiple loopback addresses.
38         * support/tst-support-namespace.c (test_localhost_bind): New function.
39         (do_test): Call it.
41 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
43         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
44         * libio/libioP.h (_IO_enable_locks): Declare.
45         * libio/Versions (_IO_enable_locks): New symbol.
46         * libio/genops.c (_IO_enable_locks): Define.
47         (_IO_old_init): Initialize flags2.
48         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
49         * libio/ferror.c (_IO_ferror): Likewise.
50         * libio/fputc.c (fputc): Likewise.
51         * libio/putc.c (_IO_putc): Likewise.
52         * libio/getc.c (_IO_getc): Likewise.
53         * libio/getchar.c (getchar): Likewise.
54         * libio/ioungetc.c (_IO_ungetc): Likewise.
55         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
56         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
57         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
59 2017-07-04  Florian Weimer  <fweimer@redhat.com>
61         [BZ #21542]
62         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
63         two if no accurate information is available.
64         * posix/tst-sysconf-empty-chroot.c: New file.
65         * posix/Makefile (tests): Add it.
67 2017-07-04  Florian Weimer  <fweimer@redhat.com>
69         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
70         server and sort list counts.  Fix improper check for empty search
71         path (completely missing domain name) leading to assertion failure
72         in update_from_conf.
73         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
74         hostname member.
75         (run_res_init): Set host name if requested.
76         (test_cases): Update.
78 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
80         * scripts/build-many-glibcs.py (Context.checkout): Default
81         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
82         kernel version to 4.12.
84 2017-07-04  Florian Weimer  <fweimer@redhat.com>
86         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
87         list management and the role of free_list_start.
88         (decrement_at_index): Put zero at the end of the free list.
89         (__resolv_conf_attach): Fix bogus assert.
90         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
91         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
93 2017-07-03  Florian Weimer  <fweimer@redhat.com>
95         resolv: Introduce free list for resolv_conf index slosts.
96         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
97         type to uintptr_t.
98         (struct resolv_conf_global): Add free_list_start member.
99         (resolv_conf_get_1): Check for free list entry.
100         (decrement_at_index): Put freed slot on the free list.
101         (__resolv_conf_attach): Obtain new slot from the free list.
102         * resolv/tst-resolv-res_ninit.c: New file.
103         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
104         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
105         (generated): Add mtrace-tst-resolv-res_ninit.out,
106         tst-resolv-res_ninit.mtrace.
107         (mtrace-tst-resolv-res_ninit.out): Add target.
109 2017-06-30  Florian Weimer  <fweimer@redhat.com>
111         [BZ #984]
112         Reload /etc/resolv.conf if has been changed on disk.
113         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
114         (__resolv_conf_load, __resolv_conf_get_current): Declare.
115         * resolv/resolv_conf.c (struct resolv_conf_global): Add
116         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
117         (__resolv_conf_get_current): New function.
118         (__resolv_conf_allocate): Do not initialize initstamp.
119         (freeres): Deallocate global->conf_current.
120         * resolv/resolv.h (RES_NORELOAD): Define.
121         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
122         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
123         * resolv/resolv_context.c (replicated_configuration_matches): New.
124         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
125         the current configration.
126         * resolv/res_init.c (__res_initstamp): Remove variable definition.
127         (has_preinit_values): New function.
128         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
129         parameter and do not call __resolv_conf_attach.
130         (__res_vinit): Reimplement based __resolv_conf_load.
131         (res_options): Handle no-reload.
132         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
133         (lock): Remove.
134         (res_int): Do not update __res_initstamp.
135         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
136         RES_NORELOAD.
137         (test_cases): Test no-reload.
138         (special_test_call_res_init): Remove.
139         (special_test_callback): Rely on automated reloading.  Add tests
140         for no-reload.
142 2017-06-30  Florian Weimer  <fweimer@redhat.com>
144         Mirror the entire resolver configuration in struct resolv_conf.
145         * resolv/resolv_context.h (__resolv_context_nameserver_count)
146         (__resolv_context_nameserver): New functions.
147         (__resolv_context_sort_count, __resolv_context_sort_entry):
148         Likewise.
149         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
150         resolv_context parameter.
151         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
152         (addrsort): Switch to struct resolv_context.
153         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
154         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
155         sort_list, sort_list_size, options, retrans, retry, ndots members.
156         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
157         (same_address): New functions.
158         (resolv_conf_matches): Compare the new array members.
159         (__resolv_conf_allocate): Allocate and copy the new array members.
160         (update_from_conf): Copy the entire configuration.
161         * resolv/res_init.c (struct nameserver_list, struct sort_list):
162         Define using dynarray.
163         (struct resolv_conf_parser): Add nameserver_list, sort_list,
164         template members.
165         (resolv_conf_parser_init): Add preinit argument.  Initialize the
166         new members.
167         (resolv_conf_parser_free): Deallocate the new arrays.
168         (allocate_address_v4): New function.
169         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
170         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
171         the parser object instead.  Use allocate_address_v4 to allocate
172         IPv4 addresses.
173         (__res_vinit): Adjust.
174         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
175         extended name server list.
176         (test_cases): Adjust.
178 2017-06-30  Florian Weimer  <fweimer@redhat.com>
180         [BZ #19569]
181         [BZ #21475]
182         Support an arbitrary number of search domains.
183         * resolv/resolv_context.h (__resolv_context_search_list): New.
184         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
185         search_list_size members.
186         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
187         (__resolv_conf_allocate): Allocate and and copy search list.
188         (update_from_conf): Copy the search list.
189         * resolv/res_init.c (struct search_list): Define using dynarray.
190         (struct resolv_conf_parser): Define.
191         (resolv_conf_parser_init, resolv_conf_parser_free)
192         (domain_from_hostname): New functions.
193         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
194         struct search_list to collect search list entries.  Call
195         domain_from_hostname to obtain the fallback domain name.
196         (__res_vinit): Create and destroy parser object.  Pass search list
197         to __resolv_conf_allocate.
198         * resolv/res_query.c (__res_context_search): Use
199         __resolv_context_search_list to obtain search list entries.
200         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
201         from extended resolver context.
202         (test_cases): Update.
204 2017-06-30  Florian Weimer  <fweimer@redhat.com>
206         Add extended resolver state/configuration (struct resolv_conf).
207         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
208         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
209         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
210         (__res_vinit): Call __resolv_conf_allocate and
211         __resolv_conf_attach.
212         * resolv/resolv_context.h (struct resolv_context): Add conf member
213         of type struct resolv_conf.
214         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
215         resolv_conf.  Update conf member after initialization.
216         * resolv/Makefile (routines): Add resolv_conf.
217         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
218         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
219         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
220         _u._ext.__glibc_reserved.
222 2017-06-30  Florian Weimer  <fweimer@redhat.com>
224         [BZ #21668]
225         Introduce temporary resolver contexts (struct resolv_conf).
226         * resolv/resolv-internal.h (__res_context_mkquery)
227         (__res_context_searchl __res_context_query, __res_context_send)
228         (__res_context_hostalias): Declare.
229         (__res_nopt): Switch to struct resolv_context.
230         * resolv/res_use_inet6.h: New file.
231         * resolv/resolv_context.h: Likewise.
232         * resolv/resolv_context.c: Likewise.
233         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
234         Renamed from res_gethostbyname2.  Use struct resolv_context.
235         (res_gethostbyname2): New function.  Implement using
236         res_gethostbyname2_context.
237         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
238         struct resolv_context.
239         (res_gethostbyaddr): New function.  Implement using
240         res_gethostbyaddr_context.
241         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
242         resolv_context.
243         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
244         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
245         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
246         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
247         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
248         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
249         (_nss_dns_getnetbyaddr_r): Likewise.
250         * resolv/res-close.c (res_thread_freeres): Call
251         __resolv_context_freeres.
252         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
253         maybe_init in resolv/resolv_context.c.
254         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
255         res_nmkquery.  Use struct resolv_context.
256         (context_mkquery_common): New function.
257         (res_nmkquery, res_mkquery): Use it.
258         (res_nopt): Switch to struct resolv_context.
259         * resolv/res_query.c (__res_context_querydomain): Renamed from
260         __libc_res_nquerydomain.  Use struct resolv_context.
261         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
262         resolv_context.
263         (context_query_common): New function.
264         (res_nquery, res_query): Use it.
265         (__res_context_search): Renamed from __libc_res_nsearch.  Use
266         struct resolv_context.
267         (context_search_common): New function.
268         (res_nsearch, res_search): Use it.
269         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
270         Use struct resolv_context.
271         (context_querydomain_common): New function.
272         (res_nquerydomain, res_querydomain): Use it.
273         (__res_context_hostalias): Rename from res_hostalias.  Use struct
274         resolv_context.
275         (context_hostalias_common): New function.
276         (res_hostalias, hostalias): Use it.
277         * resolv/res_send.c (__res_context_send): Renamed from
278         __libc_res_nsend.  Use struct resolv_context.
279         (context_send_common): New function.
280         (res_nsend, res_send): Use it.
281         * resolv/Makefile (routines): Add resolv_context.
282         * resolv/Versions (libc): Export __resolv_context_get,
283         __resolv_context_get_preinit, __resolv_context_get_override,
284         __resolv_context_put.  Remove __res_maybe_init.
285         (libresolv): Export __res_context_query, __res_context_search,
286         __res_context_hostalias.  Remove __libc_res_nquery,
287         __libc_res_nsearch.
288         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
289         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
290         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
291         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
292         prototypes.
293         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
294         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
295         from __nss_hostname_digits_dots.  Use struct resolv_context.
296         (__nss_hostname_digits_dots): New function.
297         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
298         struct resolv_context object.  Call new function
299         __nss_hostname_digits_dots_context.
300         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
301         * nss/getnssent_r.c (__nss_setent): Likewise.
302         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
303         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
304         instead of direct _res manipulation.
305         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
307 2017-07-03  Florian Weimer  <fweimer@redhat.com>
309         * resolv/tst-resolv-res_init-skeleton.c
310         (special_tests_count, special_test_call_res_init)
311         (special_test_callback, special_test_thread_func)
312         (run_special_test_on_thread, special_test): Define.
313         (do_test): call special_test.
314         (test_init_names): Fix typo.
316 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
318         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
319         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
321 2017-07-01  Florian Weimer  <fweimer@redhat.com>
322             H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #21696]
325         * posix/sched_cpucount.c: Don't include <limits.h>.
326         (__sched_cpucount): Use __builtin_popcount.
328 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
330         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
331         Fix typo.
333 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
335         * include/math.h (__signbitf128): Define as hidden.
336         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
337         Reimplement without builtins.
338         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
339         (__builtin_signbitf128): Define to __signbitf128.
340         * sysdeps/powerpc/bits/floatn.h: Likewise.
341         * sysdeps/x86/bits/floatn.h: Likewise.
343 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
345         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
346         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
347         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
348         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
349         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
350         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
351         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
352         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
354         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
355         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
356         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
357         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
358         fcntl_common and add check for F_GETOWN.
359         (__libc_fcntl): Use SYSCALL_CANCEL macro.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
361         use default implementation.
363 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
365         * elf/dl-tunables.h (tunable_is_name): Move from...
366         * elf/dl-tunables.c (is_name): ... here.
367         (parse_tunables, __tunables_init): Adjust.
368         * manual/tunables.texi: Document glibc.tune.cpu.
369         * sysdeps/aarch64/dl-tunables.list: New file.
370         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
371         cpu_list): New type.
372         (cpu_list): New list of CPU names and their MIDR.
373         (get_midr_from_mcpu): New function.
374         (init_cpu_features): Override MIDR if necessary.
376         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
377         (__libc_ifunc_impl_list): Unconditionally select thunderx
378         routine for testing.
380 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
382         [BZ #21120]
383         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
384         * sysdeps/generic/malloc-alignment.h: Here.  New file.
385         * sysdeps/i386/malloc-alignment.h: Likewise.
386         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
388 2017-06-30  Florian Weimer  <fweimer@redhat.com>
390         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
391         variable.
392         (test_file_contents): Use it.
394 2017-06-30  Florian Weimer  <fweimer@redhat.com>
396         * resolv/res_init.c (res_setoptions): Remove source argument.
397         (res_vinit_1): Adjust.
399 2017-06-30  Florian Weimer  <fweimer@redhat.com>
401         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
403 2017-06-30  Florian Weimer  <fweimer@redhat.com>
405         * resolv/res_data.c: Reformat to GNU style.
406         (res_close): Update comments.
408 2017-06-30  Florian Weimer  <fweimer@redhat.com>
410         * resolv/res_data.c (res_query, res_search, res_querydomain)
411         (hostalias): Move to ...
412         * resolv/res_Send.c (res_query, res_search, res_querydomain)
413         (hostalias): here.
415 2017-06-30  Florian Weimer  <fweimer@redhat.com>
417         * resolv/res_data.c (res_isourserver, res_send): Move to ...
418         * resolv/res_send.c (res_isourserver, res_send): here.
420 2017-06-30  Florian Weimer  <fweimer@redhat.com>
422         * resolv/res_debug.c (_res_opcodes): Rename ...
423         (res_opcodes): ... as compatibility symbol.
424         (fp_nquery): Use res_opcodes.
425         * include/resolv.h (_res_opcodes): Remove declaration.
427 2017-06-30  Florian Weimer  <fweimer@redhat.com>
429         * include/resolv.h (res_pquery): Remove declaration.
430         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
431         functions.
432         (_res_opcodes): Remove variable.
433         * resolv/res_debug.c (do_section): Receive pfcode instead of
434         statp.
435         (res_pquery): Rename ...
436         (fp_nquery): to this function.  Skip unnecessary _res
437         initialization.
438         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
440 2017-06-30  Florian Weimer  <fweimer@redhat.com>
442         * resolv/res_debug.h: Remove file.
443         * resolv/README: Adjust.
445 2017-06-30  Florian Weimer  <fweimer@redhat.com>
447         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
448         conditionals.
449         (Aerror, Perror): Remove function definitions.
451 2017-06-30  Florian Weimer  <fweimer@redhat.com>
453         * resolv/res_data.c (res_mkquery): Move ...
454         * resolv/res_mkquery.c (res_mkquery): to here.
456 2017-06-30  Florian Weimer  <fweimer@redhat.com>
458         * resolv/res_mkquery.c: Reformat to GNU style.
459         (T_OPT): Remove definition.  It is present in the header file.
461 2017-06-30  Florian Weimer  <fweimer@redhat.com>
463         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
464         conditionals.
466 2017-06-30  Florian Weimer  <fweimer@redhat.com>
468         * support/support_capture_subprocess_check.c
469         (support_capture_subprocess_check): Report actual exit status.
471 2017-06-30  Florian Weimer  <fweimer@redhat.com>
473         [BZ #19570]
474         * resolv/res_send.c (nameserver_offset): New function.
475         (__libc_res_nsend): Use it to implement RES_ROTATE.
476         (get_nsaddr): Add assert with name server
477         range check.
478         * resolv/Makefile (xtests): Add tst-resolv-rotate.
479         (tst-resolv-rotate): Link against libpthread.
480         * resolv/tst-resolv-rotate.c: New file.
482 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
484         [BZ #21457]
485         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
486         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
487         [__WORDSIZE == 64] (MC_PC): Likewise.
488         [__WORDSIZE == 64] (MC_NPC): Likewise.
489         [__WORDSIZE == 64] (MC_Y): Likewise.
490         [__WORDSIZE == 64] (MC_G1): Likewise.
491         [__WORDSIZE == 64] (MC_G2): Likewise.
492         [__WORDSIZE == 64] (MC_G3): Likewise.
493         [__WORDSIZE == 64] (MC_G4): Likewise.
494         [__WORDSIZE == 64] (MC_G5): Likewise.
495         [__WORDSIZE == 64] (MC_G6): Likewise.
496         [__WORDSIZE == 64] (MC_G7): Likewise.
497         [__WORDSIZE == 64] (MC_O0): Likewise.
498         [__WORDSIZE == 64] (MC_O1): Likewise.
499         [__WORDSIZE == 64] (MC_O2): Likewise.
500         [__WORDSIZE == 64] (MC_O3): Likewise.
501         [__WORDSIZE == 64] (MC_O4): Likewise.
502         [__WORDSIZE == 64] (MC_O5): Likewise.
503         [__WORDSIZE == 64] (MC_O6): Likewise.
504         [__WORDSIZE == 64] (MC_O7): Likewise.
505         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
506         __MC_NGREG if [__USE_MISC].
507         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
508         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
509         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
510         Define fields using __ctx.
511         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
512         using __ctx.
513         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
514         (REG_PSR): Define only for [__USE_MISC].
515         (REG_PC): Likewise.
516         (REG_nPC): Likewise.
517         (REG_Y): Likewise.
518         (REG_G1): Likewise.
519         (REG_G2): Likewise.
520         (REG_G3): Likewise.
521         (REG_G4): Likewise.
522         (REG_G5): Likewise.
523         (REG_G6): Likewise.
524         (REG_G7): Likewise.
525         (REG_O0): Likewise.
526         (REG_O1): Likewise.
527         (REG_O2): Likewise.
528         (REG_O3): Likewise.
529         (REG_O4): Likewise.
530         (REG_O5): Likewise.
531         (REG_O6): Likewise.
532         (REG_O7): Likewise.
533         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
534         [__WORDSIZE == 64] (REG_FPRS): Likewise.
535         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
536         (gregset_t): Define using __NGREG.
537         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
538         __SPARC_MAXREGWINDOW if [__USE_MISC].
539         (struct rwindow): Rename to struct __rwindow.  Define fields using
540         __ctx.
541         (rw_fp): Define only for [__USE_MISC].
542         (rw_rtn): Likewise.
543         (gwindows_t): Remove struct tag.  Define fields using __ctx and
544         __SPARC_MAXREGWINDOW.
545         (MAXFPQ): Define only for [__USE_MISC].
546         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
547         (struct fq): Rename to struct __fq.  Define fields using __ctx.
548         (FPU_REGS_TYPE): Define only for [__USE_MISC].
549         (FPU_DREGS_TYPE): Likewise.
550         (V7_FPU_FSR_TYPE): Likewise.
551         (V9_FPU_FSR_TYPE): Likewise.
552         (V9_FPU_FPRS_TYPE): Likewise.
553         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
554         using __ctx.
555         [__WORDSIZE != 64] (fpregset_t): Likewise.
556         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
557         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
558         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
559         Rename field filler to __glibc_reserved1.
560         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
561         (MC_FILLER): Remove.
563 2017-06-29  Florian Weimer  <fweimer@redhat.com>
565         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
566         Adjust format string.
567         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
568         dependency.
570 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
572         * sysdeps/posix/spawni.c (__spawni_child): New function.
573         (__spawni): Rename to __spawnix.
575 2017-06-29  Florian Weimer  <fweimer@redhat.com>
577         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
578         Use it to make the temporary copy at the start of the work buffer.
579         (process_arg): Adjust call to group_number.
581 2017-06-29  Florian Weimer  <fweimer@redhat.com>
583         * stdio-common/vfprintf.c (printf_positional): Use struct
584         scratch_buffer to allocate backing storage for the args_value,
585         args_size, args_type arrays.
587 2017-06-29  Florian Weimer  <fweimer@redhat.com>
589         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
590         scratch_buffer.
592 2017-06-29  Florian Weimer  <fweimer@redhat.com>
594         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
595         wchar_t builds.
597 2017-06-29  Florian Weimer  <fweimer@redhat.com>
599         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
600         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
602 2017-06-29  Florian Weimer  <fweimer@redhat.com>
604         * stdio-common/tst-vfprintf-user-type.c: New file.
605         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
607 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
609         * posix/tst-spawn2.c (do_test): Use libsupport.
610         * posix/tst-spawn3.c (do_test): Likewise.
612 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
614         * math/gen-tgmath-tests.py (Tests.__init__): Define
615         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
617         * math/tgmath.h: Include <bits/libc-header-start.h> and
618         <bits/floatn.h>.
619         (__TGMATH_F128): New macro.
620         (__TGMATH_CF128): Likewise.
621         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
622         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
623         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
624         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
625         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
626         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
627         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
628         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
629         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
630         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
631         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
632         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
633         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
634         (__TGMATH_BINARY_REAL_IMAG): Likewise.
635         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
636         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
637         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
638         _FloatNx types if the corresponding HUGE_VAL macros are defined.
640         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
641         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
642         complex arguments.
644         [BZ #21687]
645         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
646         (totalorder): Use it.
647         (totalordermag): Likewise.
648         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
649         totalorder and totalordermag.
650         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
651         totalordermag in arguments of calls to those functions.
652         (NCALLS): Change to 134.
654         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
655         cast to return type argument.
656         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
657         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
658         (llrint): Likewise.
659         (lround): Likewise.
660         (llround): Likewise.
661         (ilogb): Likewise.
662         (llogb): Likewise.
663         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
664         (ufromfp): Likewise.
665         (fromfpx): Likewise.
666         (ufromfpx): Likewise.
668         [BZ #21607]
669         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
670         [LDBL_MANT_DIG > DBL_MANT_DIG].
671         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
672         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
673         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
674         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
675         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
676         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
677         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
678         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
679         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
680         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
681         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
682         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
683         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
684         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
685         * math/test-tgmath.c: Include <float.h>.
686         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
687         DBL_MANT_DIG].
688         * math/test-tgmath2.c: Include <float.h>.
689         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
690         DBL_MANT_DIG].
692         * math/gen-tgmath-tests.py: New file.
693         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
694         [PYTHON] (generated): Add test-tgmath3.c.
695         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
696         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
698         * configure.ac (AS): Require binutils 2.25 or later.
699         (LD): Likewise.
700         * configure: Regenerated.
701         * sysdeps/s390/configure.ac (AS): Remove version check.
702         * sysdeps/s390/configure: Regenerated.
703         * sysdeps/x86_64/configure.ac (AS): Remove version check.
704         * sysdeps/x86_64/configure: Regenerated.
705         * manual/install.texi (Tools for Compilation): Document
706         requirement for binutils 2.25 or later.
707         * INSTALL: Regenerated.
709 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
711         [BZ #14995]
712         * configure.ac: Allow gold 1.14 or above to configire glibc
713         * configure: Regenerated.
715 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #21457]
718         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
719         struct tag.
720         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
721         Likewise.
722         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
723         Likewise.
724         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
725         Declare struct type with __ctx.
726         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
727         tag.
728         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
729         and regs field name.
731 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
733         * elf/loadtest.c (OUT): Define using do { } while (0).
735         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
736         (DO_NUMBER_SPACEPAD): Likewise.
738 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
740         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
741         sysdep_routines.
742         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
743         __memchr_neon.
744         Add ifunc definitions for __memchr_neon and __memchr_noneon.
745         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
746         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
747         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
749 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
751         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
752         Use vector and cu21 instruction.
753         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
754         Add __to_utf8_loop_vx_cu in ifunc resolver.
756 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
758         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
759         Use vector and cu24 instruction.
761 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
763         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
764         Use vector and cu42 instruction.
765         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
766         Add __to_utf16_loop_vx_cu in ifunc resolver.
768 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
770         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
771         Use vector and cu41 instruction.
772         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
773         in ifunc resolver.
775 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
777         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
778         Add vxd, vxe, gs flag.
779         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
780         HWCAP_S390_GS capability.
781         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
782         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
784 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
786         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
787         the first 32 bytes before checking size when size >= 32 bytes.
788         Replace vpmovmskb/subl/jnz with vptest/jnc.
790 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
792         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
793         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
795 2017-06-27  Florian Weimer  <fweimer@redhat.com>
797         Work around test timeouts with ICMP rate limiting on localhost.
798         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
799         function.
800         (do_test): Call it.
802 2017-06-27  Florian Weimer  <fweimer@redhat.com>
804         Call _res_hconf_init from __res_vinit.
805         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
806         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
807         (NEED__RES): Define.
808         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
809         (NEED__RES): Define.
810         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
811         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
812         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
813         (NEED__RES): Define.
814         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
815         _res_hconf_init.
816         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
817         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
819         _res_hconf_init.
821 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
823         * sysdeps/ia64/Implies: Add ieee754/float128.
824         * sysdeps/ia64/bits/floatn.h: New file.
825         * sysdeps/ia64/float128-abi.h: Likewise.
826         * manual/math.texi (Mathematics): Document support for _Float128
827         on ia64.
828         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
829         Makefile variable.
830         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
831         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
832         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
833         * sysdeps/ia64/math-tests.h: New file.
834         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
835         based on TEST_COND_binary128 for [__ia64__].
836         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
839         [BZ #21457]
840         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
841         ucontext_t.
842         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
843         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
844         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
845         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
846         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
847         ucontext): Likewise.
848         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
849         Likewise.
850         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
851         Likewise.
852         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
853         Likewise.
854         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
855         Likewise.
856         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
857         Likewise.
858         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
859         Likewise.
860         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
861         Likewise.
862         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
863         ucontext): Likewise.
864         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
865         Likewise.
866         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
867         Likewise.
868         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
869         Likewise.
870         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
871         Likewise.
872         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
873         Likewise.
874         * sysdeps/powerpc/powerpc32/backtrace.c (struct
875         rt_signal_frame_32): Likewise.
876         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
877         Likewise.
878         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
879         kernel_rt_sigframe): Likewise.
880         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
881         Likewise.
882         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
883         Likewise.
884         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
885         Likewise.
886         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
887         (__profil_counter): Likewise.
888         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
889         (SIGCONTEXT): Likewise.
890         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
891         kernel_rt_sigframe): Likewise.
892         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
893         kernel_rt_sigframe): Likewise.
894         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
895         Likewise.
896         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
897         Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
899         (__start_context): Likewise.
900         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
901         Likewise.
902         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
903         Likewise.
904         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
905         Likewise.
907         * sysdeps/i386/Implies: Add ieee754/float128.
908         * sysdeps/x86_64/Implies: Likewise.
909         * sysdeps/x86/bits/floatn.h: New file.
910         * sysdeps/x86/float128-abi.h: Likewise.
911         * manual/math.texi (Mathematics): Document support for _Float128
912         on x86_64 and x86.
913         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
914         (math_opt_barrier): Do not put _Float128 values in floating-point
915         registers.
916         (math_force_eval): Likewise.
917         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
918         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
919         to Makefile variable.
920         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
921         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
922         * sysdeps/x86/math-tests.h: New file.
923         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
924         * math/libm-test-getpayload.inc (getpayload_test_data): Use
925         XFAIL_FLOAT128_PAYLOAD.
926         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
927         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
928         * math/libm-test-totalordermag.inc (totalordermag_test_data):
929         Likewise.
930         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
931         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
936         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
937         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
940 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
942         [BZ #21512]
943         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
944         syscall instead of jump to _exit.
945         (CLONE_VM_BIT): Remove unused define.
946         (CLONE_VM): Likewise.
947         (CLONE_THREAD_BIT): Likewise.
948         (CLONE_THREAD): Likewise.
949         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
950         (CLONE_VM): Remove unused define.
951         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
952         (CLONE_VM): Remove unused define.
953         (CLONE_THREAD): Likewise.
954         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
955         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
956         syscall instead of jump to _exit.
957         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
958         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
959         (CLONE_VM): Remove unused define.
960         (CLONE_THREAD): Likewise.
961         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
962         (CLONE_VM): Remove unused define.
963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
964         Likewise.
965         (CLONE_VM): Remove unused define.
966         (CLONE_THREAD): Likewise.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
968         Likewise.
969         (CLONE_VM): Remove unused define.
970         (CLONE_THREAD): Likewise.
971         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
972         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
973         (CLONE_VM): Remove unused define.
974         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
975         (CLONE_VM): Remove unused define.
976         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
977         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
978         (CLONE_VM): Remove unused define.
979         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
980         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
982 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
983             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
985         * manual/math.texi (Mathematics): Mention the enabling of float128
986         for powerpc64le.
987         * sysdeps/powerpc/bits/floatn.h: New file.
988         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
989         * sysdeps/powerpc/fpu/math_private.h:
990         (__ieee754_sqrtf128): New inline override.
991         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
992         * sysdeps/powerpc/powerpc64le/Makefile: New file.
993         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
994         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
995         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
997         Updated.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
999         Likewise.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1001         New file.
1003 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1005         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1006         * sysdeps/powerpc/powerpc64le/configure: Update.
1008 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1009             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1011         * INSTALL: Regenerate.
1012         * manual/install.texi (Recommended Tools for Compilation): Mention
1013         the powerpc64le-specific requirement in the manual.
1014         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1015         for the compiler features required for building float128.
1016         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1018 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1020         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1021         before comparing with another char.
1023 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1025         * manual/math.texi: Fix a grammatical error.
1027 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1029         [BZ #21295]
1030         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1032 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1034         [BZ #21295]
1035         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1036         Append addresses at the end of the list.
1038 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1040         [BZ #21666]
1041         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1042         (loc2): Likewise.
1043         (locs): Likewise.
1045 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1047         [BZ #16637]
1048         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1049         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1050         digits between colons.
1051         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1053 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1054             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1056         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1057         (__sched_get_prioriry_min): Likewise.
1058         * include/sys/mman.h (__mmap): Likewise.
1059         (__mmap64): Likewise.
1060         (__munmap): Likewise.
1061         (__mprotect): Likewise.
1062         * include/termios.h (__tcsetattr): Likewise.
1063         * include/time.h (__nanosleep): Use hidden_proto instead of
1064         libc_hidden_proto.
1065         * posix/nanosleep.c (__nanosleep): Likewise.
1066         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1067         __sched_get_priority_min, and __sched_get_priority_max under
1068         GLIBC_PRIVATE.
1069         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1070         libc symbols.
1071         (change_stack_perm): Likewise.
1072         (change_stack_perm): Likewise.
1073         (allocate_stack): Likewise.
1074         * sysdeps/posix/gethostname.c: Likewise.
1075         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1076         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1077         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1078         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1079         (__pthread_key_delete): Likewise.
1080         (__pthread_detach): Likewise.
1081         (__pthread_cancel): Likewise.
1082         (__pthread_mutex_trylock): Likewise.
1083         (__pthread_mutexattr_init): Likewise.
1084         (__pthread_mutexattr_settype): Likewise.
1085         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1086         create alias for exported one.
1087         * nptl/pthread_join.c (pthread_join): Likewise.
1088         * nptl/pthread_detach.c (pthread_detach): Likewise.
1089         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1090         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1091         * nptl/pthread_create.c: Change static requirements for pthread
1092         symbols.
1093         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1094         for internal definition.
1095         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1096         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1097         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1098         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1099         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1100         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1101         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1102         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1103         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1104         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1105         Likewise.
1106         * nptl/pthread_self.c (__pthread_self): Likewise.
1107         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1108         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1109         * misc/mmap.c (__mmap): Add internal symbol definition.
1110         * misc/mmap.c (__mmap64): Likewise.
1111         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1112         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1113         (__mmap64): Likewise.
1114         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1115         Add __uname.
1117 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1119         * sysdeps/i386/fpu/libm-test-ulps: Update.
1120         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1122         * libm-test-support.c (check_float_internal): Clear exceptions at
1123         end of function.
1124         (check_int): Likewise.
1125         (check_long): Likewise.
1126         (check_bool): Likewise.
1127         (check_longlong): Likewise.
1128         (check_intmax_t): Likewise.
1129         (check_uintmax_t): Likewise.
1131         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1132         Do not declare.
1133         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1134         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1135         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1137 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1139         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1140         Replace movzbl and orl with movb.
1142 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1144         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1145         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1146         and HUGE_VAL_FNx.
1147         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1148         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1149         are in math.h, to avoid having to list the _FloatN and _FloatNx
1150         variants as well.  Likewise for the cabs functions.
1151         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1152         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1153         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1154         come from TS 18661-3, since this section explicitly states that
1155         these functions come from BSD.
1156         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1157         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1158         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1159         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1160         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1161         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1162         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1163         remainderfNx.
1164         (Setting and modifying single bits of FP values): Document
1165         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1166         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1167         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1168         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1169         (Floating-Point Comparison Functions): Document totalorderfN,
1170         totalorderfNx, totalordermagfN, totalordermagfNx.
1171         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1172         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1173         fdimfN, fdimfNx, fmafN, fmafNx.
1174         (Complex Numbers): Document the complex types: _FloatN complex and
1175         _FloatNx complex.
1176         (rojections, Conjugates, and Decomposing of Complex Numbers):
1177         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1178         cargfN, cargfNx, cprojfN, cprojfNx.
1179         * manual/math.texi (Mathematics): Mention that the _FloatN and
1180         _FloatNx variants of the math functions come from TS 18661-3,
1181         unless otherwise stated.
1182         (Predefined Mathematical Constants): Document the _FloatN and
1183         _FloatNx variants of the macros prefixed with M_.
1184         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1185         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1186         ccosfNx, ctanfN, ctanfNx.
1187         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1188         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1189         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1190         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1191         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1192         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1193         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1194         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1195         cpowfNx.
1196         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1197         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1198         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1199         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1200         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1201         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1202         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1203         ynfN, ynfNx.
1205 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1207         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1209 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1211         * resolv/res_libc.c: Reformat to GNU style.
1213 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1215         * resolv/resolv-internal.h (__res_initstamp): Declare.
1216         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1217         It is implied by the declaration.
1218         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1220 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1222         [BZ #21662]
1223         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1224         Use only 24 bits of the register before the subtraction.
1225         * string/test-memcmp.c (check1): Check with different lengths.
1227 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1229         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1230         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1232 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1234         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1235         Enable generation of float128 entries on the error table.
1237 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1239         * include/float.h: Include libc-header-start.h to get the
1240         definition of __GLIBC_USE.
1242 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1244         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1245         rearranged code and doubles float types.
1247 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1250         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1252 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1254         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1255         to errno, and simplify remaining related code.
1257 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1259         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1260         PPC_FEATURE2_SCV.
1261         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1262         and darn.
1264 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1266         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1267         the implementation-specific function name and remove unneeded macros
1268         definition.
1269         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1270         function name if not defined and pass as parameter to macros
1271         accordingly.
1273 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1276         (libm-sysdep_routines): Add s_llroundf-ppc64.
1277         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1278         (__llroundf): Define as strong alias of __llround.
1279         (llroundf):  Define as weak alias of __llround.
1280         (__lroundf): Define as strong alias of __llround.
1281         (lroundf):  Define as weak alias of __llround.
1282         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1283         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1286         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1287         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1288         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1290 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1292         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1293         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1295         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1296         (MATH_TESTS_TG): New macro.
1297         (SNAN_TESTS_float128): Likewise.
1298         (ROUNDING_TESTS_float128): Likewise.
1299         (EXCEPTION_TESTS_float128): Likewise.
1300         (SNAN_TESTS): Define using MATH_TESTS_TG.
1301         (ROUNDING_TESTS): Likewise.
1302         (EXCEPTION_TESTS): Likewise.
1304         * sysdeps/ieee754/float128/float128_private.h
1305         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1306         pass it to SET_RESTORE_ROUNDF128.
1308         * sysdeps/ieee754/float128/float128_private.h: Include
1309         <ieee754.h>.
1311         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1312         typeof to argument passed to __builtin_types_compatible_p.
1313         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1315         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1316         <errno.h>.
1317         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1318         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1319         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1320         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1321         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1322         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1323         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1324         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1325         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1326         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1327         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1328         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1329         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1330         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1331         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1332         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1333         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1334         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1335         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1336         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1337         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1338         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1340         * sysdeps/ieee754/float128/strtof128_l.c: Include
1341         <bits/types/locale_t.h> instead of <xlocale.h>.
1342         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1343         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1345 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1347         * benchtests/scripts/benchout_strings.schema.json: New file.
1348         * benchtests/scripts/compare_strings.py: New file.
1350         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1351         (do_one_test): Print json.
1352         (do_test): Likewise.
1353         (test_main): Likewise.
1354         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1355         (do_one_test): Print json.
1356         (do_test): Likewise.
1357         (test_main): Likewise.
1358         * benchtests/bench-memcpy.c: Include json-lib.h.
1359         (do_one_test): Print json.
1360         (do_test): Likewise.
1361         (test_main): Likewise.
1363         * benchtests/json-lib.h: Include inttypes.h.
1364         (json_attr_int, json_attr_int, json_element_string,
1365         json_element_int, json_element_uint): New functions.
1366         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1367         json_element_string, json_element_int, json_element_uint): New
1368         functions.
1370 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1372         * manual/arith.texi (Remainder Functions): Describe remainder as
1373         primary and drem as an alternative name.  Change the comment on
1374         remainder to ISO, since it is defined in ISO C99.
1376 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1378         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1379         macro expansion.
1380         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1382 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1384         [BZ #21533]
1385         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1386         201706L for Unicode 10.0.
1388 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1390         [BZ #21657]
1391         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1392         on node-local addresses.
1393         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1395 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1397         * intl/loadmsgcat.c: Remove alloca support.
1398         (_nl_load_domain): Use calloc instead of alloca.
1400 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1402         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1403         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1404         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1405         alloc_buffer_create_failure.
1406         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1407         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1408         (__libc_alloc_buffer_copy_string)
1409         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1410         * malloc/alloc_buffer_alloc_array.c: New file.
1411         * malloc/alloc_buffer_allocate.c: Likewise.
1412         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1413         * malloc/alloc_buffer_copy_string.c: Likewise.
1414         * malloc/alloc_buffer_create_failure.c: Likewise.
1415         * malloc/tst-alloc_buffer.c: Likewise.
1417 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1420         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1421         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1422         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1423         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1424         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1425         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1426         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1427         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1428         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1429         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1430         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1431         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1432         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1433         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1434         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1435         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1436         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1437         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1438         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1439         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1440         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1441         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1442         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1443         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1444         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1445         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1446         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1447         "locale-defines.h".
1448         (UPDATE_STRNCMP_COUNTER): New.
1449         (SECTION): Likewise.
1450         (GLABEL): Likewise.
1451         (LABEL): Likewise.
1452         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1453         for libc.a.
1455 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1457         [BZ #21622]
1458         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1459         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1460         __USE_MISC].
1461         (SA_NODEFER): Likewise.
1462         (SA_RESETHAND): Likewise.
1464 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1466         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1467         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1468         Remove security_level on all fields.
1469         * manual/tunables.texi: Replace ifunc with hwcaps.
1470         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1471         Renamed to ..
1472         (TUNABLE_CALLBACK (set_hwcaps)): This.
1473         (init_cpu_features): Updated.
1474         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1475         data_cache_size, data_cache_size and non_temporal_threshold to
1476         unsigned long int.
1477         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1478         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1479         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1480         use DEFAULT_STRLEN.
1482 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1484         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1485         asprintf to construct an absolute pathname.
1487 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1489         * misc/tst-preadvwritev2-common.c: New file.
1490         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1491         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1493 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1495         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1496         annotation.
1497         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1499 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1501         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1502         hidden __GI__dl_argv symbol.
1504 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1507         to parse addresses with IPv6 scope IDs.
1509 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1511         Add the __inet_pton_length helper function.
1512         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1513         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1514         Add length argument.
1515         (__inet_pton): New function.
1516         (inet_pton4): Add length argument.
1517         (hex_digit_value): New function.
1518         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1519         memmove and memset to fill :: gap.
1520         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1521         tst-inet_pton.
1522         * resolv/tst-inet_pton.c: New file.
1523         * support/Makefile (libsupport-routines): Add xmprotect.
1524         * support/xunistd.h (xmprotect): Declare.
1525         * support/xmprotect.c: New file.
1527 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1529         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1530         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1531         (call_gai, check_ai): New functions.
1532         (expect_failure, expect_success): Use them.  Add logging.
1534 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1536         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1537         (sysdep_routines): Add memchr_power8.
1538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1539         (memchr): Add __memchr_power8 to list of memchr functions.
1540         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1541         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1542         (memchr): Add __memchr_power8 to ifunc list.
1543         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1545 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1547         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1548         (__llrintf): Define as strong alias of __llrint.
1549         (llrintf):  Define as weak alias of __llrint.
1550         (__lrintf): Define as strong alias of __llrint.
1551         (lrintf):  Define as weak alias of __llrint.
1552         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1553         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1554         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1557 2017-06-20  Zack Weinberg  <zackw@panix.com>
1559         * bits/signum-generic.h: Renamed from bits/signum.h.
1560         Add proper multiple include guard and misuse check.
1561         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1562         Move definition of SIGIO to "archaic names for compatibility" section.
1563         * bits/signum.h: New file which just includes bits/signum-generic.h.
1564         * sysdeps/unix/bsd/bits/signum.h
1565         * sysdeps/unix/sysv/linux/bits/signum.h
1566         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1567         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1568         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1569         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1570         Just include <bits/signum-generic.h> and then add or adjust
1571         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1573         * signal/Makefile: Install bits/signum-generic.h.
1574         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1576         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1577         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1579         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1580         * sysdeps/unix/sysv/linux/Makefile: Run it.
1582 2017-06-20  Zack Weinberg  <zackw@panix.com>
1584         * locale/xlocale.h: Rename to...
1585         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1586         Only define struct __locale_struct and __locale_t, not locale_t.
1587         * locale/bits/types/locale_t.h: New file; define locale_t here.
1588         * locale/Makefile (headers): Update to match.
1590         * include/xlocale.h: Delete wrapper.
1591         * include/bits/types/__locale_t.h: New wrapper.
1592         * include/bits/types/locale_t.h: New wrapper.
1594         * ctype/ctype.h, include/printf.h, include/time.h
1595         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1596         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1597         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1598         Correct outdated comments regarding the standardization status of
1599         the functions that take locale_t arguments.
1601         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1602         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1603         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1604         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1605         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1606         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1607         Don't include xlocale.h. If necessary, include locale.h instead.
1609         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1611         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1612         * include/monetary.h, include/stdlib.h, include/time.h
1613         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1614         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1615         * locale/localeinfo.h, locale/newlocale.c
1616         * locale/nl_langinfo_l.c, locale/uselocale.c
1617         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1618         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1619         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1620         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1621         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1622         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1623         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1624         * sysdeps/ieee754/float128/strtof128_l.c
1625         * sysdeps/ieee754/float128/wcstof128.c
1626         * sysdeps/ieee754/float128/wcstof128_l.c
1627         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1628         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1629         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1630         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1631         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1632         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1633         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1634         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1635         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1636         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1637         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1638         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1639         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1640         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1641         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1642         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1643         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1644         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1645         Change all uses of __locale_t to locale_t.
1647 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1649         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1650         for !__OFF_T_MATCHES_OFF64_T.
1651         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1652         implementation based on open64.
1653         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1654         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1656 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1658         * elf/dl-tunables.list: Move x86 specific tunables to ...
1659         * sysdeps/x86/dl-tunables.list: Here.  New file.
1661 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1663         [BZ #21635]
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1665         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1666         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1667         powerpc32-linux.
1668         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1670         [BZ #21634]
1671         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1672         (conformtest-xfail-conds): New variable.
1673         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1674         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1676 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1678         * benchtests/powf-inputs: Add reduced trace from wrf.
1680 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1681             Erich Elsen  <eriche@google.com>
1683         * elf/dl-tunables.list (tune): Add ifunc,
1684         x86_non_temporal_threshold,
1685         x86_data_cache_size and x86_shared_cache_size.
1686         * manual/tunables.texi: Document glibc.tune.ifunc,
1687         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1688         and glibc.tune.x86_non_temporal_threshold.
1689         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1690         * sysdeps/x86/cpu-tunables.c: Likewise.
1691         * sysdeps/x86/cacheinfo.c
1692         (init_cacheinfo): Check and get data cache size, shared cache
1693         size and non temporal threshold from cpu_features.
1694         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1695         New.
1696         [HAVE_TUNABLES] Include <unistd.h>.
1697         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1698         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1699         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1700         IFUNC selection, data cache size, shared cache size and non
1701         temporal threshold.
1702         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1703         shared_cache_size and non_temporal_threshold.
1705 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1707         * benchtests/README: Describe workload feature.
1708         * benchtests/bench-skeleton.c (main): Add support for
1709         benchmarking traces from workloads.
1711 2017-06-20  Zack Weinberg  <zackw@panix.com>
1713         * string/string.h (__mempcpy_inline): Delete.
1714         * sysdeps/x86_64/multiarch/mempcpy.c
1715         * sysdeps/x86_64/multiarch/stpcpy.c:
1716         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1717         before including string.h.
1719 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
1721         * benchtests/Makefile (bench-math): Add powf.
1722         * benchtests/powf-inputs: New file.
1724 2017-06-20  Zack Weinberg  <zackw@panix.com>
1726         * bits/string.h, string/bits/string.h
1727         * sysdeps/aarch64/bits/string.h
1728         * sysdeps/m68k/m680x0/m68020/bits/string.h
1729         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1730         * sysdeps/x86/bits/string.h: Delete file.
1732         * string/string.h: Don't include bits/string.h.
1733         * string/bits/string3.h: Rename to bits/string_fortified.h.
1734         No need to undef various symbols that the removed headers
1735         might have defined as macros.
1736         * string/Makefile (headers): Remove bits/string.h, change
1737         bits/string3.h to bits/string_fortified.h.
1738         * string/string-inlines.c: Update commentary.  Remove definitions
1739         of various macros that nothing looks at anymore.  Don't directly
1740         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1741         compiler-predefined macros.
1742         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1743         _is_ defined, provide internal hidden alias __strncat.
1744         * include/string.h: Declare internal hidden alias __strncat.
1745         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1746         not defined.
1747         * include/bits/string3.h: Rename to bits/string_fortified.h,
1748         update to match above.
1750         * sysdeps/i386/string-inlines.c: Define compat symbols for
1751         everything formerly defined by sysdeps/x86/bits/string.h.
1752         Make existing definitions into compat symbols as well.
1753         Remove some no-longer-necessary messing around with macros.
1755         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1756         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1758         * sysdeps/s390/multiarch/mempcpy.c
1759         No need to define _HAVE_STRING_ARCH_mempcpy.
1760         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1762         * sysdeps/i386/i686/multiarch/strncat-c.c
1763         * sysdeps/s390/multiarch/strncat-c.c
1764         * sysdeps/x86_64/multiarch/strncat-c.c
1765         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
1767 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
1769         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1770         (LDBL_DIG): Likewise.
1771         (LDBL_MIN_EXP): Likewise.
1772         (LDBL_MIN_10_EXP): Likewise.
1773         (LDBL_MAX_EXP): Likewise.
1774         (LDBL_MAX_10_EXP): Likewise.
1775         (LDBL_MAX): Likewise.
1776         (LDBL_MIN): Likewise.
1777         (LDBL_EPSILON): Likewise.
1778         (FLT_ROUNDS): Change standard from ISO to C90.
1779         (FLT_RADIX): Likewise.
1780         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1781         (FLT_DIG, DBL_DIG): Likewise.
1782         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1783         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1784         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1785         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1786         (FLT_MAX, DBL_MAX): Likewise.
1787         (FLT_MIN, DBL_MIN): Likewise.
1788         (FLT_EPSILON, DBL_EPSILON): Likewise.
1790 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1792         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1793         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1794         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1795         * sysdeps/mips/math-tests.h
1796         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1797         conditional code.
1799 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1801         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1802         It cannot change while __libc_setlocale_lock is acquired.
1804 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1806         * elf/rtld.c (audit_list_string): New variable.
1807         (audit_list): Update comment.
1808         (struct audit_list_iter): Define.
1809         (audit_list_iter_init, audit_list_iter_next): New function.
1810         (dl_main): Use struct audit_list_iter to process audit modules.
1811         (process_dl_audit): Call dso_name_valid_for_suid.
1812         (process_envvars): Set audit_list_string instead of calling
1813         process_dl_audit.
1815 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1817         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1818         (dso_name_valid_for_suid): New function.
1819         (handle_ld_preload): Likewise.
1820         (dl_main): Call it.  Remove alloca.
1822 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1824         [BZ #21625]
1825         * posix/sys/wait.h (strust rusage forward declaration): Change
1826         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1827         !__USE_XOPEN2K].
1828         (wait3): Likewise.
1830         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1831         * configure: Regenerated.
1832         * manual/install.texi (Tools for Compilation): Document
1833         requirement for GCC 4.9 or later.
1834         * INSTALL: Regenerated.
1836 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1838         [BZ #21624]
1839         CVE-2017-1000366
1840         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1841         __libc_enable_secure.
1843 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1845         [BZ #21539]
1846         * NEWS: Mention s390 ptrace request changes.
1847         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1848         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1849         PTRACE_SETFPREGS): Remove enum constant.
1850         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1851         Remove defines.
1852         (PTRACE_SINGLEBLOCK): New enum constant.
1853         (PT_STEPBLOCK): New define.
1854         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1855         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1856         PTRACE_TE_ABORT_RAND): New enum constant and define.
1857         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1858         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1859         New file.
1860         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1862 2017-06-16  Florian Weimer  <fweimer@redhat.com>
1864         * resolv/res_init.c (res_vinit_1): Use getline to read from the
1865         configuration file.
1866         (__res_vinit): Adjust.
1868 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1870         * resolv/res_init.c (res_vinit_1): New function.
1871         (__res_vinit): Call it.  Handle file open and memory allocation
1872         failures.
1873         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1874         erno from __res_maybe_init failure.
1875         (_nss_dns_gethostbyname4_r): Likewise.
1876         (_nss_dns_gethostbyaddr2_r): Likewise.
1877         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1878         (_nss_dns_getnetbyaddr_r): Likewise.
1880 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1882         * resolv/res_init.c: Reformat to GNU style.
1884 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1886         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1887         (is_sort_mask): New function.
1888         (__res_vinit): Use it.
1890 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1892         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1893         conditionals.
1895 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1897         * resolv/res-close.c: New file.
1898         * resolv/res_init.c (__res_iclose, res_nclose)
1899         (res_thread_freeres): Remove definitions.
1900         * resolv/Makefile (routines): Add res-close.
1902 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1904         * resolv/res_randomid.c: New file.
1905         * resolv/res_init.c (res_randomid): Remove definition.
1906         * resolv/Makefile (routines): Add res_randomid.
1908 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1910         * include/resolv.h (__res_vinit): Declare as hidden.
1911         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1912         * resolv/res_libc.c (res_init): Likewise.
1914 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1916         [BZ #21457]
1917         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1918         _libc_xmmreg): Use __ctx in defining field.
1920         [BZ #21597]
1921         * signal/signal.h (siginterrupt): Make declaration conditional on
1922         [__USE_XOPEN_EXTENDED || __USE_MISC].
1924         [BZ #21584]
1925         * signal/signal.h: Make includes of <bits/sigstack.h> and
1926         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1927         __USE_MISC].
1928         (sigaltstack): Make declaration conditional on
1929         [__USE_XOPEN_EXTENDED || __USE_MISC].
1931         [BZ #21575]
1932         * resource/bits/types/struct_rusage.h: New file.
1933         * include/bits/types/struct_rusage.h: Likewise.
1934         * bits/resource.h (struct rusage): Include
1935         <bits/types/struct_rusage.h> instead of defining here.
1936         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1937         Likewise.
1938         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1939         Likewise.
1940         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1941         Likewise.
1942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1943         Likewise.
1944         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1945         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1946         Include <bits/types/struct_rusage.h>
1948 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1950         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1952 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1954         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1956 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1958         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1960 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1962         [BZ #21537]
1963         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1964         Check SHARED instead of PIC.
1965         (SYSCALL_PIC_SETUP): Add missing semicolons.
1966         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1967         Check SHARED instead of PIC.
1968         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1969         (__makecontext_ret): Adjust code to jump to exit.
1971 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
1973         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1974         Simplify code by always using SVC 0 instead of EX.
1975         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1977 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
1979         * elf/Versions (ld): Remove _dl_out_of_memory.
1981 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
1983         * timezone/private.h: Update from tzcode 2017b.
1984         * timezone/tzfile.h: Likewise.
1985         * timezone/tzselect.ksh: Likewise.
1986         * timezone/zdump.c: Likewise.
1987         * timezone/zic.c: Likewise.
1988         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1989         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1990         * time/tzset.c (SECSPERDAY): New macro.
1992 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1994         * manual/string.texi (strdup): Complete header and standards
1995         annotation.
1996         (strncpy): Likewise.
1998 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2000         * manual/arith.texi (FP_NAN): Add or complete header and standard
2001         annotations.
2002         (FP_INFINITE): Likewise.
2003         (FP_ZERO): Likewise.
2004         (FP_SUBNORMAL): Likewise.
2005         (FP_NORMAL): Likewise.
2006         (SNAN): Likewise.
2007         (SNANL): Likewise.
2008         (totalorderf): Likewise.
2009         (totalorderl): Likewise.
2010         (totalordermagf): Likewise.
2011         (totalordermagl): Likewise.
2012         (_Complex_I): Likewise.
2013         (I): Likewise.
2015 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2017         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2018         standard annotation.
2019         (ARGP_HELP_SHORT_USAGE): Likewise.
2020         (ARGP_HELP_SEE): Likewise.
2021         (ARGP_HELP_LONG): Likewise.
2022         (ARGP_HELP_PRE_DOC): Likewise.
2023         (ARGP_HELP_POST_DOC): Likewise.
2024         (ARGP_HELP_DOC): Likewise.
2025         (ARGP_HELP_BUG_ADDR): Likewise.
2026         (ARGP_HELP_LONG_ONLY): Likewise.
2027         (ARGP_HELP_EXIT_ERR): Likewise.
2028         (ARGP_HELP_EXIT_OK): Likewise.
2029         (ARGP_HELP_STD_ERR): Likewise.
2030         (ARGP_HELP_STD_USAGE): Likewise.
2031         (ARGP_HELP_STD_HELP): Likewise.
2033 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2035         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2036         use of the C locale.  Update Perl dependency comment.
2037         * manual/header.texi: Update reference to summary.awk.
2038         * manual/macros.texi: Refer authors to `summary.pl --help'.
2039         * manual/summary.awk: Remove file.
2040         * manual/summary.pl: New file.  Generate summary.texi, and check
2041         for @standards-related syntax errors.
2042         * manual/argp.texi: Convert header and standards @comments to
2043         @standards.
2044         * manual/arith.texi: Likewise.
2045         * manual/charset.texi: Likewise.
2046         * manual/conf.texi: Likewise.
2047         * manual/creature.texi: Likewise.
2048         * manual/crypt.texi: Likewise.
2049         * manual/ctype.texi: Likewise.
2050         * manual/debug.texi: Likewise.
2051         * manual/errno.texi: Likewise.
2052         * manual/filesys.texi: Likewise.
2053         * manual/getopt.texi: Likewise.
2054         * manual/job.texi: Likewise.
2055         * manual/lang.texi: Likewise.
2056         * manual/llio.texi: Likewise.
2057         * manual/locale.texi: Likewise.
2058         * manual/math.texi: Likewise.
2059         * manual/memory.texi: Likewise.
2060         * manual/message.texi: Likewise.
2061         * manual/pattern.texi: Likewise.
2062         * manual/pipe.texi: Likewise.
2063         * manual/process.texi: Likewise.
2064         * manual/resource.texi: Likewise.
2065         * manual/search.texi: Likewise.
2066         * manual/setjmp.texi: Likewise.
2067         * manual/signal.texi: Likewise.
2068         * manual/socket.texi: Likewise.
2069         * manual/startup.texi: Likewise.
2070         * manual/stdio.texi: Likewise.
2071         * manual/string.texi: Likewise.
2072         * manual/sysinfo.texi: Likewise.
2073         * manual/syslog.texi: Likewise.
2074         * manual/terminal.texi: Likewise.
2075         * manual/threads.texi: Likewise.
2076         * manual/time.texi: Likewise.
2077         * manual/users.texi: Likewise.
2079 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2081         * manual/macros.texi (@standards): New macro.  Provide placeholder
2082         for header and standards annotations.
2083         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2085 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2087         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2088         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2089         rule.
2090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2091         sync_file_range.
2093          * support/support_test_main.c (support_test_main):  Use optstring
2094          member for option string in getopt_long.
2095          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2096          (CMDLINE_OPTSTRING): New define.
2097          * support/test-driver.h (test_config): Add optstring member.
2099 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2102         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2103         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2104         Check USE_AS_STRPBRK instead of STRPBRK_P.
2105         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2106         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2107         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2108         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2109         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2110         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2111         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2112         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2113         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2114         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2115         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2116         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2117         and "#endif".
2119 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2121         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2122         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2124 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2127         strcat-sse2.
2128         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2129         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2130         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2131         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2132         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2134 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2135             Erich Elsen  <eriche@google.com>
2137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2138         memcmp-sse2.
2139         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2140         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2141         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2142         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2143         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2144         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2146 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2147             Erich Elsen  <eriche@google.com>
2149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2150         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2152         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2153         Update comments.
2154         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2155         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2156         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2157         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2158         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2159         * sysdeps/x86_64/multiarch/memset.S: Removed.
2160         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2161         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2162         (__memset_chk_erms): New function.
2164 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2166         * configure.ac(--enable-tunables): Enable by default.
2167         * configure: Regenerate.
2168         * NEWS: Mention change.
2169         * manual/install.texi (enable-tunables): Adjust documentation.
2170         * INSTALL: Regenerate.
2172 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2174         [BZ #18988]
2175         * benchtests/thread_create-inputs: New file.
2176         * benchtests/thread_create-source.c: Likewise.
2177         * support/xpthread_attr_setguardsize.c: Likewise.
2178         * support/Makefile (libsupport-routines): Add
2179         xpthread_attr_setguardsize object.
2180         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2181         * benchtests/Makefile (bench-pthread): Add thread_create.
2182         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2183         then mprotect the required area.
2184         (guard_position): New function.
2185         (setup_stack_prot): Likewise.
2187 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2188             Erich Elsen  <eriche@google.com>
2189             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2192         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2193         mempcpy_chk-nonshared and memmove_chk-nonshared.
2194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2195         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2196         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2197         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2198         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2199         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2200         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2201         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2202         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2203         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2205         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2206         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2207         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2208         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2209         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2210         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2211         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2212         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2214         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2215         (__mempcpy_chk_erms): New function.
2216         (__memmove_chk_erms): Likewise.
2217         (__memcpy_chk_erms): New alias.
2219 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2221         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2222         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2224 2017-06-14  Zack Weinberg  <zackw@panix.com>
2226         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2227         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2228         defined, don't declare anything other than the E-constants.
2230         * include/errno.h: Change conditional for exposing internal
2231         declarations to (not _ISOMAC and not __ASSEMBLER__).
2232         * bits/errno.h: Remove logic for __need_Emath.  Document
2233         requirements for a port-specific bits/errno.h.
2235         * sysdeps/unix/sysv/linux/bits/errno.h
2236         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2237         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2238         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2239         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2240         Add multiple-include guard and check against improper inclusion.
2241         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2242         constants are defined as simple integer literals.  Consistent
2243         formatting.
2244         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2245         enum __error_t_codes if __ASSEMBLER__ is not defined.
2246         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2248         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2249         including errno.h.
2250         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2251         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2252         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2253         * sysdeps/x86_64/fpu/s_cosf.S
2254         * sysdeps/x86_64/fpu/s_sincosf.S
2255         * sysdeps/x86_64/fpu/s_sinf.S:
2256         Just include errno.h; don't define __need_Emath or include
2257         bits/errno.h directly.
2259 2017-06-14  Zack Weinberg  <zackw@panix.com>
2261         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2262         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2263         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2265         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2266         for IOV_MAX.
2267         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2268         Don't install bits/uio.h.
2269         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2270         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2271         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2273         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2274         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2275         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2277         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2278         Include bits/types/struct_iovec.h, not bits/uio.h.
2279         Use __ssize_t, not ssize_t, in function prototypes.
2280         Don't use hard TAB for double space after period in comments.
2282 2017-06-14  Alan Modra  <amodra@gmail.com>
2284         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2285         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2286         refsym and sym parameters.  Adjust callers.
2287         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2288         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2289         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2290         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2291         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2292         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2293         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2294         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2295         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2296         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2297         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2298         Likewise.
2299         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2301         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2302         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2303         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2304         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2305         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2306         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2307         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2308         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2309         Delete reloc param, add refsym and sym.  Check optimized plt
2310         call stubs for localentry:0 functions.  Adjust callers.
2311         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2312         and sym parameters.  Adjust callers.
2313         (_dl_reloc_overflow): Move attribute.
2314         (_dl_error_localentry): Declare.
2315         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2316         refsym and sym to elf_machine_fixup_plt.
2317         * elf/testobj6.c (preload): Call printf.
2319 2017-06-14  Alan Modra  <amodra@gmail.com>
2321         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2322         (NOPS, ENTRY_3): New macros.
2323         (ENTRY): Rewrite.
2324         (ENTRY_TOCLESS): Define.
2325         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2326         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2327         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2328         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2329         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2330         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2331         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2332         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2333         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2334         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2335         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2336         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2337         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2338         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2339         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2340         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2341         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2342         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2343         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2344         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2345         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2346         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2347         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2348         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2349         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2350         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2352         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2353         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2354         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2355         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2356         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2357         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2358         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2359         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2360         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2361         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2362         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2363         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2364         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2365         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2366         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2367         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2368         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2369         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2370         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2371         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2372         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2373         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2374         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2375         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2376         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2377         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2378         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2380         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2381         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2382         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2383         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2384         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2385         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2386         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2387         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2389         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2390         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2391         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2392         Likewise.
2393         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2394         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2395         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2396         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2398         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2399         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2400         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2401         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2403         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2405         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2406         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2407         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2408         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2409         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2410         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2411         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2412         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2413         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2414         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2415         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2416         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2417         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2418         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2419         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2420         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2421         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2422         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2423         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2424         add nop when SHARED.
2425         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2426         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2427         define.
2428         (ENTRY_TOCLESS): Define.
2429         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2430         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2431         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2433 2017-06-14  Alan Modra  <amodra@gmail.com>
2435         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2436         MEMSET_is_local.
2437         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2438         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2439         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2440         Define MEMSET.
2441         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2442         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2443         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2444         nop after local calls.
2445         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2446         Don't add nop after local call.
2447         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2448         CALL_MCOUNT.
2450 2017-06-14  Alan Modra  <amodra@gmail.com>
2452         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2453         (FUNC_LABEL): Rename from DOT_LABEL.
2454         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2455         Use .p2align rather than .align.
2456         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2457         (ABORT_TRANSACTION): Likewise.
2458         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2459         particularly at end.  Add semicolon at invocation as necessary.
2460         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2461         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2462         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2463         END): Adjust to suit.
2465 2017-06-14  Alan Modra  <amodra@gmail.com>
2467         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2468         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2469         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2470         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2471         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2473         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2475 2017-06-14  Alan Modra  <amodra@gmail.com>
2477         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2478         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2480 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2482         [BZ #21548]
2483         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2484         8 and use it when copying general purpose registers.
2485         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2487         mips o32.
2488         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2489         new test for mips o32.
2490         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2491         8 and use it when copying general purpose registers.
2492         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2494 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2496         * configure.ac (find_cxx_header): Suppress compiler error message.
2498 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2500         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2501         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2502         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2503         begin/end.
2504         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2505         dynarray_int_end.
2506         (test_str): Test dynarray_str_begin, dynarray_str_end.
2508 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2510         [BZ #21573]
2511         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2512         $(common-objpfx)bits/std_abs.h.
2513         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2514         New target.
2515         * config.make.in (c++-bits-std_abs-h): New.
2516         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2517         (CXX_BITS_STD_ABS_H): New.
2518         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2519         * configure: Regenerated.
2521 2017-06-13  Zack Weinberg  <zackw@panix.com>
2523         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2524         directives.
2526 2017-06-12  Zack Weinberg  <zackw@panix.com>
2528         * bits/sched.h: Remove __need_schedparam logic and replace with a
2529         normal multiple-include guard.  Change field name in struct
2530         sched_param from __sched_priority to sched_priority.  Delete
2531         everything under #ifndef __cpu_set_t_defined.
2532         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2533         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2535         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2536         For compatibility, #define sched_priority to itself, and #define
2537         __sched_priority as sched_priority.
2538         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2539         that was under #ifndef __cpu_set_t_defined in
2540         sysdeps/unix/sysv/linux/bits/sched.h.
2541         * include/bits/cpu-set.h: New wrapper.
2542         * posix/Makefile: Install bits/cpu-set.h.
2544 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2545             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2546             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2548         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2549         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2550         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2551         * math/libm-test-isfinite.inc (finite_test): Likewise.
2552         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2553         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2554         (nexttoward_test_data}: Likewise.
2555         * math/libm-test-remainder.inc (drem_test): Likewise.
2556         * math/libm-test-scalb.inc (scalb_test): Likewise.
2557         (scalb_test_data): Likewise.
2558         * math/libm-test-significand.inc (significand_test): Likewise.
2559         (significand_test_data): Likewise.
2560         * math/libm-test-support.c (check_complex): Replace __complex__
2561         FLOAT with CFLOAT to get the support for old compiler.
2562         * math/libm-test-support.h (check_complex): Likewise.
2563         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2564         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2565         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2566         * math/test-float128.h: New file.
2567         * math/test-math-floatn.h: New file.
2569 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2571         * include/float.h: Allow the definition of macros prefixed with
2572         FLT128 even if _ISOMAC is defined, but provided that
2573         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2575 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2577         * manual/math.texi (Mathematics): Add description for _FloatN and
2578         _FloatNx types and mentions that they are not support in glibc for
2579         any architecture, so far.
2580         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2581         stdlib.h with wchar.h.
2582         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2583         (Printing of Floats): Add description for strfromfN.
2585 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2586             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2587             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2589         * include/gmp.h (__mpn_construct_float128): New declaration.
2590         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2591         (__strtof128_l): New declaration.
2592         (__strtof128_nan): Likewise.
2593         (__wcstof128_nan): Likewise.
2594         (__strtof128_internal): Likewise.
2595         (____strtof128_l_internal): Likewise.
2596         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2597         (__wcstof128_l): New declaration.
2598         (__wcstof128_internal): Likewise.
2600         * stdlib/Makefile (bug-strtod2): Link libm too.
2602         * stdlib/stdlib.h (strtof128): New declaration.
2603         (strtof128_l): Likewise.
2605         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2606         tst-strtod.h macros to ensure float128 gets tested too.
2608         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2610         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2611         tests.
2612         (IF_FLOAT128): New macro.
2613         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2614         the tests.
2615         (STRTOD_TEST_FOREACH): Likewise.
2617         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2618         wcstof128 functions into libc.
2620         * sysdeps/ieee754/float128/Versions: Add exports for the above
2621         new functions.
2623         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2624         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2625         * sysdeps/ieee754/float128/strtof128.c: New file.
2626         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2627         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2628         * sysdeps/ieee754/float128/wcstof128.c: New file.
2629         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2630         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2631         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2632         (CFLAGS-wcstof128_l): Likewise.
2634         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2635         (wcstof128): New declaration.
2636         (wcstof128_l): Likewise.
2638 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2640         [BZ #21552]
2641         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2642         not [__USE_XOPEN].
2643         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2645         [BZ #21550]
2646         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2648 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2651         strcpy-sse2 and stpcpy-sse2.
2652         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2653         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2654         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2655         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2656         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2657         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2658         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2659         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2660         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2661         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2662         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2663         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2664         (libc_hidden_def): Always defined as empty.
2665         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2666         Always Defined as empty.
2668 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2670         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2672 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2674         [BZ #15105]
2675         [BZ #19463]
2676         * include/string.h: Add internal redirect for __stpcpy.
2677         * string/Makefile: Remove bits/string2.h.
2678         * string/string.h: Update comment.
2679         * string/string-inlines.c: Remove bits/string2.h include and comment.
2680         * string/bits/string2.h: Remove file.
2682 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2684         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2685         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2686         * sunrpc/des_impl.c (_des_crypt): Likewise.
2687         * sunrpc/key_call.c (key_gendes): Likewise.
2688         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2689         * sunrpc/svc_simple.c (universal): Likewise.
2690         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2691         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2692         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2694 2017-06-10  Zack Weinberg  <zackw@panix.com>
2696         * stdlib/errno.h: Correct an outdated comment.
2698 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2700         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2701         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2702         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2703         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2704         New file.  Invoke newly supported sysconf values for powerpc,
2705         and report results.  If none are supported, report so.
2706         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2707         tst-sysconf.
2709 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2711         * include/sys/auxv.h (__getauxval): Add a prototype and its
2712         libc_hidden_proto.
2713         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2715 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
2717         [BZ #21561]
2718         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2719         [__USE_XOPEN_EXTENDED].
2720         (id_t): Likewise.
2721         (include of <bits/types/siginfo_t.h): Likewise.
2722         (waitid): Likewise.
2723         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2724         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2725         (WEXITED): Likewise.
2726         (WCONTINUED): Likewise.
2727         (WNOWAIT): Likewise.
2728         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2729         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2730         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2732         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2733         libc.so PLT entry optional.
2734         (__gtsf2): Likewise.
2735         (__unorddf2): Likewise.
2736         (__unordsf2): Likewise.
2737         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2738         New optional libc.so PLT entry.
2740         [BZ #21554]
2741         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2742         not [__USE_XOPEN].
2744         [BZ #21560]
2745         * posix/sys/wait.h: Condition include of <signal.h> on
2746         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
2747         unconditionally.
2748         [!__pid_t_defined] (pid_t): Define typedef.
2750 2017-06-09  Zack Weinberg  <zackw@panix.com>
2752         * include/errno.h (__errno_location): Use __attribute_const__
2753         instead of bare __attribute__.
2755 2017-06-09  Zack Weinberg  <zackw@panix.com>
2757         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2758         (common-generated): Add libc-modules.h and libc-modules.stmp in a
2759         more appropriate location. Also add dl-tunable-list.h and
2760         dl-tunable-list.stmp.
2762 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2766 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2769         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2771         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2772         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2773         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2774         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2775         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2776         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2777         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2778         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2780 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2783         memrchr-sse2 and memrchr-avx2.
2784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2785         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2786         __memrchr_sse2.
2787         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2788         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2789         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2791 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2794         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2795         wcschr-sse2 and wcschr-avx2.
2796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2797         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2798         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2799         __wcschr_sse2.
2800         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2801         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2802         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2803         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2804         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2805         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2806         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2807         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2808         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2809         * sysdeps/x86_64/multiarch/strchr.S: Removed.
2811 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2814         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2815         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2817         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2818         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2819         __wcslen_sse2 and __wcsnlen_avx2.
2820         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2821         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2822         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2823         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2824         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2825         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2826         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2827         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2828         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2829         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2830         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2831         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2832         vzeroupper is preferred and AVX unaligned load is fast.
2834 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2836         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
2837         USE_AS_WMEMCHR is defined.
2838         (PCMPEQ): Likewise.
2839         (memchr): Renamed to ...
2840         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
2841         Replace pcmpeqb with PCMPEQ.
2842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2843         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2844         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2845         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2846         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2847         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2848         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2849         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2850         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2851         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2852         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2853         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2854         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2856         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2857         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2858         __wmemchr_sse2.
2860 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2862         * malloc/Makefile (test-srcs): Remove tst-dynarray,
2863         tst-dynarray-fail.
2865 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2867         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2868         * support/support_test_verify_impl.c
2869         (support_test_verify_exit_impl): Split from
2870         support_test_verify_impl.
2871         * support/check.h (TEST_VERIFY): Drop status argument from
2872         support_test_verify_impl call.
2873         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2874         (support_test_verify_impl): Remove status argument.
2875         (support_test_verify_exit_impl): Declare.
2877 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2879         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2880         mention of magic numbers in comments.
2881         (_dl_procinfo): Fix undefined behavior
2883 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
2885         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2886         [XPG4].
2887         (WEXITED): Likewise.
2888         (WSTOPPED): Likewise.
2889         (WCONTINUED): Likewise.
2890         (WNOHANG): Likewise.
2891         (WNOWAIT): Likewise.
2892         (idtype_t): Likewise.
2893         (P_ALL): Likewise.
2894         (P_PID): Likewise.
2895         (P_PGID): Likewise.
2896         (id_t): Likewise.
2897         (siginfo_t): Likewise.
2898         (wait3): Likewise.
2899         (waitid): Likewise.
2900         (signal.h): Do not allow header for [XPG4].
2901         (sys/resource.h): Likewise.
2902         (si_*): Do not allow for [XPG4].
2903         (W*): Likewise.
2904         (P_*): Likewise.
2905         (BUS_): Likewise.
2906         (CLD_): Likewise.
2907         (FPE_): Likewise.
2908         (ILL_): Likewise.
2909         (POLL_): Likewise.
2910         (SEGV_): Likewise.
2911         (SI_): Likewise.
2912         (TRAP_): Likewise.
2913         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2914         variable.
2916 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2918         [BZ #21528]
2919         * elf/dl-minimal.c (__strtoul_internal): Removed.
2920         (strtoul): Likewise.
2921         * elf/dl-misc.c (_dl_strtoul): New function.
2922         * elf/dl-tunables.c (tunables_strtoul): Removed.
2923         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2924         * elf/rtld.c (process_envvars): Likewise.
2925         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2926         Likewise.
2927         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2929 2017-06-08  Zack Weinberg  <zackw@panix.com>
2931         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2932         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2933         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2934         * wctype/bits/wctype-wchar.h: New file holding declarations shared
2935         between wctype.h and wchar.h.
2937         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2938         Install them.
2940         * include/bits/types/FILE.h, include/bits/types/__FILE.h
2941         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2942         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2943         New wrappers.
2944         * include/stdio.h, include/wchar.h, include/wctype.h:
2945         No need to handle __need macros.
2947         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2948         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2949         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2950         * wcsmbs/wchar.h, wctype/wctype.h
2951         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2952         Use the new files instead of __need macros.
2954 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2956         * string/test-memrchr.c (test_main): Add tests for len == 0
2957         and tests for positions close to the beginning, which are
2958         equivalent to positions close to the end for memchr.
2960 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2963         comments.
2964         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2965         instead of wmemset.h.
2966         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2967         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2968         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2970 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2972         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2973         spec->info.is_binary128 to zero.
2974         * stdio-common/printf.h (printf_info): Add new member is_binary128
2975         to indicate that the number being converted to string is compatible
2976         with the IEC 60559 binary128 format.
2977         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2978         _Float128 numbers.
2979         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2980         ldbl-128/printf_fphex_macros.h
2981         (__printf_fphex): Add code to deal with _Float128 numbers.
2982         * stdio-common/printf_size.c (__printf_size): Likewise.
2983         * stdio-common/vfprintf.c (process_arg): Initialize member
2984         info.is_binary128 to zero.
2985         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2986         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2987         (strfromf128): New declaration.
2988         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2989         to one.
2990         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2991         * sysdeps/ieee754/float128/Versions: Likewise.
2992         * sysdeps/ieee754/float128/strfromf128.c: New file.
2994 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2996         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2997         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2998         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2999         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3000         (PRINT_FPHEX): New function-like macro that can be used for long
3001         double, as well as for _Float128
3003 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3005         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3006         (__printf_fp_l): Use the new macro to avoid duplicating code.
3007         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3008         (__printf_fphex): Use the new macro to avoid duplicating code.
3009         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3010         (__printf_size): Use the new macro to avoid duplicating code.
3012 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3014         * include/gmp.h: Include bits/floatn.h
3015         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3016         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3017         including stack-alloc.h.  It could have been defined by other header
3018         which not necessarily defines HAVE_ALLOCA.
3019         * sysdeps/ieee754/float128/Makefile: New file.
3020         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3021         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3022         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3023         redefine __mpn_extract_long_double to __mpn_extract_float128.
3024         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3025         _Float128 to allow float128_private.h overrides.
3027 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3029         * stdlib/fpioconst.h: Include bits/floatn.h.
3030         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3031         power of ten table should be.
3032         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3033         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3034         to include larger tables when _Float128 support is enabled.
3035         (_fpioconst_pow10): Likewise.
3037 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3039         * include/bits/types/clock_t.h: Use #include <path> instead of
3040         #include "../../path".
3041         * include/bits/types/clockid_t.h: Likewise.
3042         * include/bits/types/struct_iovec.h: Likewise.
3043         * include/bits/types/struct_itimerspec.h: Likewise.
3044         * include/bits/types/struct_osockaddr.h: Likewise.
3045         * include/bits/types/struct_sigstack.h: Likewise.
3046         * include/bits/types/struct_timespec.h: Likewise.
3047         * include/bits/types/struct_timeval.h: Likewise.
3048         * include/bits/types/struct_tm.h: Likewise.
3049         * include/bits/types/time_t.h: Likewise.
3050         * include/bits/types/timer_t.h: Likewise.
3052         [BZ #14096]
3053         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3054         America/New_York.
3056 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3058         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3059         into ...
3060         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3061         ifunc-sse4_1.h.
3063 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3065         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3066         Remove check for NULL 'buf'.
3067         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3069 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3071         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3072         include test-skeleton.c.
3073         Include support/check.h and support/test-driver.c.
3075 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3077         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3078         (_dl_aarch64_cap_flags): New array.
3079         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3080         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3081         functions.
3083         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3084         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3085         Likewise.
3086         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3087         up hwcap and hwcap_mask.
3089         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3090         (init_cpu_features): Use glibc.tune.hwcap_mask.
3091         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3093         * elf/dl-hwcaps.h: New file.
3094         * elf/dl-hwcaps.c: Include it.
3095         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3096         glibc.tune.hwcap_mask.
3097         * elf/dl-cache.c: Include dl-hwcaps.h.
3098         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3099         glibc.tune.hwcap_mask.
3100         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3101         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3102         _dl_hwcap_mask.
3103         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3104         _dl_hwcap_mask.
3105         (process_envvars)[HAVE_TUNABLES]: Likewise.
3106         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3107         Likewise.
3108         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3109         initialize dl_hwcap_mask when tunables are enabled.
3111         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3112         guard.
3113         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3115         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3116         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3117         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3119         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3120         * elf/dl-tunables.c: Likewise.
3121         (do_tunable_update_val): New function.
3122         (__tunable_set_val): New function.
3123         (__tunable_get_val): Call CB only if the tunable was externally
3124         initialized.
3125         (tunables_strtoul): Replace strval with initialized.
3126         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3127         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3128         prevent collision.
3129         (__tunable_set_val): New function.
3130         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3131         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3132         (TUNABLE_SET_VAL): Remove.
3133         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3134         * README.tunables: Document the new macros.
3135         * malloc/arena.c (ptmalloc_init): Adjust.
3137 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3140         wcsnlen-sse4_1 and wcsnlen-c.
3141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3142         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3143         __wcsnlen_sse2.
3144         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3145         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3146         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3147         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3148         * sysdeps/x86_64/wcsnlen.S: Removed.
3150 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3152         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3153         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3154         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3155         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3157 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3159         * NEWS: Mention new spinlock implementation.
3160         * include/atomic.h:
3161         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3162         (atomic_exchange_acq): Likewise.
3163         (atomic_load_relaxed): Likewise.
3164         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3165         * nptl/pthread_spin_init.c (pthread_spin_init):
3166         Use atomic_store_relaxed.
3167         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3168         Use C11-like atomic macros.
3169         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3170         Likewise.
3171         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3172         Use atomic_store_release.
3173         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3174         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3175         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3176         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3177         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3178         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3179         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3180         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3181         * sysdeps/alpha/atomic-machine.h: Likewise.
3182         * sysdeps/arm/atomic-machine.h: Likewise.
3183         * sysdeps/i386/atomic-machine.h: Likewise.
3184         * sysdeps/ia64/atomic-machine.h: Likewise.
3185         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3186         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3187         * sysdeps/microblaze/atomic-machine.h: Likewise.
3188         * sysdeps/mips/atomic-machine.h: Likewise.
3189         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3190         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3191         * sysdeps/s390/atomic-machine.h: Likewise.
3192         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3193         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3194         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3195         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3196         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3197         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3198         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3199         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3200         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3201         * sysdeps/x86_64/atomic-machine.h: Likewise.
3203 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3205         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3206         and use it instead of dl_x86_cpu_features.
3207         (handle_intel): Replace maxidx with cpu_features.  Pass
3208         cpu_features to intel_check_word.
3209         (__cache_sysconf): Pass cpu_features to handle_intel.
3210         (init_cacheinfo): Likewise.  Use cpu_features instead of
3211         dl_x86_cpu_features.
3213 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3215         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3217         memcmp-avx2 and wmemcmp-avx2.
3218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3219         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3220         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3221         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3222         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3223         2 machines if AVX unaligned load is fast and vzeroupper is
3224         preferred.
3225         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3226         2 machines if AVX unaligned load is fast and vzeroupper is
3227         preferred.
3229 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3231         * include/wchar.h (__wmemset_chk): New.
3232         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3233         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3234         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3235         (WMEMSET_CHK_SYMBOL): Likewise.
3236         (WMEMSET_SYMBOL): Likewise.
3237         (__wmemset): Add hidden definition.
3238         (wmemset): Add weak hidden definition.
3239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3240         wmemset_chk-nonshared.
3241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3242         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3243         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3244         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3245         and __wmemset_chk_avx512_unaligned.
3246         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3247         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3248         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3249         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3250         (WMEMSET_SYMBOL): Likewise.
3251         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3252         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3253         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3254         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3255         (WMEMSET_SYMBOL): Likewise.
3256         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3257         (WMEMSET_CHK_SYMBOL): New.
3258         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3259         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3260         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3261         (libc_hidden_builtin_def): Also define __GI_wmemset and
3262         __GI___wmemset.
3263         (weak_alias): New.
3264         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3265         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3266         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3267         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3268         * sysdeps/x86_64/wmemset.c: Likewise.
3269         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3271 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3272             H.J. Lu  <hongjiu.lu@intel.com>
3274         * sysdeps/x86/init-arch.h (PASTER1): New.
3275         (EVALUATOR1): Likewise.
3276         (PASTER2): Likewise.
3277         (EVALUATOR2): Likewise.
3278         (REDIRECT_NAME): Likewise.
3279         (OPTIMIZE): Likewise.
3280         (IFUNC_SELECTOR): Likewise.
3282 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3284         * sysdeps/x86_64/strlen.S (PMINU): New.
3285         (PCMPEQ): Likewise.
3286         (SHIFT_RETURN): Likewise.
3287         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3288         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3289         pminub with PCMPEQ and PMINU.
3290         * sysdeps/x86_64/wcsnlen.S: New file.
3292 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3294         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3295         the lower 32 bits.  Remove redundant instructions.
3297 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3300         0 as the high part of offset.
3301         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3303 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #21538]
3306         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3307         [__USE_UNIX98].
3308         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3309         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3310         Likewise.
3311         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3312         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3313         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3314         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3315         Likewise.
3317         [BZ #21517]
3318         * bits/types/stack_t.h (stack_t): Remove struct tag.
3319         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3320         Likewise.
3321         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3322         Likewise.
3323         * debug/segfault.c (install_handler): Use stack_t instead of
3324         struct sigaltstack.
3325         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3326         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3327         * include/signal.h (__sigaltstack): Likwise.
3328         * signal/sigaltstack.c (__sigaltstack): Likewise.
3329         * signal/signal.h (sigaltstack): Likewise.
3330         * sysdeps/mach/hurd/i386/signal-defines.sym
3331         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3332         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3333         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3334         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3335         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3336         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3337         elf_prstatus): Likewise.
3338         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3339         Likewise.
3340         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3341         Likewise.
3342         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3343         Likewise.
3344         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3345         elf_prstatus): Likewise.
3346         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3347         Likewise.
3348         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3349         Likewise.
3351 2017-06-04  Zack Weinberg  <zackw@panix.com>
3353         * sysdeps/gnu/errlist.c: Regenerate.
3355 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3357         * benchtests/bench-memchr.c (do_test): Print out both length
3358         and position.
3359         (test_main): Also test the position close to the beginning for
3360         memrchr.
3362 2017-06-04  Zack Weinberg  <zackw@panix.com>
3364         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3365         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3366         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3367         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3368         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3369         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3370         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3371         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3372         * nis/nis_print_group_entry.c, nis/nis_remove.c
3373         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3374         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3375         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3376         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3377         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3378         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3379         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3380         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3381         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3382         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3383         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3384         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3385         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3386         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3387         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3388         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3389         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3390         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3391         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3392         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3394         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3395         abi-versions.h as well as shlib-compat.h.
3396         * sunrpc/get_myaddr.c: Remove obsolete comment.
3397         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3398         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3399         * resolv/res_libc.c: Include shlib-compat.h only once.
3401 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3404         of strdup.
3406 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3408         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3409         Set to the 3/4 of the total shared cache size.
3411 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3413         * manual/errno.texi: Remove redundant error strings.
3414         * manual/macros.texi (@errno): Render the error string in every
3415         description.
3417 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3419         [BZ #21543]
3420         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3421         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3422         [__USE_XOPEN_EXTENDED].
3424 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3426         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3427         strdupa.
3428         (getcanonname): Use __strdup instead of strdup.
3430 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3432         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3433         (CFLAGS-preadv64v2.c): Likewise.
3434         (CFLAGS-pwritev2.c): Likewise.
3435         (CFLAGS-pwritev64v2.c): Likewise.
3437 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3439         Test res_init with several configuration files.
3440         * resolv/Makefile [build-shared] (tests-internal): Add
3441         tst-resolv-res_init, tst-resolv-res_init-thread.
3442         (tst-resolv-res_init): Link against libdl, libresolv.
3443         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3444         libpthread.
3445         * resolv/tst-resolv-res_init.c: New file.
3446         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3447         * resolv/tst-resolv-res_init-thread.c: Likewise.
3448         * support/Makefile (libsupport-routines): Add support-xstat,
3449         support_can_chroot, support_capture_subprocess_check,
3450         support_isolate_in_subprocess, support_shared_allocate,
3451         support_write_file_string, xchroot, xmkdir, xopen.
3452         * support/capture_subprocess.h (enum support_capture_allow): Define.
3453         (support_capture_subprocess_check): Declare.
3454         * support/namespace.h (support_can_chroot)
3455         (support_isolate_in_subprocess): Declare.
3456         * support/support-xstat.c: New file.
3457         * support/support.h (support_shared_allocate, support_shared_free)
3458         (support_write_file_string): Declare.
3459         * support/support_can_chroot.c: New file.
3460         * support/support_capture_subprocess_check.c: Likewise.
3461         * support/support_isolate_in_subprocess.c: Likewise.
3462         * support/support_shared_allocate.c: Likewise.
3463         * support/support_write_file_string.c: Likewise.
3464         * support/xchroot.c: Likwise.
3465         * support/xmkdir.c: Likwise.
3466         * support/xopen.c: Likwise.
3467         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3469 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3471         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3472         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3474 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3476         * malloc/Makefile (routines): Add dynarray_at_failure,
3477         dynarray_emplace_enlarge, dynarray_finalize.
3478         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3479         tst-dynarray-at-fail.
3480         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3481         (tests-special): Add tst-dynarray-mem.out,
3482         tst-dynarray-mem-fail.out.
3483         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3484         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3485         mtrace.
3486         * malloc/Versions (__libc_dynarray_at_failure)
3487         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3488         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3489         GLIBC_PRIVATE.
3490         * malloc/dynarray.h: New file.
3491         * malloc/dynarray-skeleton.c: Likewise.
3492         * malloc/dynarray_at_failure.c: Likewise.
3493         * malloc/dynarray_emplace_enlarge.c: Likewise.
3494         * malloc/dynarray_finalize.c: Likewise.
3495         * malloc/dynarray_resize.c: Likewise.
3496         * malloc/dynarray_resize_clear.c: Likewise.
3497         * malloc/tst-dynarray.c: Likewise.
3498         * malloc/tst-dynarray-fail.c: Likewise.
3499         * malloc/tst-dynarray-at-fail.c: Likewise.
3500         * malloc/tst-dynarray-shared.h: Likewise.
3501         * support/Makefile (libsupport-routines): Add
3502         support_capture_subprocess, xdup2, xpipe.
3503         (tests): Add tst-support_capture_subprocess.
3504         * support/capture_subprocess.h: New file.
3505         * support/support_capture_subprocess.c: Likewise.
3506         * support/tst-support_capture_subprocess.c: Likewise.
3507         * support/xdup2.c: Likewise.
3508         * support/xpipe.c: Likewise.
3509         * support/xunistd.h (xdup2, xpipe): Declare.
3511 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3513         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3514         macros MAX and MIN.
3516 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3518         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3519         [XPG4].
3520         (SA_SIGINFO): Likewise.
3521         (SA_ONSTACK): Likewise.
3522         (SA_RESETHAND): Likewise.
3523         (SA_RESTART): Likewise.
3524         (SA_NOCLDWAIT): Likewise.
3525         (SA_NODEFER): Likewise.
3526         (SS_ONSTACK): Likewise.
3527         (SS_DISABLE): Likewise.
3528         (MINSIGSTKSZ): Likewise.
3529         (SIGSTKSZ): Likewise.
3530         (ucontext_t): Likewise.
3531         (stack_t): Likewise.
3532         (struct sigstack): Likewise.
3533         (SI_USER): Do not expect for [XPG4 || XPG42].
3534         (SI_QUEUE): Likewise.
3535         (SI_TIMER): Likewise.
3536         (SI_ASYNCIO): Likewise.
3537         (SI_MESGQ): Likewise.
3538         (bsd_signal): Do not expect for [XPG4].
3539         (killpg): Likewise.
3540         (sigaltstack): Likewise.
3541         (sighold): Likewise.
3542         (sigignore): Likewise.
3543         (siginterrupt): Likewise.
3544         (sigpause): Likewise.
3545         (sigrelse): Likewise.
3546         (sigset): Likewise.
3547         (sigwait): Do not expect for [XPG4 || XPG42].
3549 2017-06-01  Zack Weinberg  <zackw@panix.com>
3551         [BZ #21514]
3552         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3553         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3555 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3557         [BZ #21457]
3558         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3559         NGREG to __NGREG if [__USE_MISC].
3560         (gregset_t): Define using __NGREG.
3561         (__ctx): New macro.
3562         (mcontext_t): Use __ctx in defining fields.
3563         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3564         define NGREG to __NGREG if [__USE_MISC].
3565         (gregset_t): Define using __NGREG.
3566         (__ctx): New macro.
3567         (__ctxt): Likewise.
3568         (fpregset_t): Use __ctx and __ctxt in defining fields.
3569         (mcontext_t): Likewise.
3570         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3571         define NGREG to __NGREG if [__USE_MISC].
3572         (gregset_t): Define using __NGREG.
3573         (__ctx): New macro.
3574         (mcontext_t): Use __ctx in defining fields.
3575         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3576         define NGREG to __NGREG if [__USE_MISC].
3577         (gregset_t): Define using __NGREG.
3578         (__ctx): New macro.
3579         (fpregset_t): Use __ctx in defining fields.
3580         (mcontext_t): Likewise.
3581         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3582         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3583         (gregset_t): Define using __NGREG.
3584         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3585         [__USE_MISC].
3586         (fpregset_t): Define using __NFPREG.
3587         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3588         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3589         (gregset_t): Define using __NGREG.
3590         (__ctx): New macro.
3591         (fpregset_t): Use __ctx in defining fields.
3592         (mcontext_t): Likewise.
3593         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3594         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3595         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3596         [__USE_MISC].
3597         (gregset_t): Define using __NGREG.
3598         (__ctx): New macro.
3599         (fpregset_t): Use __ctx in defining fields.
3600         (mcontext_t): Likewise.
3601         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3602         (mcontext_t): Use __ctx in defining fields.
3603         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3604         macro.
3605         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3606         __NGREG if [__USE_MISC].
3607         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3608         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3609         (mcontext_t): Likewise.
3610         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3611         __NGREG if [__USE_MISC].
3612         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3613         to __NFPREG if [__USE_MISC].
3614         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3615         to __NVRREG if [__USE_MISC].
3616         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3617         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3618         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3619         [__WORDSIZE != 32] (vrregset_t): Likewise.
3620         [__WORDSIZE != 32] (mcontext_t): Likewise.
3621         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3622         (__psw_t): Use __ctx in defining fields.
3623         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3624         [__USE_MISC].
3625         (gregset_t): Define using __NGREG.
3626         (fpreg_t): Use __ctx in defining fields.
3627         (fpregset_t): Likewise.
3628         (mcontext_t): Likewise.
3629         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3630         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3631         (gregset_t): Define using __NGREG.
3632         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3633         [__USE_MISC].
3634         (fpregset_t): Define using __NFPREG.
3635         (__ctx): New macro.
3636         (mcontext_t): Use __ctx in defining fields.
3637         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3638         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3639         __NGREG if [__USE_MISC].
3640         [__x86_64__] (gregset_t): Define using __NGREG.
3641         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3642         [__x86_64__] (struct _libc_fpstate): Likewise.
3643         [__x86_64__] (mcontext_t): Likewise.
3644         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3645         __NGREG if [__USE_MISC].
3646         [!__x86_64__] (gregset_t): Define using __NGREG.
3647         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3648         [!__x86_64__] (struct _libc_fpstate): Likewise.
3649         [!__x86_64__] (mcontext_t): Likewise.
3651 2017-06-01  Zack Weinberg  <zackw@panix.com>
3653         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3654         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3655         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3656         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3657         libpthread.so no longer references __errno_location.
3659 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3661         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3662         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3663         pwritev64v2.
3664         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3665         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3666         pwritev64v2.
3667         * misc/preadv2.c: New file.
3668         * misc/preadv64v2.c: Likewise.
3669         * misc/pwritev2.c: Likewise.
3670         * misc/pwritev64v2.c: Likewise.
3671         * misc/tst-preadvwritev2.c: Likewise.
3672         * misc/tst-preadvwritev64v2.c: Likewise.
3673         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3674         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3675         prototype.
3676         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3677         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3678         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3679         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3680         (PWRITEV): Likewise.
3681         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3682         ENOSYS.
3683         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3684         (tf_preadv2): Likewise.
3685         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3686         * sysdeps/posix/preadv2.c: Likewise.
3687         * sysdeps/posix/preadv64v2.c: Likewise.
3688         * sysdeps/posix/pwritev2.c: Likewise.
3689         * sysdeps/posix/pwritev64v2.c: Likewise.
3690         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3691         support in kernel.
3692         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3693         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3694         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3695         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3696         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3697         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3698         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3699         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3700         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3701         support flags on Linux.
3702         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3703         preadv2, preadv64v2, pwritev2, pwritev64v2.
3704         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3705         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3706         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3707         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3708         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3709         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3710         Likewise.
3711         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3712         Likewise.
3713         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3718         Likewise.
3719         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3722         Likewise.
3723         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3725         (GLIBC_2.26): Likewise.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3727         (GLIBC_2.26): Likewise.
3728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3729         Likewise.
3730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3731         (GLIBC_2.26): Likewise.
3732         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3735         Likewise.
3736         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3737         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3738         Likewise.
3739         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3740         Likewise.
3741         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3742         Likewise.
3743         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3744         Likewise.
3745         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3746         Likewise.
3747         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3748         Likewise.
3749         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3750         Likewise.
3752 2017-05-31  Andreas Schwab  <schwab@suse.de>
3754         * nptl/tst-fork3.c: Include <support/test-driver.c>.
3755         (main): Rename to do_test and make static.
3757 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3759         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3760         ARCH_INIT_CPU_FEATURES.
3761         (LIBC_START_MAIN): Call it.
3762         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3763         (__libc_start_main): Remove.
3764         (ARCH_INIT_CPU_FEATURES): New macro.
3765         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3766         (ARCH_INIT_CPU_FEATURES): New macro.
3768 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
3769             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3771         * include/stdlib.h (__libc_reallocarray): New declaration.
3772         * malloc/Makefile (routines): Add reallocarray.
3773         (tests): Add tst-reallocarray.c.
3774         * malloc/Versions: Add reallocarray and __libc_reallocarray.
3775         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3776         function.
3777         * malloc/malloc.h (reallocarray): New declaration.
3778         * stdlib/stdlib.h (reallocarray): Likewise.
3779         * malloc/reallocarray.c: New file.
3780         * malloc/tst-reallocarray.c: New test file.
3781         * manual/memory.texi: Document reallocarray.
3782         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3783         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3784         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3785         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3786         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3787         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3788         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3789         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3790         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3791         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3792         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3793         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3794         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3795         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3797         Likewise.
3798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3799         Likewise.
3800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3802         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3804         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3805         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3806         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3809         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3810         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3811         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3813 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3815         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3816         the lower 32 bits.
3818 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
3820         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3821         $(build-pie-default) = yes]: Define.
3823 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3825         * string/test-memchr.c (test_main): Add tests for n == 0.
3827 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3829         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3830         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3831         (tests-internal): ... here.
3833 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
3834              H.J. Lu  <hongjiu.lu@intel.com>
3836         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3837         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3838         (__tunable_set_val): Likewise.
3840 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3842         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3843         dl-tunables.list in subdirectories.
3845 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3846             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3847             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3849         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3850         (SNANF128): New macro.
3851         * math/e_sqrtf128.c: New file.
3852         * math/s_fmaxmag_template.c: Include math_private.h in order to
3853         make inline expansion of fabs128().
3854         * math/s_fminmag_template.c: Likewise.
3856         * sysdeps/ieee754/float128/e_acosf128.c: New file.
3857         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3858         * sysdeps/ieee754/float128/e_asinf128.c: New file.
3859         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3860         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3861         * sysdeps/ieee754/float128/e_coshf128.c: New file.
3862         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3863         * sysdeps/ieee754/float128/e_expf128.c: New file.
3864         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3865         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3866         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3867         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3868         * sysdeps/ieee754/float128/e_j0f128.c: New file.
3869         * sysdeps/ieee754/float128/e_j1f128.c: New file.
3870         * sysdeps/ieee754/float128/e_jnf128.c: New file.
3871         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3872         * sysdeps/ieee754/float128/e_log10f128.c: New file.
3873         * sysdeps/ieee754/float128/e_log2f128.c: New file.
3874         * sysdeps/ieee754/float128/e_logf128.c: New file.
3875         * sysdeps/ieee754/float128/e_powf128.c: New file.
3876         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3877         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3878         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3879         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3880         * sysdeps/ieee754/float128/float128_private.h: New file.
3881         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3882         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3883         * sysdeps/ieee754/float128/k_cosf128.c: New file.
3884         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3885         * sysdeps/ieee754/float128/k_sinf128.c: New file.
3886         * sysdeps/ieee754/float128/k_tanf128.c: New file.
3887         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3888         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3889         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3890         * sysdeps/ieee754/float128/s_atanf128.c: New file.
3891         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3892         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3893         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3894         * sysdeps/ieee754/float128/s_cosf128.c: New file.
3895         * sysdeps/ieee754/float128/s_erff128.c: New file.
3896         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3897         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3898         * sysdeps/ieee754/float128/s_finitef128.c: New file.
3899         * sysdeps/ieee754/float128/s_floorf128.c: New file.
3900         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3901         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3902         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3903         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3904         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3905         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3906         * sysdeps/ieee754/float128/s_isinff128.c: New file.
3907         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3908         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3909         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3910         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3911         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3912         * sysdeps/ieee754/float128/s_logbf128.c: New file.
3913         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3914         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3915         * sysdeps/ieee754/float128/s_modff128.c: New file.
3916         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3917         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3918         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3919         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3920         * sysdeps/ieee754/float128/s_remquof128.c: New file.
3921         * sysdeps/ieee754/float128/s_rintf128.c: New file.
3922         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3923         * sysdeps/ieee754/float128/s_roundf128.c: New file.
3924         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3925         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3926         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3927         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3928         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3929         * sysdeps/ieee754/float128/s_significandf128.c: New file.
3930         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3931         * sysdeps/ieee754/float128/s_sinf128.c: New file.
3932         * sysdeps/ieee754/float128/s_tanf128.c: New file.
3933         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3934         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3935         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3936         * sysdeps/ieee754/float128/s_truncf128.c: New file.
3937         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3938         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3939         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3940         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3942         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3943         (__iscanonicalf128): Define as a macro.
3945 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3947         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3948         (memmove): Use MEMMOVE for name.
3949         (memcpy): Use MEMCPY for name.  Change internal labels
3950         to external labels.
3951         * sysdeps/aarch64/multiarch/Makefile: New file.
3952         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3953         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3954         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3955         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3956         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3957         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3959 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3961         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3962         (_dl_arm_cap_flags): Fix array subscript.
3963         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3964         Fix count.
3966 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3968         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3970 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3972         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3973         (is_amd): Likewise.
3974         (max_cpuid): Likewise.
3975         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3976         (init_cacheinfo): Likewise.
3978 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3980         [BZ #21511]
3981         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3982         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3983         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3984         !__USE_XOPEN2K) || __USE_MISC].
3985         * conform/data/signal.h-data (struct sigstack): Expect type only
3986         if [!XOPEN2K8 && !POSIX2008].
3987         (sigstack): Expect function only if [XPG42 || UNIX98].
3989         [BZ #21457]
3990         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3991         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3992         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3993         <bits/types/__sigset_t.h>.
3994         (ucontext_t): Use sigset_t instead of __sigset_t.
3995         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3996         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3997         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3998         <bits/types/__sigset_t.h>.
3999         (ucontext_t): Use sigset_t instead of __sigset_t.
4000         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4001         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4002         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4003         <bits/types/__sigset_t.h>.
4004         (ucontext_t): Use sigset_t instead of __sigset_t.
4005         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4006         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4007         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4008         <bits/types/__sigset_t.h>.
4009         (ucontext_t): Use sigset_t instead of __sigset_t.
4010         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4011         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4012         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4013         <bits/types/__sigset_t.h>.
4014         (ucontext_t): Use sigset_t instead of __sigset_t.
4015         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4016         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4017         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4018         <bits/types/__sigset_t.h>.
4019         (ucontext_t): Use sigset_t instead of __sigset_t.
4020         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4021         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4022         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4023         <bits/types/__sigset_t.h>.
4024         (ucontext_t): Use sigset_t instead of __sigset_t.
4025         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4026         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4027         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4028         <bits/types/__sigset_t.h>.
4029         (ucontext_t): Use sigset_t instead of __sigset_t.
4030         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4031         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4032         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4033         <bits/types/__sigset_t.h>.
4034         (ucontext_t): Use sigset_t instead of __sigset_t.
4035         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4036         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4037         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4038         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4039         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4040         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4041         <bits/types/__sigset_t.h>.
4042         (ucontext_t): Use sigset_t instead of __sigset_t.
4043         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4044         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4045         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4046         <bits/types/__sigset_t.h>.
4047         (ucontext_t): Use sigset_t instead of __sigset_t.
4048         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4049         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4050         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4051         <bits/types/__sigset_t.h>.
4052         (ucontext_t): Use sigset_t instead of __sigset_t.
4053         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4054         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4055         <bits/ss_flags.h>.
4056         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4057         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4058         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4059         <bits/types/__sigset_t.h>.
4060         (ucontext_t): Use sigset_t instead of __sigset_t.
4061         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4062         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4063         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4064         <bits/types/__sigset_t.h>.
4065         (ucontext_t): Use sigset_t instead of __sigset_t.
4066         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4067         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4068         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4069         <bits/types/__sigset_t.h>.
4070         (ucontext_t): Use sigset_t instead of __sigset_t.
4071         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4072         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4073         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4074         <bits/types/__sigset_t.h>.
4075         (ucontext_t): Use sigset_t instead of __sigset_t.
4076         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4077         <bits/types.h>.
4078         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4079         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4080         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4081         <bits/types/__sigset_t.h>.
4082         (ucontext_t): Use sigset_t instead of __sigset_t.
4084 2017-05-22  Zack Weinberg  <zackw@panix.com>
4086         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4087         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4088         bits/siginfo-arch.h, only if not already defined.
4089         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4090         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4091         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4092         Likewise.
4094         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4095         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4096         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4097         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4098         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4099         Unconditionally define __SI_* macros.
4101 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4103         [BZ #21393]
4104         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4105         and add a check for dup3 failure.
4106         * libio/freopen64.c (freopen64): Likewise.
4107         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4108         libsupport.
4109         (do_test_bz21398): New test.
4110         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4112 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4114         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4115         Remove invalid comment.
4117 2017-05-21  Zack Weinberg  <zackw@panix.com>
4119         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4121 2017-05-20  Zack Weinberg  <zackw@panix.com>
4123         * bits/sigevent-consts.h
4124         * bits/siginfo-consts.h
4125         * bits/types/__sigset_t.h
4126         * bits/types/sigevent_t.h
4127         * bits/types/siginfo_t.h
4128         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4129         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4130         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4131         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4132         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4133         New system-dependent bits headers.
4135         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4136         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4137         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4138         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4139         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4140         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4141         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4142         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4143         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4144         New Linux-only system-dependent bits headers.
4146         * signal/bits/types/sig_atomic_t.h
4147         * signal/bits/types/sigset_t.h
4148         * signal/bits/types/sigval_t.h:
4149         New non-system-dependent bits headers.
4151         * sysdeps/generic/sigsetops.h
4152         * sysdeps/unix/sysv/linux/sigsetops.h:
4153         New internal headers.
4155         * include/bits/types/sig_atomic_t.h
4156         * include/bits/types/sigset_t.h
4157         * include/bits/types/sigval_t.h:
4158         New wrappers.
4160         * signal/sigsetops.h
4161         * bits/siginfo.h
4162         * bits/sigset.h
4163         * sysdeps/unix/sysv/linux/bits/siginfo.h
4164         * sysdeps/unix/sysv/linux/bits/sigset.h
4165         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4166         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4169         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4170         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4171         Deleted.
4173         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4174         Update lists of installed headers.
4176         * posix/bits/types.h: Define __sig_atomic_t here.
4177         * signal/signal.h: Use the new bits headers; no need to handle
4178         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4179         to define sigmask.
4180         * include/signal.h: No need to handle __need_sig_atomic_t
4181         nor __need_sigset_t.  Don't define __sigemptyset.
4183         * io/sys/poll.h, setjmp/setjmp.h
4184         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4185         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4186         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4187         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4188         * sysdeps/pthread/bits/sigthread.h
4189         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4190         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4191         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4192         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4193         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4195         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4196         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4197         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4198         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4199         Use bits/types/__sigset_t.h.
4201         * misc/sys/select.h, posix/spawn.h
4202         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4203         * sysdeps/unix/sysv/linux/sys/epoll.h
4204         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4205         Use bits/types/sigset_t.h.
4207         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4208         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4209         * socket/sys/socket.h: Don't include bits/sigset.h.
4211         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4212         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4213         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4214         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4215         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4216         * sysdeps/unix/sysv/linux/nptl-signals.h:
4217         Include sigsetops.h.
4219         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4220         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4221         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4222         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4223         now return no value.
4225         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4226         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4227         "sigsetops.h".
4229         * signal/sigsetops.c: Explicitly define __sigismember,
4230         __sigaddset, and __sigdelset as compatibility symbols.
4232         * signal/Versions: Correct commentary on __sigpause,
4233         __sigaddset, __sigdelset, __sigismember.
4235         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4236         __sigblock/__sigsetmask to use __sigprocmask and friends.
4238         * resolv/resolv.h: Remove __need_res_state logic.
4239         Move definition of res_state and related constants to ...
4240         * resolv/bits/types/res_state.h: ...this new file.
4241         * resolv/Makefile: Install bits/types/res_state.h.
4242         * include/bits/types/res_state.h: New wrapper.
4243         * include/list.h: Remove __need_list_t logic.
4244         Move definition of list_t to ...
4245         * include/list_t.h: ...this new file.
4247         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4248         instead of list.h and resolv.h.
4250         * resolv/resolv.h: Remove __need_res_state logic.
4251         Move definition of res_state and related constants to ...
4252         * resolv/bits/types/res_state.h: ...this new file.
4253         * resolv/Makefile: Install bits/types/res_state.h.
4254         * include/bits/types/res_state.h: New wrapper.
4255         * include/list.h: Remove __need_list_t logic.
4256         Move definition of list_t to ...
4257         * include/list_t.h: ...this new file.
4259         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4260         instead of list.h and resolv.h.
4262 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4264         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4266 2017-05-20  Zack Weinberg  <zackw@panix.com>
4268         * sysdeps/arm/sysdep.h
4269         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4271         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4272         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4273         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4274         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4275         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4276         * sysdeps/arm/armv6t2/strlen.S
4277         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4278         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4279         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4280         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4281         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4282         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4284 2017-05-20  Zack Weinberg  <zackw@panix.com>
4286         Remove the NaCl port.
4287         * sysdeps/arm/nacl: Remove directory and contents.
4288         * sysdeps/nacl: Remove directory and contents.
4289         * abi-tags: Remove .*-.*-nacl.* entry.
4291 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4293         * manual/errno.texi: Convert @comment-based errno documentation to
4294         @errno.
4295         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4296         their values, and messages, adding the error string to the Concept
4297         Index.  Provide a warning in the comment about external (to the
4298         manual) dependencies.
4299         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4300         * sysdeps/mach/hurd/errnos.awk: Likewise.
4302 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4304         * bits/ss_flags.h: New file.
4305         * bits/types/stack_t.h: Likewise.
4306         * include/bits/types/struct_sigstack.h: Likewise.
4307         * signal/bits/types/struct_sigstack.h: Likewise.
4308         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4309         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4311         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4312         bits/types/stack_t.h and bits/ss_flags.h.
4313         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4314         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4315         <bits/ss_flags.h>.
4316         * bits/sigstack.h (struct sigstack): Remove.
4317         (stack_t): Likewise.
4318         (SS_ONSTACK): Likewise.
4319         (SS_DISABLE): Likewise.
4320         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4321         (struct sigstack): Likewise.
4322         (stack_t): Likewise.
4323         (SS_ONSTACK): Likewise.
4324         (SS_DISABLE): Likewise.
4325         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4326         Likewise.
4327         (stack_t): Likewise.
4328         (SS_ONSTACK): Likewise.
4329         (SS_DISABLE): Likewise.
4330         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4331         Likewise.
4332         (stack_t): Likewise.
4333         (SS_ONSTACK): Likewise.
4334         (SS_DISABLE): Likewise.
4335         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4336         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4337         Likewise.
4338         (stack_t): Likewise.
4339         (SS_ONSTACK): Likewise.
4340         (SS_DISABLE): Likewise.
4341         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4342         (struct sigstack): Likewise.
4343         (stack_t): Likewise.
4344         (SS_ONSTACK): Likewise.
4345         (SS_DISABLE): Likewise.
4346         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4347         Likewise.
4348         (stack_t): Likewise.
4349         (SS_ONSTACK): Likewise.
4350         (SS_DISABLE): Likewise.
4351         * sysdeps/arm/sys/ucontext.h: Include
4352         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4353         <bits/ss_flags.h>.
4354         * sysdeps/generic/sys/ucontext.h: Likewise.
4355         * sysdeps/i386/sys/ucontext.h: Likewise.
4356         * sysdeps/m68k/sys/ucontext.h: Likewise.
4357         * sysdeps/mips/sys/ucontext.h: Likewise.
4358         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4359         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4360         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4361         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4362         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4363         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4364         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4365         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4366         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4368         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4369         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4370         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4371         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4372         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4374 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4376         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4377         "edx + ecx - 16" to avoid possible addition overflow.
4378         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4380 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4382         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4383         (CFLAGS-splice.c): Likewise.
4384         (CFLAGS-open_by_handle_at.c): Likewise.
4385         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4386         (CFLAGS-splice.c): Likewise.
4387         (CFLAGS-open_by_handle_at.c): Likewise.
4389 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4391         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4392         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4393         <ldbl-compat-choose.h>.
4394         (maybe_long_double_symbol): New macro.
4395         [!declare_mgen_alias] (declare_mgen_alias): Use
4396         maybe_long_double_symbol.
4397         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4398         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4402         * Makerules [$(build-shared) = yes && !avoid-generated]
4403         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4404         [$(build-shared) = yes && !avoid-generated]
4405         ($(common-objpfx)ldbl-compat-choose.h): New target.
4407         * scripts/versions.awk: Generate first-versions.h.
4408         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4409         <first-versions.h>.
4410         (LDOUBLE_cabsl_libm_version): Remove macro.
4411         (LDOUBLE_cargl_libm_version): Likewise.
4412         (LDOUBLE_cimagl_libm_version): Likewise.
4413         (LDOUBLE_conjl_libm_version): Likewise.
4414         (LDOUBLE_creall_libm_version): Likewise.
4415         (LDOUBLE_cacosl_libm_version): Likewise.
4416         (LDOUBLE_cacoshl_libm_version): Likewise.
4417         (LDOUBLE_ccosl_libm_version): Likewise.
4418         (LDOUBLE_ccoshl_libm_version): Likewise.
4419         (LDOUBLE_casinl_libm_version): Likewise.
4420         (LDOUBLE_csinl_libm_version): Likewise.
4421         (LDOUBLE_casinhl_libm_version): Likewise.
4422         (LDOUBLE_csinhl_libm_version): Likewise.
4423         (LDOUBLE_catanl_libm_version): Likewise.
4424         (LDOUBLE_catanhl_libm_version): Likewise.
4425         (LDOUBLE_ctanl_libm_version): Likewise.
4426         (LDOUBLE_ctanhl_libm_version): Likewise.
4427         (LDOUBLE_cexpl_libm_version): Likewise.
4428         (LDOUBLE_clogl_libm_version): Likewise.
4429         (LDOUBLE_cprojl_libm_version): Likewise.
4430         (LDOUBLE_csqrtl_libm_version): Likewise.
4431         (LDOUBLE_cpowl_libm_version): Likewise.
4432         (LDOUBLE_clog10l_libm_version): Likewise.
4433         (LDOUBLE___clog10l_libm_version): Likewise.
4434         (LDOUBLE_fdiml_libm_version): Likewise.
4435         (LDOUBLE_fmaxl_libm_version): Likewise.
4436         (LDOUBLE_fminl_libm_version): Likewise.
4437         (LDOUBLE_ilogbl_libm_version): Likewise.
4438         (LDOUBLE_nanl_libm_version): Likewise.
4439         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4440         FIRST_VERSION_libm_* macros.
4441         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4442         * Makerules [$(build-shared) = yes && !avoid-generated]
4443         (before-compile): Add $(common-objpfx)first-versions.h.
4444         [$(build-shared) = yes && !avoid-generated]
4445         ($(common-objpfx)first-versions.h): New target.
4446         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4447         building $(common-objpfx)versions.stmp.
4449 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4451         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4452         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4453         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4454         auto-generation list.
4456         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4457         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4458         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4459         from auto-generation list.
4461         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4462         open_by_handle_at.
4463         (CFLAGS-open_by_handle_at.c): New flag.
4464         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4465         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4466         file.
4467         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4469         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4470         (CFLAGS-splice.c): New flag.
4471         * sysdeps/unix/sysv/linux/splice.c: New file.
4472         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4473         auto-generation syscall list.
4474         * misc/Makefile (CFLAGS-splice.c): New rule.
4476         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4477         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4478         auto-generation syscall list.
4479         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4480         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4482         * misc/Makefile (CFLAGS-fsync.c): New flag.
4483         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4484         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4485         syscall list.
4486         * sysdeps/unix/sysv/linux/fsync.c: New file.
4487         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4488         (__errno_location): Remove.
4490         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4491         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4492         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4493         list.
4494         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4496         * misc/Makefile (CFLAGS-msync.c): New rule.
4497         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4498         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4499         * sysdeps/unix/sysv/linux/msync.c: New file.
4501         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4502         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4503         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4504         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4505         (CFLAGS-sigsuspend.c): Remove rule.
4507         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4508         (CFLAGS-tee.c): New rule.
4509         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4510         auto-generated list.
4511         * sysdeps/unix/sysv/linux/tee.c: New file.
4513         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4514         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4515         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4516         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4517         auto-generated list.
4519         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4520         auto-generated list.
4521         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4522         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4523         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4524         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4525         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4527         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4528         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4529         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4530         (__NR_pause): Undefine.
4531         * sysdeps/unix/sysv/linux/pause.c: New file.
4532         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4533         auto-generation list.
4534         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4535         Remove rule.
4536         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4538 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4540         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4541         comments.
4543 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4545         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4546         LD_HWCAP_MASK.
4548 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4550         * manual/conf.texi: Convert @tables of annotated @items to
4551         @vtables.
4552         * manual/lang.texi: Likewise.
4553         * manual/pattern.texi: Likewise.
4554         * manual/resource.texi: Likewise.
4555         * manual/socket.texi: Likewise.
4557 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4559         * manual/crypt.texi: Move a comment out of an @*x list.
4560         * manual/filesys.texi: Refactor some comments, one of which looks
4561         like a standard.  Fix incorrectly separated standards.
4562         * manual/locale.texi: Invert an annotation.
4563         * manual/resource.texi: Fix incorrectly separated standards.
4564         * manual/time.texi: Refactor a @vtable that obscures an
4565         annotation.
4566         * manual/users.texi: Refactor multiple headers to occupy a single
4567         @comment.
4569 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4571         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4572         (sysdep_routines): Add memcmp-power8.
4573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4574         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4575         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4576         (memcmp): Add __memcmp_power8 to ifunc list.
4577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4578         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4580 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4581             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4583         * math/math.h (__MATH_TG): Extend the conditions to add
4584         _Float128 support.
4585         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4587 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4590         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4591         s_cosf-ppc64.
4592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4595         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4597 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4599         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4600         (gen-libm-calls): Add e_exp2F to use the template.
4601         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4602         * math/e_exp2_template.c: New file, renamed from
4603         math/e_exp2l.c, and made into a template.
4604         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4606 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4608         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4609         TUNABLE_TYPE_UINT_64.
4610         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4611         Simplify computation of overflow.
4612         (tunable_set_val_if_valid_range_signed,
4613         tunable_set_val_if_valid_range_unsigned): Remove and replace
4614         with this...
4615         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4616         (tunable_initialize): Adjust.  Add uint64_t support.
4617         (__tunable_set_val): Add uint64_t support.
4618         * README.tunables: Document it.
4620         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4621         dl-tunables.list.
4622         * README.tunables: Document it.
4624 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4626         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4627         * sysdeps/posix/preadv64.c: Likewise.
4628         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4629         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4630         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4631         * sysdeps/posix/pwritev64.c: Likewise.
4632         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4633         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4634         * sysdeps/posix/preadv_common.c: New file.
4635         * sysdeps/posix/pwritev_common.c: Likewise.
4637 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4639         * sysdeps/generic/math-type-macros-float128.h
4640         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4641         wrapper templates.
4643 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4644             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4646         * include/complex.h (__kernel_casinhf128): New declaration.
4647         * include/float.h: New file.
4648         * include/math.h (__finitef128): Add a hidden def.
4649         (__isinff128): Likewise.
4650         (__isnanf128): Likewise.
4651         (__fpclassify): Likewise.
4652         (__issignalling): Likewise.
4653         (__expf128): Likewise.
4654         (__expm1f128): Likewise.
4656         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4657         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4658         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4660         * sysdeps/generic/math-type-macros-float128.h: New file.
4662         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4663         math_private_calls.h for _Float128.
4664         (__isinff128): New inline implementation used when GCC < 7.0,
4665         since in this case __builtin_isinf_sign is broken.
4666         (fabsf128): New inline implementation that calls the builtin.
4667         (__EXPR_FLT128): New macro.
4668         (min_of_type): Optionally include _Float128 types too.
4670         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4671         Declare for _Float128.
4672         (__kernel_rem_pio2): Likewise.
4674         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4675         (__DECL_SIMD_sincos_disablef128): New macro.
4677 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4679         * math/math.h: Include bits/math-finite.h for float128.
4680         (__MATH_DECLARING_FLOATN): Define to control declaration of
4681         float128 functions.
4682         * math/bits/math-finite.h (pow10): Do not declare for float128.
4683         (gamma): Likewise.
4684         (scalb): Likewise.
4686 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4687             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4689         * bits/floatn.h: New file.
4690         * bits/huge_val_flt128.h: Likewise.
4692         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4693         (__DECL_SIMD_sinf128): Likewise.
4694         (__DECL_SIMD_sincosf128): Likewise.
4695         (__DECL_SIMD_logf128): Likewise.
4696         (__DECL_SIMD_expf128): Likewise.
4697         (__DECL_SIMD_powf128): Likewise.
4699         * math/Makefile (headers): Install bits/floatn.h and
4700         bits/huge_val_flt128.h.
4702         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4703         defined.
4705         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4706         (isnan, gamma, nexttoward, scalb): Only define if not
4707         __MATH_DECLARING_FLOATN.
4708         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4709         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4710         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4711         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4713         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4714         Include bits/cmathcalls.h to get the declarations of _Float128
4715         versions of complex functions.
4716         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4717         Define macro.
4719         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4720         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4721         get the declarations of _Float128 versions of math functions.
4722         (__MATH_DECLARING_FLOATN): New macro to control declaration of
4723         _FloatN types.
4724         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4725         is type-generic, so use it without __MATH_TG.
4726         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4727         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
4728         _Float128 type and GCC < 7.0, otherwise use the builtin.
4729         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4730         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4731         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4732         New _GNU_SOURCE enabled macros.
4734 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4736         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4737         (signbitf): Likewise.
4738         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4739         Likewise.
4740         (signbitl): Likewise.
4741         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4742         Likewise.
4743         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4744         (signbitl): Likewise.
4745         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4747 2017-05-12  Florian Weimer  <fweimer@redhat.com>
4749         [BZ #21386]
4750         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4751         parent PID.  The assertion in the child is incorrect with PID
4752         namespaces.
4754 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4756         * sysdeps/unix/sysv/linux/kernel-features.h
4757         (__ASSUME_STATFS_F_FLAGS): Remove macro.
4758         * sysdeps/unix/sysv/linux/internal_statvfs.c
4759         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4761 2017-05-11  Zack Weinberg  <zackw@panix.com>
4763         * Makerules: New subdir configuration variables 'tests-internal'
4764         and 'test-internal-extras'.  Test files in these categories will
4765         still be compiled with MODULE_NAME=nonlib.  Test files in the
4766         existing categories (tests, xtests, test-srcs, test-extras) are
4767         now compiled with MODULE_NAME=testsuite.
4768         New subdir configuration variable 'modules-names-tests'.  Files
4769         which are in both 'modules-names' and 'modules-names-tests' will
4770         be compiled with MODULE_NAME=testsuite instead of
4771         MODULE_NAME=extramodules.
4772         (gen-as-const-headers): Move to tests-internal.
4773         (do-tests-clean, common-mostlyclean): Support tests-internal.
4774         * Makeconfig (built-modules): Add testsuite.
4775         * Makefile: Change libof-check-installed-headers-c and
4776         libof-check-installed-headers-cxx to 'testsuite'.
4777         * Rules: Likewise.  Support tests-internal.
4778         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4779         Remove extra-modules.mk.
4781         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4782         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4783         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4784         very top of the file and rationalize their order.
4785         If MODULE_NAME is not defined at all, define IS_IN to always be
4786         false, and don't define _ISOMAC.
4787         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4788         true, define _ISOMAC and suppress everything else in this file,
4789         starting with the inclusion of config.h.
4790         Do check for inappropriate definitions of __OPTIMIZE__ and
4791         __FAST_MATH__ here, but only if _ISOMAC is not defined.
4792         Correct some out-of-date commentary.
4794         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4795         and _Mlong_double_ before including math.h.
4796         * include/string.h: If _ISOMAC is defined, don't expose
4797         _STRING_ARCH_unaligned. Move a comment to a more appropriate
4798         location.
4800         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4801         * include/time.h, include/unistd.h, include/wchar.h: No need to
4802         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4804         * misc/sys/cdefs.h (__NTHNL): New macro.
4805         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4806         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4808         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4809         defined, for HAVE_TUNABLES.
4810         * inet/tst-checks-posix.c: No need to define _ISOMAC.
4811         * intl/tst-gettext2.c: Provide own definition of N_.
4812         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4813         * math/test-signgam-main.c: No need to define _ISOMAC.
4814         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4815         * stdlib/tst-strtod1i.c: ...this new file.
4816         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4817         Split tests of __strtod_internal to...
4818         * stdlib/tst-strtod5i.c: ...this new file.
4819         * string/test-string.h: Include stdint.h. Duplicate definition of
4820         inhibit_loop_to_libcall here (from libc-symbols.h).
4821         * string/test-strstr.c: Provide dummy definition of
4822         libc_hidden_builtin_def when including strstr.c.
4823         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4824         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4825         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4826         Don't include init-arch.h.
4827         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4828         Don't include init-arch.h.
4830         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4831         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4832         unload, unload2, circleload1, neededtest, neededtest2,
4833         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4834         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4835         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4836         ifunc tests to tests-internal.
4837         Don't add $(modules-names) to test-extras.
4838         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4839         Add tst-deadline to tests-static-internal.
4840         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4841         tests-internal.
4842         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4843         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4844         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4845         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4846         tst-sem12-static, and tst-stackguard1-static to tests-internal.
4847         Link tests-internal with libpthread also.
4848         Don't add $(modules-names) to test-extras.
4849         * nss/Makefile: Move tst-field to tests-internal.
4850         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4851         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4852         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4853         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4854         tests-internal.
4855         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4856         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4857         test-get_hwcap-static to tests-internal.
4858         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4859         tests-internal.
4860         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4861         modules-names-tests.
4863 2017-05-11  Zack Weinberg  <zackw@panix.com>
4865         * libio/libio.h: Condition dummy definition of _IO_lock_t on
4866         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4867         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4868         _IO_funlockfile, and _IO_ftrylockfile.  Only define
4869         _IO_cleanup_region_start and _IO_cleanup_region_end if not
4870         already defined.
4871         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4872         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4873         appropriately.
4874         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4875         Define _IO_lock_t_defined after defining _IO_lock_t.
4877 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4879         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4880         void* for argument type and use VDSO_SYMBOL macro.
4881         (is_sigtramp_address_rt): Likewise.
4882         (__backtrace): Setup expected frame pointer address for signal
4883         handling.
4884         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4885         void* for argumetn type and use VSDO_SYMBOL macro.
4886         (__backtrace): Setup expected frame pointer address for signal
4887         handling.
4889         * sysdeps/unix/sysv/linux/writev.c: New file.
4891         * sysdeps/unix/sysv/linux/readv.c: New file.
4893         * include/unistd.h (write): Add hidden proto.
4894         * io/Makefile (CFLAGS-write.c): New define.
4895         * nptl/Makefile (CFLAGS-write.c): Likewise.
4896         * sysdeps/unix/sysv/linux/write.c: New file.
4898         [BZ #21428]
4899         * include/unistd.h (read): Add hidden proto.
4900         * io/Makefile (CFLAGS-read.c): New define.
4901         * nptl/Makefile (CFLAGS-read.c): Likewise.
4902         * sysdeps/unix/sysv/linux/read.c: New file.
4904         * io/Makefile (CFLAGS-creat.c): New rule.
4905         (CFLAGS-creat64.c): Likewise.
4906         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4907         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4908         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4909         * sysdeps/unix/sysv/linux/creat.c: New file.
4910         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4911         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4912         auto-generated list.
4913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4915         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4916         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4917         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4918         * sysdeps/unix/sysv/linux/open.c: New file.
4919         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4920         iff __WORDSIZE != 64 and use __NR_openat when available.
4921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4922         from auto-generated list.
4924         * nptl/Makefile (CFLAGS-close.c): New flag.
4925         * sysdeps/unix/sysv/linux/close.c: New file.
4927 2017-05-11  DJ Delorie  <dj@redhat.com>
4929         * MAINTAINERS: New.  Points to wiki.
4931 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4933         * scripts/gen-tunables.awk: Add attribute_relro to
4934         tunable_list.
4936 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
4938         [BZ #21457]
4939         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4940         (R1): Likewise.
4941         (R2): Likewise.
4942         (R3): Likewise.
4943         (R4): Likewise.
4944         (R5): Likewise.
4945         (R6): Likewise.
4946         (R7): Likewise.
4947         (R8): Likewise.
4948         (R9): Likewise.
4949         (R10): Likewise.
4950         (R11): Likewise.
4951         (R12): Likewise.
4952         (R13): Likewise.
4953         (R14): Likewise.
4954         (R15): Likewise.
4955         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4956         (REG_FS): Likewise.
4957         (REG_ES): Likewise.
4958         (REG_DS): Likewise.
4959         (REG_EDI): Likewise.
4960         (REG_ESI): Likewise.
4961         (REG_EBP): Likewise.
4962         (REG_ESP): Likewise.
4963         (REG_EBX): Likewise.
4964         (REG_EDX): Likewise.
4965         (REG_ECX): Likewise.
4966         (REG_EAX): Likewise.
4967         (REG_TRAPNO): Likewise.
4968         (REG_ERR): Likewise.
4969         (REG_EIP): Likewise.
4970         (REG_CS): Likewise.
4971         (REG_EFL): Likewise.
4972         (REG_UESP): Likewise.
4973         (REG_SS): Likewise.
4974         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4975         (R_D1): Likewise.
4976         (R_D2): Likewise.
4977         (R_D3): Likewise.
4978         (R_D4): Likewise.
4979         (R_D5): Likewise.
4980         (R_D6): Likewise.
4981         (R_D7): Likewise.
4982         (R_A0): Likewise.
4983         (R_A1): Likewise.
4984         (R_A2): Likewise.
4985         (R_A3): Likewise.
4986         (R_A4): Likewise.
4987         (R_A5): Likewise.
4988         (R_A6): Likewise.
4989         (R_A7): Likewise.
4990         (R_SP): Likewise.
4991         (R_PC): Likewise.
4992         (R_PS): Likewise.
4993         (fpregset_t): Likewise.
4994         (MCONTEXT_VERSION): Likewise.
4995         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4996         (CTX_AT): Likewise.
4997         (CTX_V0): Likewise.
4998         (CTX_V1): Likewise.
4999         (CTX_A0): Likewise.
5000         (CTX_A1): Likewise.
5001         (CTX_A2): Likewise.
5002         (CTX_A3): Likewise.
5003         (CTX_T0): Likewise.
5004         (CTX_T1): Likewise.
5005         (CTX_T2): Likewise.
5006         (CTX_T3): Likewise.
5007         (CTX_T4): Likewise.
5008         (CTX_T5): Likewise.
5009         (CTX_T6): Likewise.
5010         (CTX_T7): Likewise.
5011         (CTX_S0): Likewise.
5012         (CTX_S1): Likewise.
5013         (CTX_S2): Likewise.
5014         (CTX_S3): Likewise.
5015         (CTX_S4): Likewise.
5016         (CTX_S5): Likewise.
5017         (CTX_S6): Likewise.
5018         (CTX_S7): Likewise.
5019         (CTX_T8): Likewise.
5020         (CTX_T9): Likewise.
5021         (CTX_K0): Likewise.
5022         (CTX_K1): Likewise.
5023         (CTX_GP): Likewise.
5024         (CTX_SP): Likewise.
5025         (CTX_S8): Likewise.
5026         (CTX_RA): Likewise.
5027         (CTX_MDLO): Likewise.
5028         (CTX_MDHI): Likewise.
5029         (CTX_CAUSE): Likewise.
5030         (CTX_EPC): Likewise.
5031         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5032         inclusion of <sys/procfs.h> on [__USE_MISC].
5033         (greg_t): Condition on [__USE_MISC].
5034         (gregset_t): Likewise.
5035         (fpregset_t): Likewise.
5036         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5037         (NGREG): Likewise.
5038         (gregset_t): Likewise.
5039         (REG_R0): Likewise.
5040         (REG_R1): Likewise.
5041         (REG_R2): Likewise.
5042         (REG_R3): Likewise.
5043         (REG_R4): Likewise.
5044         (REG_R5): Likewise.
5045         (REG_R6): Likewise.
5046         (REG_R7): Likewise.
5047         (REG_R8): Likewise.
5048         (REG_R9): Likewise.
5049         (REG_R10): Likewise.
5050         (REG_R11): Likewise.
5051         (REG_R12): Likewise.
5052         (REG_R13): Likewise.
5053         (REG_R14): Likewise.
5054         (REG_R15): Likewise.
5055         (struct _libc_fpstate): Likewise.
5056         (fpregset_t): Likewise.
5057         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5058         (NFPREG): Likewise.
5059         (gregset_t): Likewise.
5060         (fpregset_t): Likewise.
5061         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5062         (R_D1): Likewise.
5063         (R_D2): Likewise.
5064         (R_D3): Likewise.
5065         (R_D4): Likewise.
5066         (R_D5): Likewise.
5067         (R_D6): Likewise.
5068         (R_D7): Likewise.
5069         (R_A0): Likewise.
5070         (R_A1): Likewise.
5071         (R_A2): Likewise.
5072         (R_A3): Likewise.
5073         (R_A4): Likewise.
5074         (R_A5): Likewise.
5075         (R_A6): Likewise.
5076         (R_A7): Likewise.
5077         (R_SP): Likewise.
5078         (R_PC): Likewise.
5079         (R_PS): Likewise.
5080         (fpregset_t): Likewise.
5081         (MCONTEXT_VERSION): Likewise.
5082         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5085         (REG_R1): Likewise.
5086         (REG_R2): Likewise.
5087         (REG_R3): Likewise.
5088         (REG_R4): Likewise.
5089         (REG_R5): Likewise.
5090         (REG_R6): Likewise.
5091         (REG_R7): Likewise.
5092         (REG_R8): Likewise.
5093         (REG_R9): Likewise.
5094         (REG_R10): Likewise.
5095         (REG_R11): Likewise.
5096         (REG_R12): Likewise.
5097         (REG_R13): Likewise.
5098         (REG_R14): Likewise.
5099         (REG_R15): Likewise.
5100         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5101         of <arch/abi.h> on [__USE_MISC].
5102         (greg_t): Condition on [__USE_MISC].
5103         (NGREG): Likewise.
5104         (gregset_t): Likewise.
5106 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5108         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5109         (__pthread_rwlock_arch_t): Remove __data definition.
5110         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5111         (__pthread_rwlock_arch_t): Likewise.
5113 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5115         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5116         internal_function on static functions.
5118 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5120         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5121         from format_ai_flags.
5122         (format_ai_flags): New function.  Incorporate flag formatting code
5123         from format_ai_one.
5124         (format_ai_canonname): New function.
5125         (format_ai_one): Remove flags parameter.
5126         (format_ai_family): Likewise.
5127         (support_format_addrinfo): Call format_ai_flags,
5128         format_ai_canonname.
5129         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5130         check_ai.
5131         (check_ai): Call check_ai_hints.
5132         (do_test): Add AI_CANONNAME tests.
5134 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5136         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5137         (gaih_inet): Likewise.
5139 2017-05-10  Andreas Schwab  <schwab@suse.de>
5141         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5142         (main): Rename to do_test and make static.
5144 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5146         * string/rawmemchr.c: Include <libc-diag.h>.
5147         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5148         with size (size_t)-1.
5150 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5152         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5153         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5154         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5156         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5157         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5158         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5159         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5160         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5161         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5162         * sysdeps/unix/sysv/linux/kernel-features.h
5163         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5164         socket syscalls.
5165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5167         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5168         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5169         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5170         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5171         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5172         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5173         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5174         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5175         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5176         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5177         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5178         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5179         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5181 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5183         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5184         thread-shared-types.h.
5185         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5186         specific thread definition.
5187         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5188         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5189         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5190         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5191         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5192         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5193         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5194         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5195         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5196         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5197         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5198         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5199         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5200         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5201         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5202         thread definition between POSIX and C11.
5203         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5204         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5205         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5206         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5207         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5208         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5209         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5210         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5211         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5212         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5213         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5214         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5215         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5216         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5217         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5218         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5219         definitions shared across all architectures.
5221 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5223         * sysdeps/unix/sysv/linux/kernel-features.h
5224         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5225         (__ASSUME_SENDMMSG): Likewise.
5226         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5227         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5228         sendmmsg syscall if that can be assumed to be present, socketcall
5229         otherwise, with no fallback for runtime failure.
5231         * sysdeps/unix/sysv/linux/kernel-features.h
5232         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5233         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5234         (__ASSUME_RECVMMSG): Likewise.
5235         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5236         recvmmsg syscall if it can be assumed to be present, socketcall
5237         otherwise, with no fallback for runtime failure.
5239 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5240             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5242         * bits/libc-header-start.h:
5243         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5244         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5245         * manual/creature.texi: Likewise.
5247 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5248             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5250         * math/Makefile:
5251         (type-float128-suffix): New variable
5252         (type-float128-routines): Likewise
5253         (type-float128-yes): Likewise
5254         (types): Append float128 if supported
5255         (types-basic): New variable to control the use of templates for
5256         float, double, and long double, but not for float128 or newer types.
5257         (type-basic-foreach): Likewise.
5259         * sysdeps/ieee754/float128/Makeconfig: New file.
5260         * sysdeps/ieee754/float128/Versions: New file.
5262 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5264         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5265         Remove macro.
5266         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5267         prlimit64 is always available and does not give an ENOSYS error.
5268         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5269         unconditional.
5270         [!__NR_prlimit64]: Remove conditional code.
5271         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5272         prlimit64 is always available and does not give an ENOSYS error.
5273         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5275 2017-05-09  Zack Weinberg  <zackw@panix.com>
5277         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5279 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5281         [BZ #21474]
5282         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5283         (__res_maybe_init): Likewise.
5285 2017-05-09  Zack Weinberg  <zackw@panix.com>
5287         * extra-modules.mk: Delete file.
5288         * cppflags-iterator.mk: Rename to ...
5289         * libof-iterator.mk: ...this.  Adjust comments.
5291         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5292         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5293         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5294         Use libof-iterator.mk instead of cppflags-iterator.mk or
5295         extra-modules.mk.
5297         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5298         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5300 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5302         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5304 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5306         * stdio-common/vfprintf.c (EXTSIZ): Define.
5307         (vfprintf): Use EXTSIZ.
5308         (printf_positional): Likewise.
5310 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5312         * sysdeps/unix/sysv/linux/kernel-features.h
5313         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5314         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5315         <kernel-features.h>.
5316         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5318         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5319         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5321 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5323         Prevent multiple deletion of temporary files.
5324         * support/temp_file.c (struct temp_name_list): Add owner member.
5325         (add_temp_file): Record owner.
5326         (support_delete_temp_files): Delete file only if owner matches.
5327         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5328         (do_prepare): Use create_temp_file instead of add_temp_file.
5329         Initialize temp_fd1, temp_fd2.
5330         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5331         framework remove the temporary files.
5332         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5333         (do_prepare): Use create_temp_file instead of add_temp_file.
5334         Initialize temp_fd1, temp_fd2, temp_fd3.
5335         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5336         the test framework remove the temporary files.
5337         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5338         deletion.
5339         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5340         temporary directory.  It is removed by the test framework.
5341         * dirent/tst-scandir.c (do_test): Likewise.
5343 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5345         Delete temporary files in LIFO order.
5346         * support/temp_file.c (struct temp_name_list): Replace q member
5347         with next.
5348         (add_temp_file): Add new file to front of linked list.
5349         (support_delete_temp_files): Use next member.
5350         (support_print_temp_files): Likewise.
5352 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5355         sys/ultrasound.h.
5356         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5358 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5360         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5361         Remove.
5362         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5363         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5364         (arch_minimum_kernel): Remove.
5365         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5366         * README: Update statement about Linux kernel requirements.
5368 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5370         * manual/llio.texi: Add preadv and pwritev documentation.
5372 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5374         [BZ #21455]
5375         * bits/stdint-intn.h: New file.
5376         * bits/stdint-uintn.h: Likewise.
5377         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5378         bits/stdint-uintn.h.
5379         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5380         <stdint.h>.
5381         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5382         (__int8_t_defined): Do not define here.
5383         (int8_t): Likewise.
5384         (int16_t): Likewise.
5385         (int32_t): Likewise.
5386         (int64_t): Likewise.
5387         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5388         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5389         <stdint.h>.
5390         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5391         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5392         <bits/stdint-uintn.h>.
5393         (int8_t): Do not define here.
5394         (int16_t): Likewise.
5395         (int32_t): Likewise.
5396         (int64_t): Likewise.
5397         (uint8_t): Likewise.
5398         (uint16_t): Likewise.
5399         (uint32_t): Likewise.
5400         (uint64_t): Likewise.
5401         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5402         variable.
5403         (test-xfail-XPG42/netdb.h/conform): Likewise.
5404         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5405         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5406         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5407         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5409 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5411         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5412         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5413         the above.
5414         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5415         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5417 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5419         [BZ #21445]
5420         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5422         [BZ #21457]
5423         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5424         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5425         __glibc_reserved1.
5426         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5427         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5428         (struct _fpxreg): Likewise.
5429         [!__x86_64__] (struct _fpstate): Rename field reserved to
5430         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5431         [__x86_64__] (struct _fpstate): Rename field padding to
5432         __glibc_reserved1.
5433         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5434         Rename field reserved2 to __glibc_reserved2.
5435         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5436         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5437         __glibc_reserved1.
5438         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5439         __glibc_reserved1.
5441 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5443         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5444         variable name.
5446 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5448         [BZ #21391]
5449         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5450         Only call init_cpu_features.
5451         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5452         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5453         * sysdeps/i386/dl-procinfo.h: Removed.
5454         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5455         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5456         <sysdeps/x86/dl-procinfo.h>.
5457         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5458         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5459         Include <sysdeps/x86/dl-procinfo.h> instead of
5460          <sysdeps/generic/dl-procinfo.h>.
5461         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5462         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5463         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5464         (bit_cpu_MOVBE): Likewise.
5465         (bit_cpu_BMI1): Likewise.
5466         (bit_cpu_BMI2): Likewise.
5467         (index_cpu_BMI1): Likewise.
5468         (index_cpu_BMI2): Likewise.
5469         (index_cpu_LZCNT): Likewise.
5470         (index_cpu_MOVBE): Likewise.
5471         (index_cpu_POPCNT): Likewise.
5472         (reg_BMI1): Likewise.
5473         (reg_BMI2): Likewise.
5474         (reg_LZCNT): Likewise.
5475         (reg_MOVBE): Likewise.
5476         (reg_POPCNT): Likewise.
5477         * sysdeps/x86/dl-hwcap.h: New file.
5478         * sysdeps/x86/dl-procinfo.h: Likewise.
5479         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5480         (_dl_x86_platforms): Likewise.
5482 2017-05-03  DJ Delorie  <dj@redhat.com>
5484         [BZ #21411]
5485         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5487 2017-05-03  Phil Blundell  <pb@pbcl.net>
5489         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5490         comments.
5492 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5494         [BZ #20116]
5495         * nptl/pthread_create.c: Expand comments to describe
5496         semaphore-like and mutex-like uses of PD->lock.
5498 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5500         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5501         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5502         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5503         auto-generation list.
5504         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5505         epoll_wait.
5506         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5507         Remove epoll_wait.
5509         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5510         osf_select.
5511         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5512         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5513         osf_select from auto-generation list.
5514         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5515         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5516         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5517         * sysdeps/unix/sysv/linux/select.c: New file.
5519         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5520         * sysdeps/unix/sysv/linux/poll.c: New file.
5521         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5522         auto-generation list.
5524 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5526         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5527         New macro.
5529 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5531         [BZ #21179]
5532         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5533         R_SPARC_REGISTER relocations.
5535 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5537         * include/unistd.h (__pread): Add libc_hidden_proto.
5538         (__pread64): Likewise.
5539         (__pwrite): Likewise.
5540         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5541         (__pread64): Remove.
5542         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5543         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5544         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5546 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5550 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5552         * nptl/tst-cancel4-common.c: Use libsupport.
5553         * nptl/tst-cancel4-common.h: Likewise.
5554         * nptl/tst-cancel4.c (tf_read): Likewise.
5555         (tf_readv): Likewise.
5556         (tf_write): Likewise.
5557         (tf_writev): Likewise.
5558         (tf_sleep): Likewise.
5559         (tf_usleep): Likewise.
5560         (tf_nanosleep): Likewise.
5561         (tf_select): Likewise.
5562         (tf_pselect): Likewise.
5563         (tf_poll): Likewise.
5564         (tf_ppoll): Likewise.
5565         (tf_wait): Likewise.
5566         (tf_waitpid): Likewise.
5567         (tf_waitid): Likewise.
5568         (tf_sigpause): Likewise.
5569         (tf_sigsuspend): Likewise.
5570         (tf_sigwait): Likewise.
5571         (tf_sigwaitinfo): Likewise.
5572         (tf_sigtimedwait): Likewise.
5573         (tf_pause): Likewise.
5574         (tf_accept): Likewise.
5575         (tf_send): Likewise.
5576         (tf_recv): Likewise.
5577         (tf_recvfrom): Likewise.
5578         (tf_recvmsg): Likewise.
5579         (tf_open): Likewise.
5580         (tf_close): Likewise.
5581         (tf_pread): Likewise.
5582         (tf_pwrite): Likewise.
5583         (tf_preadv): Likewise.
5584         (tf_pwritev): Likewise.
5585         (tf_fsync): Likewise.
5586         (tf_fdatasync): Likewise.
5587         (tf_msync): Likewise.
5588         (tf_sendto): Likewise.
5589         (tf_sendmsg): Likewise.
5590         (tf_creat): Likewise.
5591         (tf_connect): Likewise.
5592         (tf_tcdrain): Likewise.
5593         (tf_msgrcv): Likewise.
5594         (tf_msgsnd): Likewise.
5595         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5596         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5598         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5599         expected arguments.
5600         (do_test): Adapt to use libsupport.
5602 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5604         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5606         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5607         (PF_MAX): Set to 44.
5608         (AF_SMC): New macro.
5610         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5611         kernel version to 4.11.
5613 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5615         [BZ #21280]
5616         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5617         signal of subnormals and adjust the exponent of power of 2 down
5618         when low part has opposite sign.
5620 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5622         * sysdeps/powerpc/powerpc64le/Implies: New file.
5623         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5624         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5625         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5626         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5627         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5628         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5629         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5630         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5631         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5632         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5633         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5634         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5635         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5636         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5637         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5638         * sysdeps/powerpc/preconfigure: New file.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5642 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5644         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5645         inclusion.
5646         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5647         Remove.
5649 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5651         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5652         (XPG3): Rename standard to XPG4.
5653         * conform/Makefile: Likewise.
5654         * conform/list-header-symbols.pl: Likewise.
5655         * conform/data/aio.h-data: Likewise.
5656         * conform/data/arpa/inet.h-data: Likewise.
5657         * conform/data/complex.h-data: Likewise.
5658         * conform/data/ctype.h-data: Likewise.
5659         * conform/data/dlfcn.h-data: Likewise.
5660         * conform/data/fcntl.h-data: Likewise.
5661         * conform/data/fenv.h-data: Likewise.
5662         * conform/data/float.h-data: Likewise.
5663         * conform/data/fmtmsg.h-data: Likewise.
5664         * conform/data/ftw.h-data: Likewise.
5665         * conform/data/grp.h-data: Likewise.
5666         * conform/data/inttypes.h-data: Likewise.
5667         * conform/data/iso646.h-data: Likewise.
5668         * conform/data/langinfo.h-data: Likewise.
5669         * conform/data/libgen.h-data: Likewise.
5670         * conform/data/limits.h-data: Likewise.
5671         * conform/data/locale.h-data: Likewise.
5672         * conform/data/math.h-data: Likewise.
5673         * conform/data/mqueue.h-data: Likewise.
5674         * conform/data/ndbm.h-data: Likewise.
5675         * conform/data/net/if.h-data: Likewise.
5676         * conform/data/netdb.h-data: Likewise.
5677         * conform/data/netinet/in.h-data: Likewise.
5678         * conform/data/poll.h-data: Likewise.
5679         * conform/data/pthread.h-data: Likewise.
5680         * conform/data/pwd.h-data: Likewise.
5681         * conform/data/sched.h-data: Likewise.
5682         * conform/data/search.h-data: Likewise.
5683         * conform/data/semaphore.h-data: Likewise.
5684         * conform/data/signal.h-data: Likewise.
5685         * conform/data/spawn.h-data: Likewise.
5686         * conform/data/stdbool.h-data: Likewise.
5687         * conform/data/stdint.h-data: Likewise.
5688         * conform/data/stdio.h-data: Likewise.
5689         * conform/data/stdlib.h-data: Likewise.
5690         * conform/data/string.h-data: Likewise.
5691         * conform/data/strings.h-data: Likewise.
5692         * conform/data/stropts.h-data: Likewise.
5693         * conform/data/sys/mman.h-data: Likewise.
5694         * conform/data/sys/resource.h-data: Likewise.
5695         * conform/data/sys/select.h-data: Likewise.
5696         * conform/data/sys/socket.h-data: Likewise.
5697         * conform/data/sys/stat.h-data: Likewise.
5698         * conform/data/sys/statvfs.h-data: Likewise.
5699         * conform/data/sys/time.h-data: Likewise.
5700         * conform/data/sys/timeb.h-data: Likewise.
5701         * conform/data/sys/types.h-data: Likewise.
5702         * conform/data/sys/uio.h-data: Likewise.
5703         * conform/data/sys/un.h-data: Likewise.
5704         * conform/data/sys/wait.h-data: Likewise.
5705         * conform/data/syslog.h-data: Likewise.
5706         * conform/data/termios.h-data: Likewise.
5707         * conform/data/tgmath.h-data: Likewise.
5708         * conform/data/time.h-data: Likewise.
5709         * conform/data/ucontext.h-data: Likewise.
5710         * conform/data/unistd.h-data: Likewise.
5711         * conform/data/utmpx.h-data: Likewise.
5712         * conform/data/varargs.h-data: Likewise.
5713         * conform/data/wchar.h-data: Likewise.
5714         * conform/data/wctype.h-data: Likewise.
5716 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
5718         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5719         version to 7 branch.
5721 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
5723         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5724         earlyclobber to output operand of sqrt insn.
5725         (__ieee754_sqrtf): Ditto.
5727 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
5729         [BZ #21426]
5730         * misc/bits/types/struct_iovec.h: New file.
5731         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5732         * include/bits/types/struct_iovec.h: New file.
5733         * bits/uio.h (struct iovec): Replace by inclusion of
5734         <bits/types/struct_iovec.h>.
5735         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5736         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5737         of <sys/uio.h>.
5738         * nptl/tst-cancel4.c: Include <sys/uio.h>
5739         * posix/test-errno.c: Likewise.
5740         * support/resolv_test.c: Likewise.
5741         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5742         Remove.
5743         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5744         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5745         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5747         * conform/data/sys/socket.h-data (*_t): Allow.
5749 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5751         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5752         assignment.
5754 2017-04-24  Daurnimator  <quae@daurnimator.com>
5755             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5757         [BZ #21340]
5758         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5759         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5760         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5761         valid flags.
5762         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5763         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5764         POSIX_SPAWN_SETSID.
5765         * sysdeps/posix/spawni.c (__spawni): Likewise.
5766         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5767         * NEWS: Add note about POSIX_SPAWN_SETSID support.
5769 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5771         * sysdeps/generic/math_private.h: Move the declaration of many
5772         functions to sysdeps/generic/math_private_calls.h.
5773         * sysdeps/generic/math_private_calls.h: New file with the
5774         declarations of the functions removed from math_private.h
5775         macroized by floating-point type.
5777 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5779         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5780         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5781         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5782         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5783         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5784         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5786 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5788         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5789         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5790         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5791         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5792         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5793         New Define.
5795 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5797         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5798         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5799         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5800         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5801         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5802         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5804 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5806         * sysdeps/s390/multiarch/ifunc-resolve.h
5807         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5808         * sysdeps/s390/multiarch/8bit-generic.c
5809         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5810         define ifunc resolvers.
5812 2017-04-21  Florian Weimer  <fweimer@redhat.com>
5814         [BZ #20424]
5815         * manual/memory.texi (Replacing malloc): New section.
5816         (Allocating Storage For Program Data): Reference it.
5817         (The GNU Allocator): Likewise.
5819 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
5821         * stdlib/Versions (__strtod_internal): List explicitly, not as
5822         wildcard.
5823         (__strtof_internal): Likewise.
5824         (__strtold_internal): Likewise.
5825         (__strtol_internal): Likewise.
5826         (__strtoll_internal): Likewise.
5827         (__strtoul_internal): Likewise.
5828         (__strtoull_internal): Likewise.
5829         (__strtoq_internal): Likewise.
5830         (__strtouq_internal): Likewise.
5831         * wcsmbs/Versions (__wcstod_internal): Likewise.
5832         (__wcstof_internal): Likewise.
5833         (__wcstold_internal): Likewise.
5834         (__wcstol_internal): Likewise.
5835         (__wcstoll_internal): Likewise.
5836         (__wcstoul_internal): Likewise.
5837         (__wcstoull_internal): Likewise.
5839 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5841         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5842         struct timespec definition.
5844 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5846         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5848 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5850         * inet/rcmd.c (rresvport_af): Fix typo in comment.
5851         * inet/rexec.c (rexec_af): Likewise.
5853 2017-04-19  Zack Weinberg  <zackw@panix.com>
5855         * posix/tst-mmap-offset.c: Include stdint.h.
5856         * resolv/tst-ns_name_compress.c: Include string.h.
5857         * resolv/tst-resolv-edns.c: Include resolv.h.
5859 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5861         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5862         with __glibc_likely.
5863         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5864         Replace __builtin_expect with __glibc_unlikely.
5865         * resolv/res_init.c (__res_vinit): Likewise.
5866         * resolv/res_query.c (__libc_res_nquery): Likewise.
5867         * resolv/res_send.c (__libc_res_nsend): Likewise.
5869 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5871         [BZ #15722]
5872         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5873         with SOCK_CLOEXEC.
5874         * resolv/res_send.c (send_vc, reopen): Likewise.
5875         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5876         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5877         Likewise.
5878         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5879         * inet/rexec.c (rexec_af): Add comment.
5880         * inet/rcmd.c (rresvport_af): Likewise.
5882 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5884         * nscd/connections.c (have_accept4): Removed definition.
5885         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5886         accept4 works.
5887         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5888         ia64 because that was the first version with accept4 support.
5889         * support/Makefile (libsupport-routines): Add xaccept4.
5890         * support/xsocket.h (xaccept4): Declare.
5891         * support/xaccept4.c: New file.
5892         * socket/tst-accept4.c: New file.
5893         * socket/Makefile (tests): Add tst-accept4.
5894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5895         definition.
5896         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5897         comment.
5898         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5899         implementation is available.
5900         (accept4): Use the system call if available, otherwise use the
5901         socket call.
5902         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5903         Set to 3.2.18.
5904         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5905         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5906         accept4 is unconditionally available in later 3.2 stable kernels.
5907         (__ASSUME_ACCEPT4_SYSCALL): Define.
5908         * sysdeps/unix/sysv/linux/kernel-features.h
5909         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5910         definitions.
5911         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5912         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5914 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
5916         * conform/Makefile (tests-special): Do not make addition of
5917         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5918         (generated): Do not make addition of $(conformtest-header-base)
5919         conditional on [$(cross-compiling) = no].
5921         [BZ #21267]
5922         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5923         if defined by <asm/socket.h> and not previously defined.
5924         (IOCSIZE_SHIFT): Likewise.
5925         (IOC_IN): Likewise.
5926         (IOC_INOUT): Likewise.
5927         (IOC_OUT): Likewise.
5929 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5931         [BZ #21396]
5932         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5933         Prefer_No_AVX512 if AVX512ER isn't available.
5934         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5935         (index_arch_Prefer_No_AVX512): Likewise.
5936         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5937         AVX512 version if Prefer_No_AVX512 is set.
5938         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5939         Likewise.
5940         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5941         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5942         Likewise.
5943         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5944         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5945         Likewise.
5946         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5947         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5948         Likewise.
5950 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5952         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5953         Prefer_No_VZEROUPPER if AVX512ER is available.
5954         * sysdeps/x86/cpu-features.h
5955         (bit_cpu_AVX512PF): New.
5956         (bit_cpu_AVX512ER): Likewise.
5957         (bit_cpu_AVX512CD): Likewise.
5958         (bit_cpu_AVX512BW): Likewise.
5959         (bit_cpu_AVX512VL): Likewise.
5960         (index_cpu_AVX512PF): Likewise.
5961         (index_cpu_AVX512ER): Likewise.
5962         (index_cpu_AVX512CD): Likewise.
5963         (index_cpu_AVX512BW): Likewise.
5964         (index_cpu_AVX512VL): Likewise.
5965         (reg_AVX512PF): Likewise.
5966         (reg_AVX512ER): Likewise.
5967         (reg_AVX512CD): Likewise.
5968         (reg_AVX512BW): Likewise.
5969         (reg_AVX512VL): Likewise.
5971 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5973         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5974         O_CLOEXEC is defined.
5975         * include/fcntl.h (__have_o_cloexec): Remove declaration.
5976         * io/Makefile (aux): Remove.
5977         * io/have_o_cloexec.c: Remove file.
5978         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5979         defined and works.
5980         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5981         defined.
5982         * login/utmp_file.c (O_flags): Remove definition.
5983         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
5984         O_CLOEXEC works.
5985         (pututline_file): Likewise.
5986         * malloc/mtrace.c: Assume that O_CLOEXEC works.
5987         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5988         definition.
5989         (internal_setgrent): Assume that O_CLOEXEC works.
5990         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5991         Remove definition.
5992         (internal_setgrent): Assume that O_CLOEXEC works.
5993         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5994         definition.
5995         (internal_setpwent): Assume that O_CLOEXEC works.
5996         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5997         definition.
5998         (internal_setspent): Assume that O_CLOEXEC works.
5999         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6000         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6001         O_CLOEXEC is defined and works.
6002         * nss/Makefile (libnss_files-routines): Remove
6003         files-have_o_cloexec.
6004         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6005         defined.
6006         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6007         O_CLOEXEC is defined and works.
6008         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6009         * nss/nss_files/files-have_o_cloexec.c: Remove.
6010         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6011         defined.
6012         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6013         and works.
6014         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6015         definition.
6016         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6017         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6018         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6019         (__opendirat, __opendir): Adjust opendir_oflags call.
6020         (check_have_o_cloexec): Remove.
6021         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6022         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6023         defined.
6024         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6025         Remove definition.
6027 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6029         * include/unistd.h (__have_dup3): Remove declaration.
6030         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6031         dup3 is available.
6032         * libio/freopen64.c (freopen64): Likewise.
6033         * socket/Makefile (aux): Remove have_sock_cloexec.
6034         * socket/have_sock_cloexec.c: Remove file.
6035         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6036         definition.
6037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6038         Likewise.
6039         * sysdeps/nacl/kernel-features.h: Update comment.
6041 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6043         * include/unistd.h (__have_pipe2): Remove declaration.
6044         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6045         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6046         available.
6047         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6048         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6049         Remove definition.
6051 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6053         * malloc/malloc.c (cfree): Turn into compat symbol.
6054         (__cfree): Remove alias.
6055         * stdlib/stdlib.h (cfree): Remove declaration.
6056         * malloc/malloc.h (cfree): Likewise.
6057         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6058         * malloc/Versions (GLIBC_2.26): Add.
6060 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6062         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6063         (sysdep_routines): Add strrchr-power8.
6064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6065         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6066         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6067         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6068         (strrchr): Add __strrchr_power8 to ifunc list.
6069         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6071 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6073         [BZ #21357]
6074         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6075         Call free() outside of mutex.
6077 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6079         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6080         is defined.
6081         * elf/rtld.c (process_envvars): Likewise.
6082         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6083         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6084         O_NOFOLLOW directly.
6085         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6087 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6089         [BZ #21369]
6090         Remove EDNS fallback.
6091         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6092         handling.
6093         * resolv/res_send.c (send_dg): Likewise.
6094         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6095         "tcp." prefixes.
6096         (do_test): Send a "formerr."-prefixed query in an attempt to
6097         trigger EDNS fallback.
6099 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6101         [BZ #21361]
6102         Limit EDNS buffer size to 1200 bytes.
6103         * include/resolv.h (__res_nopt): Remove declaration.
6104         * resolv/Makefile (tests): tst-resolv-edns.
6105         (tst-resolv-edns): Link with -lresolv, -lpthread.
6106         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6107         interval [512, 1200].
6108         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6109         we can resize the buffer.
6110         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6111         (__res_nopt): Declare.
6112         * resolv/tst-resolv-edns.c: New file.
6113         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6114         (struct resolv_response_context): Add edns member.
6115         * resolv/resolv_test.c (struct query_info): Add edns member.
6116         (parse_query): Extract EDNS information from the query.
6117         (server_thread_udp_process_one): Propagate EDNS data.
6118         (server_thread_tcp_client): Likewise.
6120 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6122         [BZ #21359]
6123         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6124         byte in the destination buffer.  Avoid out-of-bounds pointer
6125         arithmetic.
6126         * resolv/Makefile (tests): Add tst-ns_name_compress.
6127         (tst-ns_name_compress): Link with -lresolv.
6128         * resolv/tst-ns_name_compress.c: New file.
6129         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6130         (response): Recognize LONG_NAME.
6131         (do_test): Add LONG_NAME tests.
6132         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6133         for ns_name_unpack.  Add tests for ns_name_pton and
6134         ns_name_compress.
6136 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6138         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6139         (res_nisourserver): Remove definition.
6140         (p_section, res_npquery, res_nisourserver): Remove declaration.
6141         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6142         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6143         ... here.
6144         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6145         <resolv.h>.
6146         * resolv/res_query.c: Likewise.
6147         * resolv/res_debug.c (p_section): Define as static.
6149 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6151         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6152         strncat-power8.
6153         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6154         __strncat_power8 to ifunc list.
6155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6156         (strncat): Add __strncat_power8 to list of strncat functions.
6157         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6159 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6161         [BZ #21270]
6162         * posix/tst-mmap-offset.c (do_prepare): New function.
6163         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6164         (do_test_bz21270): New function.
6165         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6166         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6167         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6168         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6169         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6170         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6171         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6172         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6173         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6174         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6175         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6176         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6177         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6178         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6179         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6180         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6181         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6182         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6183         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6184         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6185         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6186         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6187         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6188         from auto-generation list.
6189         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6191         * sysdeps/unix/sysv/linux/mmap.c: New file.
6192         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6193         offsets and support for mmap2 syscall.
6195         * posix/globtest.sh: Add cleanup routine on trap 0.
6197 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6199         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6200         implementation-specific function name and remove unneeded
6201         macros definition.
6202         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6203         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6204         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6205         name if not defined and pass as parameter to macros accordingly.
6206         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6207         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6210         implementation-specific function name and remove unneeded
6211         macros definition.
6212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6217         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6218         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6219         name if not defined and pass as parameter to macros accordingly.
6220         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6221         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6222         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6223         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6224         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6225         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6227         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6228         implementation-specific function name and remove unneeded macros
6229         definition.
6230         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6231         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6233         function name if not defined and pass as parameter to macros
6234         accordingly.
6235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6236         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6238         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6239         implementation-specific function name and remove unneeded macros
6240         definition.
6241         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6242         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6243         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6244         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6245         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6246         not defined and pass as parameter to macros accordingly.
6247         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6248         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6249         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6250         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6252         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6253         strcasestr implementation name and remove unneeded macros definition.
6254         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6255         strstr implementation name and remove unneeded macros definition.
6256         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6257         name if not defined and pass as parameter to macros accordingly.
6258         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6260         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6261         implementation-specific function name and remove unneeded macros
6262         definition.
6263         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6264         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6265         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6266         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6267         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6268         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6269         function name if not defined and pass as parameter to macros
6270         accordingly.
6271         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6272         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6273         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6274         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6276         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6277         the strlen implementation name and remove unneeded macros definition.
6278         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6279         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6280         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6281         the strnlen implementation name and remove unneeded macros definition.
6282         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6283         name if not defined and pass as parameter to macros accordingly.
6284         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6285         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6286         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6289         the implementation-specific function name and remove unneeded
6290         macros definition.
6291         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6293         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6294         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6295         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6296         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6297         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6298         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6299         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6300         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6301         name if not defined and pass as parameter to macros accordingly.
6302         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6304         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6305         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6306         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6307         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6308         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6309         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6312         implementation-specific function name and remove unneeded macros
6313         definition.
6314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6315         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6316         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6317         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6318         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6319         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6320         function name if not defined.
6321         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6322         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6324 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6326         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6327         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6328         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6329         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6331 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6332             Zack Weinberg  <zackw@panix.com>
6334         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6335         readdir64 as thread-safe.  Update warning about readdir_r.
6337 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6339         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6340         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6341         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6342         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6343         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6344         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6345         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6347 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6349         * sysdeps/i386/dl-procinfo.c: Include
6350         <sysdeps/x86/dl-procinfo.c>.
6351         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6352         * sysdeps/x86/dl-procinfo.c: New file.
6354 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6356         * sysdeps/generic/math_private.h: Remove declarations of
6357         many functions that are already declared in math.h.
6358         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6359         declaration for __frexpl.
6360         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6361         the declarations for __scalbnl and fabsl.
6363 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6365         [BZ #20831]
6366         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6367         of __mprotect to change protection on the excess portion
6368         to disallow all access.
6370 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6372         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6373         HAS_CPU_FEATURE to check for SSE.
6374         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6375         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6376         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6377         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6378         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6379         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6380         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6381         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6382         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6383         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6384         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6385         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6386         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6387         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6388         (index_cpu_SSE): Likewise.
6389         (reg_SSE): Likewise.
6391 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6393         * posix/getopt1.c: Include <config.h>, not "config.h".
6395 2017-04-07  Zack Weinberg  <zackw@panix.com>
6397         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6398         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6399         Mention in top-of-file boilerplate that these files are shared
6400         with gnulib.
6401         * posix/getopt.h, posix/bits/getopt_posix.h:
6402         Mention in top-of-file boilerplate that these files are NOT shared
6403         with gnulib, unlike the rest of the getopt implementation.
6405         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6406         New files, intended to be shared with gnulib.
6407         * posix/bits/getopt_posix.h:
6408         New file, not intended to be shared with gnulib.
6409         * posix/getopt.h: Now just includes features.h,
6410         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6411         no longer be shared with gnulib.
6412         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6413         * include/bits/getopt_posix.h: New wrappers.
6414         * posix/Makefile: Install new headers.
6415         * posix/unistd.h, libio/stdio.h:
6416         Include bits/getopt_posix.h instead of getopt.h.
6418         * include/libc-symbols.h: For gnulib compatibility, define
6419         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6420         _GL_ATTRIBUTE_CONST.
6421         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6422         parameters with _GL_UNUSED.
6424         * posix/getopt.c: When used standalone, define __libc_use_alloca
6425         as always false and alloca to abort if called.
6426         (process_long_option): Rewrite handling of ambiguous long options
6427         to use a single boolean vector, not a linked list; use
6428         __libc_use_alloca to decide whether to allocate this using alloca.
6429         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6431         * posix/getopt.c (process_long_option): New function split out
6432         from _getopt_internal_r.
6433         (_getopt_internal_r): Replace both copies of the long-option
6434         processing code with calls to process_long_option.
6435         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6436         (do_test): Differentiate argv[0] in the two subtests.
6438         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6439         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6440         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6442         * posix/getopt.h: Add backup definition of __nonnull for
6443         consistency with gnulib.  Define __getopt_argv_const to const
6444         if not already defined.
6445         (getopt): Update doc comment from gnulib.  Prototype
6446         unconditionally.  Add __nonnull annotation.
6447         (__posix_getopt): Add __nonnull annotation.
6448         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6449         prototypes for consistency with gnulib.  Add __nonnull
6450         annotations.
6451         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6452         (getopt_internal): Change 'argv' argument to type 'char **'.
6453         Remove now-unnecessary casts.
6454         (getopt, __posix_getopt): Eliminate repetition with a macro.
6455         Cast 'argv' to 'char **' when calling _getopt_internal.
6456         * posix/getopt1.c (getopt_long, getopt_long_only):
6457         Use __getopt_argv_const for consistency with gnulib.
6458         Cast 'argv' to 'char **' when calling _getopt_internal.
6459         (_getopt_long_r, _getopt_long_only_r):
6460         Change 'argv' argument to type 'char **'.
6461         (main): Constify 'long_options'.
6462         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6463         (_getopt_long_r, _getopt_long_only_r):
6464         Change 'argv' argument to type 'char **'.
6466         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6467         (locked_vfxprintf): New helper function. Handle arbitrary
6468         multibyte strings, not just ASCII.
6469         * include/stdio.h: Declare __fxprintf_nocancel.
6470         * posix/getopt.c: When _LIBC is defined, define fprintf to
6471         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6472         to _IO_funlockfile.  When neither _LIBC nor
6473         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6474         funlockfile as no-ops.
6475         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6476         the standalone error-printing code can now be used for libc as
6477         well.  Add an flockfile/funlockfile pair around one case where
6478         the error message is printed in several chunks.  Don't use fputc.
6479         * posix/tst-getopt-cancel.c: New test.
6480         * posix/Makefile: Run it.
6482         * posix/getopt.c (_getopt_internal_r): Don't increment
6483         d->optind a second time when reporting ambiguous -W options.
6485         * posix/getopt_int.h: Include getopt.h.
6486         Use impl-namespace names for all arguments to _getopt_internal and
6487         _getopt_internal_r.
6488         Declare __ordering enum outside the struct.
6489         Harmonize comments with gnulib.
6490         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6491         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6492         #ifdef TEST block and make unconditional.  Do not define NULL.
6493         * posix/getopt.c: Partial merge from gnulib, covering the
6494         initial includes and global declarations, commentary, and
6495         a couple of semantically-neutral code changes.
6497         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6498         Use '...' instead of `...' for quotation marks inside
6499         comments and strings.
6501         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6502         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6503         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6504         * posix/getopt_int.h: Likewise.
6505         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6506         __libc_argc and __libc_argv externs, which were only used by
6507         #ifdef USE_NONOPTION_FLAGS blocks.
6508         * posix/getopt_init.c: Remove file.
6509         * posix/Makefile (routines): Remove getopt_init.
6510         * include/getopt.h: Don't declare __getopt_initialize_environment.
6511         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6512         a comment.
6514 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6516         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6518 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6520         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6521         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6522         to __wrap_.udiv.
6523         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6524         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6526         * sysdeps/i386/symbol-hacks.h: New file.
6527         * sysdeps/m68k/symbol-hacks.h: New file.
6528         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6529         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6530         * sysdeps/unix/sysv/linux/i386/Makefile
6531         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6532         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6533         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6534         * sysdeps/unix/sysv/linux/m68k/Makefile
6535         [$(subdir) = csu] (sysdep_routines): Likewise.
6536         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6537         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6539         [$(subdir) = csu] (sysdep_routines): Likewise.
6540         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6541         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6542         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6543         [$(subdir) = csu] (sysdep_routines): Likewise.
6544         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6545         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6546         * sysdeps/wordsize-32/Makefile: Remove file.
6547         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6548         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6550 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6552         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6553         (TEST_FUNCTION_ARGV): New.
6555 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6557         * elf/next.c: Import support/test-driver.c instead of
6558         test-skeleton.c and delete TEST_FUNCTION macro definition.
6559         * elf/nodelete.c: Likewise.
6560         * elf/order2.c: Likewise.
6561         * elf/tst-_dl_addr_inside_object.c: Likewise.
6562         * elf/tst-addr1.c: Likewise.
6563         * elf/tst-align.c: Likewise.
6564         * elf/tst-align2.c: Likewise.
6565         * elf/tst-audit11.c: Likewise.
6566         * elf/tst-audit12.c: Likewise.
6567         * elf/tst-audit2.c: Likewise.
6568         * elf/tst-audit9.c: Likewise.
6569         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6570         * elf/tst-deep1.c: Likewise.
6571         * elf/tst-dl-iter-static.c: Likewise.
6572         * elf/tst-dlmodcount.c: Likewise.
6573         * elf/tst-dlmopen1.c: Likewise.
6574         * elf/tst-dlmopen2.c: Likewise.
6575         * elf/tst-dlmopen3.c: Likewise.
6576         * elf/tst-dlopen-aout.c: Likewise.
6577         * elf/tst-dlopenrpath.c: Likewise.
6578         * elf/tst-dlsym-error.c: Likewise.
6579         * elf/tst-execstack-needed.c: Likewise.
6580         * elf/tst-execstack-prog.c: Likewise.
6581         * elf/tst-execstack.c: Likewise.
6582         * elf/tst-global1.c: Likewise.
6583         * elf/tst-gnu2-tls1.c: Likewise.
6584         * elf/tst-latepthread.c: Likewise.
6585         * elf/tst-leaks1.c: Likewise.
6586         * elf/tst-linkall-static.c: Likewise.
6587         (do_test): New function.
6588         * elf/tst-nodelete-opened.c: Likewise.
6589         * elf/tst-nodelete.cc: Likewise.
6590         * elf/tst-nodelete2.c: Likewise.
6591         * elf/tst-noload.c: Likewise.
6592         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6593         * elf/tst-order-main.c: Likewise.
6594         * elf/tst-pathopt.c: Likewise.
6595         * elf/tst-pie2.c: Likewise.
6596         * elf/tst-piemod1.c: Likewise.
6597         * elf/tst-prelink.c: Likewise.
6598         * elf/tst-protected1a.c: Likewise.
6599         * elf/tst-protected1b.c: Likewise.
6600         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6601         and define _GNU_SOURCE macro.
6602         (cmdline_process_function): New function.
6603         * elf/tst-relsort1.c: Likewise.
6604         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6605         and define _GNU_SOURCE macro.
6606         (cmdline_process_function): New function.
6607         * elf/tst-thrlock.c: Likewise.
6608         * elf/tst-tls-dlinfo.c: Likewise.
6609         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6610         * elf/tst-tls1.c: Likewise.
6611         * elf/tst-tls10.c: Likewise.
6612         * elf/tst-tls11.c: Likewise.
6613         * elf/tst-tls12.c: Likewise.
6614         * elf/tst-tls13.c: Likewise.
6615         * elf/tst-tls14.c: Likewise.
6616         * elf/tst-tls15.c: Likewise.
6617         * elf/tst-tls16.c: Likewise.
6618         * elf/tst-tls17.c: Likewise.
6619         * elf/tst-tls18.c: Likewise.
6620         * elf/tst-tls19.c: Likewise.
6621         * elf/tst-tls2.c: Likewise.
6622         * elf/tst-tls3.c: Likewise.
6623         * elf/tst-tls4.c: Likewise.
6624         * elf/tst-tls5.c: Likewise.
6625         * elf/tst-tls6.c: Likewise.
6626         * elf/tst-tls7.c: Likewise.
6627         * elf/tst-tls8.c: Likewise.
6628         * elf/tst-tls9.c: Likewise.
6629         * elf/tst-tlsalign-extern.c: Likewise.
6630         * elf/tst-tlsalign.c: Likewise.
6631         * elf/tst-unique1.c: Likewise.
6632         * elf/tst-unique2.c: Likewise.
6633         * elf/vismain.c: Likewise.
6635 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6637         * string/test-strnlen.c (do_page_tests): New function
6638         to check length of strings ending at the page boundary.
6639         (test_main): Added call to the do_page_tests function.
6641 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6642             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6644         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6645         (sysdep_routines): Add strnlen-power8.
6646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6647         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6648         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6649         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6650         (__strnlen): Add __strnlen_power8 to ifunc list.
6651         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6653 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6655         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6656         the TEST_FUNCTION macro definition.
6657         * wcsmbs/tst-mbrtowc2.c: Likewise.
6658         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6659         * wcsmbs/tst-wchar-h.c: Likewise.
6660         * wcsmbs/tst-wcpncpy.c: Likewise.
6661         * wcsmbs/tst-wcrtomb.c: Likewise.
6662         * wcsmbs/tst-wcsnlen.c: Likewise.
6663         * wcsmbs/tst-wcstof.c: Likewise.
6665 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6667         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6668         CALL_THREAD_FCT macro usage.
6669         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6670         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6671         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6673         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6675         (__ASSUME_REQUEUE_PI): Likewise.
6676         * sysdeps/unix/sysv/linux/kernel-features.h
6677         (__ASSUME_REQUEUE_PI): Likewise.
6678         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6679         (__ASSUME_REQUEUE_PI): Likewise.
6680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6681         (__ASSUME_REQUEUE_PI): Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6683         (__ASSUME_REQUEUE_PI): Likewise.
6685 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6687         * resolv/tst-resolv-canonname.c: New file.
6688         * resolv/Makefile (tests): Add tst-resolv-canonname.
6689         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6691 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6693         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6694         Declare.
6695         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6696         (NS_MAXCDNAME): Remove definition.
6697         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6698         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6699         (NS_MAXCDNAME): Remove definition.
6700         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6702 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6704         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6705         call whose result is not used.
6707 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6709         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6710         * resolv/Makefile (tests): Add tst-ns_name.
6711         (tst-ns_name): Link with -lresolv.
6712         (tst-ns_name.out): Depend on the input data file.
6714 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6716         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6717         Clobber also r14.
6719 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
6721         [BZ #21253]
6722         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6723         slack space by 32KiB.
6725 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
6727         [BZ #21338]
6728         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6729         instead of incorrect do_set_arena_test
6731 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6733         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6734         * math/bits/math-finite.h: Likewise.
6736 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
6738         [BZ #21289]
6739         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6741 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6743         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6744         non expected inotify_add_watch and quotactl return.
6746 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6748         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6749         to int32_t.
6750         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6751         as returning int32_t.
6753 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6755         * math/math.h: Include bits/math-finite.h once per
6756         floating-point type.
6757         * math/bits/math-finite.h: Macroize all declarations by
6758         floating-point type.
6760 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6762         [BZ #21182]
6763         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6764         near end of a page.
6765         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6766         overflow calculation.
6768 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6770         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6771         (IMPL) Call with 1 instead of 0 as argument.
6773 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6775         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6776         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6777         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6778         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6779         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6780         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6781         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6782         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6783         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6784         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6785         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6786         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6787         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6788         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6789         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6790         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6791         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6792         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6793         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6794         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6795         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6796         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6797         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6798         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6799         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6800         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6801         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6802         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6803         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6804         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6805         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6806         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6807         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6808         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6809         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6810         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6811         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6812         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6813         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6814         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6815         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6816         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6817         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6818         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6819         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6820         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6821         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6822         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6823         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6824         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6825         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6826         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6827         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6828         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6829         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6830         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6831         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6832         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6833         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6834         defined.
6835         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6836         __NR_setgroups32 if defined.
6837         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6838         if defined.
6839         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6840         __NR_setresgid32 is defined.
6841         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6842         __NR_setresuid32 if defined.
6843         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6844         __NR_setreuid32 if defined.
6845         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6846         defined.
6847         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6848         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6849         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6850         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6851         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6852         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6853         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6854         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6855         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6856         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6857         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6858         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6859         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6860         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6861         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6862         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6863         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6864         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6865         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6866         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6867         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6868         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6869         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6870         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6871         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6872         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6873         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6874         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6875         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6876         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6877         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6878         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6879         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6880         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6884         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6885         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6886         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6887         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6888         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6889         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6890         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6891         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6892         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6893         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6894         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6895         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6896         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6897         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6898         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6899         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6901         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6902         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6903         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6904         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6905         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6906         defined.
6907         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6908         __NR_setgroups32 if defined.
6909         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6910         if defined.
6911         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6912         __NR_setresgid32 is defined.
6913         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6914         __NR_setresuid32 if defined.
6915         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6916         __NR_setreuid32 if defined.
6917         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6918         defined.
6920 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
6922         [BZ #21277]
6923         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6924         unconditionally.
6925         (IMAXBEL): Likewise.
6926         (IUTF8): Likewise.
6928 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6930         * sysdeps/aarch64/libm-test-ulps: Update.
6932 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
6934         * README.tunables: Updated descriptions.
6935         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6936         * scripts/gen-tunables.awk: Updated the code related to the
6937         commit.
6939 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
6941         * benchtests/Makefile (string-benchset): Add memcpy-random.
6942         * benchtests/bench-memcpy-random.c: New file.
6944 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6946         * stdio-common/printf.h (register_printf_modifier): Change the
6947         order of __wur and __THROW.
6948         (register_printf_type): Likewise.
6950 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6952         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6953         test_main ().
6954         (CMDLINE_PROCESS): Use function instead of defined macro.
6955         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6956         <suppport/support.h> to use set_fortify_handler().
6957         * string/bug-envz1.c: Import support/test-driver.c instead of
6958         test-skeleton.c.
6959         * string/bug-strcoll2.c: Likewise.
6960         * string/bug-strtok1.c: Likewise.
6961         * string/stratcliff.c: Likewise.
6962         * string/test-ffs.c: Likewise.
6963         * string/test-memccpy.c: Likewise.
6964         * string/test-memchr.c: Likewise.
6965         * string/test-memcmp.c: Likewise.
6966         * string/test-memcpy.c: Likewise.
6967         * string/test-memmem.c: Likewise.
6968         * string/test-memmove.c: Likewise.
6969         * string/test-memrchr.c: Likewise.
6970         * string/test-memset.c: Likewise.
6971         * string/test-rawmemchr.c: Likewise.
6972         * string/test-strcasecmp.c: Likewise.
6973         * string/test-strcasestr.c: Likewise.
6974         * string/test-strcat.c: Likewise.
6975         * string/test-strchr.c: Likewise.
6976         * string/test-strcmp.c: Likewise.
6977         * string/test-strcpy.c: Likewise.
6978         * string/test-string.h: Likewise.
6979         * string/test-strlen.c: Likewise.
6980         * string/test-strncasecmp.c: Likewise.
6981         * string/test-strncat.c: Likewise.
6982         * string/test-strncmp.c: Likewise.
6983         * string/test-strncpy.c: Likewise.
6984         * string/test-strnlen.c: Likewise.
6985         * string/test-strpbrk.c: Likewise.
6986         * string/test-strrchr.c: Likewise.
6987         * string/test-strspn.c: Likewise.
6988         * string/test-strstr.c: Likewise.
6989         * string/tst-bswap.c: Likewise.
6990         * string/tst-cmp.c: Likewise.
6991         * string/tst-endian.c: Likewise.
6992         * string/tst-inlcall.c: Likewise.
6993         * string/tst-strcoll-overflow.c: Likewise.
6994         * string/tst-strfry.c: Likewise.
6995         * string/tst-strlen.c: Likewise.
6996         * string/tst-strtok.c: Likewise.
6997         * string/tst-strtok_r.c: Likewise.
6998         * string/tst-strxfrm.c: Likewise.
6999         * string/tst-strxfrm2.c: Likewise.
7000         * string/tst-svc.c: Likewise.
7001         * string/tst-svc2.c: Likewise.
7003 2017-03-22  Zack Weinberg  <zackw@panix.com>
7005         * stdio-common/bug25.c: Include stdlib.h.
7006         * support/tst-support_format_dns_packet.c: Include stdio.h,
7007         stdlib.h, and string.h.
7008         * support/tst-support_record_failure.c: Include string.h.
7009         * support/tst-support_record_failure-2.sh: Adjust line number
7010         expectations and correct a typo in an error message.
7012 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7014         [BZ #21258]
7015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7016         Define only if _dl_runtime_resolve is defined to
7017         _dl_runtime_resolve_sse_vex.
7018         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7019         Fallthrough to _dl_runtime_resolve_sse_vex.
7021 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7023         * INSTALL: Regenerated.
7025 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7027         * config.h.in: Add LINK_OBSOLETE_NSL.
7028         * config.make.in: Add build-obsolete-nsl.
7029         * configure.ac: Add obsolete-nsl option.
7030         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7031         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7032         * include/rpcsvc/nislib.h: Likewise.
7033         * include/rpcsvc/ypclnt.h: Likewise.
7034         * manual/install.texi: Document --enable-obsolete-nsl.
7035         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7036         * nis/nis_add.c: Replace libnsl_hidden_def with
7037         libnsl_hidden_nolink_def.
7038         * nis/nis_addmember.c: Likewise.
7039         * nis/nis_call.c: Likewise.
7040         * nis/nis_clone_obj.c: Likewise.
7041         * nis/nis_defaults.c: Likeise.
7042         * nis/nis_domain_of_r.c: Likewise.
7043         * nis/nis_error.c: Likewise.
7044         * nis/nis_file.c: Likewise.
7045         * nis/nis_free.c: Likewise.
7046         * nis_local_names.c: Likewise.
7047         * nis/nis_lookup.c: Likewise.
7048         * nis/nis_modify.c: Likewise.
7049         * nis/nis_print.c: Likewise.
7050         * nis/nis_remove.c: Likewise.
7051         * nis/nis_table.c: Likewise.
7052         * nis/nis_util.c: Likewise.
7053         * nis/nis_xdr.c: Likewise.
7054         * nis/yp_xdr.c: Likewise.
7055         * nis/ypclnt.c: Likewise.
7056         * nis/ypupdate_xdr.c: Likewise.
7057         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7058         * nis/nis_clone_dir.c: Likewise.
7059         * nis/nis_clone_res.c: Likewise.
7060         * nis/nis_creategroup.c: Likewise.
7061         * nis/nis_destroygroup.c: Likewise.
7062         * nis/nis_domain_of.c: Likewise.
7063         * nis/nis_getservlist.c: Likewise.
7064         * nis/nis_ismember.c: Likewise.
7065         * nis/nis_mkdir.c: Likewise.
7066         * nis/nis_ping.c: Likewise.
7067         * nis/nis_print_group_entry.c: Likewise.
7068         * nis/nis_removemember.c: Likewise.
7069         * nis/nis_rmdir.c: Likewise.
7070         * nis/nis_server.c: Likewise.
7071         * nis/nis_subr.c: Likewise.
7072         * nis/nis_verifygroup.c: Likewise.
7074 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7076         * malloc/tst-interpose-aux.c (check_for_allocations):
7077         Move compiler barrier before free.
7079 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #21279]
7082         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7083         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7084         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7085         x86_64-x32-linux.
7086         (mq_attr.mq_maxmsg): Likewise.
7087         (mq_attr.mq_msgsize): Likewise.
7088         (mq_attr.mq_curmsgs): Likewise.
7090         [BZ #21278]
7091         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7092         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7093         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7094         mips-o32-linux.
7096         [BZ #21268]
7097         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7098         if [__USE_MISC]
7099         (NL3): Likewise.
7101 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7103         [BZ #21275]
7104         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7105         __stack to __stackbase.
7106         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7107         checks so we can include defined(__ia64__) first.
7109 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7111         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7112         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7113         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7114         Call is_pty when the link does not exist or does not match, fail
7115         with ENODEV when it returns true.
7116         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7117         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7118         Call is_pty when the link does not exist or does not match, fail
7119         with ENODEV when it returns true.
7121 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #16437]
7124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7125         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7126         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7127         x86_64-x32-linux.
7128         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7129         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7130         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7132         [BZ #21261]
7133         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7134         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7135         names for all fields.
7136         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7137         for jmp_buf field renaming.
7138         (_JMPBUF_UNWINDS_ADJ): Likewise.
7140         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7141         with allow-header.
7143 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7145         * malloc/malloc.c (unlink): Add consistency check between size and
7146         next->prev->size, to further harden against 1-byte overflows.
7148 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7150         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7151         CPU_FEATURES_CPU_P.
7153 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #21259]
7156         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7157         unconditionally, not just for [__USE_MISC].
7159         [BZ #17786]
7160         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7161         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7162         mips-o32-linux.
7164         [BZ #21260]
7165         * sysdeps/unix/sysv/linux/alpha/Makefile
7166         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7167         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7169         * conform/conformtest.pl ($cross): New variable.
7170         (--cross): New command-line option.
7171         (runtest): Skip test execution when cross-compiling.
7172         * conform/Makefile (conformtest-cross): New variable.
7173         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7174         conformtest.pl.
7176         * conform/conformtest.pl ($xfail_str): New variable.
7177         (--xfail=): New command-line option.
7178         (top level): Handle expectations starting xfail[cond]-.
7179         * conform/Makefile (conformtest-xfail): New variable.
7180         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7181         conformtest.pl.
7183 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7185         * conform/conformtest.pl: Use compilation instead of execution
7186         tests for testing values of constants and usability in #if.
7188 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7190         * math/auto-libm-test-in: Mark some catan and catanh as
7191         xfail-rounding:ibm128-libgcc.
7192         * math/auto-libm-test-out-catan: Regenerate.
7193         * math/auto-libm-test-out-catanh: Likewise.
7195 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7197         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7198         (__END_NAMESPACE_STD): Likewise.
7199         (__USING_NAMESPACE_STD): Likewise.
7200         (__BEGIN_NAMESPACE_C99): Likewise.
7201         (__END_NAMESPACE_C99): Likewise.
7202         (__USING_NAMESPACE_C99): Likewise.
7203         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7204         undefine macro.
7205         (_Mdouble_END_NAMESPACE): Likewise.
7206         * ctype/ctype.h: Do not handle C++ namespaces.
7207         * libio/bits/stdio-ldbl.h: Likewise.
7208         * libio/stdio.h: Likewise.
7209         * locale/locale.h: Likewise.
7210         * math/bits/mathcalls.h: Likewise.
7211         * setjmp/setjmp.h: Likewise.
7212         * signal/signal.h: Likewise.
7213         * stdlib/bits/stdlib-float.h: Likewise.
7214         * stdlib/bits/stdlib-ldbl.h: Likewise.
7215         * stdlib/stdlib.h: Likewise.
7216         * string/string.h: Likewise.
7217         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7218         * time/bits/types/clock_t.h: Likewise.
7219         * time/bits/types/struct_tm.h: Likewise.
7220         * time/bits/types/time_t.h: Likewise.
7221         * time/time.h: Likewise.
7222         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7223         * wcsmbs/uchar.h: Likewise.
7224         * wcsmbs/wchar.h: Likewise.
7225         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7226         * wctype/wctype.h: Do not handle C++ namespaces.
7227         * scripts/begin-end-check.pl: Remove.
7228         * Makefile (installed-headers): Likewise.
7229         (tests-special): Do not add $(objpfx)begin-end-check.out.
7230         ($(objpfx)begin-end-check.out): Remove.
7232 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7233             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7235         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7236         (DL_PLATFORM_INIT): New define.
7237         (dl_platform_init): New function.
7238         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7239         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7240         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7241         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7242         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7244 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7246         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7247         instead of PIC.
7249 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #21094]
7252         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7253         24+24+24-bit pi for wider range of values around pi/2.
7254         * math/auto-libm-test-in: Add more tests of cos and tan.
7255         * math/auto-libm-test-out-cos: Regenerated.
7256         * math/auto-libm-test-out-tan: Likewise.
7258 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7260         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7261         (RTLD_START): Don't record stack end address in _dl_start_user.
7263 2017-03-15  Alexey Neyman  <stilor@att.net>
7265         [BZ #21088]
7266         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7267         around definitions match those around use.
7269 2017-03-15  Alexey Neyman  <stilor@att.net>
7271         * configure.ac: Avoid empty subexpression in grep.
7272         * configure: Regenerate.
7274 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7276         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7277         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7278         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7279         (test_wrp_rv): Fix format.
7280         (test_wrp_rv2): New macro.
7281         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7282         binaries.
7284 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7286         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7287         Use a union when storing pointers.
7288         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7289         cast result when passing to INIT_VEC_PTRS_LOOP.
7290         (VECTOR_WRAPPER_fFF_3): Likewise.
7291         (VECTOR_WRAPPER_fFF_4): Likewise.
7293 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7295         * include/bits/mathcalls-helper-functions.h: New file.
7296         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7297         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7298         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7299         math/bits/mathcalls-helper-functions.h.
7300         * math/bits/mathcalls-helper-functions.h: New file.
7301         * math/math.h: Include bits/mathcalls-helper-functions.h for
7302         float, double, and long double.
7304 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7306         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7307         instead of feraiseexcept.
7309 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7311         [BZ #21243]
7312         * support/temp_file.c (support_delete_temp_files): Add comment
7313         about ignored errors.
7315 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7317         [BZ #21244]
7318         * support/xclose.c: New file.
7319         * support/Makefile (libsupport-routines): Add xclose.
7320         * support/xunistd.h (xclose): Declare.
7321         * support/resolv_test.c (server_thread_tcp_client)
7322         (server_thread_tcp, make_server_sockets, resolv_test_start)
7323         (resolv_test_end): Call xclose instead of close.
7324         * support/support_enter_network_namespace.c
7325         (support_enter_network_namespace): Likewise.
7326         * support/support_run_diff.c (write_to_temp_file): Likewise.
7328 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7330         * support/support_format_dns_packet.c (support_format_dns_packet):
7331         Handle CNAME records in the response.  Extract RDATA names from
7332         rdata, not the whole packet.  Check AAAA record length.
7333         * support/tst-support_format_dns_packet.c: New file.
7334         * support/Makefile (tests): Add tst-support_format_dns_packet.
7335         (tst-support_format_dns_packet): Link against libresolv.
7337 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7339         [BZ #21232]
7340         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7341         posix_fadvise64 weak_alias for static build.
7343 2017-03-14  Andreas Schwab  <schwab@suse.de>
7345         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7346         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7347         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7348         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7349         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7350         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7351         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7352         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7354 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7356         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7357         posix error code.
7358         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7360 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7362         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7363         no_isolate usage for SH.
7365 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7367         [BZ #15105]
7368         [BZ #19463]
7369         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7370         * inet/rcmd.c (rcmd_af): Likewise.
7371         * inet/rexec.c   (rexec_af): Likewise.
7372         * intl/dcigettext.c (_LIBC): Likewise.
7373         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7374         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7375         * locale/setlocale.c (setlocale): Likewise.
7376         * posix/spawn_faction_addopen.c
7377         (posix_spawn_file_actions_addopen): Likewise.
7378         * stdlib/putenv.c (putenv): Use __strndup.
7379         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7381         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7382         (__Need_M_And_C) Remove define/undef.
7383         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7384         (__malloc_and_calloc_defined): Remove define.
7385         * string/bits/string2.h (__strdup): Remove define.
7386         (strdup): Likewise.
7387         (__strndup): Likewise.
7388         (strndup): Likewise.
7390 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7392         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7393         macro.
7394         (IPV6_ADDR_PREFERENCES): Likewise.
7395         (IPV6_MINHOPCOUNT): Likewise.
7396         (IPV6_ORIGDSTADDR): Likewise.
7397         (IPV6_RECVORIGDSTADDR): Likewise.
7398         (IPV6_TRANSPARENT): Likewise.
7399         (IPV6_UNICAST_IF): Likewise.
7400         (IPV6_RECVFRAGSIZE): Likewise.
7402 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7404         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7406 2017-03-12  Alexey Neyman <stilor@att.net>
7408         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7409         in R_SH_DIR32 case is always false when inlined from
7410         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7412 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7415         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7416         __ASSUME_SEND_SYSCALL.
7418 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7420         * sunrpc/Makefile: don't build and install rpcsvc header
7421         files, rpcgen and librpcsvc.a by default.
7423 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7425         * math/auto-libm-test-out-catan: Regenerated.
7426         * math/auto-libm-test-out-catanh: Likewise.
7427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7429 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7431         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7432         for long double with corrected test expectations.
7434 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7436         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7437         Define.
7438         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7439         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7440         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7441         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7442         * sysdeps/unix/sysv/linux/tile/sysdep.h
7443         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7445         (__ASSUME_RECV_SYSCALL): Define.
7446         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7447         (__ASSUME_RECV_SYSCALL): Likewise.
7448         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7449         (__ASSUME_RECV_SYSCALL): Likewise.
7450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7451         (__ASSUME_RECV_SYSCALL): Likewise.
7452         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7453         (__ASSUME_RECV_SYSCALL): Likewise.
7454         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7455         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7457         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7458         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7459         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7460         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7461         auto-generation list.
7462         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7463         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7464         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7465         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7466         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7467         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7468         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7469         __ASSUME_SENDTO_SYSCALL.
7470         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7471         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7472         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7474         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7475         auto-generation list.
7476         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7477         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7478         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7479         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7480         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7481         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7483         * sysdeps/unix/sysv/linux/kernel-features.h
7484         (__ASSUME_SENDTO_SYSCALL): Define by default.
7485         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7486         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7487         __NR_sendto.
7488         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7489         (__ASSUME_SENDTO_SYSCALL): Likewise.
7490         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7491         (__ASSUME_SENDTO_SYSCALL): Likewise.
7492         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7493         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7494         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7495         (__ASSUME_SENDTO_SYSCALL): Likewise.
7496         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7497         (__ASSUME_SENDTO_SYSCALL): Likewise.
7498         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7500         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7501         auto-generation list.
7502         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7503         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7504         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7505         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7506         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7507         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7508         (__ASSUME_RECV_SYSCALL): New define.
7509         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7510         (__ASSUME_RECV_SYSCALL): Likewise.
7511         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7512         (__ASSUME_RECV_SYSCALL): Likewise.
7513         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7514         (__ASSUME_RECV_SYSCALL): Likewise.
7515         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7516         (__ASSUME_RECV_SYSCALL): Likewise.
7517         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7518         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7519         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7520         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7521         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7522         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7523         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7524         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7525         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7526         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7527         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7528         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7530         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7531         auto-generation list.
7532         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7533         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7534         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7535         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7536         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7537         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7538         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7539         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7540         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7541         * sysdeps/unix/sysv/linux/kernel-features.h
7542         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7543         __NR_recvfrom.
7544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7545         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7546         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7547         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7548         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7549         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7550         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7551         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7552         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7553         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7554         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7555         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7556         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7558         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7559         auto-generation list.
7560         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7561         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7562         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7564         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7565         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7566         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7567         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7568         * sysdeps/unix/sysv/linux/kernel-features.h
7569         (__ASSUME_CONNECT_SYSCALL): Define.
7570         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7571         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7572         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7573         (__ASSUME_CONNECT_SYSCALL): Likewise.
7574         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7575         (__ASSUME_CONNECT_SYSCALL): Likewise.
7576         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7577         (__ASSUME_CONNECT_SYSCALL): Likewise.
7579         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7580         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7581         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7582         auto-generation list.
7583         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7584         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7585         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7586         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7587         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7588         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7589         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7590         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7591         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7592         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7593         * sysdeps/unix/sysv/linux/kernel-features.h
7594         (__ASSUME_ACCEPT_SYSCALL): New define.
7595         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7596         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7597         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7598         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7599         (__ASSUME_ACCEPT_SYSCALL): Define.
7600         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7601         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7602         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7603         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7604         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7605         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7606         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7607         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7608         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7610 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7611             Zack Weinberg  <zackw@panix.com>
7613         * posix/test-errno.c: New file.
7614         * posix/Makefile (tests): Add test-errno.
7615         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7616         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7618 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7620         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7622 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7624         * time/tzset.c (compute_offset): Open-code min macro.
7625         (min, max, sign): Remove.
7627 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7629         [BZ #15576]
7630         Remove TZNAME_MAX limit from sysconf.
7631         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7632         declaration.
7633         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7634         compute_tzname_max.
7635         (compute_tzname_max): Remove.
7636         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7637         (update_vars): Do not update __tzname_cur_max.
7638         (tzset_internal): Remove argument.
7639         (__tzset): Adjust call to tzset_internal.
7640         (__tz_convert): Likewise.
7642         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7643         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7644         * manual/conf.texi (Sysconf Definition): Update comment.
7646 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7648         [BZ #21209]
7649         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7650         AT_SECURE processes.
7651         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7652         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7653         (test_child): Likewise.
7654         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7656 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7658         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7660 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7662         * sysdeps/s390/atomic-machine.h
7663         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7664         (__arch_compare_and_exchange_val_8_acq,
7665         __arch_compare_and_exchange_val_16_acq,
7666         __arch_compare_and_exchange_val_32_acq,
7667         __arch_compare_and_exchange_val_64_acq):
7668         Delete macro.
7669         (atomic_compare_and_exchange_val_acq,
7670         atomic_compare_and_exchange_val_rel,
7671         atomic_compare_and_exchange_bool_acq,
7672         catomic_compare_and_exchange_bool_acq,
7673         atomic_exchange_acq, atomic_exchange_rel,
7674         atomic_exchange_and_add_acq,
7675         atomic_exchange_and_add_rel,
7676         catomic_exchange_and_add, atomic_or_val,
7677         atomic_or, catomic_or, atomic_bit_test_set,
7678         atomic_and_val, atomic_and, catomic_and):
7679         Define macros with help of C11 atomic builtins.
7681 2017-03-03  Justus Winter <justus@gnupg.org>
7683         * sysdeps/mach/hurd/ftruncate64.c: New file.
7684         * sysdeps/mach/hurd/truncate64.c: Likewise.
7686 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7688         * time/tzfile.c (NOID): Do not define.
7689         * time/tzset.c (NOID): Likewise.
7691 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7693         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7695 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7697         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7699 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7701         [BZ #21015]
7702         * manual/install.texi (Configuring and compiling): Document
7703         --enable-bind-now.
7704         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7705         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7706         (format.lds): Likewise.
7707         [bind-now] (LDFLAGS-c.so): Remove.
7708         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7709         be R_X86_64_GLOB_DAT.
7710         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7711         relocation can be R_386_GLOB_DAT.
7712         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7713         relocaiton can be R_ALPHA_GLOB_DAT.
7714         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7716 2017-03-01  Zack Weinberg  <zackw@panix.com>
7718         * include/libc-pointer-arith.h: New file.  Define
7719         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7720         PTR_ALIGN_DOWN here.
7721         * include/libc-internal.h: Definitions of above macros
7722         moved from here.  Don't include libc-diag.h anymore either.
7723         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7724         Don't include libc-internal.h.
7726         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7727         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7728         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7729         * string/strcoll_l.c, sysdeps/nacl/brk.c
7730         * sysdeps/unix/clock_settime.c
7731         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7732         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7735         Don't include libc-internal.h.
7737         * elf/get-dynamic-info.h, iconv/loop.c
7738         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7739         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7740         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7741         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7742         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7744         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7746         * sysdeps/ieee754/ldbl-128/k_tanl.c
7747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7748         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7749         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7750         Include libc-diag.h instead of libc-internal.h.
7752         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7753         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7754         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7755         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7756         * sysdeps/unix/sysv/linux/spawni.c
7757         * sysdeps/x86_64/nptl/tls.h:
7758         Include libc-pointer-arith.h instead of libc-internal.h.
7760         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7761         * sysdeps/x86_64/atomic-machine.h:
7762         Add multiple include guard.
7764         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7765         * string/strcasestr.c: No need to include config.h.
7766         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7767         sys/auxv.h. Don't include sysdep.h.
7768         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7770         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
7771         DL_LOOKUP_ADDRESS.
7772         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7773         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7774         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7775         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7776         of ARTIFICIAL_LIMIT.
7777         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7778         declaration of __clone2.
7780 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7782         * scripts/backport-support.sh (latest_commit): New file.
7784 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7786         [BZ #20257]
7787         * inet/Makefile (routines): Add deadline.
7788         (tests-static): Add tst-deadline.
7789         * inet/net-internal.h (struct deadline_current_time)
7790         (__deadline_current_time, struct deadline, __deadline_is_infinite)
7791         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7792         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7793         * inet/deadline.c: New file.
7794         * inet/tst-deadline.c: Likewise.
7795         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7796         tst-udp-timeout, tst-udp-garbage.
7797         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7798         explicitly.
7799         (tst-udp-garbage): Likewise.  Also link against thread library.
7800         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7801         struct layout is part of the ABI.
7802         (clntudp_call): Rework timeout handling.
7803         * sunrpc/tst-udp-garbage.c: New file.
7804         * sunrpc/tst-udp-nonblocking.c: Likewise.
7805         * sunrpc/tst-udp-timeout.c: Likewise.
7807 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7809         [BZ #5010]
7810         * sunrpc/svc.c (svc_is_mapped): Remove.
7811         (svc_unregister): Obtain mapped status while the service is still
7812         registered.
7813         * sunrpc/Makefile [have-thread-library] (tests): Add
7814         tst-svc_register.
7815         (tst-svc_register): Link against libc.so explicitly and the thread
7816         library.
7817         * sunrpc/tst-svc_register.c: New file.
7819 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7821         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7822         * sysdeps/pthread/bits/sigthread.h: Likewise.
7824 2017-02-27  Florian Weimer  <fweimer@redhat.com>
7826         [BZ #21115]
7827         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7828         * sunrpc/Makefile (tests): Add tst-udp-error.
7829         (tst-udp-error): Link against libc.so explicitly.
7830         * sunrpc/tst-udp-error: New file.
7832 2017-02-25  Zack Weinberg  <zackw@panix.com>
7834         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7835         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7837         * sysdeps/generic/math_ldbl.h
7838         * sysdeps/ia64/fpu/math_ldbl.h
7839         * sysdeps/ieee754/ldbl-128/math_ldbl.h
7840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7841         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7842         * sysdeps/powerpc/fpu/math_ldbl.h
7843         * sysdeps/x86_64/fpu/math_ldbl.h:
7844         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
7845         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7846         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
7847         Add copyright notices.
7849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7850         Don't use EXTRACT_WORDS64.
7852         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7853         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7854         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7855         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7856         Include math_ldbl.h, not math_private.h.
7858 2017-02-25  Zack Weinberg  <zackw@panix.com>
7860         * include/libc-diag.h: New file.  Define ignore_value,
7861         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7862         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7864         * include/libc-internal.h: Definitions of above macros moved from
7865         here.  Include libc-diag.h.  Add copyright notice.
7867         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7868         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7869         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7870         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7871         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7872         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7873         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7874         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7875         Include libc-diag.h instead of libc-internal.h.
7877         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
7878         call to unsetenv (NULL).
7879         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
7880         call to pthread_mutexattr_destroy (NULL).
7882 2017-02-25  Zack Weinberg  <zackw@panix.com>
7884         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7885         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7886         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
7887         gets was removed from C++ in C++14.
7888         * include/stdio.h: Remove redundant declaration of gets.
7889         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7890         be declared, since we are testing it.
7891         * stdio-common/Makefile (tst-gets.c): Compile with
7892         -Wno-deprecated-declarations.
7893         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7894         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7895         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7896         Compile with -Wno-deprecated-declarations.
7898 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7900         * math/libm-test-support.c (check_ulp): Use LIT() around literal
7901         numbers.
7903 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7905         * resolv/tst-resolv-qtypes.c (domain):
7906         Change type to const pointer to const char.
7908 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
7910         * math/Makefile (libm-tests-generated): Remove variable.
7911         (libm-tests-base-normal): New variable.
7912         (libm-tests-base-finite): Likewise.
7913         (libm-tests-base-inline): Likewise.
7914         (libm-tests-base): Likewise.
7915         (libm-tests-normal): Likewise.
7916         (libm-tests-finite): Likewise.
7917         (libm-tests-inline): Likewise.
7918         (libm-tests-vector): Likewise.
7919         (libm-tests): Define in terms of these new variables.
7920         (libm-tests-for-type): New variable.
7921         (libm-tests.o): Move definition.
7922         (tests): Move addition of $(libm-tests).
7923         (generated): Update for new and removed libm test files.
7924         ($(objpfx)libm-test.c): Remove target.
7925         ($(objpfx)libm-have-vector-test.h): Likewise.
7926         (CFLAGS-test-double-vlen2.c): Remove variable.
7927         (CFLAGS-test-double-vlen4.c): Likewise.
7928         (CFLAGS-test-double-vlen8.c): Likewise.
7929         (CFLAGS-test-float-vlen4.c): Likewise.
7930         (CFLAGS-test-float-vlen8.c): Likewise.
7931         (CFLAGS-test-float-vlen16.c): Likewise.
7932         (CFLAGS-test-float.c): Likewise.
7933         (CFLAGS-test-float-finite.c): Likewise.
7934         (CFLAGS-libm-test-support-float.c): Likewise.
7935         (CFLAGS-test-double.c): Likewise.
7936         (CFLAGS-test-double-finite.c): Likewise.
7937         (CFLAGS-libm-test-support-double.c): Likewise.
7938         (CFLAGS-test-ldouble.c): Likewise.
7939         (CFLAGS-test-ldouble-finite.c): Likewise.
7940         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7941         (libm-test-inline-cflags): New variable.
7942         (CFLAGS-test-ifloat.c): Remove variable.
7943         (CFLAGS-test-idouble.c): Likewise.
7944         (CFLAGS-test-ildouble.c): Likewise.
7945         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7946         dependencies.
7947         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7948         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7949         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7950         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7951         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7952         Likewise.
7953         (dependencies on libm-test-support-*.o): Remove.
7954         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7955         rules using iterators.
7956         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7957         Likewise.
7958         ($(objpfx)libm-test-support-$(o).o): Likewise.
7959         ($(addprefix $(objpfx),$(filter-out $(tests-static)
7960         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7961         instead.
7962         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7963         define rule instead.
7964         * math/README.libm-test: Update.
7965         * math/libm-test-acos.inc: Include libm-test-driver.c.
7966         (do_test): New function.
7967         * math/libm-test-acosh.inc: Include libm-test-driver.c.
7968         (do_test): New function.
7969         * math/libm-test-asin.inc: Include libm-test-driver.c.
7970         (do_test): New function.
7971         * math/libm-test-asinh.inc: Include libm-test-driver.c.
7972         (do_test): New function.
7973         * math/libm-test-atan.inc: Include libm-test-driver.c.
7974         (do_test): New function.
7975         * math/libm-test-atan2.inc: Include libm-test-driver.c.
7976         (do_test): New function.
7977         * math/libm-test-atanh.inc: Include libm-test-driver.c.
7978         (do_test): New function.
7979         * math/libm-test-cabs.inc: Include libm-test-driver.c.
7980         (do_test): New function.
7981         * math/libm-test-cacos.inc: Include libm-test-driver.c.
7982         (do_test): New function.
7983         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7984         (do_test): New function.
7985         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7986         (do_test): New function.
7987         * math/libm-test-carg.inc: Include libm-test-driver.c.
7988         (do_test): New function.
7989         * math/libm-test-casin.inc: Include libm-test-driver.c.
7990         (do_test): New function.
7991         * math/libm-test-casinh.inc: Include libm-test-driver.c.
7992         (do_test): New function.
7993         * math/libm-test-catan.inc: Include libm-test-driver.c.
7994         (do_test): New function.
7995         * math/libm-test-catanh.inc: Include libm-test-driver.c.
7996         (do_test): New function.
7997         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7998         (do_test): New function.
7999         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8000         (do_test): New function.
8001         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8002         (do_test): New function.
8003         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8004         (do_test): New function.
8005         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8006         (do_test): New function.
8007         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8008         (do_test): New function.
8009         * math/libm-test-clog.inc: Include libm-test-driver.c.
8010         (do_test): New function.
8011         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8012         (do_test): New function.
8013         * math/libm-test-conj.inc: Include libm-test-driver.c.
8014         (do_test): New function.
8015         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8016         (do_test): New function.
8017         * math/libm-test-cos.inc: Include libm-test-driver.c.
8018         (do_test): New function.
8019         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8020         (do_test): New function.
8021         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8022         (do_test): New function.
8023         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8024         (do_test): New function.
8025         * math/libm-test-creal.inc: Include libm-test-driver.c.
8026         (do_test): New function.
8027         * math/libm-test-csin.inc: Include libm-test-driver.c.
8028         (do_test): New function.
8029         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8030         (do_test): New function.
8031         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8032         (do_test): New function.
8033         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8034         (do_test): New function.
8035         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8036         (do_test): New function.
8037         * math/libm-test-erf.inc: Include libm-test-driver.c.
8038         (do_test): New function.
8039         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8040         (do_test): New function.
8041         * math/libm-test-exp.inc: Include libm-test-driver.c.
8042         (do_test): New function.
8043         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8044         (do_test): New function.
8045         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8046         (do_test): New function.
8047         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8048         (do_test): New function.
8049         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8050         (do_test): New function.
8051         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8052         (do_test): New function.
8053         * math/libm-test-floor.inc: Include libm-test-driver.c.
8054         (do_test): New function.
8055         * math/libm-test-fma.inc: Include libm-test-driver.c.
8056         (do_test): New function.
8057         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8058         (do_test): New function.
8059         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8060         (do_test): New function.
8061         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8062         (do_test): New function.
8063         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8064         (do_test): New function.
8065         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8066         (do_test): New function.
8067         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8068         (do_test): New function.
8069         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8070         (do_test): New function.
8071         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8072         (do_test): New function.
8073         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8074         (do_test): New function.
8075         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8076         (do_test): New function.
8077         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8078         (do_test): New function.
8079         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8080         (do_test): New function.
8081         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8082         (do_test): New function.
8083         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8084         (do_test): New function.
8085         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8086         (do_test): New function.
8087         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8088         (do_test): New function.
8089         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8090         (do_test): New function.
8091         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8092         (do_test): New function.
8093         * math/libm-test-isless.inc: Include libm-test-driver.c.
8094         (do_test): New function.
8095         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8096         (do_test): New function.
8097         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8098         (do_test): New function.
8099         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8100         (do_test): New function.
8101         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8102         (do_test): New function.
8103         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8104         (do_test): New function.
8105         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8106         (do_test): New function.
8107         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8108         (do_test): New function.
8109         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8110         (do_test): New function.
8111         * math/libm-test-j0.inc: Include libm-test-driver.c.
8112         (do_test): New function.
8113         * math/libm-test-j1.inc: Include libm-test-driver.c.
8114         (do_test): New function.
8115         * math/libm-test-jn.inc: Include libm-test-driver.c.
8116         (do_test): New function.
8117         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8118         (do_test): New function.
8119         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8120         (do_test): New function.
8121         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8122         (do_test): New function.
8123         * math/libm-test-llround.inc: Include libm-test-driver.c.
8124         (do_test): New function.
8125         * math/libm-test-log.inc: Include libm-test-driver.c.
8126         (do_test): New function.
8127         * math/libm-test-log10.inc: Include libm-test-driver.c.
8128         (do_test): New function.
8129         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8130         (do_test): New function.
8131         * math/libm-test-log2.inc: Include libm-test-driver.c.
8132         (do_test): New function.
8133         * math/libm-test-logb.inc: Include libm-test-driver.c.
8134         (do_test): New function.
8135         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8136         (do_test): New function.
8137         * math/libm-test-lround.inc: Include libm-test-driver.c.
8138         (do_test): New function.
8139         * math/libm-test-modf.inc: Include libm-test-driver.c.
8140         (do_test): New function.
8141         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8142         (do_test): New function.
8143         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8144         (do_test): New function.
8145         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8146         (do_test): New function.
8147         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8148         (do_test): New function.
8149         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8150         (do_test): New function.
8151         * math/libm-test-pow.inc: Include libm-test-driver.c.
8152         (do_test): New function.
8153         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8154         (do_test): New function.
8155         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8156         (do_test): New function.
8157         * math/libm-test-rint.inc: Include libm-test-driver.c.
8158         (do_test): New function.
8159         * math/libm-test-round.inc: Include libm-test-driver.c.
8160         (do_test): New function.
8161         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8162         (do_test): New function.
8163         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8164         (do_test): New function.
8165         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8166         (do_test): New function.
8167         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8168         (do_test): New function.
8169         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8170         (do_test): New function.
8171         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8172         (do_test): New function.
8173         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8174         (do_test): New function.
8175         * math/libm-test-significand.inc: Include libm-test-driver.c.
8176         (do_test): New function.
8177         * math/libm-test-sin.inc: Include libm-test-driver.c.
8178         (do_test): New function.
8179         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8180         (do_test): New function.
8181         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8182         (do_test): New function.
8183         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8184         (do_test): New function.
8185         * math/libm-test-tan.inc: Include libm-test-driver.c.
8186         (do_test): New function.
8187         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8188         (do_test): New function.
8189         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8190         (do_test): New function.
8191         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8192         (do_test): New function.
8193         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8194         (do_test): New function.
8195         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8196         (do_test): New function.
8197         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8198         (do_test): New function.
8199         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8200         (do_test): New function.
8201         * math/libm-test-y0.inc: Include libm-test-driver.c.
8202         (do_test): New function.
8203         * math/libm-test-y1.inc: Include libm-test-driver.c.
8204         (do_test): New function.
8205         * math/libm-test-yn.inc: Include libm-test-driver.c.
8206         (do_test): New function.
8207         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8208         (HAVE_VECTOR): Remove macro.
8209         (START): Do not call HAVE_VECTOR.
8210         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8211         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8212         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8213         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8214         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8215         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8216         * math/test-math-vector.h (FUNC_TEST): New macro.
8217         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8218         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8219         (double-vlen4-funcs): Likewise.
8220         (double-vlen4-avx2-funcs): Likewise.
8221         (double-vlen8-funcs): Likewise.
8222         (float-vlen4-funcs): Likewise.
8223         (float-vlen8-funcs): Likewise.
8224         (float-vlen8-avx2-funcs): Likewise.
8225         (float-vlen16-funcs): Likewise.
8226         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8227         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8228         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8229         macro.
8230         (TEST_VECTOR_sin): Likewise.
8231         (TEST_VECTOR_sincos): Likewise.
8232         (TEST_VECTOR_log): Likewise.
8233         (TEST_VECTOR_exp): Likewise.
8234         (TEST_VECTOR_pow): Likewise.
8235         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8236         Likewise.
8237         (TEST_VECTOR_sin): Likewise.
8238         (TEST_VECTOR_sincos): Likewise.
8239         (TEST_VECTOR_log): Likewise.
8240         (TEST_VECTOR_exp): Likewise.
8241         (TEST_VECTOR_pow): Likewise.
8242         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8243         Likewise.
8244         (TEST_VECTOR_sinf): Likewise.
8245         (TEST_VECTOR_sincosf): Likewise.
8246         (TEST_VECTOR_logf): Likewise.
8247         (TEST_VECTOR_expf): Likewise.
8248         (TEST_VECTOR_powf): Likewise.
8249         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8250         Likewise.
8251         (TEST_VECTOR_sinf): Likewise.
8252         (TEST_VECTOR_sincosf): Likewise.
8253         (TEST_VECTOR_logf): Likewise.
8254         (TEST_VECTOR_expf): Likewise.
8255         (TEST_VECTOR_powf): Likewise.
8256         * math/gen-libm-have-vector-test.sh: Remove file.
8257         * math/libm-test.inc: Likewise.
8258         * math/libm-test-support-double.c: Likewise.
8259         * math/libm-test-support-float.c: Likewise.
8260         * math/libm-test-support-ldouble.c: Likewise.
8261         * math/test-double-finite.c: Likewise.: Likewise.
8262         * math/test-double.c: Likewise.
8263         * math/test-float-finite.c: Likewise.
8264         * math/test-float.c: Likewise.
8265         * math/test-idouble.c: Likewise.
8266         * math/test-ifloat.c: Likewise.
8267         * math/test-ildouble.c: Likewise.
8268         * math/test-ldouble-finite.c: Likewise.
8269         * math/test-ldouble.c: Likewise.
8270         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8271         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8272         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8274         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8275         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8276         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8277         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8279         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8281 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8282            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8284         * math/Makefile: Add wrappers to gen-libm-calls.
8285         * math/w_acos_template.c: New file.
8286         * math/w_acosh_template.c: Likewise.
8287         * math/w_asin_template.c: Likewise.
8288         * math/w_atan2_template.c: Likewise.
8289         * math/w_atanh_template.c: Likewise.
8290         * math/w_cosh_template.c: Likewise.
8291         * math/w_exp10_template.c: Likewise.
8292         * math/w_exp2_template.c: Likewise.
8293         * math/w_exp_template.c: Likewise.
8294         * math/w_fmod_template.c: Likewise.
8295         * math/w_hypot_template.c: Likewise.
8296         * math/w_j0_template.c: Likewise.
8297         * math/w_j1_template.c: Likewise.
8298         * math/w_jn_template.c: Likewise.
8299         * math/w_lgamma_r_template.c: Likewise.
8300         * math/w_lgamma_template.c: Likewise.
8301         * math/w_log10_template.c: Likewise.
8302         * math/w_log2_template.c: Likewise.
8303         * math/w_log_template.c: Likewise.
8304         * math/w_pow_template.c: Likewise.
8305         * math/w_remainder_template.c: Likewise.
8306         * math/w_sinh_template.c: Likewise.
8307         * math/w_sqrt_template.c: Likewise.
8308         * math/w_tgamma_template.c: Likewise.: Likewise.
8309         * sysdeps/generic/math-type-macros-double.h
8310         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8311         the new wrappers.
8312         * sysdeps/generic/math-type-macros-float.h: Likewise.
8313         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8315 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8317         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8318         New enum constant and macro.
8320         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8321         kernel version to 4.10.
8323 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8325         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8327 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8331 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8333         * sysdeps/powerpc/tst-set_ppr.c: New file.
8334         Implement test cases for __ppc_set_ppr_* functions.
8335         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8336         in the list of tests.
8338 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8340         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8341         instead of test-skeleton.c.
8342         (do_test): Replaced pthread_create and pthread_join with
8343         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8344         Removed unneeded status variable.
8345         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8346         instead of test-skeleton.c.
8347         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8349 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8351         [BZ #20313]
8352         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8353         201605L, for Unicode 9.
8355 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8357         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8358         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8359         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8360         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8361         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8362         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8364 2017-02-19  Zack Weinberg  <zackw@panix.com>
8366         * rt/tst-mqueue4.c: Include stdint.h.
8368 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8370         * sysdeps/arm/libm-test-ulps: Update.
8371         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8372         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8373         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8375 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8377         [BZ #21029]
8378         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8379         * sysdeps/unix/sysv/linux/i386/Makefile
8380         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8381         (uses-6-syscall-arguments): Remove.
8382         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8383         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8384         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8385         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8386         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8387         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8388         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8389         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8390         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8391         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8392         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8393         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8394         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8395         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8396         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8397         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8398         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8399         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8400         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8401         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8402         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8403         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8404         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8405         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8406         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8407         Likewise.
8408         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8409         Likewise.
8410         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8411         Likewise.
8412         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8413         Likewise.
8414         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8415         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8416         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8417         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8418         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8419         ebp on inline assembly.
8420         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8421         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8422         Set if CAN_USE_REGISTER_ASM_EBP is set.
8424 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8426         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8427         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8429 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8431         * math/auto-libm-test-in: Add tests of catan and catanh.
8432         * math/auto-libm-test-out-catan: New generated file.
8433         * math/auto-libm-test-out-catanh: Likewise.
8434         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8435         Move tests with finite inputs, except divide-by-zero cases, to
8436         auto-libm-test-in.
8437         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8438         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8439         (libm-test-funcs-noauto): Remove catan and catanh.
8440         * sysdeps/i386/fpu/libm-test-ulps: Update.
8441         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8444         * math/auto-libm-test-in: Add tests of casin and casinh.
8445         * math/auto-libm-test-out-casin: New generated file.
8446         * math/auto-libm-test-out-casinh: Likewise.
8447         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8448         Move tests with finite inputs to auto-libm-test-in.
8449         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8450         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8451         (libm-test-funcs-noauto): Remove casin and casinh.
8452         * sysdeps/i386/fpu/libm-test-ulps: Update.
8453         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8456         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8457         * math/auto-libm-test-out-cacos: New generated file.
8458         * math/auto-libm-test-out-cacosh: Likewise.
8459         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8460         Move tests with finite inputs to auto-libm-test-in.
8461         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8462         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8463         (libm-test-funcs-noauto): Remove cacos and cacosh.
8464         * sysdeps/i386/fpu/libm-test-ulps: Update.
8465         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8468         Revert:
8469         2017-02-16  Zack Weinberg  <zackw@panix.com>
8471         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8472         Don't include init-arch.h.
8473         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8474         Don't include init-arch.h.
8476 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8478         [BZ #21171]
8479         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8480         +Inf and raise divide-by-zero when x is negative.
8481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8483         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8484         -Inf and raise divide-by-zero when x = +-0.
8485         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8486         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8487         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8488         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8489         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8490         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8493 2017-02-16  Zack Weinberg  <zackw@panix.com>
8495         * scripts/build-many-glibcs.py (bot_build_mail): If the
8496         bot_config does not contain all of the necessary email-
8497         related settings, just print a warning and continue.
8499 2017-02-16  Zack Weinberg  <zackw@panix.com>
8501         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8502         * dirent/opendir-tst1.c: Include sys/stat.h.
8503         * dirent/tst-fdopendir.c: Include sys/stat.h.
8504         * dirent/tst-fdopendir2.c: Include stdlib.h.
8505         * dirent/tst-scandir.c: Include stdbool.h.
8506         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8507         * elf/tst-tls15.c: Include stdlib.h.
8508         * elf/tst-tls16.c: Include stdlib.h.
8509         * elf/tst-tls17.c: Include stdlib.h.
8510         * elf/tst-tls18.c: Include stdlib.h.
8511         * iconv/tst-iconv6.c: Include endian.h.
8512         * iconvdata/bug-iconv11.c: Include limits.h.
8513         * io/test-utime.c: Include stdint.h.
8514         * io/tst-faccessat.c: Include sys/stat.h.
8515         * io/tst-fchmodat.c: Include sys/stat.h.
8516         * io/tst-fchownat.c: Include sys/stat.h.
8517         * io/tst-fstatat.c: Include sys/stat.h.
8518         * io/tst-futimesat.c: Include sys/stat.h.
8519         * io/tst-linkat.c: Include sys/stat.h.
8520         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8521         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8522         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8523         * io/tst-openat.c: Include stdbool.h.
8524         * io/tst-readlinkat.c: Include sys/stat.h.
8525         * io/tst-renameat.c: Include sys/stat.h.
8526         * io/tst-symlinkat.c: Include sys/stat.h.
8527         * io/tst-unlinkat.c: Include stdbool.h.
8528         * libio/bug-memstream1.c: Include stdlib.h.
8529         * libio/bug-wmemstream1.c: Include stdlib.h.
8530         * libio/tst-fwrite-error.c: Include stdlib.h.
8531         * libio/tst-memstream1.c: Include stdlib.h.
8532         * libio/tst-memstream2.c: Include stdlib.h.
8533         * libio/tst-memstream3.c: Include stdlib.h.
8534         * malloc/tst-interpose-aux.c: Include stdint.h.
8535         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8536         * nptl/tst-basic7.c: Include limits.h.
8537         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8538         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8539         * nptl/tst-cancel4_1.c: Include stddef.h.
8540         * nptl/tst-cancel4_2.c: Include stddef.h.
8541         * nptl/tst-cond16.c: Include limits.h.
8542         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8543         * nptl/tst-cond18.c: Include limits.h.
8544         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8545         * nptl/tst-cond4.c: Include stdint.h.
8546         * nptl/tst-cond6.c: Include stdint.h.
8547         * nptl/tst-stack2.c: Include limits.h.
8548         * nptl/tst-stackguard1.c: Include stddef.h.
8549         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8550         * nptl/tst-tls4moda.c: Include stddef.h.
8551         Don't include stdio.h, unistd.h, or tls.h.
8552         * nptl/tst-tls4modb.c: Include stddef.h.
8553         Don't include stdio.h, unistd.h, or tls.h.
8554         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8555         * posix/tst-getaddrinfo2.c: Include stdio.h.
8556         * posix/tst-getaddrinfo5.c: Include stdio.h.
8557         * posix/tst-pathconf.c: Include sys/stat.h.
8558         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8559         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8560         * posix/tst-regex.c: Include stdint.h.
8561         Don't include spawn.h or spawn_int.h.
8562         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8563         * posix/tst-vfork3.c: Include sys/stat.h.
8564         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8565         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8566         * resolv/tst-resolv-search.c: Include stdlib.h.
8567         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8568         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8569         * stdlib/test-canon.c: Include sys/stat.h.
8570         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8571         * string/test-memchr.c: Include stdint.h.
8572         * string/tst-cmp.c: Include stdint.h.
8573         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8574         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8575         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8576         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8577         Don't include init-arch.h.
8578         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8579         Don't include init-arch.h.
8580         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8581         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8582         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8583         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8584         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8585         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8586         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8587         * time/clocktest.c: Include stdint.h.
8588         * time/tst-posixtz.c: Include stdint.h.
8589         * timezone/tst-timezone.c: Include stdint.h.
8591 2017-02-16  Zack Weinberg  <zackw@panix.com>
8593         * string/string.h [__USE_MISC]: Include strings.h.
8594         (__bzero, bcmp, bcopy, bzero, index, rindex)
8595         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8596         (ffs, ffsl, ffsll): Don't declare.
8597         * string/strings.h: Do not suppress the file if string.h has
8598         already been included.
8599         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8600         annotations.
8601         (index, rindex): Define inline forwarders even if
8602         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8603         (ffs): Use __attribute_const__.
8604         (ffsl, ffsll): Declare here.
8605         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8606         have now been standardized.
8607         * include/string.h (__bzero): Declare here.
8609         * bits/types.h: Move to posix/bits.
8610         * include/bits/types.h: New wrapper.
8612 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8614         * string/bits/string2.h (strcmp): Remove define.
8615         (__strcmp_cg): Likewise.
8616         (strncmp): Likewise.
8618 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8620         * include/string.h: Add __cplusplus check.
8622 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8624         [BZ #21134]
8625         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8626         "divide by zero" exception when the input is zero.
8627         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8628         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8629         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8630         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8633 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8635         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8636         and include ...
8637         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8639         to, and include ...
8640         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8641         file.
8642         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8643         and include ...
8644         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8645         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8646         and include ...
8647         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8648         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8649         and include ...
8650         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8651         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8652         and include ...
8653         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8654         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8655         to, and include ...
8656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8657         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8658         and include ...
8659         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8661 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8663         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8664         here.
8665         * math/libm-test-support.c (libm_test_init): Do not call
8666         INIT_ARCH_EXT here.
8667         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8668         (main): Call INIT_ARCH_EXT.
8670 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8672         [BZ #21130]
8673         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8674         with the "invalid" exception raised when x is -Inf.
8675         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8677 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8679         * string/bits/string2.h (strchr): Remove define.
8681 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8683         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8684         tst-avx512.
8685         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8686         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8687         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8688         ($(objpfx)tst-sse): New rule.
8689         ($(objpfx)tst-avx): Likewise.
8690         ($(objpfx)tst-avx512): Likewise.
8691         (CFLAGS-tst-avx-aux.c): New.
8692         (CFLAGS-tst-avxmod.c): Likewise.
8693         (CFLAGS-tst-avx512-aux.c): Likewise.
8694         (CFLAGS-tst-avx512mod.c): Likewise.
8695         * sysdeps/x86_64/tst-avx-aux.c: New file.
8696         * sysdeps/x86_64/tst-avx.c: Likewise.
8697         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8698         * sysdeps/x86_64/tst-avx512.c: Likewise.
8699         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8700         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8701         * sysdeps/x86_64/tst-sse.c: Likewise.
8702         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8704 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8706         * math/auto-libm-test-in: Add more tests of csin and csinh.
8707         * math/auto-libm-test-out-csin: Regenerated.
8708         * math/auto-libm-test-out-csinh: Likewise.
8709         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8710         auto-libm-test-in.
8711         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8713 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8715         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8716         libm-compat-calls-auto.
8717         (libm-compat-calls): Likewise.
8718         (libm-compat-calls-auto): Rename to libm-compat-calls and add
8719         w_lgamma_compatF and k_standardF (merged from the items above).
8720         (libm-routines): Use libm-compat-calls, instead of
8721         libm-compat-calls-auto, with type-foreach.
8723 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8725         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8726         macro.
8727         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8728         (CFLAGS-test-ifloat.c): ... this.  Remove
8729         -U__LIBC_INTERNAL_MATH_INLINES.
8730         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8731         (CFLAGS-test-idouble.c): ... this.  Remove
8732         -U__LIBC_INTERNAL_MATH_INLINES.
8733         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8734         (CFLAGS-test-ildouble.c): ... this.  Remove
8735         -U__LIBC_INTERNAL_MATH_INLINES.
8737 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
8739         * math/libm-test-support.c: New file.  Content from
8740         math/libm-test-driver.c.
8741         * math/libm-test-support.h: Likewise.
8742         * math/libm-test-support-double.c: New file.
8743         * math/libm-test-support-float.c: Likewise.
8744         * math/libm-test-support-ldouble.c: Likewise.
8745         * math/libm-test-driver.c: Remove main comment and header
8746         includes.  Include libm-test-support.h.
8747         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8748         (flag_test_errno): Remove static.
8749         (flag_test_exceptions): Likewise.
8750         (flag_test_finite): Likewise.
8751         (flag_test_inline): Likewise.
8752         (flag_test_mathvec): Likewise.
8753         (test_msg): Likewise.
8754         (NO_EXCEPTION): Remove.
8755         (INVALID_EXCEPTION): Likewise.
8756         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8757         (OVERFLOW_EXCEPTION): Likewise.
8758         (UNDERFLOW_EXCEPTION): Likewise.
8759         (INEXACT_EXCEPTION): Likewise.
8760         (INVALID_EXCEPTION_OK): Likewise.
8761         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8762         (OVERFLOW_EXCEPTION_OK): Likewise.
8763         (UNDERFLOW_EXCEPTION_OK): Likewise.
8764         (NO_INEXACT_EXCEPTION): Likewise.
8765         (EXCEPTIONS_OK): Likewise.
8766         (IGNORE_ZERO_INF_SIGN): Likewise.
8767         (TEST_NAN_SIGN): Likewise.
8768         (TEST_NAN_PAYLOAD): Likewise.
8769         (NO_TEST_INLINE): Likewise.
8770         (XFAIL_TEST): Likewise.
8771         (ERRNO_UNCHANGED): Likewise.
8772         (ERRNO_EDOM): Likewise.
8773         (ERRNO_ERANGE): Likewise.
8774         (IGNORE_RESULT): Likewise.
8775         (NON_FINITE): Likewise.
8776         (TEST_SNAN): Likewise.
8777         (NO_TEST_MATHVEC): Likewise.
8778         (__CONCATX): Likewise.
8779         (TYPE_MIN): Likewise.
8780         (TYPE_TRUE_MIN): Likewise.
8781         (TYPE_MAX): Likewise.
8782         (MIN_EXP): Likewise.
8783         (MAX_EXP): Likewise.
8784         (MANT_DIG): Likewise.
8785         (FSTR_MAX): Likewise.
8786         (ulp_idx): Likewise.
8787         (qtype_str): Remove static.
8788         (TEST_COND_binary32): Remove.
8789         (TEST_COND_binary64): Likewise.
8790         (TEST_COND_binary128): Likewise.
8791         (TEST_COND_ibm128): Likewise.
8792         (TEST_COND_intel96): Likewise.
8793         (TEST_COND_m68k96): Likewise.
8794         (TEST_COND_ibm128_libgcc): Likewise.
8795         (XFAIL_IBM128_LIBGCC): Likewise.
8796         (PAYLOAD_DIG): Likewise.
8797         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8798         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8799         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8800         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8801         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8802         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8803         (TEST_COND_long32): Likewise.
8804         (TEST_COND_long64): Likewise.
8805         (TEST_COND_before_rounding): Likewise.
8806         (TEST_COND_after_rounding): Likewise.
8807         (ulps_file_name): Likewise.
8808         (ulps_file): Likewise.
8809         (output_ulps): Likewise.
8810         (output_dir): Likewise.
8811         (noErrors): Likewise.
8812         (noTests): Likewise.
8813         (noExcTests): Likewise.
8814         (noErrnoTests): Likewise.
8815         (verbose): Likewise.
8816         (output_max_error): Likewise.
8817         (output_points): Likewise.
8818         (ignore_max_ulp): Likewise.
8819         (max_error): Likewise.
8820         (real_max_error): Likewise.
8821         (imag_max_error): Likewise.
8822         (prev_max_error): Likewise.
8823         (prev_real_max_error): Likewise.
8824         (prev_imag_max_error): Likewise.
8825         (max_valid_error): Likewise.
8826         (TYPE_DECIMAL_DIG): Likewise.
8827         (TYPE_HEX_DIG): Likewise.
8828         (fmt_ftostr): Likewise.
8829         (compare_ulp_data): Likewise.
8830         (find_ulps): Likewise.
8831         (init_max_error): Likewise.
8832         (set_max_error): Likewise.
8833         (print_float): Likewise.
8834         (print_screen): Likewise.
8835         (print_screen_max_error): Likewise.
8836         (update_stats): Likewise.
8837         (print_function_ulps): Likewise.
8838         (print_complex_function_ulps): Likewise.
8839         (fpstack_test): Likewise.
8840         (print_max_error): Likewise.
8841         (print_complex_max_error): Likewise.
8842         (test_single_exception): Likewise.
8843         (test_exceptions): Likewise.
8844         (test_single_errno): Likewise.
8845         (test_errno): Likewise.
8846         (ULPDIFF): Likewise.
8847         (ulp): Likewise.
8848         (check_float_internal): Likewise.
8849         (check_float): Likewise.
8850         (check_complex): Likewise.
8851         (check_int): Likewise.
8852         (check_long): Likewise.
8853         (check_bool): Likewise.
8854         (check_longlong): Likewise.
8855         (check_intmax_t): Likewise.
8856         (check_uintmax_t): Likewise.
8857         (enable_test): Likewise.
8858         (matherr): Likewise.
8859         (initialize): Likewise.
8860         (options): Likewise.
8861         (doc): Remove static.
8862         (argp): Likewise.
8863         (parse_opt): Remove.
8864         (check_ulp): Likewise.
8865         (libm_test_init): Likewise.
8866         (libm_test_finish): Likewise.
8867         * math/Makefile (libm-test-support): New variable.
8868         (test-extras): Add libm-test-support files.
8869         (extra-test-objs): Likewise.
8870         (CFLAGS-libm-test-support-float.c): New variable.
8871         (CFLAGS-libm-test-support-double.c): Likewise.
8872         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8873         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8874         libm-test-support objects.
8876 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8878         * math/Makefile (libm-calls): Move w_exp...
8879         (libm-compat-calls-auto): Here.
8881         * math/w_expl.c: Add suffix "_compat" to filename.
8882         * sysdeps/ia64/fpu/w_expl.c: Likewise.
8883         * sysdeps/ia64/fpu/w_expf.c: Likewise.
8884         * sysdeps/ia64/fpu/w_exp.c: Likewise.
8885         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8886         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8887         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8888         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8889         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8891         * math/w_expl_compat.c: New file, copied from above.
8892         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8893         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8894         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8895         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8896         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8897         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8898         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8899         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8901         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8902         to filename.
8903         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8905         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8906         copied from above and adjusted for the new filenames.
8907         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8909 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8911         * math/Makefile (libm-calls): Move w_lgammaF...
8912         (libm-compat-calls-auto): Here.
8914         * math/w_lgamma.c: Add suffix "_compat2" to filename.
8915         * math/w_lgammaf.c: Likewise.
8916         * math/w_lgammal.c: Likewise.
8918         * math/w_lgamma_compat2.c: New file, copied from above.
8919         * math/w_lgammaf_compat2.c: Likewise.
8920         * math/w_lgammal_compat2.c: Likewise.
8922 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8924         * math/Makefile (libm-calls): Move w_lgammaF_r...
8925         (libm-compat-calls-auto): Here.
8927         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8928         * math/w_lgammaf_r.c: Likewise.
8929         * math/w_lgammal_r.c: Likewise.
8930         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8931         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8932         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8934         * math/w_lgamma_r_compat.c: New file, copied from above.
8935         * math/w_lgammaf_r_compat.c: Likewise.
8936         * math/w_lgammal_r_compat.c: Likewise.
8937         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8938         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8939         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8941         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8942         to filename.
8943         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8945         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8946         copied from above and adjusted for the new filenames.
8947         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8949 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
8951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8952         calculation in SYSCALL_ERROR_HANDLER().
8954 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
8956         * manual/contrib.texi: Fix typo.
8958 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8960         [BZ #21109]
8961         * elf/dl-tunable-types.h (tunable_callback_t): Accept
8962         tunable_val_t as argument.
8963         * elf/dl-tunables.c (__tunable_set_val): Add comment.
8964         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8965         argument.
8966         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8968 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
8970         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8971         Add PTRACE_EVENT_STOP.
8972         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8973         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8975         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8976         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8977         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8979 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
8981         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8982         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8983         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8984         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8985         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8986         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8987         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8988         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8989         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8990         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8992         [BZ #21112]
8993         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8994         12 bits zero.
8995         (cp_l): Update for new value of cp_h.
8996         * math/auto-libm-test-in: Add another test of pow.
8997         * math/auto-libm-test-out-pow: Regenerated.
8999 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9001         * manual/contrib.texi: Fix typo.
9003 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9005         [BZ #15998]
9006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9007         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9010 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9012         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9013         STRCHR as __strchr_power8.
9014         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9015         strlen as __strlen_power8.
9017 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9019         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9020         unaligned load for shorter strings.
9021         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9023 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9025         * math/libm-test-driver.c (flag_test_errno): New variable.
9026         (flag_test_exceptions): Likewise.
9027         (flag_test_finite): Likewise.
9028         (flag_test_inline): Likewise.
9029         (flag_test_mathvec): Likewise.
9030         (test_msg): Likewise.
9031         (ulp_idx): Likewise.
9032         (qtype_str): Likewise.
9033         (ULP_IDX): Remove macro.
9034         (QTYPE_STR): Likewise.
9035         (find_ulps): Use ulp_idx not ULP_IDX.
9036         (print_function_ulps): Use qtype_str, printed with %s, not
9037         QTYPE_STR, printed with concatentation to format string.
9038         (print_complex_function_ulps): Likewise.
9039         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9040         (test_errno): Use flag_test_errno not TEST_ERRNO.
9041         (enable_test): Use flag_test_inline, flag_test_finite and
9042         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9043         TEST_MATHVEC.
9044         (libm_test_init): New function.  Factored out of main.
9045         (libm_test_finish): Likewise.
9046         (main): Call libm_test_init and libm_test_finish and move most
9047         code to those functions.
9049         * math/libm-test-driver.c (STRX): New macro.
9050         (STR): Likewise.
9051         (STR_FLOAT): Likewise.
9052         (STR_VEC_LEN): Likewise.
9053         (TEST_MSG): Likewise.  Define here instead of expecting to be
9054         defined by including file.
9055         * math/test-double-finite.c (TEST_MSG): Remove macro.
9056         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9057         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9058         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9059         * math/test-double.c (TEST_MSG): Likewise.
9060         * math/test-float-finite.c (TEST_MSG): Likewise.
9061         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9062         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9063         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9064         * math/test-float.c (TEST_MSG): Likewise.
9065         * math/test-idouble.c (TEST_MSG): Likewise.
9066         * math/test-ifloat.c (TEST_MSG): Likewise.
9067         * math/test-ildouble.c (TEST_MSG): Likewise.
9068         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9069         * math/test-ldouble.c (TEST_MSG): Likewise.
9071         * math/libm-test.inc: Move all tests of individual functions to
9072         libm-test-*.inc and #include libm-test-*.c files.
9073         (acos_test_data): Remove.
9074         (acos_test): Likewise.
9075         (acosh_test_data): Likewise.
9076         (acosh_test): Likewise.
9077         (asin_test_data): Likewise.
9078         (asin_test): Likewise.
9079         (asinh_test_data): Likewise.
9080         (asinh_test): Likewise.
9081         (atan_test_data): Likewise.
9082         (atan_test): Likewise.
9083         (atanh_test_data): Likewise.
9084         (atanh_test): Likewise.
9085         (atan2_test_data): Likewise.
9086         (atan2_test): Likewise.
9087         (cabs_test_data): Likewise.
9088         (cabs_test): Likewise.
9089         (cacos_test_data): Likewise.
9090         (cacos_test): Likewise.
9091         (cacosh_test_data): Likewise.
9092         (cacosh_test): Likewise.
9093         (canonicalize_test_data): Likewise.
9094         (canonicalize_test): Likewise.
9095         (carg_test_data): Likewise.
9096         (carg_test): Likewise.
9097         (casin_test_data): Likewise.
9098         (casin_test): Likewise.
9099         (casinh_test_data): Likewise.
9100         (casinh_test): Likewise.
9101         (catan_test_data): Likewise.
9102         (catan_test): Likewise.
9103         (catanh_test_data): Likewise.
9104         (catanh_test): Likewise.
9105         (cbrt_test_data): Likewise.
9106         (cbrt_test): Likewise.
9107         (ccos_test_data): Likewise.
9108         (ccos_test): Likewise.
9109         (ccosh_test_data): Likewise.
9110         (ccosh_test): Likewise.
9111         (ceil_test_data): Likewise.
9112         (ceil_test): Likewise.
9113         (cexp_test_data): Likewise.
9114         (cexp_test): Likewise.
9115         (cimag_test_data): Likewise.
9116         (cimag_test): Likewise.
9117         (clog_test_data): Likewise.
9118         (clog_test): Likewise.
9119         (clog10_test_data): Likewise.
9120         (clog10_test): Likewise.
9121         (conj_test_data): Likewise.
9122         (conj_test): Likewise.
9123         (copysign_test_data): Likewise.
9124         (copysign_test): Likewise.
9125         (cos_test_data): Likewise.
9126         (cos_test): Likewise.
9127         (cosh_test_data): Likewise.
9128         (cosh_test): Likewise.
9129         (cpow_test_data): Likewise.
9130         (cpow_test): Likewise.
9131         (cproj_test_data): Likewise.
9132         (cproj_test): Likewise.
9133         (creal_test_data): Likewise.
9134         (creal_test): Likewise.
9135         (csin_test_data): Likewise.
9136         (csin_test): Likewise.
9137         (csinh_test_data): Likewise.
9138         (csinh_test): Likewise.
9139         (csqrt_test_data): Likewise.
9140         (csqrt_test): Likewise.
9141         (ctan_test_data): Likewise.
9142         (ctan_test): Likewise.
9143         (ctanh_test_data): Likewise.
9144         (ctanh_test): Likewise.
9145         (erf_test_data): Likewise.
9146         (erf_test): Likewise.
9147         (erfc_test_data): Likewise.
9148         (erfc_test): Likewise.
9149         (exp_test_data): Likewise.
9150         (exp_test): Likewise.
9151         (exp10_test_data): Likewise.
9152         (exp10_test): Likewise.
9153         (pow10_test): Likewise.
9154         (exp2_test_data): Likewise.
9155         (exp2_test): Likewise.
9156         (expm1_test_data): Likewise.
9157         (expm1_test): Likewise.
9158         (fabs_test_data): Likewise.
9159         (fabs_test): Likewise.
9160         (fdim_test_data): Likewise.
9161         (fdim_test): Likewise.
9162         (floor_test_data): Likewise.
9163         (floor_test): Likewise.
9164         (fma_test_data): Likewise.
9165         (fma_test): Likewise.
9166         (fmax_test_data): Likewise.
9167         (fmax_test): Likewise.
9168         (fmaxmag_test_data): Likewise.
9169         (fmaxmag_test): Likewise.
9170         (fmin_test_data): Likewise.
9171         (fmin_test): Likewise.
9172         (fminmag_test_data): Likewise.
9173         (fminmag_test): Likewise.
9174         (fmod_test_data): Likewise.
9175         (fmod_test): Likewise.
9176         (fpclassify_test_data): Likewise.
9177         (fpclassify_test): Likewise.
9178         (frexp_test_data): Likewise.
9179         (frexp_test): Likewise.
9180         (fromfp_test_data): Likewise.
9181         (fromfp_test): Likewise.
9182         (fromfpx_test_data): Likewise.
9183         (fromfpx_test): Likewise.
9184         (getpayload_test_data): Likewise.
9185         (getpayload_test): Likewise.
9186         (hypot_test_data): Likewise.
9187         (hypot_test): Likewise.
9188         (ilogb_test_data): Likewise.
9189         (ilogb_test): Likewise.
9190         (iscanonical_test_data): Likewise.
9191         (iscanonical_test): Likewise.
9192         (iseqsig_test_data): Likewise.
9193         (iseqsig_test): Likewise.
9194         (isfinite_test_data): Likewise.
9195         (isfinite_test): Likewise.
9196         (finite_test): Likewise.
9197         (isgreater_test_data): Likewise.
9198         (isgreater_test): Likewise.
9199         (isgreaterequal_test_data): Likewise.
9200         (isgreaterequal_test): Likewise.
9201         (isinf_test_data): Likewise.
9202         (isinf_test): Likewise.
9203         (isless_test_data): Likewise.
9204         (isless_test): Likewise.
9205         (islessequal_test_data): Likewise.
9206         (islessequal_test): Likewise.
9207         (islessgreater_test_data): Likewise.
9208         (islessgreater_test): Likewise.
9209         (isnan_test_data): Likewise.
9210         (isnan_test): Likewise.
9211         (isnormal_test_data): Likewise.
9212         (isnormal_test): Likewise.
9213         (issignaling_test_data): Likewise.
9214         (issignaling_test): Likewise.
9215         (issubnormal_test_data): Likewise.
9216         (issubnormal_test): Likewise.
9217         (isunordered_test_data): Likewise.
9218         (isunordered_test): Likewise.
9219         (iszero_test_data): Likewise.
9220         (iszero_test): Likewise.
9221         (j0_test_data): Likewise.
9222         (j0_test): Likewise.
9223         (j1_test_data): Likewise.
9224         (j1_test): Likewise.
9225         (jn_test_data): Likewise.
9226         (jn_test): Likewise.
9227         (lgamma_test_data): Likewise.
9228         (lgamma_test): Likewise.
9229         (gamma_test): Likewise.
9230         (llogb_test_data): Likewise.
9231         (llogb_test): Likewise.
9232         (lrint_test_data): Likewise.
9233         (lrint_test): Likewise.
9234         (llrint_test_data): Likewise.
9235         (llrint_test): Likewise.
9236         (log_test_data): Likewise.
9237         (log_test): Likewise.
9238         (log10_test_data): Likewise.
9239         (log10_test): Likewise.
9240         (log1p_test_data): Likewise.
9241         (log1p_test): Likewise.
9242         (log2_test_data): Likewise.
9243         (log2_test): Likewise.
9244         (logb_test_data): Likewise.
9245         (logb_test): Likewise.
9246         (lround_test_data): Likewise.
9247         (lround_test): Likewise.
9248         (llround_test_data): Likewise.
9249         (llround_test): Likewise.
9250         (modf_test_data): Likewise.
9251         (modf_test): Likewise.
9252         (nearbyint_test_data): Likewise.
9253         (nearbyint_test): Likewise.
9254         (nextafter_test_data): Likewise.
9255         (nextafter_test): Likewise.
9256         (nextup_test_data): Likewise.
9257         (nextup_test): Likewise.
9258         (nextdown_test_data): Likewise.
9259         (nextdown_test): Likewise.
9260         (nexttoward_test_data): Likewise.
9261         (nexttoward_test): Likewise.
9262         (pow_test_data): Likewise.
9263         (pow_test): Likewise.
9264         (remainder_test_data): Likewise.
9265         (remainder_test): Likewise.
9266         (drem_test): Likewise.
9267         (remquo_test_data): Likewise.
9268         (remquo_test): Likewise.
9269         (rint_test_data): Likewise.
9270         (rint_test): Likewise.
9271         (round_test_data): Likewise.
9272         (round_test): Likewise.
9273         (roundeven_test_data): Likewise.
9274         (roundeven_test): Likewise.
9275         (scalb_test_data): Likewise.
9276         (scalb_test): Likewise.
9277         (scalbn_test_data): Likewise.
9278         (scalbn_test): Likewise.
9279         (ldexp_test): Likewise.
9280         (scalbln_test_data): Likewise.
9281         (scalbln_test): Likewise.
9282         (setpayload_test_data): Likewise.
9283         (setpayload_test): Likewise.
9284         (setpayloadsig_test_data): Likewise.
9285         (setpayloadsig_test): Likewise.
9286         (signbit_test_data): Likewise.
9287         (signbit_test): Likewise.
9288         (sin_test_data): Likewise.
9289         (sin_test): Likewise.
9290         (sincos_test_data): Likewise.
9291         (sincos_test): Likewise.
9292         (sinh_test_data): Likewise.
9293         (sinh_test): Likewise.
9294         (sqrt_test_data): Likewise.
9295         (sqrt_test): Likewise.
9296         (tan_test_data): Likewise.
9297         (tan_test): Likewise.
9298         (tanh_test_data): Likewise.
9299         (tanh_test): Likewise.
9300         (tgamma_test_data): Likewise.
9301         (tgamma_test): Likewise.
9302         (totalorder_test_data): Likewise.
9303         (totalorder_test): Likewise.
9304         (totalordermag_test_data): Likewise.
9305         (totalordermag_test): Likewise.
9306         (trunc_test_data): Likewise.
9307         (trunc_test): Likewise.
9308         (ufromfp_test_data): Likewise.
9309         (ufromfp_test): Likewise.
9310         (ufromfpx_test_data): Likewise.
9311         (ufromfpx_test): Likewise.
9312         (y0_test_data): Likewise.
9313         (y0_test): Likewise.
9314         (y1_test_data): Likewise.
9315         (y1_test): Likewise.
9316         (yn_test_data): Likewise.
9317         (yn_test): Likewise.
9318         (significand_test_data): Likewise.
9319         (significand_test): Likewise.
9320         * math/Makefile (auto-libm-test-out-files): Remove variable.
9321         (libm-test-funcs-noauto): New variable.
9322         (libm-test-funcs-all): Likewise.
9323         (libm-test-c-auto): Likewise.
9324         (libm-test-c-noauto): Likewise.
9325         (libm-tests-generated): Add $(libm-test-c-auto) and
9326         $(libm-test-c-noauto).
9327         (generated): Do not add auto-libm-test-out.
9328         (libm-test-c-auto-obj): New variable.
9329         (libm-test-c-noauto-obj): Likewise.
9330         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9331         ($(libm-test-c-noauto-obj)): New static pattern rule.
9332         ($(libm-test-c-auto-obj)): Likewise.
9333         (libm-test-incs): New variable.
9334         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9335         and pass it to gen-libm-have-vector-test.sh.
9336         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9337         be passed on command line.
9338         * math/libm-test-acos.inc: New file.  Content from
9339         math/libm-test.inc.
9340         * math/libm-test-acosh.inc: Likewise.
9341         * math/libm-test-asin.inc: Likewise.
9342         * math/libm-test-asinh.inc: Likewise.
9343         * math/libm-test-atan.inc: Likewise.
9344         * math/libm-test-atan2.inc: Likewise.
9345         * math/libm-test-atanh.inc: Likewise.
9346         * math/libm-test-cabs.inc: Likewise.
9347         * math/libm-test-cacos.inc: Likewise.
9348         * math/libm-test-cacosh.inc: Likewise.
9349         * math/libm-test-canonicalize.inc: Likewise.
9350         * math/libm-test-carg.inc: Likewise.
9351         * math/libm-test-casin.inc: Likewise.
9352         * math/libm-test-casinh.inc: Likewise.
9353         * math/libm-test-catan.inc: Likewise.
9354         * math/libm-test-catanh.inc: Likewise.
9355         * math/libm-test-cbrt.inc: Likewise.
9356         * math/libm-test-ccos.inc: Likewise.
9357         * math/libm-test-ccosh.inc: Likewise.
9358         * math/libm-test-ceil.inc: Likewise.
9359         * math/libm-test-cexp.inc: Likewise.
9360         * math/libm-test-cimag.inc: Likewise.
9361         * math/libm-test-clog.inc: Likewise.
9362         * math/libm-test-clog10.inc: Likewise.
9363         * math/libm-test-conj.inc: Likewise.
9364         * math/libm-test-copysign.inc: Likewise.
9365         * math/libm-test-cos.inc: Likewise.
9366         * math/libm-test-cosh.inc: Likewise.
9367         * math/libm-test-cpow.inc: Likewise.
9368         * math/libm-test-cproj.inc: Likewise.
9369         * math/libm-test-creal.inc: Likewise.
9370         * math/libm-test-csin.inc: Likewise.
9371         * math/libm-test-csinh.inc: Likewise.
9372         * math/libm-test-csqrt.inc: Likewise.
9373         * math/libm-test-ctan.inc: Likewise.
9374         * math/libm-test-ctanh.inc: Likewise.
9375         * math/libm-test-erf.inc: Likewise.
9376         * math/libm-test-erfc.inc: Likewise.
9377         * math/libm-test-exp.inc: Likewise.
9378         * math/libm-test-exp10.inc: Likewise.
9379         * math/libm-test-exp2.inc: Likewise.
9380         * math/libm-test-expm1.inc: Likewise.
9381         * math/libm-test-fabs.inc: Likewise.
9382         * math/libm-test-fdim.inc: Likewise.
9383         * math/libm-test-floor.inc: Likewise.
9384         * math/libm-test-fma.inc: Likewise.
9385         * math/libm-test-fmax.inc: Likewise.
9386         * math/libm-test-fmaxmag.inc: Likewise.
9387         * math/libm-test-fmin.inc: Likewise.
9388         * math/libm-test-fminmag.inc: Likewise.
9389         * math/libm-test-fmod.inc: Likewise.
9390         * math/libm-test-fpclassify.inc: Likewise.
9391         * math/libm-test-frexp.inc: Likewise.
9392         * math/libm-test-fromfp.inc: Likewise.
9393         * math/libm-test-fromfpx.inc: Likewise.
9394         * math/libm-test-getpayload.inc: Likewise.
9395         * math/libm-test-hypot.inc: Likewise.
9396         * math/libm-test-ilogb.inc: Likewise.
9397         * math/libm-test-iscanonical.inc: Likewise.
9398         * math/libm-test-iseqsig.inc: Likewise.
9399         * math/libm-test-isfinite.inc: Likewise.
9400         * math/libm-test-isgreater.inc: Likewise.
9401         * math/libm-test-isgreaterequal.inc: Likewise.
9402         * math/libm-test-isinf.inc: Likewise.
9403         * math/libm-test-isless.inc: Likewise.
9404         * math/libm-test-islessequal.inc: Likewise.
9405         * math/libm-test-islessgreater.inc: Likewise.
9406         * math/libm-test-isnan.inc: Likewise.
9407         * math/libm-test-isnormal.inc: Likewise.
9408         * math/libm-test-issignaling.inc: Likewise.
9409         * math/libm-test-issubnormal.inc: Likewise.
9410         * math/libm-test-isunordered.inc: Likewise.
9411         * math/libm-test-iszero.inc: Likewise.
9412         * math/libm-test-j0.inc: Likewise.
9413         * math/libm-test-j1.inc: Likewise.
9414         * math/libm-test-jn.inc: Likewise.
9415         * math/libm-test-lgamma.inc: Likewise.
9416         * math/libm-test-llogb.inc: Likewise.
9417         * math/libm-test-llrint.inc: Likewise.
9418         * math/libm-test-llround.inc: Likewise.
9419         * math/libm-test-log.inc: Likewise.
9420         * math/libm-test-log10.inc: Likewise.
9421         * math/libm-test-log1p.inc: Likewise.
9422         * math/libm-test-log2.inc: Likewise.
9423         * math/libm-test-logb.inc: Likewise.
9424         * math/libm-test-lrint.inc: Likewise.
9425         * math/libm-test-lround.inc: Likewise.
9426         * math/libm-test-modf.inc: Likewise.
9427         * math/libm-test-nearbyint.inc: Likewise.
9428         * math/libm-test-nextafter.inc: Likewise.
9429         * math/libm-test-nextdown.inc: Likewise.
9430         * math/libm-test-nexttoward.inc: Likewise.
9431         * math/libm-test-nextup.inc: Likewise.
9432         * math/libm-test-pow.inc: Likewise.
9433         * math/libm-test-remainder.inc: Likewise.
9434         * math/libm-test-remquo.inc: Likewise.
9435         * math/libm-test-rint.inc: Likewise.
9436         * math/libm-test-round.inc: Likewise.
9437         * math/libm-test-roundeven.inc: Likewise.
9438         * math/libm-test-scalb.inc: Likewise.
9439         * math/libm-test-scalbln.inc: Likewise.
9440         * math/libm-test-scalbn.inc: Likewise.
9441         * math/libm-test-setpayload.inc: Likewise.
9442         * math/libm-test-setpayloadsig.inc: Likewise.
9443         * math/libm-test-signbit.inc: Likewise.
9444         * math/libm-test-significand.inc: Likewise.
9445         * math/libm-test-sin.inc: Likewise.
9446         * math/libm-test-sincos.inc: Likewise.
9447         * math/libm-test-sinh.inc: Likewise.
9448         * math/libm-test-sqrt.inc: Likewise.
9449         * math/libm-test-tan.inc: Likewise.
9450         * math/libm-test-tanh.inc: Likewise.
9451         * math/libm-test-tgamma.inc: Likewise.
9452         * math/libm-test-totalorder.inc: Likewise.
9453         * math/libm-test-totalordermag.inc: Likewise.
9454         * math/libm-test-trunc.inc: Likewise.
9455         * math/libm-test-ufromfp.inc: Likewise.
9456         * math/libm-test-ufromfpx.inc: Likewise.
9457         * math/libm-test-y0.inc: Likewise.
9458         * math/libm-test-y1.inc: Likewise.
9459         * math/libm-test-yn.inc: Likewise.
9460         * math/README.libm-test: Update.
9462         * math/gen-auto-libm-tests.c: Update comment about use of program.
9463         (generate_output): Add argument FUNCTION.
9464         (main): Require extra argument.  Pass function name to
9465         generate_output.
9466         * math/Makefile (generated): Add auto-libm-test-out.
9467         (libm-test-funcs-auto): New variable.
9468         (auto-libm-test-out-files): New variable.
9469         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9470         Concatenate those files to form $(objpfx)auto-libm-test-out and
9471         use it as input to gen-libm-test.pl.
9472         * math/README.libm-test: Update.
9473         * math/auto-libm-test-out: Remove.
9474         * math/auto-libm-test-out-acos: New generated file.
9475         * math/auto-libm-test-out-acosh: Likewise.
9476         * math/auto-libm-test-out-asin: Likewise.
9477         * math/auto-libm-test-out-asinh: Likewise.
9478         * math/auto-libm-test-out-atan: Likewise.
9479         * math/auto-libm-test-out-atan2: Likewise.
9480         * math/auto-libm-test-out-atanh: Likewise.
9481         * math/auto-libm-test-out-cabs: Likewise.
9482         * math/auto-libm-test-out-carg: Likewise.
9483         * math/auto-libm-test-out-cbrt: Likewise.
9484         * math/auto-libm-test-out-ccos: Likewise.
9485         * math/auto-libm-test-out-ccosh: Likewise.
9486         * math/auto-libm-test-out-cexp: Likewise.
9487         * math/auto-libm-test-out-clog: Likewise.
9488         * math/auto-libm-test-out-clog10: Likewise.
9489         * math/auto-libm-test-out-cos: Likewise.
9490         * math/auto-libm-test-out-cosh: Likewise.
9491         * math/auto-libm-test-out-cpow: Likewise.
9492         * math/auto-libm-test-out-csin: Likewise.
9493         * math/auto-libm-test-out-csinh: Likewise.
9494         * math/auto-libm-test-out-csqrt: Likewise.
9495         * math/auto-libm-test-out-ctan: Likewise.
9496         * math/auto-libm-test-out-ctanh: Likewise.
9497         * math/auto-libm-test-out-erf: Likewise.
9498         * math/auto-libm-test-out-erfc: Likewise.
9499         * math/auto-libm-test-out-exp: Likewise.
9500         * math/auto-libm-test-out-exp10: Likewise.
9501         * math/auto-libm-test-out-exp2: Likewise.
9502         * math/auto-libm-test-out-expm1: Likewise.
9503         * math/auto-libm-test-out-fma: Likewise.
9504         * math/auto-libm-test-out-hypot: Likewise.
9505         * math/auto-libm-test-out-j0: Likewise.
9506         * math/auto-libm-test-out-j1: Likewise.
9507         * math/auto-libm-test-out-jn: Likewise.
9508         * math/auto-libm-test-out-lgamma: Likewise.
9509         * math/auto-libm-test-out-log: Likewise.
9510         * math/auto-libm-test-out-log10: Likewise.
9511         * math/auto-libm-test-out-log1p: Likewise.
9512         * math/auto-libm-test-out-log2: Likewise.
9513         * math/auto-libm-test-out-pow: Likewise.
9514         * math/auto-libm-test-out-sin: Likewise.
9515         * math/auto-libm-test-out-sincos: Likewise.
9516         * math/auto-libm-test-out-sinh: Likewise.
9517         * math/auto-libm-test-out-sqrt: Likewise.
9518         * math/auto-libm-test-out-tan: Likewise.
9519         * math/auto-libm-test-out-tanh: Likewise.
9520         * math/auto-libm-test-out-tgamma: Likewise.
9521         * math/auto-libm-test-out-y0: Likewise.
9522         * math/auto-libm-test-out-y1: Likewise.
9523         * math/auto-libm-test-out-yn: Likewise.
9525         * math/Makefile (generated): Do not include libm-test.stmp.
9526         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9527         on $(objpfx)libm-test.stmp.
9528         ($(objpfx)libm-test.stmp): Remove rule.
9529         ($(objpfx)libm-test-ulps.h): New rule.
9530         ($(objpfx)libm-test.c): Likewise.
9531         ($(objpfx)libm-have-vector-test.h): Likewise.
9532         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9533         individual generated files, not libm-test.stmp.
9535         * math/gen-libm-test.pl ($output_dir): Remove variable.
9536         ($srcdir): Likewise.
9537         ($opt_a): New variable.
9538         ($opt_c): Likewise.
9539         ($opt_C): Likewise.
9540         ($opt_H): Likewise.
9541         (-n): Make option take argument and use it as NewUlps output.
9542         (-a): New option.  Use its argument for auto-libm-test-out input.
9543         (-c): New option.  Use its argument for libm-test.inc input.
9544         (-C): New option.  Use its argument for libm-test.c output.
9545         (-H): New option.  Use its argument for libm-test-ulps.h output.
9546         (top level): Only process inputs needed to generate outputs
9547         specified by command-line options.  Only generate outputs
9548         specified by command-line options.
9549         * math/README.libm-test: Update example gen-libm-test.pl command.
9550         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9551         commands.
9552         (regen-ulps): Likewise.
9554 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9556         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9557         * include/string.h (index): Remove define.
9558         (rindex): Likewise.
9559         * misc/getttyent.c (__getttyent): Rename index to strchr.
9560         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9561         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9563 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9565         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9566         * math/libm-test.inc: Move all contents, other than tests of
9567         individual functions, to libm-test-driver.c.
9568         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9569         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9570         [!FE_UPWARD] (FE_UPWARD): Likewise.
9571         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9572         (NO_EXCEPTION): Likewise.
9573         (INVALID_EXCEPTION): Likewise.
9574         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9575         (OVERFLOW_EXCEPTION): Likewise.
9576         (UNDERFLOW_EXCEPTION): Likewise.
9577         (INEXACT_EXCEPTION): Likewise.
9578         (INVALID_EXCEPTION_OK): Likewise.
9579         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9580         (OVERFLOW_EXCEPTION_OK): Likewise.
9581         (UNDERFLOW_EXCEPTION_OK): Likewise.
9582         (NO_INEXACT_EXCEPTION): Likewise.
9583         (EXCEPTIONS_OK): Likewise.
9584         (IGNORE_ZERO_INF_SIGN): Likewise.
9585         (TEST_NAN_SIGN): Likewise.
9586         (TEST_NAN_PAYLOAD): Likewise.
9587         (NO_TEST_INLINE): Likewise.
9588         (XFAIL_TEST): Likewise.
9589         (ERRNO_UNCHANGED): Likewise.
9590         (ERRNO_EDOM): Likewise.
9591         (ERRNO_ERANGE): Likewise.
9592         (IGNORE_RESULT): Likewise.
9593         (NON_FINITE): Likewise.
9594         (TEST_SNAN): Likewise.
9595         (NO_TEST_MATHVEC): Likewise.
9596         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9597         (__CONCATX): Likewise.
9598         (TYPE_MIN): Likewise.
9599         (TYPE_TRUE_MIN): Likewise.
9600         (TYPE_MAX): Likewise.
9601         (MIN_EXP): Likewise.
9602         (MAX_EXP): Likewise.
9603         (MANT_DIG): Likewise.
9604         (FSTR_MAX): Likewise.
9605         (ULP_IDX): Likewise.
9606         (QTYPE_STR): Likewise.
9607         (TEST_COND_binary32): Likewise.
9608         (TEST_COND_binary64): Likewise.
9609         (TEST_COND_binary128): Likewise.
9610         (TEST_COND_ibm128): Likewise.
9611         (TEST_COND_intel96): Likewise.
9612         (TEST_COND_m68k96): Likewise.
9613         (TEST_COND_ibm128_libgcc): Likewise.
9614         (XFAIL_IBM128_LIBGCC): Likewise.
9615         (PAYLOAD_DIG): Likewise.
9616         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9617         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9618         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9619         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9620         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9621         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9622         (TEST_COND_long32): Likewise.
9623         (TEST_COND_long64): Likewise.
9624         (TEST_COND_before_rounding): Likewise.
9625         (TEST_COND_after_rounding): Likewise.
9626         (lit_pi_3_m_4_d): Likewise.
9627         (lit_pi_3_m_4_ln10_m_d): Likewise.
9628         (lit_pi_2_ln10_m_d): Likewise.
9629         (lit_pi_4_ln10_m_d): Likewise.
9630         (lit_pi_ln10_d): Likewise.
9631         (lit_pi_2_d): Likewise.
9632         (lit_pi_4_d): Likewise.
9633         (lit_pi): Likewise.
9634         (lit_e): Likewise.
9635         (ulps_file_name): Likewise.
9636         (ulps_file): Likewise.
9637         (output_ulps): Likewise.
9638         (output_dir): Likewise.
9639         (noErrors): Likewise.
9640         (noTests): Likewise.
9641         (noExcTests): Likewise.
9642         (noErrnoTests): Likewise.
9643         (verbose): Likewise.
9644         (output_max_error): Likewise.
9645         (output_points): Likewise.
9646         (ignore_max_ulp): Likewise.
9647         (plus_zero): Likewise.
9648         (minus_zero): Likewise.
9649         (plus_infty): Likewise.
9650         (minus_infty): Likewise.
9651         (qnan_value_pl): Likewise.
9652         (qnan_value): Likewise.
9653         (snan_value_pl): Likewise.
9654         (snan_value): Likewise.
9655         (max_value): Likewise.
9656         (min_value): Likewise.
9657         (min_subnorm_value): Likewise.
9658         (snan_value_ld): Likewise.
9659         (max_error): Likewise.
9660         (real_max_error): Likewise.
9661         (imag_max_error): Likewise.
9662         (prev_max_error): Likewise.
9663         (prev_real_max_error): Likewise.
9664         (prev_imag_max_error): Likewise.
9665         (max_valid_error): Likewise.
9666         (TYPE_DECIMAL_DIG): Likewise.
9667         (TYPE_HEX_DIG): Likewise.
9668         (fmt_ftostr): Likewise.
9669         (compare_ulp_data): Likewise.
9670         (find_ulps): Likewise.
9671         (init_max_error): Likewise.
9672         (set_max_error): Likewise.
9673         (print_float): Likewise.
9674         (print_screen): Likewise.
9675         (print_screen_max_error): Likewise.
9676         (update_stats): Likewise.
9677         (print_function_ulps): Likewise.
9678         (print_complex_function_ulps): Likewise.
9679         (fpstack_test): Likewise.
9680         (print_max_error): Likewise.
9681         (print_complex_max_error): Likewise.
9682         (test_single_exception): Likewise.
9683         (test_exceptions): Likewise.
9684         (test_single_errno): Likewise.
9685         (test_errno): Likewise.
9686         (ULPDIFF): Likewise.
9687         (ulp): Likewise.
9688         (check_float_internal): Likewise.
9689         (check_float): Likewise.
9690         (check_complex): Likewise.
9691         (check_int): Likewise.
9692         (check_long): Likewise.
9693         (check_bool): Likewise.
9694         (check_longlong): Likewise.
9695         (check_intmax_t): Likewise.
9696         (check_uintmax_t): Likewise.
9697         (enable_test): Likewise.
9698         (struct test_f_f_data): Likewise.
9699         (struct test_ff_f_data): Likewise.
9700         (struct test_fj_f_data): Likewise.
9701         (struct test_fi_f_data): Likewise.
9702         (struct test_fl_f_data): Likewise.
9703         (struct test_if_f_data): Likewise.
9704         (struct test_fff_f_data): Likewise.
9705         (struct test_fiu_M_data): Likewise.
9706         (struct test_fiu_U_data): Likewise.
9707         (struct test_c_f_data): Likewise.
9708         (struct test_f_f1_data): Likewise.
9709         (struct test_fF_f1_data): Likewise.
9710         (struct test_ffI_f1_data): Likewise.
9711         (struct test_c_c_data): Likewise.
9712         (struct test_cc_c_data): Likewise.
9713         (struct test_f_i_data): Likewise.
9714         (struct test_ff_i_data): Likewise.
9715         (struct test_f_l_data): Likewise.
9716         (struct test_f_L_data): Likewise.
9717         (struct test_fFF_11_data): Likewise.
9718         (struct test_Ff_b1_data): Likewise.
9719         (IF_ROUND_INIT_): Likewise.
9720         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9721         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9722         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9723         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9724         (ROUND_RESTORE_): Likewise.
9725         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9726         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9727         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9728         (ROUND_RESTORE_FE_UPWARD): Likewise.
9729         (RM_): Likewise.
9730         (RM_FE_DOWNWARD): Likewise.
9731         (RM_FE_TONEAREST): Likewise.
9732         (RM_FE_TOWARDZERO): Likewise.
9733         (RM_FE_UPWARD): Likewise.
9734         (COMMON_TEST_SETUP): Likewise.
9735         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9736         (COMMON_TEST_CLEANUP): Likewise.
9737         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9738         (RUN_TEST_f_f): Likewise.
9739         (RUN_TEST_LOOP_f_f): Likewise.
9740         (RUN_TEST_fp_f): Likewise.
9741         (RUN_TEST_LOOP_fp_f): Likewise.
9742         (RUN_TEST_2_f): Likewise.
9743         (RUN_TEST_LOOP_2_f): Likewise.
9744         (RUN_TEST_ff_f): Likewise.
9745         (RUN_TEST_LOOP_ff_f): Likewise.
9746         (RUN_TEST_LOOP_fj_f): Likewise.
9747         (RUN_TEST_fi_f): Likewise.
9748         (RUN_TEST_LOOP_fi_f): Likewise.
9749         (RUN_TEST_fl_f): Likewise.
9750         (RUN_TEST_LOOP_fl_f): Likewise.
9751         (RUN_TEST_if_f): Likewise.
9752         (RUN_TEST_LOOP_if_f): Likewise.
9753         (RUN_TEST_fff_f): Likewise.
9754         (RUN_TEST_LOOP_fff_f): Likewise.
9755         (RUN_TEST_fiu_M): Likewise.
9756         (RUN_TEST_LOOP_fiu_M): Likewise.
9757         (RUN_TEST_fiu_U): Likewise.
9758         (RUN_TEST_LOOP_fiu_U): Likewise.
9759         (RUN_TEST_c_f): Likewise.
9760         (RUN_TEST_LOOP_c_f): Likewise.
9761         (RUN_TEST_f_f1): Likewise.
9762         (RUN_TEST_LOOP_f_f1): Likewise.
9763         (RUN_TEST_fF_f1): Likewise.
9764         (RUN_TEST_LOOP_fF_f1): Likewise.
9765         (RUN_TEST_fI_f1): Likewise.
9766         (RUN_TEST_LOOP_fI_f1): Likewise.
9767         (RUN_TEST_ffI_f1_mod8): Likewise.
9768         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9769         (RUN_TEST_Ff_b1): Likewise.
9770         (RUN_TEST_LOOP_Ff_b1): Likewise.
9771         (RUN_TEST_Ffp_b1): Likewise.
9772         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9773         (RUN_TEST_c_c): Likewise.
9774         (RUN_TEST_LOOP_c_c): Likewise.
9775         (RUN_TEST_cc_c): Likewise.
9776         (RUN_TEST_LOOP_cc_c): Likewise.
9777         (RUN_TEST_f_i): Likewise.
9778         (RUN_TEST_LOOP_f_i): Likewise.
9779         (RUN_TEST_f_i_tg): Likewise.
9780         (RUN_TEST_LOOP_f_i_tg): Likewise.
9781         (RUN_TEST_ff_b): Likewise.
9782         (RUN_TEST_LOOP_ff_b): Likewise.
9783         (RUN_TEST_ff_i_tg): Likewise.
9784         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9785         (RUN_TEST_f_b): Likewise.
9786         (RUN_TEST_LOOP_f_b): Likewise.
9787         (RUN_TEST_f_b_tg): Likewise.
9788         (RUN_TEST_LOOP_f_b_tg): Likewise.
9789         (RUN_TEST_f_l): Likewise.
9790         (RUN_TEST_LOOP_f_l): Likewise.
9791         (RUN_TEST_f_L): Likewise.
9792         (RUN_TEST_LOOP_f_L): Likewise.
9793         (RUN_TEST_fFF_11): Likewise.
9794         (RUN_TEST_LOOP_fFF_11): Likewise.
9795         (VEC_SUFF): Likewise.
9796         (STR_CONCAT): Likewise.
9797         (STR_CON3): Likewise.
9798         (HAVE_VECTOR): Likewise.
9799         (START): Likewise.
9800         (END): Likewise.
9801         (END_COMPLEX): Likewise.
9802         (ALL_RM_TEST): Likewise.
9803         (matherr): Likewise.
9804         (initialize): Likewise.
9805         (options): Likewise.
9806         (doc): Likewise.
9807         (parse_opt): Likewise.
9808         (argp): Likewise.
9809         (check_ulp): Likewise.
9810         (main): Likewise.
9811         (do_test): New function.  Call tests of individual functions
9812         previously called from main.
9814         * math/libm-test.inc: Remove comment listing functions tested and
9815         not tested.
9817 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9819         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9820         (allocate_stack): Remove COLORING_INCREMENT usage.
9821         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9822         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9824 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9826         * manual/libm-err-tab.pl (@all_functions): Change to
9827         %all_functions.  Initialize as empty.
9828         (parse_ulps): Add to %all_functions based on functions found in
9829         ulps files.  Ignore results for non-default rounding modes and
9830         vector functions.
9831         (print_platforms): Use %all_platforms.
9832         * manual/math.texi (Errors in Math Functions): Document omissions
9833         from the table.
9835         * math/Makefile (before-compile): Remove.
9837 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
9839         [BZ #21075]
9840         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9841         unused assignment.
9842         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9844 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9846         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9847         Add __glibc_unlikely hint.
9849 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9851         [BZ #16640]
9852         * sysdeps/i386/i686/strtok.S: Remove file.
9853         * sysdeps/i386/i686/strtok_r.S: Likewise.
9854         * sysdeps/i386/strtok.S: Likewise.
9855         * sysdeps/i386/strtok_r.S: Likewise.
9856         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9857         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9858         * sysdeps/x86_64/strtok.S: Likewise.
9859         * sysdeps/x86_64/strtok_r.S: Likewise.
9861         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9862         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9864         (__ASSUME_FADVISE64_AS_64_64): Define.
9865         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9866         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9867         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9868         __ALIGNMENT_ARG usage.
9869         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9870         __NR_fadvise64_64 if it is not defined.
9872 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9874         * version.h (RELEASE): Set to "development"
9875         (VERSION): Set to 2.25.90.
9876         * NEWS: Add 2.26 section.
9878         * version.h (RELEASE): Set to "stable"
9879         (VERSION): Set to 2.25.
9880         * include/features.h (__GLIBC_MINOR__): Set to 25.
9882         * manual/contrib.texi: Add more contributors from this release
9883         and past releases.
9885         * NEWS (2.25): Add list of bugs fixed.
9887         * NEWS: Add missing news items.
9889 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9891         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9892         parent if child exited in that manner.  Print WEXITSTATUS
9893         instead of the raw status.
9894         (do_test_prep): Rename to do_test.
9895         (do_test): Return the result of run_executable_sgid.
9896         (TEST_FUNCTION_ARGV): Adjust.
9898 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
9899             Florian Weimer  <fweimer@redhat.com>
9900             Carlos O'Donell  <carlos@redhat.com>
9902         [BZ #20915]
9903         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9904         Do not initialize DTV.
9905         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9907 2017-02-03  David S. Miller  <davem@davemloft.net>
9909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9913         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9914         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9918         (libm-sysdep_routines): Update.
9919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9924         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9925         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9926         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9927         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9929         Likewise.
9930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9932         Likewise.
9933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9935         Likewise.
9936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9938         Likewise.
9939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9941         (libm-sysdep_routines): Update.
9943 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9945         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9946         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9947         against unrelocated shared library.
9948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9950 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9952         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9953         * elf/tst-env-setuid-tunables.c
9954         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9955         GLIBC_TUNABLES is removed in a setgid process.
9957         [BZ #21073]
9958         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9959         * elf/dl-tunables.c (tunables_strdup): Remove.
9960         (get_next_env): Also return the previous envp.
9961         (parse_tunables): Erase tunables of category
9962         TUNABLES_SECLEVEL_SXID_ERASE.
9963         (maybe_enable_malloc_check): Make MALLOC_CHECK_
9964         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9965         (__tunables_init)[TUNABLES_FRONTEND ==
9966         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9967         after parsing.
9968         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9969         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9970         * elf/dl-tunables.h (struct _tunable): Change member is_secure
9971         to security_level.
9972         * elf/dl-tunables.list: Add security_level annotations for all
9973         tunables.
9974         * scripts/gen-tunables.awk: Recognize and generate enum values
9975         for security_level.
9976         * elf/tst-env-setuid.c: New test case.
9977         * elf/tst-env-setuid-tunables: new test case.
9978         * elf/Makefile (tests-static): Add them.
9980 2017-02-01  Richard Henderson  <rth@twiddle.net>
9982         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9983         adjusting the byte count.
9985 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
9987         * conform/Makefile (linknamespace-libs): Define.
9989         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9990         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9991         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9992         operands.
9994 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
9996         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9998 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10000         [BZ #21081]
10001         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10002         (L(stosb)): Add VZEROUPPER before ret.
10004 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10005             Alexey Makhalov <amakhalov@vmware.com>
10006             Florian Weimer <fweimer@redhat.com>
10008         [BZ #20116]
10009         * nptl/pthread_create.c: Document concurrency notes.
10010         Enhance thread creation notes.
10011         (create_thread): Use bool *stopped_start.
10012         (START_THREAD_DEFN): Comment ownership of PD.
10013         (__pthread_create_2_1): Add local bool stopped_start and use
10014         that instead of pd->stopped_start where appropriate.
10015         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10016         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10017         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10018         * nptl/tst-create-detached.c: New file.
10019         * nptl/Makefile (tests): Add tst-create-detached.
10020         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10021         Reference the enhanced thread creation notes.
10022         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10023         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10024         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10025         (__pthread_current_priority): Likewise.
10026         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10027         xpthread_attr_init, xpthread_attr_setdetachstate, and
10028         xpthread_attr_setstacksize.
10029         * support/xpthread_attr_destroy.c: New file.
10030         * support/xpthread_attr_init.c: New file.
10031         * support/xpthread_attr_setdetachstate.c: New file.
10032         * support/xpthread_attr_setstacksize.c: New file.
10033         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10034         xpthread_attr_init, xpthread_attr_setdetachstate, and
10035         xpthread_attr_setstacksize.
10037 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10039         * nptl/Makefile (tests): Add tst-robust-fork.
10040         * nptl/tst-robust-fork.c: New file.
10041         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10042         xpthread_mutex_consistent, xpthread_mutex_destroy,
10043         xpthread_mutex_init, xpthread_mutexattr_destroy,
10044         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10045         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10046         xpthread_mutexattr_settype.
10047         * support/xmmap.c: New file.
10048         * support/xmunmap.c: Likewise.
10049         * support/xpthread_mutex_consistent.c: Likewise.
10050         * support/xpthread_mutex_destroy.c: Likewise.
10051         * support/xpthread_mutex_init.c: Likewise.
10052         * support/xpthread_mutexattr_destroy.c: Likewise.
10053         * support/xpthread_mutexattr_init.c: Likewise.
10054         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10055         * support/xpthread_mutexattr_setpshared.c: Likewise.
10056         * support/xpthread_mutexattr_setrobust.c: Likewise.
10057         * support/xpthread_mutexattr_settype.c: Likewise.
10058         * support/xthread.h (xpthread_mutexattr_destroy)
10059         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10060         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10061         (xpthread_mutexattr_settype, xpthread_mutex_init)
10062         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10063         * support/xunistd.h (xmmap, xmunmap): Likewise.
10065 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10067         * string/Makefile (xtests): Add comment.
10068         (LOCALES): Add en_GB.UTF-8.
10069         (tst-strcoll-overflow.out): Depend on generated locales.
10070         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10071         (SIZE, TIMEOUT): Update comments.
10072         (do_test): Define as static.  Fail test if setlocale fails.
10073         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10074         messages.
10075         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10076         TIMEOUT at 300 seconds should be enough to run this test
10077         successfully.
10079 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10081         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10082         /* FALLTHRU */ comments.
10084 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10086         [BZ #21053]
10087         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10088         constants instead of the old R* ones.
10089         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10090         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10091         (NGREG): ... to this, to fit in with other architectures.
10092         (gpregset_t): Use new NGREG macro.
10093         [__USE_GNU]: Remove condition; all architectures other than tile
10094         are unconditional.
10095         (R*): Rename to REG_R*.
10097 2017-01-20  DJ Delorie  <dj@redhat.com>
10099         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10100         (tunable_set_val_if_valid_range_signed) ... this, and ...
10101         (tunable_set_val_if_valid_range_unsigned) ... this.
10102         (tunable_initialize): Call the correct one of the above based on type.
10104 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10106         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10107         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10108         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10109         * sysdeps/microblaze/libm-test-ulps: Likewise.
10110         * sysdeps/sh/libm-test-ulps: Likewise.
10112         * math/README.libm-test: Update list of characters for input and
10113         output types.
10115 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10117         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10118         (__lll_unlock_elision): Fix adapt_count decrement.
10120 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10122         * README.pretty-printers (Known issues): Warn about printers not
10123         always covering everything.
10124         * nptl/nptl-printers.py (MutexPrinter): Change output.
10125         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10127 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10129         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10130         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10131         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10132         (__lll_lock_elision): Do not test futex before starting a
10133         transaction.  Use __glibc_likely instead of __builtin_expect.
10134         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10135         (__lll_trylock_elision): Do not test futex before starting a
10136         transaction.  Use __glibc_likely instead of __builtin_expect.
10138 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10140         * po/Makefile (update-translations): New target.
10142 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10144         [BZ #21061]
10145         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10147 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10149         * elf/dl-tunables (get_next_env): Always advance envp.
10150         * stdlib/tst-empty-env.c: New test case.
10151         * stdlib/Makefile (tests): Use it.
10153 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #21047]
10156         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10157         name for instruction.
10158         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10160 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10162         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10163         for make install.
10165 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10167         * po/bg.po: Merge from Translation Project.
10168         * po/fr.po: Likewise.
10169         * po/ko.po: Likewise.
10170         * po/nl.po: Likewise.
10171         * po/sv.po: Likewise.
10173 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10175         * manual/install.texi (Tools for Compilation): Update GCC version
10176         known to work to build glibc.
10177         * INSTALL: Regenerated.
10179 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10181         [BZ #21006]
10182         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10184 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10186         [BZ #21045]
10187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10188         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10189         to __sigprocmask.
10191 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10193         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10194         wrap-around.
10195         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10197         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10199 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10201         * NEWS: Fix typo.
10203 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10205         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10206         barriers and comments.
10207         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10208         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10209         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10211 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10213         [BZ #19402]
10214         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10215         mutexes.
10217 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10219         [BZ #20985]
10220         * nptl/Makefile: Adapt.
10221         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10222         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10223         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10224         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10225         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10226         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10227         lll_robust* functions and adapt.
10228         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10229         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10230         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10231         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10233         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10235         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10237         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10238         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10239         * nptl/lowlevelrobustlock.c: Remove file.
10240         * nptl/lowlevelrobustlock.sym: Likewise.
10241         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10242         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10244 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10246         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10248 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10250         * po/cs.po: Merge translations from the Translation Project.
10251         * po/de.po: Likewise.
10252         * po/pl.po: Likewise.
10253         * po/ru.po: Likewise.
10254         * po/tr.po: Likewise.
10255         * po/uk.po: Likewise.
10256         * po/vi.po: Likewise.
10257         * po/zh_CN.po: Likewise.
10259 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10261         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10263         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10264         object.
10266 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10268         [BZ #16458]
10269         * bits/uintn-identity.h: New file.
10270         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10271         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10272         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10273         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10274         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10275         * string/endian.h: Include <bits/uintn-identity.h>.
10276         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10277         __uint16_identity.
10278         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10279         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10280         __uint32_identity.
10281         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10282         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10283         __uint64_identity.
10284         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10285         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10286         __uint16_identity.
10287         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10288         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10289         __uint32_identity.
10290         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10291         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10292         __uint64_identity.
10293         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10294         * string/Makefile (headers): Add bits/uintn-identity.h.
10295         (tests): Add test-endian-types.
10296         * string/test-endian-types.c: New file.
10297         * inet/Makefile (tests): Add test-hnto-types.
10298         * inet/test-hnto-types.c: New file.
10300 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10302         * po/be.po: Update from Translation Project.
10303         * po/bg.po: Likewise.
10304         * po/ca.po: Likewise.
10305         * po/cs.po: Likewise.
10306         * po/da.po: Likewise.
10307         * po/de.po: Likewise.
10308         * po/el.po: Likewise.
10309         * po/eo.po: Likewise.
10310         * po/es.po: Likewise.
10311         * po/fi.po: Likewise.
10312         * po/fr.po: Likewise.
10313         * po/gl.po: Likewise.
10314         * po/hr.po: Likewise.
10315         * po/hu.po: Likewise.
10316         * po/ia.po: Likewise.
10317         * po/id.po: Likewise.
10318         * po/it.po: Likewise.
10319         * po/ja.po: Likewise.
10320         * po/ko.po: Likewise.
10321         * po/lt.po: Likewise.
10322         * po/nb.po: Likewise.
10323         * po/nl.po: Likewise.
10324         * po/pl.po: Likewise.
10325         * po/pt_BR.po: Likewise.
10326         * po/ru.po: Likewise.
10327         * po/rw.po: Likewise.
10328         * po/sk.po: Likewise.
10329         * po/sl.po: Likewise.
10330         * po/sv.po: Likewise.
10331         * po/tr.po: Likewise.
10332         * po/uk.po: Likewise.
10333         * po/vi.po: Likewise.
10334         * po/zh_CN.po: Likewise.
10335         * po/zh_TW.po: Likewise.
10337 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10339         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10340         -Wformat-truncation instead of -Wformat-length.
10341         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10342         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10343         GCC 7.
10344         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10345         (do_test): Ignore -Wformat-truncation for GCC 7.
10347         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10348         buffer used to print long int value.
10350         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10351         one byte.  Print it with %ld, cast to long int.
10353 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10355         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10356         (re.fullmatch, subprocess.run): Likewise.
10358 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10360         * po/libc.pot: Regenerate.
10362 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10364         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10365         (min_strlen): Likewise.
10366         (disable_tunable): Likewise.
10367         (maybe_disable_malloc_check): Rename to
10368         maybe_enable_malloc_check.
10369         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10370         if /etc/suid-debug file exists.
10371         (__tunables_init): Update caller.
10372         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10373         secure.
10375 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10377         * nptl/DESIGN-rwlock.txt: Remove.
10378         * nptl/lowlevelrwlock.sym: Remove.
10379         * nptl/Makefile: Add new tests.
10380         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10381         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10382         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10383         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10384         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10385         PTHREAD_RWLOCK_FUTEX_USED): New.
10386         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10387         implementation.
10388         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10389         (__pthread_rwlock_rdlock): Adapt.
10390         * nptl/pthread_rwlock_timedrdlock.c
10391         (pthread_rwlock_timedrdlock): Adapt.
10392         * nptl/pthread_rwlock_timedwrlock.c
10393         (pthread_rwlock_timedwrlock): Adapt.
10394         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10395         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10396         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10397         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10398         (__pthread_rwlock_wrlock): Adapt.
10399         * nptl/tst-rwlock10.c: Adapt.
10400         * nptl/tst-rwlock11.c: Adapt.
10401         * nptl/tst-rwlock17.c: New file.
10402         * nptl/tst-rwlock18.c: New file.
10403         * nptl/tst-rwlock19.c: New file.
10404         * nptl/tst-rwlock2b.c: New file.
10405         * nptl/tst-rwlock8.c: Adapt.
10406         * nptl/tst-rwlock9.c: Adapt.
10407         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10408         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10409         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10410         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10411         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10412         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10413         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10414         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10415         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10416         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10417         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10418         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10419         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10420         (pthread_rwlock_t): Adapt.
10421         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10422         (pthread_rwlock_t): Adapt.
10423         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10424         * nptl/nptl-printers.py (): Adapt.
10425         * nptl/nptl_lock_constants.pysym: Adapt.
10426         * nptl/test-rwlock-printers.py: Adapt.
10427         * nptl/test-rwlockattr-printers.c: Adapt.
10428         * nptl/test-rwlockattr-printers.py: Adapt.
10430 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10432         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10433         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10434         (fma_test_data): Likewise.
10435         (hypot_test_data): Likewise.
10436         (log1p_test_data): Likewise.
10437         (modf_test_data): Likewise.
10438         (pow_test_data): Likewise.
10439         (remainder_test_data): Likewise.
10440         (remquo_test_data): Likewise.
10441         (scalb_test_data): Likewise.
10442         (scalbn_test_data): Likewise.
10443         (scalbln_test_data): Likewise.
10444         * math/gen-libm-test.pl (parse_args): Transform
10445         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10446         on the rounding mode.
10448 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10450         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10451         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10452         and those that can underflow to zero.
10453         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10454         add others.
10455         * math/auto-libm-test-out: Regenerated.
10457         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10458         supported.
10459         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10460         modes support if not supported.
10462         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10463         Add libc.so PLT entry.
10464         (__tls_get_addr): Make ld.so PLT entry optional.
10466 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10468         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10469         * string/bits/string3.h: ... here.
10471 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10473         [BZ #21028]
10474         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10475         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10476         if EXCEPTION_TESTS returns false.
10478 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10480         [BZ #20558]
10481         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10482         strings_fortified.h.
10483         [__USE_MISC] (bzero): Likewise.
10484         [__USE_MISC] (explicit_bzero): Likewise.
10485         * string/strings.h: Include strings_fortified.h.
10486         * string/Makefile (headers): Add strings_fortified.h.
10487         * string/bits/strings_fortified.h: New file.
10488         * include/bits/strings_fortified.h: Likewise.
10490 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10492         * elf/tst-tls13.c (TIMEOUT): Remove.
10493         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10494         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10495         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10496         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10497         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10499         [BZ #21026]
10500         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10501         (readahead): New syscall entry.
10503 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10505         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10506         around tests of strncat with large sizes.
10508         * malloc/tst-malloc.c: Include <libc-internal.h>.
10509         (do_test): Disable -Walloc-size-larger-than= around tests of
10510         malloc with negative sizes.
10511         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10512         (do_test): Disable -Walloc-size-larger-than= around tests of
10513         malloc and realloc with negative sizes.
10514         * malloc/tst-realloc.c: Include <libc-internal.h>.
10515         (do_test): Disable -Walloc-size-larger-than= around tests of
10516         realloc with negative sizes.
10518         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10519         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10520         allowed to 16 ulps.
10521         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10522         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10523         * math/auto-libm-test-out: Regenerated.
10525 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10527         * math/Makefile (libm-calls): Move wrappers...
10528         (libm-compat-call-auto): Here.
10529         (libm-routines): Add items in libm-compat-calls-auto.
10530         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10531         the filenames of the wrappers that have been renamed.
10532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10535         * math/w_acos.c: Add _compat suffix to filename.
10536         * math/w_acosf.c: Likewise.
10537         * math/w_acosh.c: Likewise.
10538         * math/w_acoshf.c: Likewise.
10539         * math/w_acoshl.c: Likewise.
10540         * math/w_acosl.c: Likewise.
10541         * math/w_asin.c: Likewise.
10542         * math/w_asinf.c: Likewise.
10543         * math/w_asinl.c: Likewise.
10544         * math/w_atan2.c: Likewise.
10545         * math/w_atan2f.c: Likewise.
10546         * math/w_atan2l.c: Likewise.
10547         * math/w_atanh.c: Likewise.
10548         * math/w_atanhf.c: Likewise.
10549         * math/w_atanhl.c: Likewise.
10550         * math/w_cosh.c: Likewise.
10551         * math/w_coshf.c: Likewise.
10552         * math/w_coshl.c: Likewise.
10553         * math/w_exp10.c: Likewise.
10554         * math/w_exp10f.c: Likewise.
10555         * math/w_exp10l.c: Likewise.
10556         * math/w_exp2.c: Likewise.
10557         * math/w_exp2f.c: Likewise.
10558         * math/w_exp2l.c: Likewise.
10559         * math/w_fmod.c: Likewise.
10560         * math/w_fmodf.c: Likewise.
10561         * math/w_fmodl.c: Likewise.
10562         * math/w_hypot.c: Likewise.
10563         * math/w_hypotf.c: Likewise.
10564         * math/w_hypotl.c: Likewise.
10565         * math/w_j0.c: Likewise.
10566         * math/w_j0f.c: Likewise.
10567         * math/w_j0l.c: Likewise.
10568         * math/w_j1.c: Likewise.
10569         * math/w_j1f.c: Likewise.
10570         * math/w_j1l.c: Likewise.
10571         * math/w_jn.c: Likewise.
10572         * math/w_jnf.c: Likewise.
10573         * math/w_jnl.c: Likewise.
10574         * math/w_log10.c: Likewise.
10575         * math/w_log10f.c: Likewise.
10576         * math/w_log10l.c: Likewise.
10577         * math/w_log2.c: Likewise.
10578         * math/w_log2f.c: Likewise.
10579         * math/w_log2l.c: Likewise.
10580         * math/w_log.c: Likewise.
10581         * math/w_logf.c: Likewise.
10582         * math/w_logl.c: Likewise.
10583         * math/w_pow.c: Likewise.
10584         * math/w_powf.c: Likewise.
10585         * math/w_powl.c: Likewise.
10586         * math/w_remainder.c: Likewise.
10587         * math/w_remainderf.c: Likewise.
10588         * math/w_remainderl.c: Likewise.
10589         * math/w_scalb.c: Likewise.
10590         * math/w_scalbf.c: Likewise.
10591         * math/w_scalbl.c: Likewise.
10592         * math/w_sinh.c: Likewise.
10593         * math/w_sinhf.c: Likewise.
10594         * math/w_sinhl.c: Likewise.
10595         * math/w_sqrt.c: Likewise.
10596         * math/w_sqrtf.c: Likewise.
10597         * math/w_sqrtl.c: Likewise.
10598         * math/w_tgamma.c: Likewise.
10599         * math/w_tgammaf.c: Likewise.
10600         * math/w_tgammal.c: Likewise.
10602         * math/w_acos_compat.c: New file copied from above and
10603         adjusted for new #includes path
10604         * math/w_acosf_compat.c: Likewise.
10605         * math/w_acosh_compat.c: Likewise.
10606         * math/w_acoshf_compat.c: Likewise.
10607         * math/w_acoshl_compat.c: Likewise.
10608         * math/w_acosl_compat.c: Likewise.
10609         * math/w_asin_compat.c: Likewise.
10610         * math/w_asinf_compat.c: Likewise.
10611         * math/w_asinl_compat.c: Likewise.
10612         * math/w_atan2_compat.c: Likewise.
10613         * math/w_atan2f_compat.c: Likewise.
10614         * math/w_atan2l_compat.c: Likewise.
10615         * math/w_atanh_compat.c: Likewise.
10616         * math/w_atanhf_compat.c: Likewise.
10617         * math/w_atanhl_compat.c: Likewise.
10618         * math/w_cosh_compat.c: Likewise.
10619         * math/w_coshf_compat.c: Likewise.
10620         * math/w_coshl_compat.c: Likewise.
10621         * math/w_exp10_compat.c: Likewise.
10622         * math/w_exp10f_compat.c: Likewise.
10623         * math/w_exp10l_compat.c: Likewise.
10624         * math/w_exp2_compat.c: Likewise.
10625         * math/w_exp2f_compat.c: Likewise.
10626         * math/w_exp2l_compat.c: Likewise.
10627         * math/w_fmod_compat.c: Likewise.
10628         * math/w_fmodf_compat.c: Likewise.
10629         * math/w_fmodl_compat.c: Likewise.
10630         * math/w_hypot_compat.c: Likewise.
10631         * math/w_hypotf_compat.c: Likewise.
10632         * math/w_hypotl_compat.c: Likewise.
10633         * math/w_j0_compat.c: Likewise.
10634         * math/w_j0f_compat.c: Likewise.
10635         * math/w_j0l_compat.c: Likewise.
10636         * math/w_j1_compat.c: Likewise.
10637         * math/w_j1f_compat.c: Likewise.
10638         * math/w_j1l_compat.c: Likewise.
10639         * math/w_jn_compat.c: Likewise.
10640         * math/w_jnf_compat.c: Likewise.
10641         * math/w_jnl_compat.c: Likewise.
10642         * math/w_log10_compat.c: Likewise.
10643         * math/w_log10f_compat.c: Likewise.
10644         * math/w_log10l_compat.c: Likewise.
10645         * math/w_log2_compat.c: Likewise.
10646         * math/w_log2f_compat.c: Likewise.
10647         * math/w_log2l_compat.c: Likewise.
10648         * math/w_log_compat.c: Likewise.
10649         * math/w_logf_compat.c: Likewise.
10650         * math/w_logl_compat.c: Likewise.
10651         * math/w_pow_compat.c: Likewise.
10652         * math/w_powf_compat.c: Likewise.
10653         * math/w_powl_compat.c: Likewise.
10654         * math/w_remainder_compat.c: Likewise.
10655         * math/w_remainderf_compat.c: Likewise.
10656         * math/w_remainderl_compat.c: Likewise.
10657         * math/w_scalb_compat.c: Likewise.
10658         * math/w_scalbf_compat.c: Likewise.
10659         * math/w_scalbl_compat.c: Likewise.
10660         * math/w_sinh_compat.c: Likewise.
10661         * math/w_sinhf_compat.c: Likewise.
10662         * math/w_sinhl_compat.c: Likewise.
10663         * math/w_sqrt_compat.c: Likewise.
10664         * math/w_sqrtf_compat.c: Likewise.
10665         * math/w_sqrtl_compat.c: Likewise.
10666         * math/w_tgamma_compat.c: Likewise.
10667         * math/w_tgammaf_compat.c: Likewise.
10668         * math/w_tgammal_compat.c: Likewise.
10670         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10671         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10672         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10673         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10674         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10675         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10676         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10677         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10678         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10679         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10680         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10681         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10682         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10683         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10684         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10685         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10686         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10687         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10688         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10689         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10690         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10691         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10692         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10693         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10694         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10695         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10696         * sysdeps/ia64/fpu/w_log.c: Likewise.
10697         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10698         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10699         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10700         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10701         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10702         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10703         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10704         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10705         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10706         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10707         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10708         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10709         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10710         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10711         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10712         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10713         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10714         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10715         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10716         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10717         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10718         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10719         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10720         * sysdeps/ia64/fpu/w_asin.c: Likewise.
10721         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10722         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10723         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10724         * sysdeps/ia64/fpu/w_acos.c: Likewise.
10725         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10726         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10727         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10728         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10729         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10730         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10731         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10732         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10733         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10734         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10735         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10736         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10737         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10738         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10739         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10740         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10741         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10742         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10743         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10744         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10745         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10746         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10747         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10748         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10749         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10750         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10751         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10752         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10753         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10754         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10755         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10756         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10757         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10758         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10759         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10760         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10761         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10762         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10763         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10765         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10767         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10768         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10769         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10771         Likewise.
10772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10773         Likewise.
10774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10776         Likewise.
10777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10778         Likewise.
10779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10781         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10784         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10785         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10790         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10791         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10792         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10793         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10795         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10796         and adjusted for new #includes path
10797         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10798         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10799         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10800         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10801         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10802         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10803         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10804         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10805         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10806         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10807         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10808         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10809         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10810         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10811         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10812         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10813         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10814         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10815         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10816         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10817         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10818         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10819         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10820         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10821         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10822         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10823         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10824         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10825         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10826         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10827         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10828         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10829         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10830         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10831         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10832         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10833         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10834         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10835         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10836         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10837         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10838         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10839         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10840         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10841         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10842         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10843         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10844         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10845         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10846         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10847         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10848         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10849         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10850         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10851         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10852         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10853         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10854         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10855         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10856         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10857         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10858         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10859         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10860         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10861         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10862         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10863         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10864         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10865         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10866         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10867         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10868         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10869         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10870         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10871         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10872         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10873         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10874         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10875         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10876         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10877         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10878         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10879         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10880         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10881         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10882         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10883         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10884         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10885         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10886         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10887         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10888         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10889         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10890         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10891         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10892         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10893         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10894         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10895         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10897         Likewise.
10898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10899         Likewise.
10900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10901         Likewise.
10902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10903         Likewise.
10904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10905         Likewise.
10906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10907         Likewise.
10908         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10910         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10911         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10912         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10913         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10915         Likewise.
10916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10917         Likewise.
10918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10919         Likewise.
10920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10921         Likewise.
10922         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10923         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10924         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10925         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10927 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10929         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10930         __jmp_buf_internal_tag.
10932         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10933         preserve NaN payload if [__mips_nan2008].
10934         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10936         [BZ #21022]
10937         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10939 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10941         * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10945         * sysdeps/ia64/strcat.c: Remove file.
10946         * sysdeps/powerpc/strcat.c: Likewise.
10947         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10948         C implementation.
10949         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10950         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10952 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10953             Steven Munroe  <sjmunroe@us.ibm.com>
10954             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10956         [BZ #20822]
10957         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10958         (__lll_lock_elision): Access adapt_count via C11 atomics.
10959         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10960         (__lll_trylock_elision): Likewise.
10961         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10962         (__lll_unlock_elision):  Update adapt_count variable inside the
10963         critical section using C11 atomics.
10965 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10967         * math/test-fenvinline.c (do_test): Disable tests of raised
10968         exceptions if !EXCEPTION_TESTS (FLOAT).
10970 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10972         [BZ #19390]
10973         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10974         maximum string size.
10975         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10976         in pointer addition.
10977         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10978         Likewise.
10980 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10982         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10983         passed to tst-ldconfig-X.sh.
10985 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
10987         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10989 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10991         [BZ #21019]
10992         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10993         New syscall entry.
10994         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10995         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10996         lseek.
10998         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10999         power4 glibc for powerpc-linux-gnu.
11001 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11003         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11004         semctl.
11006 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11008         * math/test-nearbyint-except.c: Include <stdbool.h>.
11009         (any_supported): New variable.
11010         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11011         set any_supported.
11012         (do_test): Return 77 if no floating-point type supported
11013         exceptions.
11015         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11016         condition on [__mips_hard_float].
11018 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11020         [BZ #21014]
11021         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11022         in pointer addition.
11023         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11025 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11027         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11028         new condvar.
11030 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11032         * scripts/build-many-glibcs.py (Context.checkout): Default
11033         binutils version to 2.28 branch.
11035 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11037         * support/support_format_netent.c (support_format_netent): Work
11038         around alpha struct netent definition difference.
11040 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11042         * support/xwrite.c (xwrite): Use %td for pointer difference.
11044 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11046         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11047         have-tunables only.
11048         (tests-static): Add tst-malloc-usable-static-tunables for
11049         have-tunables only.
11051 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11053         * scripts/config.guess: Update to version 2017-01-01.
11054         * scripts/config.sub: Update to version 2017-01-01.
11056         * NEWS: Update copyright dates.
11057         * catgets/gencat.c (print_version): Likewise.
11058         * csu/version.c (banner): Likewise.
11059         * debug/catchsegv.sh: Likewise.
11060         * debug/pcprofiledump.c (print_version): Likewise.
11061         * debug/xtrace.sh (do_version): Likewise.
11062         * elf/ldconfig.c (print_version): Likewise.
11063         * elf/ldd.bash.in: Likewise.
11064         * elf/pldd.c (print_version): Likewise.
11065         * elf/sotruss.sh: Likewise.
11066         * elf/sprof.c (print_version): Likewise.
11067         * iconv/iconv_prog.c (print_version): Likewise.
11068         * iconv/iconvconfig.c (print_version): Likewise.
11069         * locale/programs/locale.c (print_version): Likewise.
11070         * locale/programs/localedef.c (print_version): Likewise.
11071         * login/programs/pt_chown.c (print_version): Likewise.
11072         * malloc/memusage.sh (do_version): Likewise.
11073         * malloc/memusagestat.c (print_version): Likewise.
11074         * malloc/mtrace.pl: Likewise.
11075         * manual/libc.texinfo: Likewise.
11076         * nptl/version.c (banner): Likewise.
11077         * nscd/nscd.c (print_version): Likewise.
11078         * nss/getent.c (print_version): Likewise.
11079         * nss/makedb.c (print_version): Likewise.
11080         * posix/getconf.c (main): Likewise.
11081         * scripts/test-installation.pl: Likewise.
11082         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11084         * All files with FSF copyright notices: Update copyright dates
11085         using scripts/update-copyrights.
11086         * intl/plural.c: Regenerated.
11087         * locale/programs/charmap-kw.h: Likewise.
11088         * locale/programs/locfile-kw.h: Likewise.
11090 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11092         [BZ #20593]
11093         Update DNS RR type definitions.
11094         * scripts/gen-rrtypes.py: New file.
11095         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11096         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11097         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11098         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11099         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11100         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11101         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11102         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11103         ns_t_ta, ns_t_dlv.
11104         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11105         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11106         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11107         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11108         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11109         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11110         Define.
11111         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11112         entry for ns_t_zxfr.
11114 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11116         [BZ #18784]
11117         CVE-2015-5180
11118         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11119         T_UNSPEC.  Adjust value.
11120         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11121         * resolv/res_query.c (__libc_res_nquery): Likewise.
11122         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11123         QTYPEs.
11124         * resolv/tst-resolv-qtypes.c: New file.
11125         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11126         (tst-resolv-qtypes): Link against libresolv and libpthread.
11128 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11130         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11132 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11134         * manual/tunables.texi: New chapter.
11135         * manual/Makefile (chapters): Add it.
11136         * manual/probes.texi (@node): Point to the Tunables chapter.
11138         * Makeconfig (have-tunables): Check for non-negative instead
11139         of positive.
11140         * configure.ac: Add 'valstring' as a valid value for
11141         --enable-tunables.
11142         * configure: Regenerate.
11143         * elf/Makefile (have-tunables): Check for non-negative instead
11144         of positive.
11145         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11146         dl-tunables.c.
11147         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11148         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11149         (tunables_strdup): Likewise.
11150         (disable_tunables): Likewise.
11151         (parse_tunables): Likewise.
11152         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11153         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11154         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11155         (TUNABLES_FRONTEND_yes): New macro, define as
11156         TUNABLES_FRONTEND_valstring by default.
11157         * manual/install.texi: Document new acceptable values for
11158         --enable-tunables.
11159         * INSTALL: Regenerate.
11161         * config.make.in (have-loop-to-function): Define.
11162         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11163         -fno-tree-loop-distribute-patterns.
11164         * elf/dl-tunables.c: Include libc-internals.h.
11165         (GLIBC_TUNABLES): New macro.
11166         (tunables_strdup): New function.
11167         (parse_tunables): New function.
11168         (min_strlen): New function.
11169         (__tunables_init): Use the new functions and macro.
11170         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11171         * malloc/tst-malloc-usable-tunables.c: New test case.
11172         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11173         * malloc/Makefile (tests, tests-static): Add tests.
11175         * manual/install.texi: Add --enable-tunables option.
11176         * INSTALL: Regenerate.
11177         * README.tunables: New file.
11178         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11179         (before-compile): Generate dl-tunable-list.h early.
11180         * config.h.in: Add HAVE_TUNABLES.
11181         * config.make.in: Add have-tunables.
11182         * configure.ac: Add --enable-tunables option.
11183         * configure: Regenerate.
11184         * csu/init-first.c (__libc_init_first): Move
11185         __libc_init_secure earlier...
11186         * csu/init-first.c (LIBC_START_MAIN):... to here.
11187         Include dl-tunables.h, libc-internal.h.
11188         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11189         binaries.
11190         * elf/Makefile (dl-routines): Add dl-tunables.
11191         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11192         namespace.
11193         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11194         only when !HAVE_TUNABLES.
11195         * elf/rtld.c (process_envvars): Likewise.
11196         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11197         (_dl_sysdep_start): Call __tunables_init.
11198         * elf/dl-tunable-types.h: New file.
11199         * elf/dl-tunables.c: New file.
11200         * elf/dl-tunables.h: New file.
11201         * elf/dl-tunables.list: New file.
11202         * malloc/tst-malloc-usable-static.c: New test case.
11203         * malloc/Makefile (tests-static): Add it.
11204         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11205         Define TUNABLE_NAMESPACE.
11206         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11207         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11208         callback functions.
11209         (ptmalloc_init): Set tunable values.
11210         * scripts/gen-tunables.awk: New file.
11211         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11212         (_dl_sysdep_start): Call __tunables_init.
11214 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11216         * resolv/resolv.h (RES_BLAST): Deprecate.
11217         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11218         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11219         to RES_BLAST.
11221 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11223         [BZ #19582]
11224         Deprecate RES_USE_INET6.
11225         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11226         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11227         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11228         RES_USE_INET6.
11229         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11230         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11231         (_nss_nisplus_gethostbyaddr_r): Likewise.
11232         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11233         of res_use_inet6.
11234         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11235         instead of RES_USE_INET6.
11236         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11237         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11238         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11239         Likewise.
11240         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11241         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11242         Likewise.
11243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11244         (_nss_dns_gethostbyname_r): Likewise.
11245         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11246         alternate RES_USE_INET6 handling.
11247         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11248         instead of RES_USE_INET6.
11249         * resolv/res_init.c (res_setoptions): Likewise.
11250         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11251         * resolv/resolv-internal.h: New file.
11252         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11253         make the deprecation warning non-fatal.
11254         * resolv/README (Using the resolver in multi-threaded code): Drop
11255         reference to RES_USE_INET6.
11256         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11257         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11259 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11261         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11262         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11263         tst-resolv-search.
11264         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11265         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11266         with libresolv and libpthread.
11267         * resolv/tst-bug18665.c: New file.
11268         * resolv/tst-bug18665-tcp: Likewise.
11269         * resolv/tst-res_use_inet6: Likewise.
11270         * resolv/tst-resolv-basic: Likewise.
11271         * resolv/tst-resolv-network: Likewise.
11272         * resolv/tst-resolv-search: Likewise.
11273         * support/Makefile (libsupport-routines): Add check_addrinfo,
11274         check_dns_packet, check_hostent, check_netent, resolv_test,
11275         support_format_address_family, support_format_addrinfo,
11276         support_format_dns_packet, support_format_herrno,
11277         support_format_hostent, support_format_netent, support_run_diff,
11278         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11279         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11280         xstrdup, xwrite.
11281         * support/check_addrinfo.c: New file.
11282         * support/check_dns_packet.c: Likewise.
11283         * support/check_hostent.c: Likewise.
11284         * support/check_netent.c: Likewise.
11285         * support/check_nss.h: Likewise.
11286         * support/format_nss.h: Likewise.
11287         * support/resolv_test.c: Likewise.
11288         * support/resolv_test.h: Likewise.
11289         * support/run_diff.h: Likewise.
11290         * support/support_format_address_family.c: Likewise.
11291         * support/support_format_addrinfo.c: Likewise.
11292         * support/support_format_dns_packet.c: Likewise.
11293         * support/support_format_herrno.c: Likewise.
11294         * support/support_format_hostent.c: Likewise.
11295         * support/support_format_netent.c: Likewise.
11296         * support/support_run_diff.c: Likewise.
11297         * support/xaccept.c: Likewise.
11298         * support/xbind.c: Likewise.
11299         * support/xconnect.c: Likewise.
11300         * support/xfclose.c: Likewise.
11301         * support/xfopen.c: Likewise.
11302         * support/xgetsockname.c: Likewise.
11303         * support/xlisten.c: Likewise.
11304         * support/xmemstream.c: Likewise.
11305         * support/xmemstream.h: Likewise.
11306         * support/xpoll.c: Likewise.
11307         * support/xpthread_once.c: Likewise.
11308         * support/xrecvfrom.c: Likewise.
11309         * support/xsendto.c: Likewise.
11310         * support/xsetsockopt.c: Likewise.
11311         * support/xstdio.h: Likewise.
11312         * support/xstrdup.c: Likewise.
11313         * support/support.h (xstrdup): Declare.
11314         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11315         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11316         * support/xthread.h (xpthread_once): Likwise.
11317         * support/xunistd.h (xwrite): Declare.
11319 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11321         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11322         (test_verbose): Declare.
11323         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11324         * support/support_test_main.c (default_options): Likewise.
11325         (usage, support_test_main): Handle 'v'.
11326         (test_verbose): Define.
11327         * support/tst-support_record_failure.c (do_test): Use
11328         test_verbose.
11329         * support/tst-support_record_failure-2.sh (different_status): Add
11330         --verbose test.
11332 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11334         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11335         test failures are recorded.
11336         * support/check.c (support_print_failure_impl): Call
11337         support_record_failure.
11338         (support_exit_failure_impl): Call support_record_failure if status
11339         indicates failure.
11340         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11341         * support/xasprintf.c (xasprintf): Likewise.
11342         * support/xfork.c (xfork): Likewise.
11343         * support/xpthread_check_return.c (xpthread_check_return):
11344         Likewise.
11345         * support/xsocket.c (xsocket): Likeweise.
11346         * support/xwaitpid.c (xwaitpid): Likewise.
11347         * support/support_record_failure.c (struct test_failures): Adjust
11348         to coding style.
11349         * support/support_test_verify_impl.c (support_test_verify_impl):
11350         Adjust error messages.
11351         * support/tst-support_record_failure-2.sh (different_status):
11352         Adjust error messages.
11354 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11356         * support/namespace.h: New file.
11357         * support/support_become_root.c: Likewise.
11358         * support/support_enter_network_namespace.c: Likewise.
11359         * support/tst-support-namespace.c: Likewise.
11360         * support/xsocket.c: Likewise.
11361         * support/xsocket.h: Likewise.
11362         * support/Makefile (libsupport-routines): Add support_become_root,
11363         support_enter_network_namespace, xsocket.
11364         (tests): Add tst-support-namespace.
11366 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11368         [BZ #17252]
11369         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11370         __USE_GNU.
11372 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11374         [BZ #13165]
11375         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11376         use new algorithm.
11377         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11378         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11379         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11380         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11381         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11382         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11383         __condvar_cleanup_waiting, __condvar_dec_grefs,
11384         __pthread_cond_wait_common): New.
11385         (__condvar_cleanup): Remove.
11386         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11387         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11388         Likewise.
11389         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11390         Likewise.
11391         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11392         * nptl/tst-cond1.c: Add comment.
11393         * nptl/tst-cond20.c (do_test): Adapt.
11394         * nptl/tst-cond22.c (do_test): Likewise.
11395         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11396         structure.
11397         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11398         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11399         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11400         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11401         Likewise.
11402         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11403         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11404         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11405         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11406         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11407         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11408         Likewise.
11409         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11410         Likewise.
11411         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11412         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11413         (COND_CLOCK_BITS): Adapt.
11414         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11415         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11416         __PTHREAD_COND_SHARED_MASK): New.
11417         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11418         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11419         * nptl/nptl_lock_constants.pysym: Adapt.
11420         * nptl/test-cond-printers.py: Adapt.
11421         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11422         cond_compat_check_and_clear): Adapt.
11423         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11424         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11425         (__pthread_cond_timedwait): ... and move here.
11426         * nptl/DESIGN-condvar.txt: Remove file.
11427         * nptl/lowlevelcond.sym: Likewise.
11428         * nptl/pthread_cond_timedwait.c: Likewise.
11429         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11430         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11431         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11432         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11433         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11434         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11435         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11437         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11439         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11441         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11443         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11444         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11446 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11448         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11449         (fromfp): New declaration.
11450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11453         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11458         * math/math.h: Include <bits/types.h>.
11459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11460         constant and macro.
11461         (FP_INT_DOWNWARD): Likewise.
11462         (FP_INT_TOWARDZERO): Likewise.
11463         (FP_INT_TONEARESTFROMZERO): Likewise.
11464         (FP_INT_TONEAREST): Likewise.
11465         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11466         (fromfpf): Likewise.
11467         (fromfpl): Likewise.
11468         (ufromfp): Likewise.
11469         (ufromfpf): Likewise.
11470         (ufromfpl): Likewise.
11471         (fromfpx): Likewise.
11472         (fromfpxf): Likewise.
11473         (fromfpxl): Likewise.
11474         (ufromfpx): Likewise.
11475         (ufromfpxf): Likewise.
11476         (ufromfpxl): Likewise.
11477         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11478         s_fromfpxF and s_ufromfpxF.
11479         * math/gen-fromfp-tests.py: New file.
11480         * math/gen-fromfp-tests-inputs: Likewise.
11481         * math/libm-test.inc: Include <stdint.h>
11482         (check_intmax_t): New function.
11483         (check_uintmax_t): Likewise.
11484         (struct test_fiu_M_data): New type.
11485         (struct test_fiu_U_data): Likewise.
11486         (RUN_TEST_fiu_M): New macro.
11487         (RUN_TEST_LOOP_fiu_M): Likewise.
11488         (RUN_TEST_fiu_U): Likewise.
11489         (RUN_TEST_LOOP_fiu_U): Likewise.
11490         (fromfp_test_data): New array.
11491         (fromfp_test): New function.
11492         (fromfpx_test_data): New array.
11493         (fromfpx_test): New function.
11494         (ufromfp_test_data): New array.
11495         (ufromfp_test): New function.
11496         (ufromfpx_test_data): New array.
11497         (ufromfpx_test): New function.
11498         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11499         ufromfpx_test.
11500         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11501         characters.
11502         * math/test-tgmath-ret.c: Include <stdint.h>.
11503         (rm): New variable.
11504         (width): Likewise.
11505         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11506         called function.
11507         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11508         CHECK_RET_CONST_TYPE.
11509         (CHECK_RET_CONST_DOUBLE): Likewise.
11510         (CHECK_RET_CONST_LDOUBLE): Likewise.
11511         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11512         macros.
11513         (fromfp): New CHECK_RET_CONST call.
11514         (ufromfp): Likewise.
11515         (fromfpx): Likewise.
11516         (ufromfpx): Likewise.
11517         (do_test): Call check_return_fromfp, check_return_ufromfp,
11518         check_return_fromfpx and check_return_ufromfpx.
11519         * math/test-tgmath.c: Include <stdint.h>
11520         (NCALLS): Increase to 138.
11521         (F(compile_test)): Initialize i.  Call fromfp functions.
11522         (F(fromfp)): New function.
11523         (F(fromfpx)): Likewise.
11524         (F(ufromfp)): Likewise.
11525         (F(ufromfpx)): Likewise.
11526         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11527         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11528         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11529         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11530         ufromfpxl.
11531         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11532         ufromfp and ufromfpx.
11533         * math/fromfp.h: New file.
11534         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11535         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11536         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11537         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11538         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11539         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11540         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11541         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11542         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11543         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11556         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11560         ufromfp, fromfpx and ufromfpx.
11561         (CFLAGS-nldbl-fromfp.c): New variable.
11562         (CFLAGS-nldbl-fromfpx.c): Likewise.
11563         (CFLAGS-nldbl-ufromfp.c): Likewise.
11564         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11565         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11566         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11567         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11568         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11569         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11570         * sysdeps/nacl/libm.abilist: Update.
11571         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11572         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11580         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11582         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11584         Likewise.
11585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11586         Likewise.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11588         Likewise.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11597         Likewise.
11598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11599         Likewise.
11600         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11604 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11606         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11607         compat-gethnamaddr.
11608         (CPPFLAGS): Remove.
11609         * resolv/gethnamaddr.c: Rename ...
11610         * resolv/compat-gethnamaddr.c: ... to this file.
11611         (_endhtent): Make static.
11612         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11613         symbol.
11614         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11615         compat symbol.
11616         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11617         symbol.
11618         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11619         Turn into compat symbol.
11620         * include/resolv.h (_endhtent): Remove declaration.
11622 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11624         * bits/types.h (__intmax_t): New typedef.
11625         (__uintmax_t): Likewise.
11626         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11627         (intmax_t): Define using __intmax_t.
11628         (uintmax_t): Define using __uintmax_t.
11630         * support/Makefile (tests-special): Make definition conditional on
11631         [$(run-built-tests) = yes].
11632         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11633         on [$(run-built-tests) = yes].
11635 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11637         * Rules (tests): Add tests-printers-programs to tests to be
11638         built.
11640 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11642         * sysvipc/Makefile (tests): Add test-sysvshm.
11643         * sysvipc/test-sysvshm.c: New file.
11645         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11646         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11647         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11648         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11649         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11650         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11651         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11654         Likewise.
11655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11656         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11657         is defined.
11659         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11660         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11661         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11662         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11663         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11664         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11665         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11666         Likewise.
11667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11668         Likewise.
11669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11670         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11671         defined.
11673         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11674         oldshmctl.
11675         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11676         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11677         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11680         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11682         Likewise.
11683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11686         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11687         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11688         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11689         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11690         implementation.
11691         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11692         if it is defined.
11694         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11695         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11696         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11697         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11698         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11699         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11701         Likewise.
11702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11703         Likewise.
11704         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11705         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11706         Define to __NR_osf_shmat.
11707         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11708         defined.
11710         * sysvipc/Makefile (tests): Add test-sysvsem.
11711         * sysvipc/test-sysvsem.c: New file.
11713         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11714         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11715         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11716         Likewise.
11717         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11718         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11719         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11720         Likewise.
11721         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11722         Likewise.
11723         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11724         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11725         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11726         add a comment about s390 syscall difference from default one.
11727         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11728         syscall if it is defined.
11730         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11731         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11732         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11734         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11735         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11736         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11737         Likewise.
11738         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11739         Likewise.
11740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11741         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11742         defined.
11744         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11745         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11746         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11747         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11748         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11749         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11750         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11751         Likewise.
11752         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11753         Likewise.
11754         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11755         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11756         if it is defined.
11758         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11759         oldsemctl.
11760         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11761         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11762         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11763         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11764         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11765         implementation.
11766         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11767         syscall if it is defined.
11768         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11769         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11770         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11771         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11772         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11776         * sysvipc/Makefile (tests): Add test-sysvmsg.
11777         * sysvipc/test-sysvmsg.c: New file.
11778         * support/check.h (FAIL_UNSUPPORTED): New define.
11780         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11781         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11782         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11783         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11784         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11785         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11786         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11787         Likewise.
11788         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11789         Likewise.
11790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11791         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11792         define.
11794         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11795         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11796         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11797         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11798         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11799         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11800         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11801         Likewise.
11802         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11803         Likewise.
11804         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11805         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11806         if defined.
11808         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11809         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11810         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11811         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11812         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11813         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11814         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11815         Likewise.
11816         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11817         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11818         Likewise.
11819         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11820         if defined.
11821         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11823         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11824         oldmsgctl.
11825         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11826         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11827         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11828         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11829         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11830         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11831         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11832         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11833         Likewise.
11834         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11835         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11836         implementation.
11837         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11838         if defined.
11840         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11841         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11842         definition and define its own.
11843         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11844         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11845         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11846         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11847         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11848         definitions to common header.
11849         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11850         operation from ipc_ops.h.
11852         * sysdeps/unix/sysv/linux/kernel-features.h
11853         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11854         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11855         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11857         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11858         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11859         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11860         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11861         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11862         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11863         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11864         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11865         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11866         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11867         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11869 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11871         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11872         overflow in pointer addition.
11874 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11876         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11877         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11879         (strchr): Add __strchr_power8 to list of strchr functions.
11880         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11881         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11882         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11883         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11884         (strchr): Add __strchr_power8 to ifunc list.
11885         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11886         (__strchrnul): Add __strchrnul_power8 to ifunc list.
11887         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11888         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11890 2016-12-28  Florian Weimer  <fweimer@redhat.com>
11892         * support/Makefile (libsupport-routines): Add
11893         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11894         (tests): Add tst-support_record_failure.
11895         (tests-special): tst-support_record_failure-2.
11896         (tst-support_record_failure-2.out): Depend on
11897         tst-support_record_failure-2.sh and tst-support_record_failure.
11898         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11899         (support_test_verify_impl, support_record_failure)
11900         (support_report_failure, support_report_failure_reset): Declare.
11901         * support/support_test_main.c (adjust_exit_status): New function.
11902         (support_test_main): Call it to incorporate record test failures.
11903         * support/support_test_verify_impl.c: New file.
11904         * support/support_record_failure.c: Likewise.
11905         * support/tst-support_record_failure.c: Likewise.
11906         * support/tst-support_record_failure-2.sh: Likewise.
11907         * support/xunistd.h: Likewise.
11908         * support/xfork.c: Likewise.
11909         * support/xwaitpid.c: Likewise.
11911 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
11913         * scripts/check-c++-types.sh: Add comments.
11915 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
11917         [BZ #19514]
11918         * resolv/res_send.c: Fix typo in comment.
11919         * sysdeps/i386/i386-mcount.S: Likewise.
11920         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11921         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11922         * sysdeps/sparc/sparc-mcount.S: Likewise.
11924 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11926         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11927         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11928         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11929         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11930         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11931         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11932         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11933         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11935 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11937         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11939 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11941         [BZ #17252]
11942         * posix/unistd.h (getentropy): Declare.
11944 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11946         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11947         Remove.
11948         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11949         (cmd): Remove spoof, nospoof, spoofalert.
11950         (parse_line): Ignore spoof-related lines.
11951         (do_init): Do not process RESOLV_SPOOF_CHECK.
11953 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11955         [BZ #20964]
11956         sunrpc: Always obtain AF_INET addresses from NSS.
11957         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11958         * sunrpc/rpc_gethostbyname.c: New file.
11959         * sunrpc/Makefile (routines): Add it.
11960         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11961         * sunrpc/clnt_simp.c (callrpc): Likewise.
11962         * sunrpc/getrpcport.c (getrpcport): Likewise.
11964 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11966         * sunrpc/rpcinfo.c: Remove.
11967         * sunrpc/Makefile: Remove comments referring to rpcinfo.
11969 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11971         [BZ #19387]
11972         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11973         addition.
11974         * string/test-memchr.c (do_test): Remove alignment limitation.
11975         (test_main): Add test that trigger BZ #19387.
11977 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11979         [BZ #7065]
11980         Enable stack protectore if requested by ./configure.
11981         * Makeconfig (+stack-protector): New variable.
11982         (+cflags): Use it.
11984 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11986         [BZ #7065]
11987         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11989         (__rt_sigreturn_stub): Use inhibit_stack_protector.
11990         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11991         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11993 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11995         [BZ #7065]
11996         * login/Makefile (pt_chown-cflags): Remove.
11997         * nscd/Makefile (CFLAGS-nscd): Likewise.
11998         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12000 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12002         [BZ #7065]
12003         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12004         non-libc-linking testcase.
12006 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12007             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12008             Florian Weimer  <fweimer@redhat.com>
12010         [BZ #7065]
12011         PLT avoidance for __stack_chk_fail*.
12012         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12013         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12014         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12015         __stack_chk_fail_local alias.
12016         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12017         (__stack_chk_fail): Turn into hidden reference to
12018         __stack_chk_fail_local.
12020 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12022         [BZ #7065]
12023         * configure.ac: Add check for unsupported stack-protection level.
12024         (libc_cv_predef_stack_protector): Remove.
12025         (no_ssp): New variable.
12026         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12027         (stack_protector): Set to -fno-stack-protector similarly.
12028         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12029         (libc_cv_asm_set_directive): Likewise.
12030         (libc_cv_protected_data): Likewise.
12031         (libc_cv_z_combreloc): Likewise.
12032         (libc_cv_hashstyle): Likewise.
12033         (libc_cv_has_glob_dat): Likewise.
12034         (libc_cv_output_format): Likewise.
12035         (libc_cv_output_format): Likewise.
12036         (libc_cv_ehdr_start): Likewise.
12037         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12038         (LIBC_LINKER_FEATURE): Likewise.
12039         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12041 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12043         [BZ #7065]
12044         * elf/Makefile (dummy-stack-chk-fail): New.
12045         (librtld.map): Use it.
12047 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12049         [BZ #7065]
12050         Compile the dynamic linker without stack protection.
12051         * elf/Makefile (elide-stack-protector): New.
12052         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12053         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12054         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12055         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12057 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12059         [BZ #7065]
12060         * config.make.in (have-ssp, no-stack-protector): New.
12061         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12062         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12063         (CFLAGS-sbrk.op): Likewise.
12064         (CFLAGS-brk.o): Likewise.
12065         (CFLAGS-brk.op): Likewise.
12066         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12067         (CFLAGS-wordcopy.c): Likewise.
12069 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12071         [BZ #7065]
12072         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12073         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12074         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12075         (__ifunc_resolver): Use it.
12076         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12077         inhibit_stack_protector.
12078         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12079         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12080         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12081         (foo_protected_ifunc): Likewise.
12082         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12083         (foo_protected_ifunc): Likewise.
12084         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12085         * sysdeps/nacl/nacl_interface_query.c
12086         (nacl_interface_query_ifunc): Likewise.
12087         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12088         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12089         Likewise.
12090         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12091         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12092         the generated vDSO syscall resolver.
12094 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12095             Florian Weimer  <fweimer@redhat.com>
12097         [BZ #7065]
12098         Initialize the stack guard earlier when linking statically.
12099         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12100         (__pthread_initialize_minimal): Declare.
12101         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12102         declaration.
12103         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12104         stack canary and apply_irel initialization up.  Call
12105         __pthread_initialize_minimal only if linked in.
12106         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12107         constant values.
12108         (__pthread_initialize_minimal): Remove.
12109         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12110         (__pthread_initialize_minimal_internal): Do not call
12111         __libc_setup_tls.
12113 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12115         [BZ #7065]
12116         * configure.ac (libc_cv_ssp): Move up.
12117         (libc_cv_ssp_strong): Likewise.
12118         (libc_cv_ssp_all): New.
12119         (stack_protector): Augment, adding -fstack-protector-all.
12120         (no_stack_protector): New.
12121         (STACK_PROTECTOR_LEVEL): New.
12122         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12123         * manual/install.texi (--enable-stack-protector): Document it.
12124         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12126 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12128         * README.pretty-printers: Must specify CPPFLAGS-* also.
12129         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12130         (CPPFLAGS-test-mutex-printers.c): Define.
12131         (CPPFLAGS-test-condattr-printers.c): Define.
12132         (CPPFLAGS-test-cond-printers.c): Define.
12133         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12134         (CPPFLAGS-test-rwlock-printers.c): Define.
12136         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12137         (tests): Add tst-cancel-getpwuid_r.
12138         * nss/tst-cancel-getpwuid_r.c: New file.
12140         [BZ #11941]
12141         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12142         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12143         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12144         tst-nodelete-dlclose.
12145         (modules-names): Add tst-nodelete-dlclose-dso and
12146         tst-nodelete-dlclose-plugin.
12147         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12148         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12149         ($(objpfx)tst-nodelete-dlclose): Define.
12150         ($(objpfx)tst-nodelete-dlclose.out): Define.
12152 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12154         * scripts/test_printers_common.py: Log GDB output in case of
12155         Python detection failure.
12157 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12159         * configure.ac: Check for python3 or python.
12160         * configure: Regenerated.
12161         * config.make.in (PYTHON): New variable.
12162         * benchtests/Makefile: Don't define PYTHON.
12163         (bench): Define target only if PYTHON was defined.
12164         * Rules: Don't define PYTHON.
12165         Define pretty printer targets only if PYTHON was defined.
12166         (tests-printers): Add to tests-unsupported if PYTHON is not
12167         found.
12168         (python-flags, python-invoke): Remove.
12169         (tests-printers-out): Use PYTHON instead of python-invoke.
12171 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12173         [BZ #20978]
12174         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12175         Compare name == NULL, not name != NULL.
12177         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12178         trailing whitespace removed.
12179         * scripts/config.guess: Update to version 2016-10-02.
12180         * scripts/config.sub: Update to version 2016-11-19.
12181         * scripts/install-sh: Update to version 2016-01-11.22.
12182         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12183         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12185 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12187         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12188         (do_one_test) Restore original string so iteration works.
12189         * string/string-inlines.c (do_test): Create better input strings.
12190         (test_main) Reduce number of testruns.
12191         * string/string-inlines.c (__old_strsep_1c): New function.
12192         (__old_strsep_2c): Likewise.
12193         (__old_strsep_3c): Likewise.
12194         * string/strsep.c (__strsep): Remove case of small delim string.
12195         Call strcspn directly rather than strpbrk.
12196         * string/bits/string2.h (__strsep): Remove define.
12197         (__strsep_1c): Remove.
12198         (__strsep_2c): Remove.
12199         (__strsep_3c): Remove.
12200         (strsep): Remove.
12201         * sysdeps/unix/sysv/linux/internal_statvfs.c
12202         (__statvfs_getflags): Rename to __strsep.
12204 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12206         * csu/libc-tls.c (_dl_tls_setup): Remove.
12207         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12208         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12209         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12211 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12213         [BZ #7065]
12214         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12215         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12217 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12218             Florian Weimer  <fweimer@redhat.com>
12220         [BZ #7065]
12221         * csu/Makefile (tests): Empty assignment and document it.
12222         (tests-static): Remove.
12223         * csu/tst-empty.c: Move to...
12224         * misc/tst-empty.c: ... here.  Switch to new test driver.
12225         * csu/tst-atomic.c: Move to...
12226         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12227         * csu/tst-atomic-long.c: Move to...
12228         * misc/tst-atomic-long.c: ... here.
12229         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12230         tst-atomic-long.
12231         (tests-static): Add tst-empty.
12233 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12235         * manual/nss.texi: Change incorrect @vtable to @table.
12236         * manual/arith.texi: Convert @tables of variables to @vtables
12237         and remove unnecessary indexing.
12238         * manual/filesys.texi: Likewise.
12239         * manual/llio.texi: Likewise.
12240         * manual/memory.texi: Likewise.
12241         * manual/process.texi: Likewise.
12242         * manual/resource.texi: Likewise.
12243         * manual/search.texi: Likewise.
12244         * manual/signal.texi: Likewise.
12245         * manual/socket.texi: Likewise.
12246         * manual/stdio.texi: Likewise.
12247         * manual/sysinfo.texi: Likewise.
12248         * manual/syslog.texi: Likewise.
12249         * manual/terminal.texi: Likewise.
12250         * manual/time.texi: Likewise.
12251         * manual/users.texi: Likewise.
12253 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12255         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12256         (roundeven): New declaration.
12257         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12258         macro.
12259         * math/Versions (roundeven): New libm symbol at version
12260         GLIBC_2.25.
12261         (roundevenf): Likewise.
12262         (roundevenl): Likewise.
12263         * math/Makefile (libm-calls): Add s_roundevenF.
12264         * math/libm-test.inc (roundeven_test_data): New array.
12265         (roundeven_test): New function.
12266         (main): Call roundeven_test.
12267         * math/test-tgmath.c (NCALLS): Increase to 134.
12268         (F(compile_test)): Call roundeven.
12269         (F(roundeven)): New function.
12270         * manual/arith.texi (Rounding Functions): Document roundeven,
12271         roundevenf and roundevenl.
12272         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12273         * include/math.h (roundeven): Use libm_hidden_proto.
12274         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12275         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12276         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12277         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12278         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12279         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12280         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12281         roundeven.
12282         (CFLAGS-nldbl-roundeven.c): New variable.
12283         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12284         * sysdeps/nacl/libm.abilist: Update.
12285         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12286         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12287         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12291         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12292         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12293         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12294         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12296         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12298         Likewise.
12299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12300         Likewise.
12301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12307         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12308         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12309         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12311         Likewise.
12312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12313         Likewise.
12314         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12315         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12316         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12318 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12320         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12321         preprocessor indentation inside #if.
12323 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12325         * math/libm-test.inc (fmt_ftostr): New function.
12326         (print_float, check_float_internal): Replace some uses of
12327         FTOSTR with uses of fmt_ftostr.
12328         (print_max_error, print_complex_max_error, print_function_ulps)
12329         (print_complex_function_ulps): Remove uses of the macros
12330         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12331         * math/test-double.h (FTOSTR): Define to strfromd.
12332         (PRINTF_EXPR): Delete.
12333         (PRINTF_XEXPR): Likewise.
12334         (PRINTF_NEXPR): Likewise.
12335         * math/test-float.h (FTOSTR): Define to strfromf.
12336         (PRINTF_EXPR): Delete.
12337         (PRINTF_XEXPR): Likewise.
12338         (PRINTF_NEXPR): Likewise.
12339         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12340         (PRINTF_EXPR): Delete.
12341         (PRINTF_XEXPR): Likewise.
12342         (PRINTF_NEXPR): Likewise.
12344 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12346         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12347         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12348         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12349         (__lll_lock_elision): Decrement adapt_count while unlocking
12350         instead of before locking.
12351         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12352         (__lll_trylock_elision): Likewise.
12353         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12354         (__lll_unlock_elision): Likewise.
12356 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12358         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12359         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12360         Use __libc_tbegin_retry macro.
12362 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12364         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12365         Add -msoft-float.
12366         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12367         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12368         Use __libc_t* transaction macros instead of __builtin_t*.
12369         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12370         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12372 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12374         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12375         (__lll_lock_elision): Use atomics to load / store adapt_count.
12376         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12377         (__lll_trylock_elision): Likewise.
12379 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12381         Do not require memset elimination in explicit_bzero test.
12382         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12383         (enum test_expectation): Add NO_EXPECTATIONS.
12384         (subtests): NO_EXPECTATIONS for ordinary clear.
12385         (check_test_buffer): Handle NO_EXPECTATIONS.
12386         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12388 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12390         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12391         (fmaxmag): New declaration.
12392         (fminmag): Likewise.
12393         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12394         macro.
12395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12396         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12397         (fmaxmagf): Likewise.
12398         (fmaxmagl): Likewise.
12399         (fminmag): Likewise.
12400         (fminmagf): Likewise.
12401         (fminmagl): Likewise.
12402         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12403         * math/s_fmaxmag_template.c: New file.
12404         * math/s_fminmag_template.c: Likewise.
12405         * math/libm-test.inc (fmaxmag_test_data): New array.
12406         (fmaxmag_test): New function.
12407         (fminmag_test_data): New array.
12408         (fminmag_test): New function.
12409         (main): Call fmaxmag_test and fminmag_test.
12410         * math/test-tgmath.c (NCALLS): Increase to 132.
12411         (F(compile_test)): Call fmaxmag and fminmag.
12412         (F(fminmag)): New function.
12413         (F(fmaxmag)): Likewise.
12414         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12415         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12416         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12417         fminmag.
12418         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12419         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12420         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12421         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12422         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12423         and fminmag.
12424         (CFLAGS-nldbl-fmaxmag.c): New variable.
12425         (CFLAGS-nldbl-fminmag.c): Likewise.
12426         * sysdeps/nacl/libm.abilist: Update.
12427         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12431         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12432         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12434         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12435         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12436         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12437         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12438         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12442         Likewise.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12455         Likewise.
12456         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12460 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12462         [BZ #20973]
12463         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12464         wake-up in robust mutexes.
12465         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12467 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12469         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12470         (CFLAGS-bench-fmaxf.c): New rule.
12471         (CFLAGS-bench-fminf.c): Likewise.
12472         * benchtests/fmaxf-inputs: New file.
12473         * benchtests/fminf-inputs: Likewise.
12475         * benchtests/Makefile (bench-math): Add fmin and fmax.
12476         (CFLAGS-bench-fmax.c): New rule.
12477         (CFLAGS-bench-fmin.c): Likewise.
12478         * benchtests/fmax-inputs: New file.
12479         * benchtests/fmin-inputs: Likewise.
12481         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12482         parenthesis.
12483         (CMDLINE_PROCESS): Define using function instead of macro.
12484         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12485         of test-skeleton.
12486         * benchtests/bench-memchr.c: Likewise.
12487         * benchtests/bench-memcmp.c: Likewise.
12488         * benchtests/bench-memcpy-large.c: Likewise.
12489         * benchtests/bench-memcpy.c: Likewise.
12490         * benchtests/bench-memmem.c: Likewise.
12491         * benchtests/bench-memmove-large.c: Likewise.
12492         * benchtests/bench-memmove.c: Likewise.
12493         * benchtests/bench-memset-large.c: Likewise.
12494         * benchtests/bench-memset.c: Likewise.
12495         * benchtests/bench-rawmemchr.c: Likewise.
12496         * benchtests/bench-strcasecmp.c: Likewise.
12497         * benchtests/bench-strcasestr.c: Likewise.
12498         * benchtests/bench-strcat.c: Likewise.
12499         * benchtests/bench-strchr.c: Likewise.
12500         * benchtests/bench-strcmp.c: Likewise.
12501         * benchtests/bench-strcpy.c: Likewise.
12502         * benchtests/bench-strcpy_chk.c: Likewise.
12503         * benchtests/bench-strlen.c: Likewise.
12504         * benchtests/bench-strncasecmp.c: Likewise.
12505         * benchtests/bench-strncmp.c: Likewise.
12506         * benchtests/bench-strncpy.c: Likewise.
12507         * benchtests/bench-strnlen.c: Likewise.
12508         * benchtests/bench-strpbrk.c: Likewise.
12509         * benchtests/bench-strrchr.c: Likewise.
12510         * benchtests/bench-strsep.c: Likewise.
12511         * benchtests/bench-strspn.c: Likewise.
12512         * benchtests/bench-strstr.c: Likewise.
12513         * benchtests/bench-strtok.c: Likewise.
12515 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12517         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12518         stepping identification.
12519         (init_cpu_features): Add handle of Haswell.
12521 2016-11-25  Jim Meyering  <meyering@fb.com>
12523         [BZ #20386]
12524         Let gcc detect assert(a = 1) errors.
12525         * assert/assert.h (assert): Rewrite, retaining the old definintion
12526         when required, but otherwise putting the expression as-is in an "if"
12527         expression (hence, with no added parentheses) within a statement
12528         expression.
12530 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12532         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12533         DSO.
12535 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12537         * Rules (python-flags, python-invoke): New.
12538         ($(test-printers-out)): Use $(python-flags).
12540 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12542         * manual/arith.texi (Math Error Reporting): Document that sNaN
12543         arguments are not considered domain errors.
12545 2016-12-16  Zack Weinberg <zackw@panix.com>
12546             Florian Weimer <fweimer@redhat.com>
12547             Nick Mathewson <nickm@torproject.org>
12549         * string/explicit_bzero.c: New routine.
12550         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12551         * string/Makefile (routines, strop-tests, tests): Add them.
12552         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12553         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12555         * debug/explicit_bzero_chk.c: New routine.
12556         * debug/Makefile (routines): Add it.
12557         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12558         * string/bits/string3.h: Fortify explicit_bzero.
12560         * manual/string.texi: Document explicit_bzero.
12561         * NEWS: Mention addition of explicit_bzero.
12563         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12564         data before returning, using explicit_bzero.
12565         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12566         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12567         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12569         * include/string.h: Redirect internal uses of explicit_bzero
12570         to __explicit_bzero_chk[_internal].
12571         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12572         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12573         * sysdeps/arm/nacl/libc.abilist
12574         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12575         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12576         * sysdeps/unix/sysv/linux/arm/libc.abilist
12577         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12578         * sysdeps/unix/sysv/linux/i386/libc.abilist
12579         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12580         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12581         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12582         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12583         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12584         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12585         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12586         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12587         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12592         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12594         * sysdeps/unix/sysv/linux/sh/libc.abilist
12595         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12596         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12599         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12600         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12602         Add entries for explicit_bzero and __explicit_bzero_chk.
12604 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12606         * math/fenv.h
12607         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12608         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12609         * math/test-fe-snans-always-signal.c: New file.
12610         * math/Makefile (tests): Add test-fe-snans-always-signal.
12611         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12612         * manual/arith.texi (Infinity and NaN): Document
12613         FE_SNANS_ALWAYS_SIGNAL.
12615 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12617         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12618         bracket.
12620 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12622         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12623         before calling execv.
12625 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12627         [BZ #20971]
12628         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12629         overflow in pointer addition.
12630         * string/test-memchr.c (do_test): Add an argument to pass as
12631         the size on memchr.
12632         (test_main): Add check for SIZE_MAX.
12634 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12636         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12637         (libm-calls): Add w_scalblnF.
12638         * math/w_scalbln.c: Remove.
12639         * math/w_scalblnf.c: Likewise.
12640         * math/w_scalblnl.c: Likewise.
12641         * math/w_scalbln_template.c: New file with type-generic
12642         implementation based on math/w_scalbln.c.
12643         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12644         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12646 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12648         [BZ #20947]
12649         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12650         either is a signaling NaN.
12651         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12652         follow fmaxl more closely.
12653         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12654         when either is a signaling NaN.
12655         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12656         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12657         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12658         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12659         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12660         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12661         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12662         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12663         (fmin_test_data): Likewise.
12665 2016-12-15  Andreas Schwab  <schwab@suse.de>
12667         * support/support_test_main.c (support_test_main): Don't shadow
12668         file-local variable test_pid.
12670 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12672         [BZ #20947]
12673         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12674         either is a signaling NaN.
12675         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12677 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12679         [BZ #20947]
12680         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12681         when either is a signaling NaN.
12682         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12684         * bits/long-double.h: New file.
12685         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12686         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12687         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12688         * sysdeps/mips/bits/long-double.h: Likewise.
12689         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12690         * math/Makefile (headers): Add bits/long-double.h.
12691         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12692         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12693         <bits/wordsize.h>.
12694         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12695         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12696         * math/math.h: Do not include <bits/mathdef.h>.
12697         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12698         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12699         inclusion.
12700         * sysdeps/ia64/bits/mathdef.h: Remove file.
12701         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12702         * sysdeps/mips/bits/mathdef.h: Likewise.
12703         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12704         * sysdeps/s390/bits/mathdef.h: Likewise.
12705         * sysdeps/sparc/bits/mathdef.h: Likewise.
12706         * sysdeps/x86/bits/mathdef.h: Likewise.
12707         * sysdeps/s390/s390-32/bits/wordsize.h
12708         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12709         conditional code.
12710         * sysdeps/s390/s390-64/bits/wordsize.h
12711         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12712         Likewise.
12713         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12714         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12715         Likewise.
12716         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12717         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12718         Likewise.
12719         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12720         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12721         Likewise.
12723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12724         <linux/falloc.h>.
12725         (FALLOC_FL_KEEP_SIZE): Remove.
12726         (FALLOC_FL_PUNCH_HOLE): Likewise.
12727         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12728         (FALLOC_FL_ZERO_RANGE): Likewise.
12730 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12732         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12734 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12736         * sysdeps/unix/sysv/linux/renameat.c: New file.
12737         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12739         * sysdeps/unix/sysv/linux/rename.c: New file.
12740         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12742 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12744         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12745         * string/strtok.c (strtok): Change to tailcall __strtok_r.
12746         * string/strtok_r.c (__strtok_r): Optimize for performance.
12747         * string/string-inlines.c (__old_strtok_r_1c): New function.
12748         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12750 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12752         * math/Makefile (gen-libm-calls): Add w_log1pF.
12753         (libm-calls): Remove w_log1pF.
12754         * math/w_log1p.c: Remove.
12755         * math/w_log1pf.c: Likewise.
12756         * math/w_log1pl.c: Likewise.
12757         * math/w_log1p_template.c: New file with type-generic
12758         implementation based on math/w_log1p.c.
12759         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12760         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12762 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12764         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12766 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12768         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12769         kernel version to 4.9.
12771 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12773         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12774         ($(inst_libdir)/libm.a): Fix rule to create the target only.
12776 2016-12-13  Andreas Schwab  <schwab@suse.de>
12778         * sysdeps/powerpc/dl-procinfo.c: Don't define
12779         _dl_powerpc_platforms.
12780         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12781         constants instead of referencing _dl_powerpc_platforms.
12782         (_dl_platform_string): Remove.
12784 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12786         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12788 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12790         * Rules (binaries-shared-tests, binaries-pie-tests)
12791         (binaries-static-tests): Link with $(link-extra-libs-tests).
12792         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12793         Remove $(link-extra-libs-tests).
12795 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12797         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12798         (sysdep_routines): Add strncmp_power9.
12799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12800         (strncmp): Add __strncmp_power9 to list of strncmp functions.
12801         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12802         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12803         (strncmp): Add __strncmp_power9 to ifunc list.
12804         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12806 2016-12-12  Florian Weimer  <fweimer@redhat.com>
12808         [BZ #17252]
12809         Add getentropy, getrandom.
12810         * stdlib/sys/random.h: New file.
12811         (headers): Add it.
12812         * stdlib/Makefile (routines): Add getentropy, getrandom.
12813         (tests): Add tst-getrandom.
12814         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12815         * stdlib/getentropy.c: New file.
12816         * stdlib/getrandom.c: Likewise.
12817         * stdlib/tst-getrandom.c: Likewise.
12818         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12819         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12820         * manual/crypt.texi (Unpredictable Bytes): New section.
12821         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12822         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12824         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12825         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12826         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12827         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12828         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12829         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12830         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12831         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12832         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12833         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12834         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12836         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12838         Likewise.
12839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12840         Likewise.
12841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12844         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12845         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12846         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12847         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12850         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12851         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12852         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12854 2016-12-10  Florian Weimer  <fweimer@redhat.com>
12856         [BZ #20956]
12857         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12858         as additional compiler barriers.
12859         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12860         (fn2, do_test): Declare with external linkage.
12861         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12862         (do_test): Declare with external linkage.
12863         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12864         (do_test): Declare with external linkage.
12865         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12866         (do_test): Declare with external linkage.
12868 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
12870         * support/support_test_main.c (support_test_main): Use correct
12871         timeout.
12873 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
12874             Florian Weimer  <fweimer@redhat.com>
12876         [BZ #16421]
12877         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12878         and __u6_addr32 members.
12879         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12880         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12881         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12882         Use __u6_addr32.
12883         * inet/tst-checks.c: Use <support/test-driver.c>
12884         * inet/tst-checks-posix.c: New file.
12885         * inet/Makefile (tests): Add it.
12886         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12888 2016-12-09  Florian Weimer  <fweimer@redhat.com>
12890         New subdirectory support for build and test infrastructure.
12891         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
12892         setting install-lib.
12893         * Makeconfig (link-extra-libs-tests): Define.
12894         (+link-pie-tests, +link-static-tests, +link-tests): Use
12895         link-extra-libs-tests.
12896         (rpath-dirs, all-subdirs): Add support.
12897         (built-modules): Add libsupport.
12898         (libsupport): Define.
12899         * support: New directory.
12900         * support/Makefile: New file.
12901         * support/check.c: Likewise.
12902         * support/check.h: Likewise.
12903         * support/delayed_exit.c: Likewise.
12904         * support/ignore_stderr.c: Likewise.
12905         * support/oom_error.c: Likewise.
12906         * support/set_fortify_handler.c: Likewise.
12907         * support/support.h: Likewise.
12908         * support/temp_file-internal.h: Likewise.
12909         * support/temp_file.c: Likewise.
12910         * support/test-driver.c: Likewise.
12911         * support/test-driver.h: Likewise.
12912         * support/test_main.c: Likewise.
12913         * support/write_message.c: Likewise.
12914         * support/xasprintf.c: Likewise.
12915         * support/xcalloc.c: Likewise.
12916         * support/xmalloc.c: Likewise.
12917         * support/xpthread_barrier_destroy.c: Likewise.
12918         * support/xpthread_barrier_init.c: Likewise.
12919         * support/xpthread_barrier_wait.c: Likewise.
12920         * support/xpthread_cancel.c: Likewise.
12921         * support/xpthread_check_return.c: Likewise.
12922         * support/xpthread_cond_wait.c: Likewise.
12923         * support/xpthread_create.c: Likewise.
12924         * support/xpthread_detach.c: Likewise.
12925         * support/xpthread_join.c: Likewise.
12926         * support/xpthread_mutex_lock.c: Likewise.
12927         * support/xpthread_mutex_unlock.c: Likewise.
12928         * support/xpthread_sigmask.c: Likewise.
12929         * support/xpthread_spin_lock.c: Likewise.
12930         * support/xpthread_spin_unlock.c: Likewise.
12931         * support/xrealloc.c: Likewise.
12932         * support/xsignal.h: Likewise.
12933         * support/xthread.h: Likewise.
12934         * support_tempfile.h: Likewise.
12935         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12936         (TEST_DATA_LIMIT): Remove unused macro.
12937         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
12938         <support/check.h>.
12939         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12940         (ignore_stderr, set_fortify_handler): Remove.  Now in
12941         <support/support.h>.
12942         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
12943         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12944         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12945         (xpthread_join): Remove.  Now in <support/xthread.h>.
12946         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12947         Introduce legacy wrappers.
12948         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12949         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12950         (write_message): Remove.
12951         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12952         test-skeleton.c.
12953         * io/test-open-tmpfile: Likewise.
12954         * io/tst-posix_fallocate-common.c: Likewise.
12955         * libio/tst-fseek.c: Likewise.
12956         * malloc/tst-malloc-backtrace.c: Likewise.
12957         * malloc/tst-malloc-fork-deadlock.c: Likewise.
12958         * malloc/tst-malloc-thread-exit.c: Likewise.
12959         * nptl/tst-cancel7.c: Likewise.
12960         * nptl/tst-cleanup0.c: Likewise.
12961         * posix/tst-posix_fadvise-common.c: Likewise.
12962         * rt/tst-shm.c: Likewise.
12963         * time/bug-getdate1.c: Likewise.
12964         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12965         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12966         * elf/Makefile (tst-piemod1.so): Link against libsupport.
12968 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
12970         * Rules [$(run-built-tests) != no] (tests-expected): Add
12971         $(tests-printers).
12972         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12974 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12976         [BZ #20539]
12977         * math/Makefile (install-lib-ldscripts): Add libm.a.
12978         (install_subdir): Remove.
12979         (install-others): Add.
12980         ($(inst_libdir)/libm.a): Add rule for installation as
12981         linker script.
12982         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12984 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
12986         * INSTALL: Regenerated.
12987         * Makeconfig: Add comments and whitespace to make the control flow
12988         clearer.
12989         (+link-printers-tests, +link-pie-printers-tests,
12990         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12991         built-rtld-LDFLAGS, link-libc-rpath,
12992         link-libc-tests-after-rpath-link,
12993         link-libc-printers-tests): New.
12994         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12995         link-libc-tests): Use the new variables as required.
12996         * Makerules ($(py-const)): New rule.
12997         generated: Add $(py-const).
12998         * README.pretty-printers: New file.
12999         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13000         (others): Depend on $(py-const).
13001         (tests): Depend on $(tests-printers-programs) or
13002         $(tests-printers-out),
13003         as required.  Pass $(tests-printers) to merge-test-results.sh.
13004         * manual/install.texi: Add requirements for testing the pretty
13005         printers.
13006         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13007         tests-printers, CFLAGS-test-mutexattr-printers.c
13008         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13009         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13010         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13011         * nptl/nptl-printers.py: New file.
13012         * nptl/nptl_lock_constants.pysym: Likewise.
13013         * nptl/test-cond-printers.c: Likewise.
13014         * nptl/test-cond-printers.py: Likewise.
13015         * nptl/test-condattr-printers.c: Likewise.
13016         * nptl/test-condattr-printers.py: Likewise.
13017         * nptl/test-mutex-printers.c: Likewise.
13018         * nptl/test-mutex-printers.py: Likewise.
13019         * nptl/test-mutexattr-printers.c: Likewise.
13020         * nptl/test-mutexattr-printers.py: Likewise.
13021         * nptl/test-rwlock-printers.c: Likewise.
13022         * nptl/test-rwlock-printers.py: Likewise.
13023         * nptl/test-rwlockattr-printers.c: Likewise.
13024         * nptl/test-rwlockattr-printers.py: Likewise.
13025         * scripts/gen-py-const.awk: Likewise.
13026         * scripts/test_printers_common.py: Likewise.
13027         * scripts/test_printers_exceptions.py: Likewise.
13029 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13031         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13032         argument.
13033         (Glibc.build_glibc): Strip installed shared libraries if
13034         requested.
13035         (get_parser): Add --strip option.
13036         (main): Update Context call.
13038 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13039             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13041         [BZ #20847]
13042         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13043         array bounds for else branch.
13044         (__execvpe): Style fixes.
13045         * posix/tst-vfork3.c (run_script): New function.
13046         (create_script): Likewise.
13047         (do_test): Use run_script internal function.
13048         (do_prepare): Use create_script internal function.
13050 2016-12-07  Andreas Schwab  <schwab@suse.de>
13052         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13053         (__elision_available): Don't declare.
13054         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13055         (__elision_available): Don't define.
13056         (elision_init): Don't set __elision_available.
13058 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13060         [BZ #20940]
13061         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13062         return Inf for arguments Inf and sNaN.
13063         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13064         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13065         Likewise.
13066         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13067         Likewise.
13068         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13069         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13070         for arguments Inf and sNaN.  When returning a NaN, compute it by
13071         arithmetic on the arguments.
13072         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13073         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13074         arguments.
13076 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13078         [BZ #20916]
13079         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13080         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13081         to compute result.
13082         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13083         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13085 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13087         * include/atomic.h (__atomic_check_size_ls): New.
13088         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13089         atomic_store_release): Use it.
13090         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13091         (elision_adapt, ELIDE_LOCK): Use atomics.
13092         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13093         atomics and improve code comments.
13094         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13095         (__lll_trylock_elision): Likewise.
13097 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13099         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13100         programs.
13102 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13104         [BZ #20916]
13105         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13106         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13107         arguments to compute result.
13108         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13109         1 for arguments (sNaN, 0) or (1, sNaN).
13110         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13113         [BZ #20919]
13114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13115         NaN first argument when raised to power 0.
13116         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13117         raising to power zero.
13118         * math/w_powf.c (__powf): Likewise.
13119         * math/w_powl.c (__powl): Likewise.
13120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13121         pow (0, 0) or pow (NaN, 0).
13123 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13125         [BZ #20918]
13126         * configure.ac: Test for static NSS cryptographic libraries and set
13127         libc_cv_static_nss_crypt.
13128         * configure: Regenerate.
13129         * config.make.in (static-nss-crypt): Define.
13130         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13131         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13132         (CFLAGS-tst-linkall-static.c): Define.
13133         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13134         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13135         ($(objpfx)tst-linkall-static): Define.
13136         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13137         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13139 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13141         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13142         (one-hundred, tst-tls-many-dynamic-modules): Define.
13143         (modules-names): Add $(tst-tls-many-dynamic-modules).
13144         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13145         macros.
13146         (tst-tls-manydynamic): Link against libdl, libpthread.
13147         (tst-tls-manydynamic.out): The test needs the test modules at run
13148         time.
13149         * elf/tst-tls-manydynamic.c: New file.
13150         * elf/tst-tls-manydynamic.h: Likewise.
13151         * elf/tst-tls-manydynamicmod.c: Likewise.
13153 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13155         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13156         (TLS_DTV_UNALLOCATED): Add.
13157         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13158         offsets.
13160 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13162         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13164 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13166         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13167         Add -fno-optimize-sibling-calls.
13169 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13171         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13172         New declaration.
13173         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13174         macro.
13175         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13176         New macro.
13177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13179         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13180         (llogbf): Likewise.
13181         (llogbl): Likewise.
13182         * math/Makefile (gen-libm-calls): Add w_llogbF.
13183         (tests): Add test-fp-llogb-constants.
13184         * math/w_llogb_template.c: New file.  Based on
13185         math/w_ilogb_template.c.
13186         * math/libm-test.inc (llogb_test_data): New array.
13187         (llogb_test): New function.
13188         (main): Call llogb_test.
13189         * math/test-fp-llogb-constants.c: New file.  Based on
13190         math/test-fp-ilogb-constants.c.
13191         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13192         (do_test): Call check_return_llogb.
13193         * math/test-tgmath.c (NCALLS): Increase to 126.
13194         (F(compile_test)): Call llogb.
13195         (F(llogb)): New function.
13196         * manual/math.texi (Exponents and Logarithms): Document llogb,
13197         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13198         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13199         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13200         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13201         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13202         (CFLAGS-nldbl-llogb.c): New variable.
13203         * sysdeps/nacl/libm.abilist: Update.
13204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13217         Likewise.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13219         Likewise.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13221         Likewise.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13223         Likewise.
13224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13230         Likewise.
13231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13232         Likewise.
13233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13237 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13239         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13240         _Float128 instead of long double.
13241         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13243         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13244         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13245         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13246         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13247         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13248         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13249         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13250         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13251         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13252         Likewise.
13254 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13256         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13257         Remove redirection to __strrchr_ppc.
13259 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13261         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13262         (sysdep_routines): Add strcmp_power9.
13263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13264         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13265         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13266         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13267         (strcmp): Add __strcmp_power9 to ifunc list.
13268         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13270 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13272         * bits/fp-logb.h: New file.
13273         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13274         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13275         * sysdeps/x86/bits/fp-logb.h: Likewise.
13276         * math/Makefile (headers): Add bits/fp-logb.h.
13277         * math/math.h: Include <bits/fp-logb.h>.
13278         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13279         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13280         * bits/mathdef.h (FP_ILOGB0): Remove.
13281         (FP_ILOGBNAN): Likewise.
13282         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13283         (FP_ILOGBNAN): Likewise.
13284         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13285         (FP_ILOGBNAN): Likewise.
13286         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13287         (FP_ILOGBNAN): Likewise.
13288         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13289         (FP_ILOGBNAN): Likewise.
13290         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13291         (FP_ILOGBNAN): Likewise.
13292         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13293         (FP_ILOGBNAN): Likewise.
13294         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13295         (FP_ILOGBNAN): Likewise.
13296         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13297         (FP_ILOGBNAN): Likewise.
13298         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13299         (FP_ILOGBNAN): Likewise.
13301         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13302         time module.
13303         (Context.__init__): Initialize self.logsdir_old.
13304         (Context.run_builds): Handle bot action.
13305         (Context.bot_cycle): Copy logs directory before running builds.
13306         (Context.bot_run_self): Take argument for whether to check
13307         subprocess result.  Flush stdout before running subprocess.
13308         (Context.bot): New function.
13309         (get_parser): Allow bot action.
13311 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13313         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13314         Import email.mime.text, email.utils and smtplib modules.
13315         (Context.__init__): Initialize self.bot_config_json.
13316         (Context.run_builds): Handle bot-cycle action.
13317         (Context.load_bot_config_json): New function.
13318         (Context.part_build_old): Likewise.
13319         (Context.bot_cycle): Likewise.
13320         (Context.bot_build_mail): Likewise.
13321         (Context.bot_run_self): Likewise.
13322         (get_parser): Allow bot-cycle action.
13324 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13327         Remove redirection to __stpcpy_ppc.
13329 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13331         Remove __libc_memalign from ld.so because it is unused.
13332         * elf/dl-minimal.c: Update comment on the malloc implementation.
13333         (malloc): Renamed from __libc_memalign, replacing the original
13334         malloc implementation.  Replace the align parameter with
13335         MALLOC_ALIGNMENT.
13336         * elf/Versions (ld): Update comment and remove __libc_memalign.
13337         * sysdeps/nacl/ld.abilist: Likewise.
13338         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13339         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13340         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13342         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13343         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13344         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13345         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13348         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13349         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13350         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13355         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13358         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13362         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13363         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13364         * sysdeps/generic/localplt.data (ld.so): Likewise.
13365         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13366         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13367         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13368         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13369         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13370         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13371         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13372         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13373         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13375         (ld.so): Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13377         (ld.so): Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13379         Likewise.
13380         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13381         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13382         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13383         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13384         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13386 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13388         [BZ #16628]
13389         Implement _dl_catch_error, _dl_signal_error in libc.so.
13390         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13391         (catch_hook): Define as thread-local or regular variable,
13392         depending on DL_ERROR_BOOTSTRAP.
13393         (CATCH_HOOK): Remove.
13394         (dl_signal_error, _dl_catch_error): Use
13395         catch_hook.  Add hidden definition for libc.
13396         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13397         for DL_ERROR_BOOTSTRAP only.
13398         * elf/dl-error.c: New file.
13399         * elf/dl-error-minimal.c: Likewise.
13400         * elf/tst-latepthread.c: Likewise.
13401         * elf/tst-latepthreadmod.c: Likewise.
13402         * elf/Makefile (routines): Add dl-error.
13403         (dl-routines): Remove dl-error.
13404         (rtld-routines): Add dl-error-minimal.
13405         [build-shared] (tests): Add tst-latepthread.
13406         (module-names): Add tst-latepthreadmod.
13407         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13408         symbol.
13409         (tst-latepthreadmod.so): Link against libpthread.
13410         (tst-latepthread): Link against libdbl.
13411         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13412         _dl_catch_error.
13413         [ld] (GLIBC_PRIVATE): Likewise.
13414         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13415         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13416         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13417         directly.
13418         * elf/dl-tsd.c: Remove file.
13419         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13420         _dl_catch_error, _dl_signal_error.
13421         (_dl_initial_error_catch_tsd): Remove definition.
13422         (do_preload): Remove initialization of dl_error_catch_tsd.
13423         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13424         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13425         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13426         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13427         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13428         set dl_error_catch_tsd.
13429         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13430         _dl_error_catch_tsd member.
13431         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13432         members.
13433         (_dl_initial_error_catch_tsd): Remove declaration.
13434         (_dl_dprintf): Provide definition for use outside of ld.so.
13435         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13436         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13437         prototype for libc.
13438         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13439         _dl_catch_error.
13440         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13441         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13442         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13443         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13444         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13445         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13446         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13447         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13448         Likewise.
13449         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13451         (ld.so): Likewise.
13452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13453         (ld.so): Likewise.
13454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13455         Likewise.
13456         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13457         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13458         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13459         Likewise.
13460         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13461         Likewise.
13462         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13464 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13466         [BZ #4099]
13467         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13468         _IO_BUFSIZ (8192).
13470 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13472         * PROJECTS: Remove file.
13474 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13476         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13478 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13479             Steve Ellcey  <sellcey@caviumnetworks.com>
13481         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13482         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13483         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13484         fxstatat.
13485         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13486         lxstat.
13487         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13488         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13489         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13490         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13491         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13492         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13493         __xstat.
13495 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13497         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13498         Define.
13499         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13500         definition.
13502 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13504         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13505         version and turn into strong alias.  Remove compat symbol.
13507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13508         (__longjmp): Remove.
13510 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13512         * bits/fp-fast.h: New file.
13513         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13514         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13515         * math/Makefile (headers): Add bits/fp-fast.h.
13516         * math/math.h: Include <bits/fp-fast.h>.
13517         * bits/mathdef.h (FP_FAST_FMA): Remove.
13518         (FP_FAST_FMAF): Likewise.
13519         (FP_FAST_FMAL): Likewise.
13520         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13521         (FP_FAST_FMAF): Likewise.
13522         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13523         (FP_FAST_FMAF): Likewise.
13524         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13525         (FP_FAST_FMAF): Likewise.
13526         (FP_FAST_FMAL): Likewise.
13527         * sysdeps/arm/bits/mathdef.h: Remove file.
13528         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13529         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13530         * sysdeps/tile/bits/mathdef.h: Likewise.
13532 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13534         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13535         * math/w_ilogb.c: Remove.
13536         * math/w_ilogbf.c: Likewise.
13537         * math/w_ilogbl.c: Likewise.
13538         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13539         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13540         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13541         (libm-calls): Remove w_ilogbF.
13542         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13543         (LDOUBLE_ilogbl_libm_version): New macro.
13545         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13547         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13548         [!__STRICT_ANSI__ && !__cplusplus].
13550 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13552         [BZ #20750]
13553         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13554         of PIC.
13556 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13557             Yury Norov  <ynorov@caviumnetworks.com>
13558             Steve Ellcey  <sellcey@caviumnetworks.com>
13560         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13561         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13562         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13563         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13564         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13565         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13566         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13567         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13568         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13569         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13570         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13571         to get correct reg name for ILP32.
13572         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13573         (RELA_SIZE): New Macro.
13574         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13575         to support ILP32.
13576         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13577         cast for ILP32 mode.
13578         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13579         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13580         * sysdeps/aarch64/memset.S (__memset): Ditto.
13581         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13582         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13583         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13584         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13585         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13586         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13587         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13588         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13589         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13590         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13591         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13592         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13593         change PTR_MANGLE call to use register numbers instead of names.
13594         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13595         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13596         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13597         * sysdeps/aarch64/start.S (_start): Ditto.
13598         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13599         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13600         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13601         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13602         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13603         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13604         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13605         Make defined values dependent on __ILP32__.
13606         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13607         (sem_t): Change __align type.
13608         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13609         PTR_SIZE): New Macros.
13610         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13611         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13612         Set when in ILP32 mode.
13613         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13614         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13615         Set elf flags for ILP32.
13616         (add_system_dir): Set ILP32 library directories.
13617         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13618         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13619         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13620         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13621         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13622         New Macros.
13623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13625 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13627         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13628         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13629         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13631 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13633         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13634         <asm/cachectl.h>.
13636 2016-11-27  Zack Weinberg  <zackw@panix.com>
13638         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13639         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13641 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13643         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13644         error_t to fix usage in C++ programs.
13646 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13648         * scripts/build-many-glibcs.py: Import datetime module.
13649         (Context.__init__): Load JSON build state.  Initialize list of
13650         status logs.
13651         (Context.run_builds): Update saved build state.
13652         (Context.add_makefile_cmdlist): Update list of status logs.
13653         (Context.load_build_state_json): New function.
13654         (Context.store_build_state_json): Likewise.
13655         (Context.clear_last_build_state): Likewise.
13656         (Context.update_build_state): Likewise.
13657         (CommandList.status_logs): Likewise.
13659 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13661         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13662         script being executed.
13663         (Context.get_script_text): New function.
13664         (Context.exec_self): Likewise.
13665         (Context.checkout): Re-exec script if changed by checkout process.
13667 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13669         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13670         (setpayloadsig): New declaration.
13671         * math/Versions (setpayloadsig): New libm symbol at version
13672         GLIBC_2.25.
13673         (setpayloadsigf): Likewise.
13674         (setpayloadsigl): Likewise.
13675         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13676         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13677         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13678         (setpayloadsig_test_data): New array.
13679         (setpayloadsig_test): New function.
13680         (main): Call setpayloadsig_test.
13681         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13682         setpayloadsigf and setpayloadsigl.
13683         * manual/libm-err-tab.pl: Update comment on interfaces without
13684         ulps tabulated.
13685         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13686         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13687         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13688         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13689         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13690         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13691         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13692         setpayloadsig.
13693         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13694         * sysdeps/nacl/libm.abilist: Update.
13695         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13696         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13697         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13698         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13699         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13700         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13701         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13702         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13703         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13704         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13705         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13708         Likewise.
13709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13710         Likewise.
13711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13712         Likewise.
13713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13714         Likewise.
13715         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13721         Likewise.
13722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13723         Likewise.
13724         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13728         * scripts/build-many-glibcs.py: Import json module.
13729         (Context.__init__): Take replace_sources argument.  Load
13730         versions.json.
13731         (Context.load_versions_json): New function.
13732         (Context.store_json): Likewise.
13733         (Context.store_versions_json): Likewise.
13734         (Context.set_component_version): Likewise.
13735         (Context.checkout): Update versions.json.  Check for and handle
13736         changes of version.  Prefer previously explicitly specified
13737         version to default version.
13738         (Context.checkout_vcs): Return a revision identifier.
13739         (Context.git_checkout): Likewise.
13740         (Context.gcc_checkout): Likewise.
13741         (get_parser): Add --replace-sources option.
13742         (main): Pass replace_sources argument to Context call.
13744 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13746         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13747         * nptl/allocatestack.c (allocate_stack): Likewise.
13748         (__reclaim_stacks): Likewise.
13749         (setxid_signal_thread): Obtain pid through syscall.
13750         * nptl/nptl-init.c (sigcancel_handler): Likewise.
13751         (sighandle_setxid): Likewise.
13752         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13753         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13754         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13755         Likewise.
13756         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13757         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13758         comment.
13759         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13760         * nptl/descr.h (struct pthread): Change comment about pid value.
13761         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13762         pid assert.
13763         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13764         Do not set pid value.
13765         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13766         pid cache check.
13767         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13768         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13769         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13770         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13771         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13772         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13773         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13774         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13775         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13776         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13777         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13778         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13779         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13780         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13781         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13782         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13783         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13784         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13785         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13786         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13787         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13788         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13789         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13790         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13791         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13794         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13795         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13796         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13797         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13798         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13799         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13800         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13801         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13802         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13803         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13804         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13805         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13806         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13807         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13808         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13809         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13812         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13813         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13814         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13815         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13817         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13818         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13819         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13820         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13821         struct access.
13822         (clone_test): Remove function.
13823         (do_test): Rewrite to take in consideration pid is not cached anymore.
13825 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13827         * bits/flt-eval-method.h: New file.
13828         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13829         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13830         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13831         * math/Makefile (headers): Add bits/flt-eval-method.h.
13832         * math/math.h: Include <bits/flt-eval-method.h>.
13833         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13834         [__USE_ISOC99] (double_t): Likewise.
13835         * bits/mathdef.h (float_t): Remove.
13836         (double_t): Likewise.
13837         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13838         (double_t): Likewise.
13839         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13840         (double_t): Likewise.
13841         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13842         (double_t): Likewise.
13843         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13844         (double_t): Likewise.
13845         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13846         (double_t): Likewise.
13847         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13848         (double_t): Likewise.
13849         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13850         (double_t): Likewise.
13851         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13852         (double_t): Likewise.
13853         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13854         (double_t): Likewise.
13855         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13856         (double_t): Likewise.
13857         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13858         (double_t): Likewise.
13859         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13860         (double_t): Likewise.
13861         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13862         (double_t): Likewise.
13864 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
13866         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13867         instead of PIC.
13869 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #20859]
13872         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13873         (-0x7fffffff) instead of 0x80000001.
13874         * math/test-fp-ilogb-constants.c: New file.
13875         * math/Makefile (tests): Add test-fp-ilogb-constants.
13877 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
13879         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13880         (_init): Use it in place of hardcoded R_MIPS_JALR.
13881         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13882         (_init): Use it in place of hardcoded R_MIPS_JALR.
13883         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13884         (_init): Use it in place of hardcoded R_MIPS_JALR.
13886 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13888         [BZ #20787]
13889         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13890         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13891         (double_t): Do not define to double if [__x86_64__] when
13892         __FLT_EVAL_METHOD__ is nonzero.
13893         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13894         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13895         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13896         test-flt-eval-method-387 and test-flt-eval-method-sse.
13897         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13898         variable.
13899         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13901 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
13903         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13904         use of -fno-isolate-erroneous-paths options for tilepro.
13906 2016-11-23  Florian Weimer  <fweimer@redhat.com>
13908         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13909         structure initialization is no longer needed.
13911 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #20855]
13914         * bits/mathdef.h (float_t): Define to float.
13915         * math/test-flt-eval-method.c: New file.
13916         * math/Makefile (tests): Add test-flt-eval-method.
13917         (CFLAGS-test-flt-eval-method.c): New variable.
13919 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
13921         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13922         and __fstatfs.  Make them aliases of __fstatfs64 if
13923         STATFS_IS_STATFS64 is set to non-zero.
13924         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13925         and __statfs64.
13926         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13927         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13928         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13929         for __statfs and statfs.
13930         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13931         to 0.
13932         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13933         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13934         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13935         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13936         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13937         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13940         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13941         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13942         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13943         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13945 2016-11-22  Andreas Schwab  <schwab@suse.de>
13947         * misc/mkstemp.c: Include <fcntl.h>.
13948         * misc/mkstemps.c: Likewise.
13949         * misc/mkostemp.c: Likewise.
13950         * misc/mkostemps.c: Likewise.
13952 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
13954         [BZ #20847]
13955         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13956         array bounds.
13957         (__execvpe): Likewise.
13959 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
13961         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13962         -fno-isolate-erroneous-paths options for tilepro.
13964 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
13966         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13967         to 0 when in 32 bit mode.
13968         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13969         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13970         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13971         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13973         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13974         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13975         XSTAT_IS_XSTAT64 test.
13976         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13977         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13978         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13979         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13980         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13981         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13982         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13983         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13984         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13985         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13986         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13988 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
13990         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13991         (setpayload): New declaration.
13992         * math/Versions (setpayload): New libm symbol at version
13993         GLIBC_2.25.
13994         (setpayloadf): Likewise.
13995         (setpayloadl): Likewise.
13996         * math/Makefile (libm-calls): Add s_setpayloadF.
13997         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13998         test_Ff_b1_data.
13999         (RUN_TEST_Ff_b1): New macro.
14000         (RUN_TEST_LOOP_Ff_b1): Likewise.
14001         (canonicalize_test_data): Update type.
14002         (setpayload_test_data): New array.
14003         (setpayload_test): New function.
14004         (main): Call setpayload_test.
14005         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14006         setpayloadf and setpayloadl.
14007         * manual/libm-err-tab.pl: Update comment on interfaces without
14008         ulps tabulated.
14009         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14010         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14011         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14012         Likewise.
14013         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14014         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14019         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14021         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14022         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14023         setpayload.
14024         (CFLAGS-nldbl-setpayload.c): New variable.
14025         * sysdeps/nacl/libm.abilist: Update.
14026         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14027         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14028         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14029         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14030         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14031         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14032         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14033         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14034         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14035         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14036         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14037         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14039         Likewise.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14041         Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14043         Likewise.
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14045         Likewise.
14046         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14047         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14048         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14049         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14050         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14052         Likewise.
14053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14054         Likewise.
14055         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14057         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14059 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14061         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14062         * include/unistd.h: Extend comment about __access_noerrno return
14063         semantics.
14064         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14065         (access_common): Correct typo for EACCES.
14067 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14069         * sysdeps/tile/math-tests.h: New file.
14071         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14072         (__old_set_dataplane): Rename from set_dataplane and make a
14073         compatibility symbol.
14074         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14075         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14076         sys/dataplane.h.
14078 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14080         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14081         script quote words in command output to log suitably for input to
14082         the shell.
14084 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14085             Maciej W. Rozycki  <macro@imgtec.com>
14087         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14088         `.Lno_weak_fn' label.
14089         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14090         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14092 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14093             Yury Norov  <ynorov@caviumnetworks.com>
14095         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14096         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14097         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14098         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14099         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14101         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14103         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14104         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14105         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14106         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14107         (sysdep_routines): Remove oldgetrlimit64.
14108         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14109         (sysdep_routines): Likewise.
14110         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14111         (sysdep_routines): Likewise.
14112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14113         [$(subdir) = resource] (sysdep_routines): Likewise.
14114         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14115         [$(subdir) = resource] (sysdep_routines): Likewise.
14116         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14117         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14118         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14119         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14120         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14121         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14122         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14123         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14124         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14125         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14126         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14127         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14128         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14129         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14130         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14131         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14132         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14133         setrlimit and getrlimit.
14134         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14135         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14136         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14140         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14141         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14142         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14143         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14144         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14145         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14146         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14147         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14148         (__old_getrlimit64): Add compatibility symbol.
14149         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14151 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14153         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14154         newly built gmp, mpfr and mpc.
14156         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14158 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14160         * conform/Makefile (linknamespace-libs): Rename to
14161         linknamespace-libs-thr.
14162         (linknamespace-libs-posix): New variable.
14163         (linknamespace-libs-xsi): Likewise.
14164         (linknamespace-libs-XPG3): Include libcrypt.a.
14165         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14166         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14167         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14168         (linknamespace-libs-XOPEN2K): Likewise.
14169         (linknamespace-libs-XOPEN2K8): Likewise.
14170         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14172         [BZ #20829]
14173         * stdio-common/Versions (__snprintf): Add to version
14174         GLIBC_PRIVATE.
14175         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14176         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14177         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14178         of snprintf.
14179         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14181 2016-11-16  Zack Weinberg  <zackw@panix.com>
14183         * string/string.h: Remove obsolete comment stating that
14184         strcoll_l and strxfrm_l have not yet been standardized.
14186 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14188         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14189         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14190         __access_noerrno.
14191         * io/access.c (__access_noerrno): New function.
14192         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14193         (hurd_fail_seterrno): Likewise.
14194         (access_common): Likewise.
14195         (__access_noerrno): Likewise.
14196         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14197         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14198         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14199         macro.
14201 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14203         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14204         Only declare fpregs if [__SH_FPU_ANY__].
14206 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14208         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14209         Make code unconditional.
14210         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14212 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14214         * manual/sysinfo.texi (S_APPEND): Delete.
14215         (S_IMMUTABLE): Likewise.
14217 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14218             Magnus Granberg  <zorry@gentoo.org>
14219             Mike Frysinger  <vapier@gentoo.org>
14221         [BZ #20662]
14222         * configure.ac (libc_cv_predef_stack_protector): Also check for
14223         __stack_chk_fail_local symbols.
14224         * configure: Regenerated.
14226 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14228         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14229         (libc_hidden_def): Remove redefinition.
14230         (__sigsetjmp): Add hidden definition.
14231         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14232         (libc_hidden_def): Remove redefinition.
14233         (__sigsetjmp): Add hidden definition.
14235 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14237         * scripts/build-many-glibcs.py (os.path): Do not import.
14238         (Context): Inherit explicitly from object.  Remove blank line
14239         between class and docstring.
14240         (Config): Likewise.
14241         (Glibc): Likewise.
14242         (Command): Likewise.
14243         (CommandList): Likewise.
14244         (Context.write_files): Store chmod mode in a variable.
14246         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14247         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14248         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14250 2016-11-14  Zack Weinberg  <zackw@panix.com>
14252         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14253         creating or re-creating it.
14255         * string/bits/string2.h: Fix typo in comment.
14257 2016-11-14  Zack Weinberg  <zackw@panix.com>
14259         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14260         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14261         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14262         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14263         of redirected function names.
14265         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14266         as well.  Document that MESSAGE must be a single string literal.
14268 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14270         * scripts/build-many-glibcs.py: New file.
14272         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14273         (do_test): Disable -Wmaybe-uninitialized around uses of
14274         except_mask.
14276         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14278 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14280         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14281         (atomic_store_release): Provide tilepro-specific implementations.
14283 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14285         * math/math.h (__MATH_TG): New macro.
14286         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14287         [__USE_ISOC99] (signbit): Likewise.
14288         [__USE_ISOC99] (isfinite): Likewise.
14289         [__USE_ISOC99] (isnan): Likewise.
14290         [__USE_ISOC99] (isinf): Likewise.
14291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14294         __MATH_TG and __MATH_EVAL_FMT2.
14295         * sysdeps/generic/math_private.h (fabs_tg): Define using
14296         __MATH_TG.
14297         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14298         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14299         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14300         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14301         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14302         macro.
14303         (__iscanonical): Likewise.
14304         (iscanonical): Define using __MATH_TG.
14306 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14308         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14309         guards.
14311         * sysdeps/unix/sysv/linux/access.c: New file.
14312         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14314 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14316         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14317         and __WORDSIZE32_PTRDIFF_LONG.
14319 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14321         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14323 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14325         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14326         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14327         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14328         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14329         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14331         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14332         * sysdeps/unix/sysv/linux/truncate.c: New file.
14333         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14334         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14335         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14336         Remove.
14337         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14338         Likewise.
14340         * posix/tst-truncate-common.c: New file.
14341         * posix/tst-truncate.c: Use tst-truncate-common.c.
14342         * posix/tst-truncate64.c: Likewise and add LFS tests.
14343         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14344         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14345         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14346         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14347         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14349         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14350         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14351         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14352         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14353         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14354         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14355         Remove.
14356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14357         Likewise.
14359 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14361         [BZ #20790]
14362         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14363         to MAXLINESIZE.
14364         * sunrpc/bug20790.x: New file.
14365         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14366         variable.
14367         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14368         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14370         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14372         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14374         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14375         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14376         calloc, realloc, free, memalign and __libc_memalign rather than
14377         making them optional.
14379         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14380         for libc.so.
14382 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14384         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14385         ptw-lseek64.
14386         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14387         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14388         Likewise.
14389         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14390         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14391         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14392         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14393         * sysdeps/unix/sysv/linux/lseek.c: New file.
14394         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14395         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14396         __libc_lseek64 from auto-generation.
14397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14398         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14400 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14402         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14403         * nptl/tst-cleanup1.c (do_test): Likewise.
14404         * nptl/tst-cleanup3.c (do_test): Likewise.
14405         * nptl/tst-key1.c (do_test): Likewise.
14406         * nptl/tst-key2.c (tf, do_test): Likewise.
14407         * nptl/tst-key3.c (tf, do_test): Likewise.
14408         * nptl/tst-stdio1.c (do_test): Likewise.
14409         * nptl/tst-stdio2.c (do_test): Likewise.
14411         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14412         * nptl/tst-kill6.c (handler): Likewise.
14413         * nptl/tst-tls2.c (CB): Likewise.
14414         * nptl/tst-tls3.c (CB): Likewise.
14416 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14418         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14420 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14421             Steve Ellcey  <sellcey@caviumnetworks.com>
14423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14424           __ASSUME_ST_INO_64_BIT as 0
14425         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14426         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14427           over the code where __ASSUME_ST_INO_64_BIT is used.
14428         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14429         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14430         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14432 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14434         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14435         Document ABI exposure of the __kind offset.
14436         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14437         Mention reason for the __kind offset exposure in the ABI.
14438         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14439         Likewise.
14440         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14441         Likewise.
14442         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14443         Likewise.
14444         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14445         (struct __pthread_mutex_s): Likewise.
14446         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14447         Likewise.
14448         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14449         Likewise.
14450         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14451         Likewise.
14452         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14453         Likewise.
14454         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14455         Likewise.
14456         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14457         Likewise.
14458         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14459         (struct __pthread_mutex_s): Likewise.
14460         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14461         (struct __pthread_mutex_s): Likewise.
14462         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14463         Likewise.
14465 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14467         * test-skeleton.c: Document do_test usage.
14469 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14471         * iconv/gconv.h (__gconv_info): Define __data element using a
14472         zero-length array.
14474 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14476         * math/test-tgmath2.c: Split up test function.
14478 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14480         * Rules (tests-expected): New variable, depending on
14481         $(run-built-tests).
14482         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14483         $(tests).
14485         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14486         $(tests-unsupported).
14488 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14490         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14491         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14493 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14495         [BZ #20768]
14496         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14497         __fegetenv instead of fegetenv.
14499         [BZ #14139]
14500         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14501         (find_files): Obtain platform name from libm-test-ulps-name and
14502         store in %pplatforms.
14503         (canonicalize_platform): Remove.
14504         (print_platforms): Use $pplatforms directly.
14505         (by_platforms): Do not allow for platforms missing from
14506         %pplatforms.
14507         * sysdeps/aarch64/libm-test-ulps-name: New file.
14508         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14509         * sysdeps/arm/libm-test-ulps-name: Likewise.
14510         * sysdeps/generic/libm-test-ulps-name: Likewise.
14511         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14512         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14513         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14514         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14515         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14516         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14517         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14518         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14519         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14520         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14521         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14522         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14523         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14524         * sysdeps/sh/libm-test-ulps-name: Likewise.
14525         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14526         * sysdeps/tile/libm-test-ulps-name: Likewise.
14527         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14529         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14531         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14532         (test-xfail-check-execstack): New variable.
14534         * sysdeps/mips/localplt.data: New file.
14536 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14537             Steve Ellcey  <sellcey@caviumnetworks.com>
14539         * bits/wordsize.h: Add documentation.
14540         * sysdeps/aarch64/bits/wordsize.h : New file
14541         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14542         definitions.
14543         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14544         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14545         with #if instead of #ifdef.
14546         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14547         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14548         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14549         Add or change defines.
14550         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14551         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14552         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14553         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14554         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14555         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14556         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14557         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14558         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14559         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14560         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14561         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14562         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14563         * sysdeps/x86/bits/wordsize.h: Likewise.
14565 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14566             Kevin Petit  <kevin.petit@arm.com>
14568         * sysdeps/aarch64/memchr.S (__memchr): New file.
14570 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14572         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14574 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14576         [BZ #19398]
14577         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14578         $(linknamespace-symlists-tests).
14580 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14582         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14584 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14585             Carlos O'Donell  <carlos@redhat.com>
14587         [Bug #20729]
14588         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14589         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14590         for -Os related change.
14592 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14594         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14596 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14598         [BZ #19673]
14599         * manual/math.texi (Exponents and Logarithms): Correct description
14600         of clog10.
14602 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14604         [Bz #20729]
14605         * locale/weight.h: Include libc-internal.h.
14606         * locale/weightwc.h: Likewise.
14607         * nptl/nptl_dbP.h: Likewise.
14609 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14611         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14612         when it is MACH_PORT_NULL.
14614 2016-10-31  Andreas Schwab  <schwab@suse.de>
14616         [BZ #20707]
14617         * posix/glob.c (glob): Initialize pglob before checking for
14618         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14619         valid brace expression despite GLOB_BRACE.
14620         * posix/globtest.sh: Test it.
14622 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14624         [BZ #20729]
14625         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14626         Define.
14627         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14628         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14629         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14630         for seq2.back_us and seq1.back_us only for -Os compiles.
14631         * locale/weightwc.h (findix): Likewise.
14632         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14633         DB_GET_FIELD_ADDRESS only for -Os compiles.
14634         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14635         for slen only for -Os compiles.
14636         * string/strcoll_l.c (get_next_seq): Ignore
14637         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14638         for -Os compiles.
14640         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14641         * include/crypt.h: New file.
14643 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14645         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14646         from test-skeleton.c.
14647         (statclass): Replace calls to write with calls to write_message.
14649 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14651         * math/math.h
14652         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14653         New macro.
14654         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14655         Likewise.
14656         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14657         Likewise.
14658         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14659         SNANL.
14660         * math/test-double.h (snan_value_MACRO): New macro.
14661         * math/test-float.h (snan_value_MACRO): Likewise.
14662         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14663         * math/libm-test.inc (issignaling_test_data): Add tests of
14664         snan_value_MACRO.
14666 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14668         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14669         behavior when eliding a lock not held by the current thread.
14670         * sysdeps/powerpc/nptl/elide.h: Likewise.
14672 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14674         [BZ #20728]
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14676         branch to _exit() by a function call.
14678 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14680         * malloc/malloc.c: Update chunk layout comments.
14681         (chunk_main_arena): Update comment.
14683 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14685         * crypt/sha256.c, crypt/sha256-block.c,
14686         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14687         sha256_process_block to __sha256_process_block.
14688         * crypt/sha512.c, crypt/sha512-block.c,
14689         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14690         sha512_process_block to __sha512_process_block.
14692 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14694         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14696         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14698 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14700         [BZ #20019]
14701         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14702         definition in unrelocated shared library.
14703         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14705 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14707         [BZ #20729]
14708         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14709         * sysdeps/unix/sysv/linux/i386/Makefile
14710         (uses-6-syscall-arguments): Define.
14711         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14712         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14713         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14714         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14715         Likewise.
14716         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14717         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14718         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14719         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14720         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14721         (CFLAGS-fallocate64.os): Likewise.
14722         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14723         (CFLAGS-pthread_rwlock_timedrdlock.os)
14724         (CFLAGS-pthread_rwlock_timedwrlock.o)
14725         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14726         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14727         (CFLAGS-sem_timedwait.os): Likewise.
14729 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14731         * elf/tst-linkall-static.c: New file.
14732         * elf/Makefile (tests-static): Add tst-linkall-static.
14733         (tst-linkall-static): Link against static libraries.
14735 2016-10-27  Florian Weimer  <fweimer@redhat.com>
14737         * malloc/malloc.c (sysmalloc): Initialize previous size field of
14738         mmaped chunks.
14740 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14742         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14743         members to mchunk_prev_size, mchunk_size.
14744         (chunk_main_arena): Reverse sense and rename from
14745         chunk_non_main_arena.
14746         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14747         mchunk_size instead of size.
14748         (set_non_main_arena): Define.
14749         (chunksize): Use chunksize_nomask instead of direct member access.
14750         (chunksize_nomask): Define.
14751         (next_chunk): Use chunksize instead of direct member access.
14752         (prev_size, set_prev_size): Define.
14753         (prev_chunk): Use prev_size instead of direct member access.
14754         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14755         (inuse_bit_at_offset, set_inuse_bit_at_offset)
14756         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14757         (mchunk_prev_size, mchunk_size): Poison tokens.
14758         (unlink): Use chunksize_nomask, prev_size accessors.
14759         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14760         (do_check_free_chunk): Use prev_size accessor.
14761         (sysmalloc): Use set_prev_size, set_head accessors.
14762         (munmap_chunk, mremap_chunk): Use prev_size accessor.
14763         (__libc_free): Use chunksize_nomask accessor.
14764         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14765         chunk_main_arena accessors.
14766         (_int_free): Use chunksize_nomask, prev_size accessors.
14767         (malloc_consolidate): Use chunksize, prev_size accessors.
14768         (_int_realloc): Use chunksize_nomask accessor.
14769         (_int_memalign): Use set_prev_size accessor.
14770         (__malloc_info): Use chunksize_nomask accessor.
14771         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14772         accessors.
14773         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14774         (heap_trim): Use chunksize_nomask, prev_size accessors.
14776 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14778         [BZ #19380]
14779         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14780         for inexact results.
14781         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14782         of inexact result where mpfr_subnormalize is the only inexact
14783         step.
14784         * stdlib/tst-strtod-round-data.h: Regenerated.
14785         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14786         Define to 0.
14787         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14789 2016-10-27  David S. Miller  <davem@davemloft.net>
14791         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14793 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14795         * malloc/malloc.c (do_set_mallopt_check): New function.
14796         (do_set_mmap_threshold): Likewise.
14797         (do_set_mmaps_max): Likewise.
14798         (do_set_top_pad): Likewise.
14799         (do_set_perturb_byte): Likewise.
14800         (do_set_trim_threshold): Likewise.
14801         (do_set_arena_max): Likewise.
14802         (do_set_arena_test): Likewise.
14803         (__libc_mallopt): Use them.
14805 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
14807         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14808         (canonicalize): New declaration.
14809         * math/Versions (canonicalize): New libm symbol at version
14810         GLIBC_2.25.
14811         (canonicalizef): Likewise.
14812         (canonicalizel): Likewise.
14813         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14814         * math/s_canonicalize_template.c: New file.
14815         * math/libm-test.inc: Update comment on functions tested and
14816         testing of NaN payloads.
14817         (TEST_NAN_PAYLOAD): New macro.
14818         (NO_TEST_INLINE): Update value.
14819         (XFAIL_TEST): Likewise.
14820         (ERRNO_UNCHANGED): Likewise.
14821         (ERRNO_EDOM): Likewise.
14822         (ERRNO_ERANGE): Likewise.
14823         (IGNORE_RESULT): Likewise.
14824         (NON_FINITE): Likewise.
14825         (TEST_SNAN): Likewise.
14826         (NO_TEST_MATHVEC): Likewise.
14827         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14828         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14829         (struct test_Ffp_b1_data): New type.
14830         (RUN_TEST_Ffp_b1): New macro.
14831         (RUN_TEST_LOOP_Ffp_b1): Likewise.
14832         (canonicalize_test_data): New array.
14833         (canonicalize_test): New function.
14834         (main): Call canonicalize_test.
14835         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14836         canonicalizef and canonicalizel.
14837         * manual/libm-err-tab.pl: Update comment on interfaces without
14838         ulps tabulated.
14839         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14840         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14841         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14842         canonicalize.
14843         (CFLAGS-nldbl-canonicalize.c): New variable.
14844         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14845         to ...
14846         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14847         ... here.
14848         (do_test): Also test canonicalizel.
14849         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14850         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14851         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14852         file.
14853         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14854         Use libm_hidden_def.
14855         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14856         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14857         (do_test): Also test canonicalizel.
14858         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14859         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14860         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14861         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14862         libm_hidden_def.
14863         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14864         macro.
14865         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14866         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14867         * sysdeps/nacl/libm.abilist: Update.
14868         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14869         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14870         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14871         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14872         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14873         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14874         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14875         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14876         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14877         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14878         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14879         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14881         Likewise.
14882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14883         Likewise.
14884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14885         Likewise.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14887         Likewise.
14888         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14889         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14890         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14891         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14892         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14894         Likewise.
14895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14896         Likewise.
14897         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14898         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14899         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14901         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14902         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14903         getpayload.
14904         (CFLAGS-nldbl-getpayload.c): New variable.
14906 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14908         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14909         integer from the format string.
14911 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14913         [BZ #19473]
14914         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14915         declarations.
14916         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14917         weak aliases.
14918         * malloc/hooks.c (__malloc_get_state): Remove definition.
14919         (malloc_get_state): New stub implementation as
14920         compatibility symbol.
14921         (malloc_set_state): Rename from __malloc_set_state.  Turn into
14922         compat symbol.
14923         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14924         malloc_set_state.
14925         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14927 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14929         * iconvdata/iso646.c (enum variant): Drop illegal_var.
14930         (names): Turn into concatenation of strings.
14931         (gconv_init): Adapt iteration over names.
14933 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14935         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14936         make const.
14937         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14938         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14939         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14940         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14941         character in sbconv.
14942         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14943         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14944         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14946 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14948         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14950         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14951         (M_TRIM_THRESHOLD): Likewise.
14953         * manual/memory.texi (M_ARENA_TEST): Add documentation.
14954         (M_ARENA_MAX): Likewise.
14955         * malloc/malloc.c: Remove obsolete comment.
14957         * manual/memory.texi: Add environment variable alternatives to
14958         setting mallopt parameters.
14960 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
14962         * include/atomic.h
14963         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14964         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14966 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14968         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14969         * stdlib/tst-strfrom.h: New file.
14970         * stdlib/tst-strfrom.c: New file.
14971         * stdlib/tst-strfrom-locale.c: New file.
14973         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14974         * stdlib/bug-strtod2.c: Likewise.
14975         * stdlib/tst-strtod-round-skeleton.c: Likewise.
14976         * stdlib/tst-strtod6.c: Likewise.
14977         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14979 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14981         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14982         * manual/arith.texi: Document strfromd, strfromf, strfroml.
14983         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14984         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14985         * stdlib/stdlib.h (strfromd): New declaration.
14986         (strfromf): Likewise.
14987         (strfroml): Likewise.
14988         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
14989         strfrom.
14990         * stdlib/strfromd.c: New file.
14991         * stdlib/strfromf.c: Likewise.
14992         * stdlib/strfroml.c: Likewise.
14993         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14994         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14995         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14996         * sysdeps/arm/nacl/libc.abilist: Update.
14997         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14998         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14999         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15000         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15001         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15002         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15003         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15004         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15005         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15007         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15009         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15010         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15015         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15016         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15017         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15018         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15019         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15022         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15023         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15024         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15026 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15028         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15029         instead of cmpli.
15030         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15031         instead of cmpli.
15033 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15035         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15036         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15037         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15038         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15039         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15040         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15042 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15044         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15045         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15046         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15047         SYSCALL_LL64_PRW.
15048         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15049         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15050         __ASSUME_PRW_DUMMY_ARG.
15051         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15052         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15053         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15054         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15055         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15056         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15058 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15060         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15062 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15064         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15065         "C++", to override a potential extern "C" directive around the
15066         header file inclusion.
15068 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15070         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15072 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15074         * sysdeps/powerpc/fpu/fenv_private.h:
15075         (_FPU_MASK_ALL): Rename to...
15076         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15077         XE FPSCR bits.
15079         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15081         (_FPU_MASK_ROUNDING): Rename to...
15082         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15083         NI bits.
15085         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15086         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15087         bits and rounding bits.
15089         (__libc_feholdbits_ppc): New inline function to mask, set,
15090         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15091         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15092         (libc_feholdexcept_setround_ppc): Likewise.
15094         (__libc_femergeenv_ppc): New function to dynamically mask both
15095         old and new FP environments and merge.
15096         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15097         (libc_feresetround_ppc): Likewise.
15098         (libc_feupdateenv_test_ppc): Likewise.
15099         (libc_feupdateenv_ppc): Likewise.
15101         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15102         of ISA RN bits, and update macro names.
15103         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15104         effectively the same as the previously mentioned function.
15106         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15107         usage with fe_resetround_ppc.
15109         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15110         to be used.
15111         (libc_feholdexcept_setround_ctxf): Likewise.
15112         (libc_feholdexcept_setround_ctxl): Likewise.
15114 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15116         [BZ #20715]
15117         * math/math.h [__cplusplus] (iszero): Define as function template.
15118         * math/Makefile [CXX] (tests): Add test-math-iszero.
15119         (CFLAGS-test-math-iszero.cc): Set.
15120         * math/test-math-iszero.cc: New file.
15122 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #20660]
15125         * sysdeps/arm/e_sqrt.c: New file.
15126         * sysdeps/arm/e_sqrtf.c: Likewise.
15128 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15130         [BZ #20718]
15131         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15132         not use floating-point comparisons to test sign.
15133         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15134         Likewise.
15136         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15137         (getpayload): New declaration.
15138         * math/Versions (getpayload): New libm symbol at version
15139         GLIBC_2.25.
15140         (getpayloadf): Likewise.
15141         (getpayloadl): Likewise.
15142         * math/Makefile (libm-calls): Add s_getpayloadF.
15143         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15144         (struct test_f_f_data): Add comment.
15145         (RUN_TEST_fp_f): New macro.
15146         (RUN_TEST_LOOP_fp_f): Likewise.
15147         (getpayload_test_data): New array.
15148         (getpayload_test): New function.
15149         (main): Call getpayload_test.
15150         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15151         descriptor.
15152         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15153         getpayloadf and getpayloadl.
15154         * manual/libm-err-tab.pl: Update comment on interfaces without
15155         ulps tabulated.
15156         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15157         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15158         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15159         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15160         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15161         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15162         * sysdeps/nacl/libm.abilist: Update.
15163         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15164         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15165         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15166         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15167         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15168         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15169         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15170         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15171         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15172         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15173         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15174         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15176         Likewise.
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15180         Likewise.
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15184         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15185         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15186         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15187         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15189         Likewise.
15190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15191         Likewise.
15192         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15193         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15194         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15196 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15198         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15199         tst-fallocate{64}.
15200         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15201         on syscall return.
15203 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15205         [BZ #20689]
15206         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15207         usable.
15209 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15211         * sysdeps/generic/nan-high-order-bit.h: New file.
15212         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15213         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15214         * sysdeps/hppa/math_private.h: Remove file.
15215         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15216         not define here.
15217         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15218         <nan-high-order-bit.h>.
15219         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15220         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15221         <nan-high-order-bit.h>.
15222         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15223         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15224         <nan-high-order-bit.h>.
15225         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15226         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15227         <nan-high-order-bit.h>.
15228         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15229         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15230         <nan-high-order-bit.h>.
15231         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15232         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15233         <nan-high-order-bit.h>.
15234         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15235         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15236         <nan-high-order-bit.h>.
15237         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15238         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15239         <nan-high-order-bit.h>.
15240         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15241         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15242         <nan-high-order-bit.h>.
15243         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15244         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15245         <nan-high-order-bit.h>.
15246         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15247         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15248         <nan-high-order-bit.h>.
15249         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15250         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15251         <nan-high-order-bit.h>.
15252         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15253         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15254         <nan-high-order-bit.h>.
15255         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15256         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15257         <nan-high-order-bit.h>.
15258         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15259         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15260         <nan-high-order-bit.h>.
15261         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15262         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15263         <nan-high-order-bit.h>.
15264         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15265         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15266         <nan-high-order-bit.h>.
15267         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15268         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15269         <nan-high-order-bit.h>.
15270         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15272 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15274         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15276 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15278         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15279         abort-instr.h.
15280         (EFAULT): Remove conditional define.
15281         (ENOSYS): Likewise.
15282         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15283         instead of conditional branch instructions.
15285 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15287         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15288         (totalordermag): New declaration.
15289         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15290         New macro.
15291         * math/Versions (totalordermag): New libm symbol at version
15292         GLIBC_2.25.
15293         (totalordermagf): Likewise.
15294         (totalordermagl): Likewise.
15295         * math/Makefile (libm-calls): Add s_totalordermagF.
15296         * math/libm-test.inc (totalordermag_test_data): New array.
15297         (totalordermag_test): New function.
15298         (main): Call totalordermag_test.
15299         * math/test-tgmath.c (NCALLS): Increase to 125.
15300         (F(compile_test)): Call totalordermag.
15301         (F(totalordermag)): New function.
15302         * manual/arith.texi (FP Comparison Functions): Document
15303         totalordermag, totalordermagf and totalordermagl.
15304         * manual/libm-err-tab.pl: Update comment on interfaces without
15305         ulps tabulated.
15306         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15307         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15308         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15309         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15310         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15311         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15312         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15313         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15314         totalordermag.
15315         (CFLAGS-nldbl-totalordermag.c): New variable.
15316         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15317         (do_test): Also test totalordermagl.
15318         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15319         Likewise.
15320         * sysdeps/nacl/libm.abilist: Update.
15321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15322         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15323         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15324         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15327         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15328         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15329         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15330         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15331         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15334         Likewise.
15335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15336         Likewise.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15338         Likewise.
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15340         Likewise.
15341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15343         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15344         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15345         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15347         Likewise.
15348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15349         Likewise.
15350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15351         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15354 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15356         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15357         boolean.
15359 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15361         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15362         raising FE_INVALID with feraisexcept in case where part of
15363         argument is infinite, subtract that part of argument from itself.
15364         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15365         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15366         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15368 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15370         * math/libm-test.inc (totalorder_test_data): Add more tests.
15372 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15374         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15375         Undefine weak_alias and add a comment why mips64 require
15376         versioning.
15378 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15380         [BZ #20647]
15381         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15382         maximum CPUID level is less than 2.
15384 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15386         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15387         (totalorder): New declaration.
15388         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15389         New macro.
15390         * math/Versions (totalorder): New libm symbol at version
15391         GLIBC_2.25.
15392         (totalorderf): Likewise.
15393         (totalorderl): Likewise.
15394         * math/Makefile (libm-calls): Add s_totalorderF.
15395         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15396         string.
15397         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15398         (qnan_value_pl): Likewise.
15399         (snan_value_pl): Likewise.
15400         (qnan_value): Define using qnan_value_pl.
15401         (snan_value): Define using snan_value_pl.
15402         (struct test_ff_i_data): Add comment about which tests use this
15403         structure.
15404         (RUN_TEST_ff_b): New macro.
15405         (RUN_TEST_LOOP_ff_b): Likewise.
15406         (totalorder_test_data): New array.
15407         (totalorder_test): New function.
15408         (main): Call totalorder_test.
15409         * math/test-tgmath.c (NCALLS): Increase to 122.
15410         (F(compile_test)): Call totalorder.
15411         (F(totalorder)): New function.
15412         * manual/arith.texi (FP Comparison Functions): Document
15413         totalorder, totalorderf and totalorderl.
15414         * manual/libm-err-tab.pl: Update comment on interfaces without
15415         ulps tabulated.
15416         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15417         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15418         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15419         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15420         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15421         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15422         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15423         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15424         totalorder.
15425         (CFLAGS-nldbl-totalorder.c): New variable.
15426         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15427         file.
15428         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15429         Add test-totalorderl-ldbl-128ibm.
15430         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15431         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15432         test-totalorderl-ldbl-96.
15433         * sysdeps/nacl/libm.abilist: Update.
15434         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15435         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15436         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15437         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15438         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15439         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15451         Likewise.
15452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15453         Likewise.
15454         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15460         Likewise.
15461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15464         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15465         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15467 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15469         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15470         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15471         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15472         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15473         remove ENOSYS implementation.
15474         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15475         Consolidate all Linux implementations.
15477 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15479         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15480         * resolv/herror.c (herror): Cast away const-ness.
15481         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15482         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15484 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15486         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15487         instead of M_NAN + M_NAN.
15488         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15490 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15492         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15493         unused variable 'p'.
15495 2016-10-09  Alan Modra  <amodra@gmail.com>
15496             Andreas Schwab  <schwab@linux-m68k.org>
15498         [BZ #20554]
15499         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15500         [PIC && !SHARED]: Set up PIC register for PLT call.
15502 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15504         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15505         conditional on value of [__FLT_EVAL_METHOD__].
15506         * math/test-iseqsig-excess-precision.c: New file.
15507         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15509 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15511         * math/s_iseqsig_template.c: Include math-private.h.
15513         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15514         * posix/tst-posix_fadvise.c: New file.
15515         * posix/tst-posix_fadvise64.c: Likewise.
15516         * posix/tst-posix_fadvise-common.c: Likewise.
15517         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15518         (__ASSUME_FADVISE64_64_6ARG): Define.
15519         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15520         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15522         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15523         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15524         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15525         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15526         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15527         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15528         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15529         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15530         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15533         Likewise.
15534         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15536         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15537         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15538         Alias to __posix_fadvise64_l32.
15539         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15540         Add compat definition to posix_fadvise64.
15541         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15542         Add versioned definition to posix_fadvise64.
15543         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15544         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15545         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15546         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15547         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15549         * io/Makefile (tests): Add tst-posix_fallocate and
15550         tst-posix_fallocate64.
15551         * io/tst-posix_fallocate-common.c: New file.
15552         * io/tst-posix_fallocate.c: Likewise.
15553         * io/tst-posix_fallocate64.c: Likewise.
15554         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15555         file.
15556         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15557         Likewise.
15558         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15559         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15560         Likewise.
15561         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15562         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15563         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15564         SYSCALL_LL to pass both offset and len arguments.
15565         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15566         Likewise.
15567         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15568         __libc_pwrite64 alias used by posix_fallocate64.
15570         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15571         tst-fallocate64.
15572         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15573         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15574         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15575         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15576         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15577         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15578         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15580         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15581         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15582         macro on offset argument.
15583         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15584         SYSCALL_LL64 on offset argument.
15586         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15587         tst-fallocate64.
15588         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15589         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15590         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15591         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15592         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15593         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15594         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15595         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15596         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15597         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15598         macro on offset argument.
15599         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15600         SYSCALL_LL64 on offset argument.
15601         * test-skeleton.c (FAIL_RET): Add macro.
15602         (FAIL_EXIT): Likewise.
15603         (FAIL_EXIT1): Likewise.
15604         (_FAIL): Likewise.
15606 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15608         [BZ #20629]
15609         resolv: Remove RES_USEBSTRING and its implementation.
15610         * resolv/resolv.h (RES_USEBSTRING): Remove.
15611         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15612         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15613         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15614         (labellen): Remove extended label types support.
15615         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15616         * resolv/res_init.c (res_setoptions): Likewise.
15617         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15619 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15621         resolv: Remove RES_NOIP6DOTINT and its implementation.
15622         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15623         (RES_NOIP6DOTINT): Remove.
15624         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15625         handling.
15626         * resolv/res_debug.c (p_option): Likewise.
15627         * resolv/res_init.c (res_setoptions): Likewise.
15628         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15630 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15632         resolv: Deprecate unimplemented flags.
15633         * misc/sys/cdefs.h (__glibc_macro_warning1)
15634         (__glibc_macro_warning): Define.
15635         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15636         (RES_KEEPTSIG): Mark as deprecated.
15637         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15638         RES_NOCHECKNAME, RES_KEEPTSIG.
15639         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15641 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15643         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15644         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15645         Use strong_alias to create symbols for glibc verison 2.19.
15647 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15649         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15651 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15653         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15655 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15657         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15659 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15661         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15662         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15663         in header for using it as type for ifunc function because __GI_* symbols
15664         for ppc32 do not target the ifunc symbols.
15665         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15667 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15669         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15670         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15671         libc_ifunc_hidden_def.
15672         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15673         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15674         Redirect ifunced function in header for using it as type of ifunc'ed
15675         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15676         function for __GI_* symbol.
15677         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15678         * include/libc-symbols.h
15679         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15681 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15683         [BZ #20478]
15684         * sysdeps/s390/multiarch/ifunc-resolve.h
15685         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15686         to create ifunc symbols.
15687         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15688         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15689         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15690         for using it as type for ifunc function.
15691         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15692         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15693         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15694         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15695         * sysdeps/s390/multiarch/strcat.c: Likewise.
15696         * sysdeps/s390/multiarch/strchr.c: Likewise.
15697         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15698         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15699         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15700         * sysdeps/s390/multiarch/strlen.c: Likewise.
15701         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15702         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15703         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15704         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15705         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15706         * sysdeps/s390/multiarch/strspn.c: Likewise.
15707         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15708         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15709         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15710         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15711         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15712         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15713         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15714         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15715         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15716         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15717         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15718         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15720 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15722         * include/libc-symbols.h (__ifunc_resolver):
15723         New macro is used by __ifunc* macros.
15724         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15725         depending on HAVE_GCC_IFUNC.
15726         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15727         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15729         Redirect ifunced function in header for using as type for ifunc function.
15730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15734         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15736         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15737         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15739         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15740         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15741         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15743         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15749         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15750         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15751         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15753         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15754         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15755         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15756         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15757         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15758         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15759         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15760         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15761         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15762         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15764         Add libc_hidden_def() and use libc_ifunc_hidden() macro
15765         instead of libc_ifunc() macro.
15766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15769 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15771         * config.h.in (HAVE_GCC_IFUNC): New undef.
15772         * configure.ac: Add check if gcc supports attribute ifunc feature.
15773         * configure: Regenerated.
15774         * manual/install.texi: Add recommendation for gcc with
15775         indirect-function support.
15776         * INSTALL: Regenerated.
15778 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
15780         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15781         macro.
15782         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15783         (__iseqsig): New declaration.
15784         * math/s_iseqsig_template.c: New file.
15785         * math/Versions (__iseqsigf): New libm symbol at version
15786         GLIBC_2.25.
15787         (__iseqsig): Likewise.
15788         (__iseqsigl): Likewise.
15789         * math/libm-test.inc (iseqsig_test_data): New array.
15790         (iseqsig_test): New function.
15791         (main): Call iseqsig_test.
15792         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15793         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15794         * manual/libm-err-tab.pl: Update comment on interfaces without
15795         ulps tabulated.
15796         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15797         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15798         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15799         * sysdeps/nacl/libm.abilist: Update.
15800         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15801         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15802         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15803         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15804         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15805         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15806         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15807         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15808         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15809         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15810         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15811         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15813         Likewise.
15814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15815         Likewise.
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15817         Likewise.
15818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15819         Likewise.
15820         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15821         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15822         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15823         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15824         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15826         Likewise.
15827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15828         Likewise.
15829         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15830         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15831         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15833 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15835         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15836         do_sincos_2, sloww, sloww1): Update comments.
15838         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15839         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15841         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15842         K boolean and rename it.
15843         (__sin): Adjust.
15844         (__cos): Adjust.
15846 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15847             Siddhesh Poyarekar  <siddhesh@sourceware.org>
15849         * manual/nss.texi: Fix typos in the manual.
15851 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15853         * manual/contrib.texi: Fix typos in the manual.
15855         * manual/maint.texi: Fix typos in the manual.
15857         * manual/install.texi: Fix typos in the manual.
15858         * INSTALL: Regenerated.
15860         * manual/lang.texi: Fix typos in the manual.
15862         * manual/probes.texi: Fix typos in the manual.
15864         * manual/threads.texi: Fix typos in the manual.
15866         * manual/debug.texi: Fix typos in the manual.
15868         * manual/crypt.texi: Fix typos in the manual.
15870         * manual/conf.texi: Fix typos in the manual.
15872         * manual/sysinfo.texi: Fix typos in the manual.
15874         * manual/users.texi: Fix typos in the manual.
15876         * manual/job.texi: Fix typos in the manual.
15878         * manual/process.texi: Fix typos in the manual.
15880         * manual/argp.texi: Fix typos in the manual.
15881         * manual/getopt.texi: Likewise.
15882         * manual/startup.texi: Likewise.
15884         * manual/signal.texi: Fix typos in the manual.
15886         * manual/setjmp.texi: Fix typos in the manual.
15888         * manual/resource.texi: Fix typos in the manual.
15890         * manual/time.texi: Fix typos in the manual.
15892         * manual/arith.texi: Fix typos in the manual.
15894         * manual/math.texi: Fix typos in the manual.
15896         * manual/syslog.texi: Fix typos in the manual.
15898         * manual/terminal.texi: Fix typos in the manual.
15900         * manual/socket.texi: Fix typos in the manual.
15902         * manual/filesys.texi: Fix typos in the manual.
15904         * manual/llio.texi: Fix typos in the manual.
15906         * manual/stdio.text: Fix typos in the manual.
15908 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15910         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15911         instead of K1.
15913         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15914         SHIFT_QUADRANT and make it bool.
15915         (do_sincos_2): Likewise.
15916         (sloww): Likewise.
15917         (sloww1): Likewise.
15918         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15919         (__cos): Likewise.
15921 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15923         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15925 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
15927         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15928         Define to __WORDSIZE, not conditional on [LONG_MAX ==
15929         0x7fffffffL].
15930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15932 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15934         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15935         inline by __inline__.
15936         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15937         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15938         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15939         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15940         sigset_t from signal.h.
15941         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15942         which is already required.
15944 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
15946         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15948 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
15950         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15951         (struct tcp_repair_window): New type.
15953 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15955         * libio/tst-memstream3.c: Include string.h.
15957 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15959         [BZ #18241]
15960         [BZ #20181]
15961         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15962         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15963         write position is at the end the buffer.
15964         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15965         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15966         (_IO_str_seekoff): Set correct offset from negative displacement and
15967         set EINVAL for invalid ones.
15968         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15969         buffer length.
15970         (_IO_wstr_switch_to_get_mode): New function.
15971         (_IO_wstr_seekoff): Set correct offset from negative displacement and
15972         set EINVAL for invalid ones.
15973         * libio/tst-memstream3.c: New file.
15974         * libio/tst-wmemstream3.c: Likewise.
15975         * manual/examples/memstrm.c: Remove warning when priting size_t.
15977 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15979         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15980         macro to use __builtin_fma.
15981         * sysdeps/x86_64/fpu/dla.h: Remove file.
15983         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15984         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15985         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15987 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
15989         [BZ #20292]
15990         * elf/Makefile (routines): Add dl-addr-obj.
15991         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15992         tst-_dl_addr_inside_object.
15993         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15994         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15995         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15996         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15997         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15998         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15999         * elf/dl-open.c: Likewise.
16000         * elf/dl-addr-obj.c: New file.
16001         * elf/tst-_dl_addr_inside_object.c: New file.
16003 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16005         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16006         <bits/iscanonical.h>.
16007         * bits/iscanonical.h: New file.
16008         * math/s_iscanonicall.c: Likewise.
16009         * math/Versions (__iscanonicall): New libm symbol at version
16010         GLIBC_2.25.
16011         * math/libm-test.inc (iscanonical_test_data): New array.
16012         (iscanonical_test): New function.
16013         (main): Call iscanonical_test.
16014         * math/Makefile (headers): Add bits/iscanonical.h.
16015         (type-ldouble-routines): Add s_iscanonicall.
16016         * manual/arith.texi (Floating Point Classes): Document
16017         iscanonical.
16018         * manual/libm-err-tab.pl: Update comment on interfaces without
16019         ulps tabulated.
16020         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16021         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16023         Likewise.
16024         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16025         test-iscanonical-ldbl-128ibm.
16026         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16027         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16028         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16029         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16030         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16031         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16034         Likewise.
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16036         Likewise.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16038         Likewise.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16040         Likewise.
16041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16042         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16044 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16046         * string/bits/string3.h: Remove C++ style comments.
16048 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16050         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16051         instead of ternary condition.
16052         (do_sincos_2): Likewise.
16053         (__sin): Likewise.
16054         (__cos): Likewise.
16055         (slow): Likewise.
16056         (sloww): Likewise.
16057         (sloww1): Likewise.
16058         (bsloww): Likewise.
16059         (bsloww1): Likewise.
16061         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16062         instead of ternary condition.
16063         (do_sin_slow): Likewise.
16064         (do_sincos_1): Likewise.
16065         (do_sincos_2): Likewise.
16066         (__cos): Likewise.
16067         (sloww): Likewise.
16068         (sloww1): Likewise.
16069         (sloww2): Likewise.
16070         (bsloww): Likewise.
16071         (bsloww1): Likewise.
16072         (bsloww2): Likewise.
16074         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16075         check from here...
16076         (slow2): ... and here...
16077         (__sin): ... to here.
16079 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16081         * math/math.h
16082         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16083         Cast argument to its own type.
16084         * math/test-iszero-excess-precision.c: New file.
16085         * math/Makefile (tests): Add test-iszero-excess-precision.
16086         (CFLAGS-test-iszero-excess-precision.c): New variable.
16088 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16090         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16091         field, add err field.
16092         (__spawni_child): Report error through err member instead of pipe.
16093         (__spawnix): Likewise.
16095 2016-09-28  Zack Weinberg  <zackw@panix.com>
16097         * scripts/check-installed-headers.sh: Generalize treatment of
16098         sys/elf.h to all target architectures.
16100         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16101         deleted typedef ucontext_t.
16103 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16105         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16106         (__INTERNAL_SYSCALL1): Likewise.
16107         (__INTERNAL_SYSCALL2): Likewise.
16108         (__INTERNAL_SYSCALL3): Likewise.
16109         (__INTERNAL_SYSCALL4): Likewise.
16110         (__INTERNAL_SYSCALL5): Likewise.
16111         (__INTERNAL_SYSCALL6): Likewise.
16112         (__INTERNAL_SYSCALL7): Likewise.
16113         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16114         (__INTERNAL_SYSCALL_NARGS): Likewise.
16115         (__INTERNAL_SYSCALL_DISP): Likewise.
16116         (INTERNAL_SYSCALL_CALL): Likewise.
16117         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16118         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16119         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16120         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16121         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16122         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16123         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16124         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16125         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16126         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16127         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16128         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16129         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16131 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16133         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16134         macro.
16135         * math/libm-test.inc (iszero_test_data): New array.
16136         (iszero_test): New function.
16137         (main): Call iszero_test.
16138         * manual/arith.texi (Floating Point Classes): Document iszero.
16139         * manual/libm-err-tab.pl: Update comment on interfaces without
16140         ulps tabulated.
16142 2016-09-23  Zack Weinberg  <zackw@panix.com>
16144         * scripts/check-installed-headers.sh: New script.
16145         * Rules: In each directory that defines header files to be installed,
16146         run check-installed-headers.sh on them as a special test.
16147         * Makefile: Likewise for the headers installed at top level.
16149         * include/aliases.h, include/alloca.h, include/argz.h
16150         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16151         * include/elf.h, include/envz.h, include/err.h
16152         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16153         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16154         * include/link.h, include/malloc.h, include/mcheck.h
16155         * include/mntent.h, include/netinet/ether.h
16156         * include/nss.h, include/obstack.h, include/printf.h
16157         * include/pty.h, include/resolv.h, include/rpc/auth.h
16158         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16159         * include/rpc/clnt.h, include/rpc/des_crypt.h
16160         * include/rpc/key_prot.h, include/rpc/netdb.h
16161         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16162         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16163         * include/rpc/rpc_msg.h, include/rpc/svc.h
16164         * include/rpc/svc_auth.h, include/rpc/xdr.h
16165         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16166         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16167         * include/rpcsvc/ypupd.h, include/shadow.h
16168         * include/stdio_ext.h, include/sys/epoll.h
16169         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16170         * include/sys/prctl.h, include/sys/profil.h
16171         * include/sys/statfs.h, include/sys/sysctl.h
16172         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16173         * sysdeps/arm/nacl/include/bits/setjmp.h
16174         * sysdeps/mips/include/sys/asm.h
16175         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16176         * sysdeps/unix/sysv/linux/include/sys/timex.h
16177         * sysdeps/x86/fpu/include/bits/fenv.h:
16178         Add #ifndef _ISOMAC guard around internal declarations.
16179         Add multiple-inclusion guard if not already present.
16181 2016-09-23  Zack Weinberg  <zackw@panix.com>
16183         * sysdeps/generic/sys/ucontext.h
16184         * sysdeps/arm/sys/ucontext.h
16185         * sysdeps/i386/sys/ucontext.h
16186         * sysdeps/m68k/sys/ucontext.h
16187         * sysdeps/mips/sys/ucontext.h
16188         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16189         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16190         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16191         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16192         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16193         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16194         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16195         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16196         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16197         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16198         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16199         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16200         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16201         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16202         Include both bits/sigcontext.h and bits/sigstack.h.
16203         Fix grammar error in comment, if present.
16205         * bits/sigstack.h
16206         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16207         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16208         * sysdeps/unix/sysv/linux/bits/sigstack.h
16209         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16210         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16211         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16212         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16213         * bits/sigcontext.h
16214         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16215         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16216         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16217         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16218         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16219         as well as signal.h, if this was not already allowed.  Request
16220         definition of size_t if necessary.  Minimize semantically-null
16221         differences across files.
16223 2016-09-23  Zack Weinberg  <zackw@panix.com>
16225         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16226         Remove all logic conditional on __need macros.  Move all the
16227         conditionally defined types to their own headers...
16228         * time/bits/types/clock_t.h: Define clock_t here.
16229         * time/bits/types/clockid_t.h: Define clockid_t here.
16230         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16231         * time/bits/types/struct_timespec.h: Define struct timespec here.
16232         * time/bits/types/struct_timeval.h: Define struct timeval here.
16233         * time/bits/types/struct_tm.h: Define struct tm here.
16234         * time/bits/types/time_t.h: Define time_t here.
16235         * time/bits/types/timer_t.h: Define timer_t here.
16236         * time/Makefile: Install the new headers.
16238         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16239         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16240         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16241         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16242         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16243         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16244         * sysdeps/unix/sysv/linux/bits/resource.h
16245         * sysdeps/unix/sysv/linux/bits/timex.h
16246         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16247         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16248         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16249         * sysdeps/unix/sysv/linux/sys/acct.h
16250         * sysdeps/unix/sysv/linux/sys/timerfd.h
16251         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16252         * time/sys/time.h, time/sys/timeb.h
16253         Use the new bits/types headers.
16255         * include/time.h: Remove __need logic.
16256         * include/bits/time.h
16257         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16258         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16259         * include/bits/types/struct_itimerspec.h
16260         * include/bits/types/struct_timespec.h
16261         * include/bits/types/struct_timeval.h
16262         * include/bits/types/struct_tm.h:
16263         New wrapper headers.
16265 2016-09-23  Zack Weinberg  <zackw@panix.com>
16267         * sysdeps/mach/hurd/net/if_ppp.h
16268         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16269         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16270         if __USE_MISC is defined, to ensure struct ifreq is declared.
16272         * inet/netinet/ether.h: Condition all function prototypes
16273         on __USE_MISC, to ensure struct ether_addr is declared.
16275         * socket/bits/types/struct_osockaddr.h: New header.
16276         * include/bits/types/struct_osockaddr.h: New wrapper.
16277         * socket/Makefile: Install the new header.
16278         * socket/sys/socket.h, inet/protocols/talkd.h:
16279         Refer to bits/types/struct_osockaddr.h for the definition of
16280         struct osockaddr.
16282 2016-09-23  Zack Weinberg  <zackw@panix.com>
16284         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16285         * inet/protocols/routed.h, inet/protocols/talkd.h
16286         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16287         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16288         * sysdeps/generic/netinet/if_ether.h
16289         * sysdeps/generic/netinet/in_systm.h
16290         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16291         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16292         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16293         * sysdeps/mach/hurd/net/if_arp.h
16294         * sysdeps/mach/hurd/net/if_ppp.h
16295         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16296         * sysdeps/unix/sysv/linux/bits/in.h
16297         * sysdeps/unix/sysv/linux/net/ethernet.h
16298         * sysdeps/unix/sysv/linux/net/if_arp.h
16299         * sysdeps/unix/sysv/linux/net/if_ppp.h
16300         * sysdeps/unix/sysv/linux/net/if_shaper.h
16301         * sysdeps/unix/sysv/linux/net/route.h
16302         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16303         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16304         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16305         * sysdeps/unix/sysv/linux/netipx/ipx.h
16306         * sysdeps/unix/sysv/linux/sys/acct.h
16307         * include/arpa/nameser.h, include/resolv.h:
16308         Change all uses of u_char to unsigned char,
16309         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16310         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16311         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16312         and u_int64_t and u_quad_t to uint64_t.
16314         * mach/sys/reboot.h: Remove two casts of integer literals
16315         to the types they already have.
16317         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16318         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16319         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16320         from referring to 'unsigned char' to 'uint8_t' for consistency with
16321         the macro definition below.
16323         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16324         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16325         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16326         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16327         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16328         * sysdeps/unix/sysv/linux/sys/acct.h
16329         * include/arpa/nameser.h, include/resolv.h:
16330         Fix indentation disrupted by mechanical edits.
16332         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16333         * sysdeps/generic/netinet/in_systm.h
16334         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16335         * sysdeps/gnu/netinet/udp.h
16336         * sysdeps/unix/sysv/linux/net/ethernet.h
16337         * sysdeps/unix/sysv/linux/net/if_arp.h
16338         * sysdeps/unix/sysv/linux/net/if_ppp.h
16339         * sysdeps/unix/sysv/linux/net/if_shaper.h
16340         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16341         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16342         * sysdeps/unix/sysv/linux/netipx/ipx.h
16343         * sysdeps/unix/sysv/linux/sys/acct.h
16344         Include stdint.h for uintNN_t definitions.
16345         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16347 2016-09-23  Zack Weinberg  <zackw@panix.com>
16349         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16350         * sysdeps/unix/sysv/linux/netrose/rose.h:
16351         Include sys/socket.h and netax25/ax25.h.
16353         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16354         * resolv/arpa/nameser_compat.h:
16355         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16357         * sysdeps/unix/sysv/linux/sys/quota.h:
16358         Use __caddr_t instead of caddr_t.
16359         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16360         Use __clockid_t instead of clockid_t.
16362         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16364         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16365         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16366         expanding it.
16368         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16369         Define __glibc_c99_flexarr_available to 1 when the compiler
16370         supports C99-compatible flexible array members, 0 otherwise.
16371         * sysdeps/unix/sysv/linux/bits/socket.h
16372         * sysdeps/mach/hurd/bits/socket.h
16373         * bits/socket.h: Use __glibc_c99_flexarr_available in
16374         definitions of struct cmsghdr and CMSG_DATA.
16376 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16378         * manual/nss.texi (NSS Modules Interface): Adjust function return
16379         type to enum nss_status.  Document errnop argument.  Clarify
16380         h_errnop semantics.  Fix cross-reference formatting.
16381         (NSS Module Function Internals): Mention that *errnop needs to be
16382         set on failure, but not to zero.
16384 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16386         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16387         (get_random_name): New functions.
16388         (check_wrapper_flags_mode): Use linkat to give the new file a name
16389         determined by get_random_name.
16390         (do_test): Add calls to test open64 and openat64.
16392 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16394         * test-skeleton.c: Remove #include <stdarg.h>.
16396 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16398         [BZ #19826]
16399         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16400         initialization of static TLS entries.
16401         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16402         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16404 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16406         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16407         _hurd_malloc_fork_prepare.
16408         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16409         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16410         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16411         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16412         (_hurd_fork_child_hook): Drop malloc_fork_child.
16413         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16414         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16415         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16416         after locking locks (notably hurd_dtable_lock). Call
16417         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16418         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16419         __malloc_fork_unlock_child.
16420         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16422 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16424         * soft-fp/extendhftf2.c: New.
16425         * soft-fp/fixhfti.c: Likewise.
16426         * soft-fp/fixunshfti.c: Likewise.
16427         * soft-fp/floattihf.c: Likewise.
16428         * soft-fp/floatuntihf.c: Likewise.
16429         * soft-fp/half.h: Likewise.
16430         * soft-fp/trunctfhf2.c: Likewise.
16432 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16434         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16435         macro.
16436         * math/libm-test.inc (issubnormal_test_data): New array.
16437         (issubnormal_test): New function.
16438         * manual/arith.texi (Floating Point Classes): Document
16439         issubnormal.
16440         * manual/libm-err-tab.pl: Update comment on interfaces without
16441         ulps tabulated.
16443         * sysdeps/generic/stdint.h: Define
16444         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16445         <bits/libc-header-start.h> instead of including <features.h>.
16446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16450         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16453         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16479         * manual/arith.texi (Integers): Document these macros for types
16480         specified by width properties.
16481         * manual/lang.texi (Width of Type): Document these macros for
16482         other standard typedefs.
16483         * stdlib/tst-width-stdint.c: New file.
16484         * stdlib/Makefile (tests): Add tst-width-stdint.
16486 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16488         [BZ #20016]
16489         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16490         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16491         Move ...
16492         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16493         ... here, as compatibility symbols in a new file.
16494         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16495         * resolv/res_init.c (__res_vinit): Adjust member names.
16496         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16497         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16498         (res_send_rhook): Remove.
16499         (struct __res_state): Rename qhook, rhook members.
16501 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16503         malloc: Use __libc_lock wrappers.
16504         * malloc/arena.c (list_lock, free_list_lock): Define using
16505         __libc_lock_define_initialized.
16506         (arena_lock): Adjust formatting.
16507         * malloc/malloc.c (struct malloc_state): Define mutex using
16508         __libc_lock_define.
16509         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16510         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16511         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16512         (mutex_unlock, mutex_trylock): Remove.
16513         (__pthread_initialize): Remove unused macro.
16514         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16515         (mutex_unlock, mutex_trylock): Remove.
16517 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16519         [BZ #20592]
16520         Remove RR type classification macros.
16521         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16522         (ns_t_udp_p, ns_t_xfr_p): Remove.
16524 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16526         Remove misleading version information.
16527         * resolv/arpa/nameser.h (__NAMESER): Remove.
16528         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16530 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16532         Remove the always-defined BIND_4_COMPAT macro.
16533         * resolv/arpa/nameser.h: Unconditionally include
16534         <arpa/nameser_compat.h>.
16535         (BIND_4_COMPAT): Remove.
16536         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16538 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16540         [BZ #20591]
16541         Remove obsolete DNSSEC support.
16542         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16543         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16544         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16545         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16546         (ns_cert_types): Add comment.
16547         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16548         separately.
16549         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16550         (dst_s_dns_key_id): Remove.
16551         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16552         variables.
16554 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16556         [BZ #20524]
16557         * manual/string.texi (String/Array Comparison): Clarify the
16558         strverscmp behavior.
16560 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16562         * test-skeleton.c (xasprintf): Add function.
16563         * io/tst-open-tmpfile.c: New test.
16564         * io/Makefile (tests): Add it.
16566 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16568         Avoid running $(CXX) during build to obtain header file paths.
16569         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16570         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16571         * Makerules (cstdlib, cmath): Remove variables.  Use
16572         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16573         * configure: Regenerate.
16575 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16577         * Makeconfig (all-object-suffixes): Include .op only if
16578         $(build-profile).
16580 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16582         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16583         conditionals.  Do not define PATH_MAX.
16585 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16587         * posix/Makefile (tests): Add tst-spawn3.
16588         * posix/tst-spawn3.c: New file.
16589         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16590         if it is already opened for open action.
16592         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16593         all signals when executing the clone vfork child.
16594         (SIGALL_SET): Remove macro.
16596         * nptl/Makefile (tests): Add tst-exec5.
16597         * nptl/tst-exec5.c: New file.
16598         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16599         asynchronous cancellation.
16601 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16603         * hurd/exc2signal.c: #include <hurd/signal.h>
16604         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16605         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16606         accordingly.
16607         * mach/mach_error.c (mach_error): Fix old-style function definition.
16608         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16610 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16612         * math/Makefile (libm-calls): Remove s_nanF.
16613         (gen-libm-calls): Add s_nanF.
16615         * math/s_nan.c: Refactor into ...
16616         * math/s_nan_template.c: New file.
16618         * math/s_nanf.c: Removed.
16619         * math/s_nanl.c: Removed.
16620         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16621         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16623         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16624         (LDOUBLE_nanl_libm_version): New macro.
16626         * sysdeps/generic/math-type-macros-double.h:
16627         (M_STRTO_NAN): New macro.
16628         * sysdeps/generic/math-type-macros-float.h: Likewise.
16629         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16631         * sysdeps/generic/math-type-macros.h: Document
16632         M_STRTO_NAN.
16634 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16636         * math/s_nanf.c: Remove __nanf undef.
16637         * math/s_nan.c: Remove __nan undef.
16638         * math/s_nanl.c: Remove __nanl undef.
16640         * sysdeps/generic/math_private.h (__nan): Remove macro
16641         override.
16642         (__nanf): Likewise.
16643         (__nanl): Likewise.
16645 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16647         * math/Makefile (gen-all-calls): New variable.
16648         (generated): Replace gen-libm-calls with gen-all-calls.
16649         (gen-libm-templates.stmp): Likewise.  Also, ensure
16650         the output directory exists or is created and add
16651         dependency on the Makefile.
16652         (calls): Move s_ldexpF into gen-calls.
16653         (gen-calls): New variable.
16655         * math/s_ldexpf.c: Removed.
16656         * math/s_ldexpl.c: Removed.
16657         * math/s_ldexp.c: Refactored into ...
16658         * math/s_ldexp_template.c: New file.
16660         * sysdeps/generic/math-type-macros-double.h: Remove
16661         redundant fall-through definition of declare_mgen_alias.
16662         (declare_mgen_alias_2): New macro.
16664         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16665         New macro for function aliased to two exported symbols.
16667         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16668         new template file.
16669         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16671 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16673         * Makeconfig (all-object-suffixes): Remove .og.
16674         * Makerules (elide-routines.og): Remove.
16675         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16676         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16677         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16679 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16681         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16682         .os objects.
16684 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16686         [BZ #20615]
16687         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16688         fpu directory by non-fpu.
16689         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16690         on non-fpu directory from a fpu directory.
16692 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16694         * include/limits.h: Define
16695         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16696         <bits/libc-header-start.h> instead of including <features.h>.
16697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16708         * manual/lang.texi (Width of Type): Document these macros.
16709         * stdlib/tst-width.c: New file.
16710         * stdlib/Makefile (tests): Add tst-width.
16712 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16714         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16715         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16717 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16719         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16720         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16721         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16723 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16725         [BZ #18243]
16726         * rt/Makefile (test): Add tst-shm-cancel.
16727         * rt/tst-shm-cancel.c: New file.
16728         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16730         [BZ #18243]
16731         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16732         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16733         definition.
16734         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16735         uncontended case.
16736         * nptl/sem_wait.c (__new_sem_wait): Likewise.
16737         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16738         (tf): Fix check for uncontended case.
16739         (do_test): Likewise.
16740         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16741         (tf): Fix check for uncontended case.
16742         (do_test): Likewise.
16743         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16744         (tf): Fix check for uncontended case.
16745         (do_test): Likewise.
16746         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16747         (tf): Fix check for uncontended case.
16748         (do_test): Likewise.
16750         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16751         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16753         [BZ #15765]
16754         * nptl/Makefile (tests): Add tst-sem16.
16755         * nptl/tst-sem16.c: New file.
16756         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16758         * nptl/sem_open.c (sem_open): Init pad value to 0.
16759         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16760         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16762 2016-09-15  Florian Weimer  <fweimer@redhat.com>
16764         [BZ #20611]
16765         * inet/Makefile (routines): Add inet6_scopeid_pton.
16766         (tests): Add tst-inet6_scopeid_pton.
16767         * inet/inet6_scopeid_pton.c: New file.
16768         * inet/net-internal.h: Likewise.
16769         * inet/tst-inet6_scopeid_pton.c: New test.
16770         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16771         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16774 2016-09-14  Florian Weimer  <fweimer@redhat.com>
16776         Remove support for compiling wrappers with PTW.
16777         * sysdeps/nptl/Makeconfig: Drop ptw- support.
16778         * nptl/Makefile (pthread-compat-wrappers): Define.
16779         (libpthread-routines): Use pthread-compat-wrappers.
16780         * sysdeps/unix/sysv/linux/alpha/Makefile
16781         (libpthread-routines, libpthread-shared-only-routines): Remove
16782         ptw- prefix.
16783         * sysdeps/s390/nptl/Makefile
16784         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16785         * sysdeps/ia64/nptl/Makefile
16786         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16787         * sysdeps/nacl/Makefile (libpthread-routines): Use
16788         pthread-compat-wrappers to filter the routines list instead of the
16789         ptw- prefix.
16791 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16793         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16794         with L() and remove explicit suffix, convert real literals
16795         which can be equivalentally substituted with integers, and
16796         transform -L(x) to L(-x).
16798         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16799         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16800         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16801         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16802         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16803         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16805         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16806         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16807         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16808         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16809         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16811         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16812         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16813         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16814         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16815         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16816         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16817         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16818         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16819         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16820         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16821         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16822         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16823         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16824         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16825         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16826         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16827         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16828         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16829         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16830         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16831         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16832         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16833         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16834         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16835         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16836         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16837         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16838         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16839         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16840         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16841         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16842         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16843         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16844         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16845         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16846         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16847         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16849 2016-09-13  Florian Weimer  <fweimer@redhat.com>
16851         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16853 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16855         * malloc/Makefile (tests): Remove individual static test names
16856         and just add all of tests-static.
16858         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16860 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
16862         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16863         file.
16865         * sysdeps/sparc/fpu/fegetmode.c: New file.
16866         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16868         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16869         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16871         * sysdeps/s390/fpu/fegetmode.c: New file.
16872         * sysdeps/s390/fpu/fesetmode.c: Likewise.
16874         * sysdeps/powerpc/fpu/fegetmode.c: New file.
16875         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16876         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16877         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16879         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16881         * sysdeps/mips/fpu/fegetmode.c: New file.
16882         * sysdeps/mips/fpu/fesetmode.c: Likewise.
16884         * sysdeps/m68k/fpu/fegetmode.c: New file.
16885         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16887         * sysdeps/ia64/fpu/fegetmode.c: New file.
16888         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16890         * sysdeps/hppa/fpu/fegetmode.c: New file.
16891         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16893         * sysdeps/arm/fegetmode.c: New file.
16894         * sysdeps/arm/fesetmode.c: Likewise.
16896         * sysdeps/alpha/fpu/fegetmode.c: New file.
16897         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16899         * sysdeps/aarch64/fpu/fegetmode.c: New file.
16900         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16902         * math/fegetmode.c: New file.
16903         * math/fesetmode.c: Likewise.
16904         * sysdeps/i386/fpu/fegetmode.c: Likewise.
16905         * sysdeps/i386/fpu/fesetmode.c: Likewise.
16906         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16907         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16908         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16909         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16910         declaration.
16911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16912         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16913         typedef.
16914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16915         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16916         (femode_t): New typedef.
16917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16918         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16919         (femode_t): New typedef.
16920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16921         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16922         (femode_t): New typedef.
16923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16924         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16925         (femode_t): New typedef.
16926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16927         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16928         (femode_t): New typedef.
16929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16930         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16931         (femode_t): New typedef.
16932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16933         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16934         (femode_t): New typedef.
16935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16936         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16937         (femode_t): New typedef.
16938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16939         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16940         (femode_t): New typedef.
16941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16942         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16943         (femode_t): New typedef.
16944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16945         declaration.
16946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16947         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16948         (femode_t): New typedef.
16949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16950         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16951         (femode_t): New typedef.
16952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16953         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16954         (femode_t): New typedef.
16955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16956         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16957         (femode_t): New typedef.
16958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16959         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16960         (femode_t): New typedef.
16961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16962         * manual/arith.texi (FE_DFL_MODE): Document macro.
16963         (fegetmode): Document function.
16964         (fesetmode): Likewise.
16965         * math/Versions (fegetmode): New libm symbol at version
16966         GLIBC_2.25.
16967         (fesetmode): Likewise.
16968         * math/Makefile (libm-support): Add fegetmode and fesetmode.
16969         (tests): Add test-femode and test-femode-traps.
16970         * math/test-femode-traps.c: New file.
16971         * math/test-femode.c: Likewise.
16972         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16973         alias for __fe_dfl_env.
16974         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16975         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16976         (__fe_dfl_mode): Likewise.
16977         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16978         version GLIBC_2.25.
16979         * sysdeps/nacl/libm.abilist: Update.
16980         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16981         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16982         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16984         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16985         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16986         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16987         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16990         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16991         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16993         Likewise.
16994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16995         Likewise.
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16997         Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16999         Likewise.
17000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17001         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17002         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17004         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17006         Likewise.
17007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17008         Likewise.
17009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17010         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17011         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17013 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17015         [BZ #20495]
17016         [BZ #20508]
17017         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17018         processors, set Use_dl_runtime_resolve_slow and set
17019         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17020         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17021         New.
17022         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17023         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17024         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17025         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17026         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17027         if Use_dl_runtime_resolve_opt is set.  Use
17028         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17029         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17030         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17031         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17032         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17033         New.
17034         (_dl_runtime_resolve_opt): Likewise.
17035         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17036         defined.
17038 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17040         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17041         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17043 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17045         Convert malloc to __libc_lock.  Automated part, using this Perl
17046         s/// command:
17047           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17048             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17049         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17050         conversion.
17052 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17054         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17055         (linknamespace-symlists-tests): Likewise.
17056         (linknamespace-header-tests): Likewise.
17058 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17060         [BZ #19810]
17061         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17062         * elf/tst-noload.c: New test case.
17063         * elf/Makefile (tests): Add tst-noload.
17065 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17067         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17069         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17070         not any more.
17072         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17074 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17076         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17077         (do_cos_slow): Likewise.
17078         (do_sin): Likewise.
17079         (do_sin_slow): Likewise.
17080         (slow): Likewise.
17081         (slow1): Likewise.
17082         (slow2): Likewise.
17083         (sloww): Likewise.
17084         (sloww1): Likewise.
17085         (sloww2): Likewise.
17086         (bsloww): Likewise.
17087         (bsloww1): Likewise.
17088         (bsloww2): Likewise.
17089         (cslow2): Likewise.
17091         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17093         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17094         arguments.  Consolidate input partitioning from callers here.
17095         (do_cos_slow): Likewise.
17096         (do_sin): Likewise.
17097         (do_sin_slow): Likewise.
17098         (do_sincos_1): Remove the no longer necessary input partitioning.
17099         (do_sincos_2): Likewise.
17100         (__sin): Likewise.
17101         (__cos): Likewise.
17102         (slow1): Likewise.
17103         (slow2): Likewise.
17104         (sloww1): Likewise.
17105         (sloww2): Likewise.
17106         (bsloww1): Likewise.
17107         (bsloww2): Likewise.
17108         (cslow2): Likewise.
17110 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17112         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17113         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17114         outside of allocated array.
17116 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17118         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17119         instead of MB_CUR_MAX to avoid variable-length array.
17121 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17123         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17124         (type-double-routines): Add k_rem_pio2.
17125         (type-float-routines): Add k_rem_pio2f.
17127         * sysdeps/generic/math_private.h:
17128         (__kernel_rem_pio2l): Removed.
17130         * math/k_rem_pio2l.c: Removed.
17131         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17132         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17133         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17134         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17136 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17138         * math/Makefile (gen-libm-calls): Add s_fmin
17139         (libm-calls): Remove above.
17141         * math/s_fmin.c: Refactor into ...
17142         * math/s_fmin_template.c: New file.
17144         * math/s_fminf.c: Removed.
17145         * math/s_fminl.c: Removed.
17146         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17147         (LDOUBLE_fmin_libm_version): New macro.
17149         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17150         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17152 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17154         * math/Makefile: (gen-libm-calls): Add s_fmax.
17155         (libm-calls): Remove above.
17157         * math/s_fmax.c: Refactor into ...
17158         * math/s_fmax_template.c: New file.
17159         * math/s_fmaxf.c: Removed.
17160         * math/s_fmaxl.c: Removed.
17162         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17163         (LDOUBLE_fmaxl_libm_version): New macro.
17165         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17166         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17168         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17169         s_fmin.c to pick the aarch64 version of the file.
17170         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17171         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17173 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17175         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17176         (libm-calls): Remove above.
17178         * math/s_nextdown.c: Refactor into ...
17179         * math/s_nextdown_template.c: New file.
17180         * math/s_nextdownf.c: Removed.
17181         * math/s_nextdownl.c: Removed.
17183         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17185 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17187         * math/Makefile (gen-libm-calls): Add s_fdim.
17188         (libm-calls): Move to above.
17190         * math/s_fdim.c: Renamed and refactored into to ...
17191         * math/s_fdim_template.c: New file.
17192         * math/s_fdiml.c: Removed.
17193         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17194         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17196         * sysdeps/generic/math-type-macros-double.h:
17197         (declare_mgen_alias): Don't declare if already declared.
17198         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17199         Likewise.
17201         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17202         (declare_mgen_alias): Don't declare if already declared.
17203         (M_LIBM_NEED_COMPAT): Likewise.
17204         (declare_mgen_libm_compat): Likewise.
17205         (LDOUBLE_fdiml_libm_version): New macro.
17207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17208         Include math/s_fdim.c now that ldbl-opt version is not needed.
17209         (declare_mgen_alias): New macro to disable aliasing.
17211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17212         (declare_mgen_alias): Likewise.
17213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17214         (declare_mgen_alias): Likewise.
17215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17216         (declare_mgen_alias): Likewise.
17217         (M_LIBM_NEED_COMPAT): Likewise.
17219 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17221         [BZ #20525]
17222         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17223         Include <linux/quota.h>.
17224         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17225         and btodb.
17226         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17227         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17228         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17229         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17230         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17231         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17232         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17233         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17234         types.
17235         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17236         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17238 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17240         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17241         (gammal_positive): Fix spacing.
17242         (__ieee754_gammal_r): Likewise.
17244 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17246         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17247         (_Float128): Define as long double, always.
17248         (L): Apply long double type suffix, always.
17250         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17251         _Float128, excepting comments.
17253         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17254         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17255         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17256         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17257         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17258         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17259         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17260         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17261         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17262         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17263         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17264         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17265         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17266         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17267         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17268         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17269         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17270         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17271         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17272         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17273         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17274         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17275         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17276         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17277         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17278         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17279         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17280         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17281         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17282         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17283         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17284         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17285         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17286         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17287         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17288         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17289         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17290         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17291         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17292         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17293         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17294         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17296         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17297         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17299         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17300         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17301         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17302         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17303         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17304         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17305         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17306         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17307         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17308         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17309         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17310         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17311         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17312         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17313         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17314         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17315         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17316         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17317         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17318         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17319         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17320         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17322         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17323         _Float128, and include math_private.h.
17324         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17326         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17327         long double semantics.
17328         (_Float128): Likewise.
17329         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17330         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17331         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17332         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17334 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17336         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17337         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17338         * sysdeps/s390/configure: Regenerated.
17339         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17340         instruction for raising over-/underflow if z196 zarch is supported
17341         by default.
17342         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17344 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17346         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17347         it point to a dumb buffer for RPC to fill it.
17349 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17351         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17352         instead of if/else.
17353         (do_sin_slow): Likewise.
17354         (do_sincos_1): Use fabs instead of if/else.
17355         (do_sincos_2): Likewise.
17356         (__sin): Likewise.
17357         (__cos): Likewise.
17358         (slow2): Likewise.
17359         (sloww): Likewise.
17360         (sloww1): Likewise.  Drop argument M.
17361         (sloww2): Use fabs instead of if/else.
17362         (bsloww): Likewise.
17363         (bsloww1): Likewise.
17364         (bsloww2): Likewise.
17366         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17367         fall through comment.
17368         (do_sincos_1): Likewise.
17370         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17371         Consolidate switch cases 0 and 2.
17373 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17375         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17376         (libm-calls): Remove the above.
17378         * math/s_cexp_template.c: Update using type-generic macros.
17379         * math/s_clog10_template.c: Likewise.
17380         * math/s_cpow_template.c: Likewise.
17381         * math/s_clog_template.c: Likewise.
17382         * math/s_cproj_template.c: Likewise.
17383         * math/s_csqrt_template.c: Likewise.
17385         * math/s_cexp.c: Removed.
17386         * math/s_cexpf.c: Removed.
17387         * math/s_cexpl.c: Removed.
17388         * math/s_clog10.c: Removed.
17389         * math/s_clog10f.c: Removed.
17390         * math/s_clog10l.c: Removed.
17391         * math/s_cpow.c: Removed.
17392         * math/s_cpowf.c: Removed.
17393         * math/s_cpowl.c: Removed.
17394         * math/s_clog.c: Removed.
17395         * math/s_clogf.c: Removed.
17396         * math/s_clogl.c: Removed.
17397         * math/s_cproj.c: Removed.
17398         * math/s_cprojf.c: Removed.
17399         * math/s_cprojl.c: Removed.
17400         * math/s_csqrt.c: Removed.
17401         * math/s_csqrtf.c: Removed.
17402         * math/s_csqrtl.c: Removed.
17404         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17405         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17406         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17407         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17408         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17409         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17411         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17412         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17413         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17414         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17415         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17416         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17417         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17418         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17419         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17420         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17421         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17423         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17424         version.
17426         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17427         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17428         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17429         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17431 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17433         * s_cexp_template.c: Copy of s_cexp.c.
17434         * s_clog_template.c: Copy of s_clog.c.
17435         * s_clog10_template.c: Copy of s_clog10.c.
17436         * s_cpow_template.c: Copy of s_cpow.c.
17437         * s_cproj_template.c: Copy of s_cproj.c.
17438         * s_csqrt_template.c: Copy of s_csqrt.c.
17440 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17442         [BZ #20517]
17443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17444         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17445         exported.
17447 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17449         * math/fetestexceptflag.c: New file.
17450         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17451         Stefan Liebler.
17452         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17453         (fetestexceptflag): New function declaration.
17454         * manual/arith.texi (fetestexceptflag): Document function.
17455         * math/Versions (fetestexceptflag): New libm symbol at version
17456         GLIBC_2.25.
17457         * math/Makefile (libm-support): Add fetestexceptflag.
17458         (tests): Add test-fetestexceptflag.
17459         * math/test-fetestexceptflag.c: New file.
17460         * sysdeps/nacl/libm.abilist: Update.
17461         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17462         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17463         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17464         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17465         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17466         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17467         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17468         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17469         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17470         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17471         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17472         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17476         Likewise.
17477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17478         Likewise.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17480         Likewise.
17481         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17482         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17483         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17484         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17485         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17487         Likewise.
17488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17489         Likewise.
17490         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17491         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17492         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17494 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17496         [BZ #20432]
17497         Avoid strong references to malloc-internal symbols when linking
17498         statically, to support statically interposed mallocs.
17499         * include/libc-symbols.h (call_function_static_weak): New macro.
17500         * malloc/Makefile (tests): Add tst-interpose-nothread,
17501         tst-interpose-thread, tst-interpose-static-nothread,
17502         tst-interpose-static-thread.
17503         (tests-static): Add tst-interpose-static-nothread,
17504         tst-interpose-static-thread.
17505         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17506         tst-interpose-aux-thread.o.
17507         (test-extras): Add tst-interpose-aux-nothread,
17508         tst-interpose-aux-thread.
17509         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17510         tst-interpose-aux-nothread.o.
17511         (tst-interpose-thread, tst-interpose-static-thread): Link with
17512         tst-interpose-aux-thread.o and libthread.
17513         * malloc/tst-interpose-aux-nothread.c: New file.
17514         * malloc/tst-interpose-aux-thread.c: Likewise.
17515         * malloc/tst-interpose-aux.c: Likewise.
17516         * malloc/tst-interpose-aux.h: Likewise.
17517         * malloc/tst-interpose-nothread.c: Likewise.
17518         * malloc/tst-interpose-skeleton.c: Likewise.
17519         * malloc/tst-interpose-static-nothread.c: Likewise.
17520         * malloc/tst-interpose-static-thread.c: Likewise.
17521         * malloc/tst-interpose-thread.c: Likewise.
17522         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17523         * sysdeps/mach/hurd/fork.c (__fork): Only call
17524         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17525         __malloc_fork_unlock_child if defined.
17526         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17528 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17530         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17531         timespec C99 designated initialization.
17533 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17535         [BZ #19946]
17536         Avoid expected SIGALRM signals.
17537         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17538         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17539         (xpthread_create, xpthread_detach, xpthread_join)
17540         (delayed_exit_thread, delayed_exit): New functions.
17541         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17542         (tf): Use xpthread_cond_wait.
17543         (do_test): Likewise.  Replace alarm with delayed_exit.
17544         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17545         (do_test): Call delayed_exit.  Report failure.
17546         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17547         (do_test): Call delayed_exit.
17548         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17549         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17550         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17551         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17552         error.
17553         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17554         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17555         error.
17556         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17557         (do_test): Call delayed_exit.
17558         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17559         (do_test): Call delayed_exit.
17560         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17561         (do_test): Call delayed_exit instead of alarm.  Use
17562         xpthread_mutex_lock.
17563         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17564         (do_test): Call delayed_exit instead of alarm.  Use
17565         xpthread_mutex_lock.
17566         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17567         (do_test): Call delayed_exit instead of alarm.
17568         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17569         (do_test): Call delayed_exit instead of alarm.  Use
17570         xpthread_spin_lock.
17571         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17572         (do_test): Call delayed_exit instead of alarm.  Use
17573         xpthread_join.
17575 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17577         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17578         adjust CFA when allocating register save area on re-aligned
17579         stack.
17581 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17583         * string/tst-cmp.c: New test.
17584         * string/Makefile (tests): Add it.
17586 2016-08-25  Mark Wielaard  <mark@klomp.org>
17588         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17589         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17590         (check_tree_recurse): Use newly defined accessors.
17591         (check_tree): Likewise.
17592         (maybe_split_for_insert): Likewise.
17593         (__tfind): Likewise.
17594         (__tdelete): Likewise.
17595         (trecurse): Likewise.
17596         (tdestroy_recurse): Likewise.
17597         (__tsearch): Likewise. And add asserts for malloc alignment.
17598         (__twalk): Cast root to node in case CHECK_TREE is defined.
17600 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17602         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17604 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17606         * math/Makefile (libm-gen-calls): Add
17607         catan, catanh, ctan, ctanh.
17608         (libm-calls): Remove the above.
17610         * math/s_catan_template.c: Update using type-generic macros.
17611         * math/s_catanh_template.c: Likewise.
17612         * math/s_ctan_template.c: Likewise.
17613         * math/s_ctanh_template.c: Likewise.
17615         * math/s_catanf.c: Removed.
17616         * math/s_catan.c: Removed.
17617         * math/s_catanl.c: Removed.
17618         * math/s_catanhf.c: Removed.
17619         * math/s_catanh.c: Removed.
17620         * math/s_catanhl.c: Removed.
17621         * math/s_ctanf.c: Removed.
17622         * math/s_ctan.c: Removed.
17623         * math/s_ctanl.c: Removed.
17624         * math/s_ctanhf.c: Removed.
17625         * math/s_ctanh.c: Removed.
17626         * math/s_ctanhl.c: Removed.
17628         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17629         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17630         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17631         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17632         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17633         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17635         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17636         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17637         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17638         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17640 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17642         * s_catan_template.c: Copy of s_catan.c.
17643         * s_catanh_template.c: Copy of s_catanh.c.
17644         * s_ctan_template.c: Copy of s_ctan.c.
17645         * s_ctanh_template.c: Copy of s_ctanh.c.
17647 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17649         * math/Makefile (gen-libm-calls): Move
17650         casin, casinh, csin, csinh here.
17651         (libm-calls): Remove the above.
17653         * math/s_casin_template.c: Update using type-generic macros.
17654         * math/s_casinh_template.c: Likewise.
17655         * math/s_csin_template.c: Likewise.
17656         * math/s_csinh_template.c: Likewise.
17657         * math/k_casinh_template.c: Likewise.
17659         * math/s_casinf.c: Removed.
17660         * math/s_casin.c: Removed.
17661         * math/s_casinl.c: Removed.
17662         * math/s_casinh.c: Removed.
17663         * math/s_casinhf.c: Removed.
17664         * math/s_casinhl.c: Removed.
17665         * math/s_csin.c: Removed.
17666         * math/s_csinf.c: Removed.
17667         * math/s_csinl.c: Removed.
17668         * math/s_csinh.c: Removed.
17669         * math/s_csinhf.c: Removed.
17670         * math/s_csinhl.c: Removed.
17671         * math/k_casinh.c: Removed.
17672         * math/k_casinhf.c: Removed.
17673         * math/k_casinhl.c: Removed.
17675         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17676         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17677         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17678         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17680         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17681         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17682         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17683         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17684         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17685         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17686         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17687         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17689         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17690         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17691         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17692         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17694         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17695         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17696         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17697         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17699 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17701         * s_casin_template.c: Copy of s_casin.c.
17702         * s_casinh_template.c: Copy of s_casinh.c.
17703         * s_csin_template.c: Copy of s_csin.c.
17704         * s_csinh_template.c: Copy of s_csinh.c.
17705         * k_casinh_template.c: Copy of k_casinh.c.
17707 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17709         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17711 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17713         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17714         (mul_split) Remove, rename as mul_splitl, remove
17715         redundant float.h include, and include via mul_splitl.h
17717         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17719         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17720         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17721         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17723         * math/mul_splitl.h: New file.
17725         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17726         Move into mul_split.h, and remove redundant float.h include.
17728         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17729         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17733         * math/mul_split.h: New file.
17735 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17737         * math/Makefile (libm-gen-calls): Move
17738         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17739         (libm-calls): Remove above.
17741         * math/s_cacos_template.c: Update using type-generic macros.
17742         * math/s_cacosh_template.c: Likewise.
17743         * math/s_ccos_template.c: Likewise.
17744         * math/s_ccosh_template.c: Likewise.
17746         * math/s_cacosf.c: Removed.
17747         * math/s_cacos.c: Removed.
17748         * math/s_cacosl.c: Removed.
17749         * math/s_cacoshf.c: Removed.
17750         * math/s_cacosh.c: Removed.
17751         * math/s_cacoshl.c: Removed.
17752         * math/s_ccosf.c: Removed.
17753         * math/s_ccos.c: Removed.
17754         * math/s_ccosl.c: Removed.
17755         * math/s_ccoshf.c: Removed.
17756         * math/s_ccosh.c: Removed.
17757         * math/s_ccoshl.c: Removed.
17759         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17760         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17761         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17762         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17763         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17764         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17766         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17767         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17768         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17769         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17771         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17772         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17773         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17774         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17776 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17778         * s_cacos_template.c: Copy of s_cacos.c.
17779         * s_cacosh_template.c: Copy of s_cacosh.c.
17780         * s_ccos_template.c: Copy of s_ccos.c.
17781         * s_ccosh_template.c: Copy of s_ccosh.c.
17783 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17785         * stdlib/tst-strtod-round-skeleton.c:
17786         Refactored from tst-strtod-round.c.
17788         (L_): New macro to apply literal modifier.
17789         (FNPFX): New macro to select str or wcs prefix.
17790         (CHAR): New macro to choose wchar_t or char.
17791         (STRM): New macro to choose printf for tested character type.
17793         (STRTO): New macro to choose appropriate string -> real function.
17794         (FNPFXS): Stringitized version of FNPFX.
17795         (STR): Support for above macro.
17796         (STRX): Likewise.
17798         (TEST): Update with above macros.
17799         (test): Likewise.
17800         (GEN_ONE_TEST): Likewise.
17801         (test_in_one_mode): Likewise.
17803         * stdlib/tst-strtod-round.c: New file.
17804         * wcsmbs/tst-wcstod-round.c: New file.
17806         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17807         (tst-wcstod-round): Add libm depencency for fesetround.
17809 2016-08-19  Zack Weinberg  <zackw@panix.com>
17811         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17813 2016-08-18  Torvald Riegel  <triegel@redhat.com>
17815         [BZ #20477]
17816         * resolv/res_hconf.c (do_init): Use atomic access.
17817         * resolv/res_hconf.h: Add comments.
17818         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17819         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17822 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17825         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17826         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17827         Likewise.
17829 2016-08-18  Florian Weimer  <fweimer@redhat.com>
17831         [BZ #16907]
17832         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17833         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17834         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17835         (__attribute__): Remove definition.
17837 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17839         * sysdeps/ieee754/ldbl-128/e_asinl.c:
17840         Remove unused sqrtl declaration.
17842 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17844         * math/Makefile: (gen-libm-templates.stmp): New rule.
17845         (libm-calls): Move carg conj cimag and cabs into ...
17846         (gen-libm-calls): New variable.
17847         (generated): Inform Make objects from gen-libm-calls
17848         may be generated.
17850         * sysdeps/generic/math-type-macros.h: New file.
17851         * sysdeps/generic/math-type-macros-float.h: Likewise.
17852         * sysdeps/generic/math-type-macros-double.h: Likewise.
17853         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17854         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17855         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17857         * math/cabs.c: Refactor into
17858         * math/cabs_template.c: new file.
17859         * math/cabsf.c: Removed.
17860         * math/cabsl.c: Removed.
17861         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17862         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17864         * math/carg.c: Refactor into
17865         * math/carg_template.c: new file.
17866         * math/cargf.c: Removed.
17867         * math/cargl.c: Removed.
17868         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17869         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17871         * math/conj.c: Refactor into
17872         * math/conj_template.c: new file.
17873         * math/conjf.c: Removed.
17874         * math/conjl.c: Removed.
17875         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17876         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17878         * math/cimag.c: Refactor into
17879         * math/cimag_template.c: new file.
17880         * math/cimagf.c: Removed.
17881         * math/cimagl.c: Removed.
17882         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17883         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17885         * math/cimag.c: Refactor into
17886         * math/cimag_template.c: new file.
17887         * math/cimagf.c: Removed.
17888         * math/cimagl.c: Removed.
17889         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17890         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17892 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17894         Reduce time to expected nptl/tst-once5 failure.
17895         * nptl/tst-once5.cc (TIMEOUT): Define.
17897 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17899         [BZ #20452]
17900         Avoid additional copies of objects in libc.a in static libraries.
17901         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17902         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17903         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17904         rt-sysdep.
17905         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17906         Add nptl-sysdep.
17907         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17908         Add ptw-sysdep.
17909         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17910         rt-sysdep.
17911         * sysdeps/unix/sysv/linux/alpha/Makefile
17912         (libpthread-shared-only-routines): Add ptw-sysdep,
17913         ptw-sigprocmask, ptw-rt_sigaction.
17914         * sysdeps/unix/sysv/linux/ia64/Makefile
17915         (librt-shared-only-routines): Add rt-sysdep.
17916         * sysdeps/unix/sysv/linux/i386/Makefile
17917         (libpthread-shared-only-routines): Add libc-do-syscall.
17918         * sysdeps/unix/sysv/linux/microblaze/Makefile
17919         (libpthread-shared-only-routines): Add sysdep.
17920         * sysdeps/unix/sysv/linux/powerpc/Makefile
17921         (librt-shared-only-routines): Add rt-sysdep.
17922         (libpthread-shared-only-routines): Add sysdep.
17923         * sysdeps/unix/sysv/linux/s390/Makefile
17924         (librt-shared-only-routines): Add rt-sysdep.
17925         * sysdeps/unix/sysv/linux/sparc/Makefile
17926         (librt-shared-only-routines): Add rt-sysdep.
17927         (libpthread-shared-only-routines): Add sysdep.
17928         * sysdeps/unix/sysv/linux/tile/Makefile
17929         (libpthread-shared-only-routines): Likewise.
17931 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
17933         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17934         Mask implicit bit out of unpacked value.
17935         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17939         * sysdeps/sparc/fpu/fesetexcept.c: New file.
17941         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17943         * sysdeps/s390/fpu/fesetexcept.c: New file.
17945         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17946         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17947         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17949         * sysdeps/mips/fpu/fesetexcept.c: New file.
17951         * sysdeps/m68k/fpu/fesetexcept.c: New file.
17953         * sysdeps/ia64/fpu/fesetexcept.c: New file.
17955         * sysdeps/hppa/fpu/fesetexcept.c: New file.
17957         * sysdeps/arm/fesetexcept.c: New file.
17959         * sysdeps/alpha/fpu/fesetexcept.c: New file.
17961         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17963         * math/fesetexcept.c: New file.
17964         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17965         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17966         * math/fenv.h: Define
17967         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17968         <bits/libc-header-start.h> instead of including <features.h>.
17969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17970         declaration.
17971         * manual/arith.texi (fesetexcept): Document function.
17972         * math/Versions (fesetexcept): New libm symbol at version
17973         GLIBC_2.25.
17974         * math/Makefile (libm-support): Add fesetexcept.
17975         (tests): Add test-fesetexcept and test-fesetexcept-traps.
17976         * math/test-fesetexcept.c: New file.
17977         * math/test-fesetexcept-traps.c: Likewise.
17978         * sysdeps/nacl/libm.abilist: Update.
17979         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17980         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17981         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17982         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17983         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17984         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17985         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17986         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17987         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17988         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17989         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17990         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17992         Likewise.
17993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17994         Likewise.
17995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17996         Likewise.
17997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17998         Likewise.
17999         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18000         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18001         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18002         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18003         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18005         Likewise.
18006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18007         Likewise.
18008         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18009         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18010         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18012 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18014         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18015         New.
18016         (do_test): Apply default_stack_size_in_mb if not set.
18017         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18019 2016-08-15  Andreas Schwab  <schwab@suse.de>
18021         [BZ #20435]
18022         CVE-2016-6323
18023         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18024         as .cantunwind.
18026 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18028         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18029         comment from fraiseexcpt.c.
18031         * math/test-fexcept.c (feraiseexcept_exact): New function.
18032         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18033         (test_except): Likewise.
18035 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18037         [BZ #20455]
18038         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18039         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18040         to be restored.
18042         * math/test-fexcept-traps.c: New file.
18043         * math/test-fexcept.c: Likewise.
18044         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18045         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18046         macro.
18047         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18048         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18050 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18052         * include/atomic.h (atomic_fetch_and_relaxed,
18053         atomic_fetch_and_release, atomic_fetch_or_release,
18054         atomic_fetch_xor_release): New.
18056 2016-08-06  Christian Seiler  <christian@iwakd.de>
18058         [BZ #20444]
18059         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18060         MACH_PORT_NULL.
18062 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18064         * math/s_fdim.c: Avoid alias renamed.
18065         * math/s_fdimf.c: Likewise.
18066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18067         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18068         Add s_fdimf-vis3, s_fdim-vis3.
18069         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18070         (CFLAGS-s_fdim-vis3.c): Likewise.
18071         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18072         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18074 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18077         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18078         Remove s_fdimf-vis3, s_fdim-vis3.
18079         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18080         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18087         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18088         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18090 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18092         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18093         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18094         -Wa,-Av9a -mvis.
18096 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18098         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18099         LIT() to individual constants in simple expressions
18100         after splitting on spaces.
18101         (_apply_lit): Rename replaced version, and use it to
18102         apply to what appears to be a token.
18104         * math/libm-test.inc: Fix many, many issues with
18105         spacing.
18107 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18109         * math/math.h: Move comment about <bits/mathdef.h> definitions
18110         above inclusion of <bits/mathdef.h>.  Do not mention
18111         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18113 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18115         * include/atomic.h (atomic_exchange_relaxed): New.
18117 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18119         * math/e_scalb.c: Do not include <fenv.h>.
18120         (invalid_fn): Do calculation resulting in NaN instead of raising
18121         FE_INVALID and returning a NaN explicitly.
18122         * math/e_scalbf.c: Do not include <fenv.h>.
18123         (invalid_fn): Do calculation resulting in NaN instead of raising
18124         FE_INVALID and returning a NaN explicitly.
18125         * math/e_scalbl.c: Do not include <fenv.h>.
18126         (invalid_fn): Do calculation resulting in NaN instead of raising
18127         FE_INVALID and returning a NaN explicitly.
18129 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18131         * po/de.po: Updated from Translation Project.
18132         * po/fi.po: Likewise.
18133         * po/sv.po: Likewise.
18135 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18137         [BZ #20452]
18138         Use sysdep.o from libc.a in static libraries.
18139         * sysdeps/unix/sysv/linux/i386/Makefile
18140         (libpthread-shared-only-routines): Add sysdep.
18141         (librt-shared-only-routines): Likewise.
18143 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18145         * math/tgmath.h (nextdown): Define if
18146         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18147         (nextup): Likewise.
18149         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18150         macro.
18151         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18152         Document.
18153         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18154         Document macro.
18155         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18156         (exp10f): Likewise.
18157         (exp10l): Likewise.
18158         * math/bits/mathcalls.h (exp10): Declare if
18159         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18161         * manual/arith.texi (nextup): Fix typo in last change.
18163 2016-08-03  Zack Weinberg  <zackw@panix.com>
18165         [BZ #19239]
18166         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18167         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18168         define major, minor, and makedev to issue deprecation warnings on use.
18169         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18170         previously-activated deprecation warnings for these macros and prevent
18171         subsequent inclusions of this header from having any effect.
18172         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18173         including <sys/sysmacros.h>, and undefine it again afterward.
18175 2016-08-03  Zack Weinberg  <zackw@panix.com>
18177         * sysdeps/generic/sys/sysmacros.h: Delete file.
18178         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18179         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18180         * bits/sysmacros.h: ... here; this encoding is now the generic
18181         encoding.  Now defines only the following macros:
18182         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18183         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18184         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18186         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18187         bits/sysmacros.h and the above new macros to generate the
18188         public implementations of major, minor, and makedev.
18189         * misc/tst-makedev.c: New test.
18190         * include/sys/sysmacros.h: New wrapper.
18192         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18193         (routines): Add makedev.
18194         (tests): Add tst-makedev.
18195         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18196         gnu_dev_makedev.
18197         * posix/Makefile (headers): Remove sys/sysmacros.h.
18198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18200         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18201         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18202         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18203         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18204         * sysdeps/unix/sysv/linux/arm/libc.abilist
18205         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18206         * sysdeps/unix/sysv/linux/i386/libc.abilist
18207         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18208         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18209         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18210         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18211         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18212         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18213         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18214         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18215         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18220         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18221         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18222         * sysdeps/unix/sysv/linux/sh/libc.abilist
18223         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18224         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18227         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18228         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18229         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18230         Add GLIBC_2.25.
18232         * include/features.h (__glibc_clang_prereq): New macro.
18233         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18234         (__attribute_deprecated_msg__): New macros.
18236 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18238         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18239         macro.
18240         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18241         * manual/arith.texi (issignaling): Document as ISO from TS
18242         18661-1:2014.
18243         (nextup): Likewise.
18244         (nextupf): Likewise.
18245         (nextupl): Likewise.
18246         (nextdown): Likewise.
18247         (nextdownf): Likewise.
18248         (nextdownl): Likewise.
18249         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18250         macro.
18251         * math/math.h: Define
18252         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18253         <bits/libc-header-start.h> instead of including <features.h>.
18254         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18255         [__USE_GNU].
18256         * math/bits/mathcalls.h (nextdown): Declare if
18257         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18258         (nextup): Likewise.
18259         (__issignaling): Likewise.
18261 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18263         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18264         check, and remove __glibc_likely hint
18265         from FP_INFINITE check.
18266         * s_csinhf.c (__csinhf): Likewise.
18268         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18269         hint from FP_INFINITE check.
18270         * s_csinhl.c (__csinhl): Likewise.
18272 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18274         * math/Makefile (libm-calls): Insert F placeholder into
18275         object names.  Move w_lgamma_compat* routines into
18276         (libm-compat-calls): New variable.
18277         (libm-compat-calls-ldouble-yes): New variable.
18278         (calls): Insert F placeholder.
18279         (generated): Redefine using new type-foreach macro call.
18280         (routines): Likewise.
18282         (types): New variable to hold a list of symbolic names
18283         for each type supported by the target machine.
18284         (libm-routines): Redefine using new types variable.
18285         (type-foreach): macro to replace fooF with the
18286         appropriately suffixed foo for each types.
18288         (type-ldouble-suffix): New variable.
18289         (type-ldouble-routines): Likewise.
18290         (type-ldouble-yes): Likewise.
18291         (type-double-suffix): Likewise.
18292         (type-double-routines): Likewise.
18293         (type-float-suffix): Likewise.
18294         (type-float-routines): Likewise.
18296         (dbl-only-routines): Remove.
18297         (long-c-yes): Likewise.
18298         (long-m-routines): Likewise.
18299         (long-m-support): Likewise.
18300         (long-m-yes): Likewise.
18301         (test-longdouble-yes): Likewise.
18303         (test-float.o): Simplify by increasing the scope of the
18304         recipe which adds libm-test.stmp to the vector types.
18305         (test-ifloat.o): Likewise.
18306         (test-float-finite.o): Likewise.
18307         (test-double.o): Likewise
18308         (test-idouble.o): Likewise.
18309         (test-double-finite.o): Likewise.
18310         (test-ldouble.o): Likewise
18311         (test-ildoubl.o): Likewise.
18312         (test-ldouble-finite.o): Likewise.
18314         (libm-tests): Redefine type tests using foreach and the
18315         list of types in types.
18317         (CPPFLAGS-test-ildoubl.c): Rename to
18318         (CPPFLAGS-test-ildouble.c): New variable
18320         * math/test-ildoubl.c: Rename to
18321         * math/test-ildouble.c: New file.
18323 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18325         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18326         Use fabsl instead of fabs.
18327         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18328         Likewise.
18329         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18330         Add long double suffix to constant to ensure proper
18331         promotion to long double.
18333 2016-08-03  Tom Tromey  <tom@tromey.com>
18335         [BZ #20311]
18336         * nptl_db/Makefile (headers): Add proc_service.h.
18337         * nptl_db/proc_service.h: Add include guard.  Use
18338         __BEGIN/__END_DECLS.
18339         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18340         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18341         arguments.
18344 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18346         [BZ #17730]
18347         Avoid using memalign for TCB allocations.
18348         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18349         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18350         Avoid alignment gap in the TLS_DTV_AT_TP case.
18351         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18352         determine the pointer to free.
18353         * nptl/tst-tls3-malloc.c: New test.
18354         * nptl/Makefile (tests): Add it.
18355         (tst-tls3-malloc): Link with libdl, libpthread.
18356         (LDFLAGS-tst-tls3-malloc): Set.
18357         (tst-tls3-malloc.out): Depend on DSO used in test.
18359 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18361         [BZ #17730]
18362         Avoid using memalign for TLS allocations.
18363         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18364         is_static member with to_free member.
18365         (union dtv): Use struct dtv_pointer.
18366         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18367         dtv_pointer instead of is_static.
18368         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18369         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18370         instead of val.
18371         (allocate_dtv_entry): New function.
18372         (allocate_and_init): Return struct dtv_pointer.  Call
18373         allocate_dtv_entry instead of __libc_memalign.
18374         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18375         instead of val.
18376         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18377         instead of is_static.  Adjust call to allocate_and_init.
18378         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18379         struct dtv_pointer instead of val.
18381 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18383         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18384         (MALLOC_ALIGN_MASK): Move ...
18385         * malloc/malloc-internal.h: ... to here.
18386         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18388 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18390         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18391         (UDP_ENCAP_GTP1U): Likewise.
18393         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18394         (PF_MAX): Update value.
18395         (AF_QIPCRTR): New macro.
18397 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18399         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18400         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18401         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18403         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18404         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18405         s_truncf-vis3, s_trunc-vis3.
18406         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18407         (CFLAGS-s_ceil-vis3.c): Likewise.
18408         (CFLAGS-s_floorf-vis3.c): Likewise.
18409         (CFLAGS-s_floor-vis3.c): Likewise.
18410         (CFLAGS-s_truncf-vis3.c): Likewise.
18411         (CFLAGS-s_trunc-vis3.c): Likewise.
18412         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18413         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18414         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18415         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18418         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18421         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18423         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18425 2016-08-02  David S. Miller  <davem@davemloft.net>
18427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18428         (__nearbyint_vis3): Don't check for sNaN before float register is
18429         loaded with the incoming argument.
18430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18431         (__nearbyintf_vis3): Likewise.
18432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18433         Likewise.
18434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18435         Likewise.
18437         * string/test-strncmp.c (do_test_limit): Make sure the test data
18438         stream is aligned as required for the type "CHAR".
18439         (do_test): Likewise.
18441 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18443         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18444         by beq instructions jumping to the end of the function.
18445         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18446         clobber list. Use "i" constraint instead of "X".
18447         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18448         of "X".
18450 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18452         * bits/libc-header-start.h: New file.
18453         * Makefile (headers): Add bits/libc-header-start.h.
18454         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18455         (__GLIBC_USE): New macro.
18456         * libio/stdio.h: Define
18457         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18458         <bits/libc-header-start.h> instead of including <features.h>.
18459         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18460         (open_memstream): Likewise.
18461         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18462         (__asprintf): Likewise.
18463         (asprintf): Likewise.
18464         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18465         (getdelim): Likewise.
18466         (getline): Likewise.
18467         * string/string.h: Define
18468         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18469         <bits/libc-header-start.h> instead of including <features.h>.
18470         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18471         (strndup): Likewise.
18472         * wcsmbs/wchar.h: Define
18473         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18474         <bits/libc-header-start.h> instead of including <features.h>.
18475         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18476         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18478 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18480         Support linking against compatibility symbols, for use in tests.
18481         * include/libc-symbols.h (symbol_version_reference): New macro.
18482         (symbol_version): Use it.
18483         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18484         (compat_symbol): Use compat_symbol_reference.
18485         (compat_symbol_1, compat_symbol_2): Remove.
18486         (compat_symbol_reference, compat_symbol_reference_1)
18487         (compat_symbol_reference_2): New macro.  Use
18488         symbol_version_reference.
18490 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18492         [BZ #19469]
18493         * malloc/Makefile (CPPFLAGS): Compile tests with
18494         -DTEST_NO_MALLOPT.
18495         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18497 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18499         [BZ #20033]
18500         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18501         finite version.
18502         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18503         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18504         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18505         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18506         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18508         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18509         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18512         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18513         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18514         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18515         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18519         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18520         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18521         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18522         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18523         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18524         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18525         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18526         in zero power.
18528 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18530         [BZ #20370]
18531         * malloc/arena.c (get_free_list): Update comment.  Assert that
18532         arenas on the free list have no attached threads.
18533         (remove_from_free_list): New function.
18534         (reused_arena): Call it.
18536 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18538         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18539         when it is a NaN.
18540         [_IEEE_FP_INEXACT] Remove.
18541         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18542         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18543         when it is a NaN.
18544         [_IEEE_FP_INEXACT] Remove.
18545         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18546         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18547         when it is a NaN.
18548         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18549         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18550         when its absolute value is greater than 0x1.0p52.
18551         [_IEEE_FP_INEXACT] Remove.
18552         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18553         when its absolute value is greater than 0x1.0p23.
18554         [_IEEE_FP_INEXACT] Remove.
18556 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18558         * version.h (RELEASE): Set to "development"
18559         (VERSION): Set to 2.24.90.
18560         * NEWS: Add 2.25 section.
18562         * version.h (RELEASE): Set to "stable"
18563         (VERSION): Set to 2.24.
18564         * include/features.h (__GLIBC_MINOR__): Set to 24.
18566         * NEWS: Add 2.24 fixed bugs.
18567         * po/libc.pot: Regenerate.
18569 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18572         [$(subdir) = math] (libm-sysdep_routines): Remove.
18573         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18574         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18575         s_truncf-vis3, s_trunc-vis3.
18576         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18578         file.
18579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18612         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18613         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18614         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18615         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18618         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18619         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18620         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18621         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18623 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18625         [BZ #20384]
18626         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18627         test-double-libmvec-sincos-avx-main.o,
18628         test-double-libmvec-sincos-avx2-main.o,
18629         test-double-libmvec-sincos-main.o,
18630         test-float-libmvec-sincosf-avx-main.o,
18631         test-float-libmvec-sincosf-avx2-main.o and
18632         test-float-libmvec-sincosf-main.o.
18633         test-float-libmvec-sincosf-avx512-main.o.
18634         ($(objpfx)test-double-libmvec-sincos): Also link with
18635         $(objpfx)test-double-libmvec-sincos-main.o.
18636         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18637         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18638         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18639         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18640         ($(objpfx)test-float-libmvec-sincosf): Also link with
18641         $(objpfx)test-float-libmvec-sincosf-main.o.
18642         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18643         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18644         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18645         test-double-libmvec-sincos-avx512-main.o and
18646         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18647         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18648         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18649         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18650         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18651         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18652         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18653         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18654         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18655         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18656         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18657         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18658         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18659         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18660         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18661         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18662         -DREQUIRE_AVX2.
18663         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18664         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18665         -DREQUIRE_AVX512F.
18666         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18667         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18668         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18669         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18670         file.
18671         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18672         Likewise.
18673         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18674         Likewise.
18675         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18676         Likewise.
18677         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18678         Likewise.
18679         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18680         Likewise.
18681         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18682         Likewise.
18683         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18684         Likewise.
18686 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18688         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18690 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18692         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18693         and typo in a comment about AT_HWCAP entry.
18695 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18697         * sysdeps/aarch64/libm-test-ulps: Updated.
18699 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18701         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18702         of r13 as it is not restored in mvcle case.
18704 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18706         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18707         Rename "ret" to "__ret".
18708         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18709         inline_syscall5, inline_syscall6): Likewise.
18711 2016-07-19   Will Newton  <will.newton@gmail.com>
18713         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18714         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18715         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18716         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18717         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18719 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
18721         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18722         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18723         -mfpmath=387 with $(rtld-CFLAGS).
18724         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18725         $(rtld-CFLAGS).
18727 2016-07-18   Ross Burton  <ross.burton@intel.com>
18728              Khem Raj  <raj.khem@gmail.com>
18730         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18731         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18732         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18733         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18734         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18735         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18736         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18737         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18738         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18739         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18740         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18741         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18742         R_METAG_TLS_DTPOFF): New.
18744 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18745             Matt Clay  <mclay@lycos.com>
18747         [BZ #20357]
18748         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18749         to call __mpsin/__mpcos and to negate values.
18750         * math/auto-libm-test-in: Add test.
18751         * math/auto-libm-test-out: Regenerate.
18753 2016-07-18  Zack Weinberg  <zackw@panix.com>
18755         * grp/Makefile: Don't install the internal header grp-merge.h.
18757 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18759         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18761 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18763         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18765 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18767         [BZ #15368]
18768         * sysdeps/unix/sysv/linux/nptl-signals.h
18769         (__nptl_clear_internal_signals): New function.
18770         (__libc_signal_block_all): Likewise.
18771         (__libc_signal_block_app): Likewise.
18772         (__libc_signal_restore_set): Likewise.
18773         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18774         implementation.
18775         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18776         the cached pid/tid value in pthread structure.
18778 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
18780         [BZ #20347]
18781         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18783 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18785         [BZ #20348]
18786         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18787         preadv64, pwrite64 and pwritev64.
18789 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18791         [BZ #20350]
18792         * posix/tst-preadwrite.c: Renamed to ...
18793         * posix/tst-preadwrite-common.c: This.
18794         (PREAD): Removed.
18795         (PWRITE): Likewise.
18796         (STRINGIFY): Likewise.
18797         (STRINGIFY2): Likewise.
18798         (do_prepare): Make it static and remove function arguments.
18799         (do_test): Likewise.
18800         (PREPARE): Updated.
18801         (TEST_FUNCTION): New.
18802         (name): Make it static.
18803         (fd): Likewise.
18804         (do_prepare): Use create_temp_file.
18805         (do_test): Renamed to ...
18806         (do_test_with_offset): This.  Make it static and accept offset.
18807         Properly check return value of PWRITE and PREAD.  Return bytes
18808         read.  Don't close fd nor unlink name.
18809         * posix/tst-preadwrite.c: Rewrite.
18810         * posix/tst-preadwrite64.c: Likewise.
18812 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18814         [BZ #20309]
18815         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18816         -mtls-dialect=gnu2 works.
18817         * configure: Regenerated.
18818         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18819         (tests): Add tst-gnu2-tls1.
18820         (modules-names): Add tst-gnu2-tls1mod.
18821         ($(objpfx)tst-gnu2-tls1): New.
18822         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18823         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18824         * elf/tst-gnu2-tls1.c: New file.
18825         * elf/tst-gnu2-tls1mod.c: Likewise.
18826         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18827         bytes for push in the PLT entry to align the stack.
18829 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18831         [BZ #20349]
18832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18834 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18836         [BZ #18707]
18837         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18838         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18840 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18842         * sysdeps/unix/sysv/linux/sysdep.h
18843         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18844         guards.
18845         * misc/tst-preadvwritev-common.c: New file.
18846         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18847         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18848         a check for files larger than 2GB.
18850         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18851         (__ASSUME_OFF_DIFF_OFF64): Remove define.
18852         * sysdeps/unix/sysv/linux/pread.c
18853         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18854         __OFF_T_MATCHES_OFF64_T.
18855         * sysdeps/unix/sysv/linux/pread64.c
18856         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18857         * sysdeps/unix/sysv/linux/preadv.c
18858         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18859         * sysdeps/unix/sysv/linux/preadv64.c
18860         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18861         * sysdeps/unix/sysv/linux/pwrite.c
18862         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18863         * sysdeps/unix/sysv/linux/pwrite64.c
18864         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18865         * sysdeps/unix/sysv/linux/pwritev.c
18866         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18867         * sysdeps/unix/sysv/linux/pwritev64.c
18868         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18870 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
18872         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18873         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18875 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18877         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18879 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18881         [BZ #20240]
18882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18883         (CFLAGS-s_modf-ppc32.c): New variable.
18884         (CFLAGS-s_modff-ppc32.c): Likewise.
18885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18886         (CFLAGS-s_modf-ppc64.c): Likewise.
18887         (CFLAGS-s_modff-ppc64.c): Likewise.
18889 2016-07-07  Andreas Schwab  <schwab@suse.de>
18891         [BZ #20263]
18892         * nptl/tst-robust10.c: New test.
18893         * nptl/Makefile (tests): Add tst-robust10.
18895 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
18897         [BZ #20263]
18898         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18900 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18902         * sysdeps/s390/linkmap.h (struct link_map_machine):
18903         Remove member gotplt and add member jmprel.
18904         * sysdeps/s390/s390-32/dl-machine.h
18905         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18906         instead of gotplt with &got[3].
18907         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18908         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18910 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
18912         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18914 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18916         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18917         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18918         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18919         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18920         * libio/vtables.c (_IO_vtable_check)
18921         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18922         * libio/libioP.h (IO_set_accept_foreign_vtables)
18923         [!PTR_MANGLE]: Do not call PTR_MANGLE.
18925 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
18927         [BZ #20314]
18928         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18929         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18930         $(common-objpfx)cmath.
18931         ($(common-objpfx)cstdlib): New target.
18932         ($(common-objpfx)cmath): Likewise.
18934 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
18936         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18938 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18940         [BZ #20327]
18941         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18942         are not part of the string.
18944 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18946         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18947         * nptl/tst-cancel4-common.h (fifoname): New variable.
18948         (fifofd): Likewise.
18949         (cl_fifo): New function.
18950         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18951         SIGINT.
18952         (tf_open): Add early cancel test.
18954 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18956         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18958 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
18960         * sysdeps/generic/ldsodefs.h
18961         (dl_symbol_visibility_binds_local_p): New inline function.
18962         * elf/dl-addr.c (determine_info): Treat hidden and internal
18963         symbols as local.
18964         * elf/dl-lookup.c (do_lookup_x): Likewise.
18965         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18967 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
18969         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18970         invalid exception for a sNaN input.
18971         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18972         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18973         (__nearbyint_vis3): Likewise
18974         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18975         (__nearbyintf_vis3): Likewise
18976         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18977         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18978         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18979         Likewise.
18980         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18981         Likewise.
18983 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
18985         [BZ #20139]
18986         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18987         (HAVE_AVX512DQ_ASM_SUPPORT): This.
18988         * sysdeps/x86_64/configure.ac: Require assembler from binutils
18989         2.24 or above.
18990         (HAVE_AVX512_ASM_SUPPORT): Removed.
18991         (HAVE_AVX512DQ_ASM_SUPPORT): New.
18992         * sysdeps/x86_64/configure: Regenerated.
18993         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18994         check unconditional.
18995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18996         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18997         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18998         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18999         Likewise.
19000         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19001         Likewise.
19002         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19003         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19004         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19005         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19006         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19007         Likewise.
19008         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19009         Likewise.
19010         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19011         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19013         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19014         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19015         Likewise.
19016         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19017         Likewise.
19018         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19019         Likewise.
19020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19021         Likewise.
19022         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19023         Likewise.
19024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19025         Likewise.
19026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19027         Likewise.
19028         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19029         Likewise.
19030         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19031         Likewise.
19032         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19033         Likewise.
19034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19035         Likewise.
19037 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19039         [BZ #20024]
19040         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19042         of this implementation of vector function.
19043         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19044         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19046         Likewise.
19047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19049         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19050         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19051         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19052         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19053         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19054         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19055         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19056         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19057         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19058         for testing vector sincos with fixed ABI.
19059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19060         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19061         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19062         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19063         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19064         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19065         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19066         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19067         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19068         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19069         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19070         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19071         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19072         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19073         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19074         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19076 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19078         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19080 2016-06-30  Anton Blanchard  <anton@samba.org>
19082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19083         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19084         s_sinf-ppc64.
19085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19088         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19090 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19094         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19095         e_expf-ppc64.
19096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19099         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19101 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19103         [BZ #20277]
19104         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19105         when SHARED is defined.
19107 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19109         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19110         (index_arch_Prefer_ERMS): Likewise.
19111         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19112         __memcpy_erms for Prefer_ERMS.
19113         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19114         (__memmove_erms): Enabled for libc.a.
19115         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19116         __memmove_erms or Prefer_ERMS.
19117         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19118         __mempcpy_erms for Prefer_ERMS.
19119         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19120         __memset_erms for Prefer_ERMS.
19122 2016-06-30  Andreas Schwab  <schwab@suse.de>
19124         [BZ #20262]
19125         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19126         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19127         of memory.
19129 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19131         [BZ #18645]
19132         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19133         (test-extras): Add tst-cleanupx4aux.
19134         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19135         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19136         tst-cleanupx4aux.o.
19137         * nptl/tst-cleanupx4aux.c: New file.
19139 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19141         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19143 2016-06-29  Andreas Schwab  <schwab@suse.de>
19145         [BZ #20260]
19146         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19147         address before the beginning of the string as an integer to avoid
19148         array-bounds warning.
19150 2016-06-28  Richard Henderson  <rth@redhat.com>
19152         * elf/elf.h (EM_BPF): New.
19153         (EM_NUM): Update.
19154         (R_BPF_NONE, R_BPF_MAP_FD): New.
19156         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19157         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19158         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19159         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19160         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19161         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19162         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19163         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19164         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19165         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19166         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19167         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19168         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19169         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19170         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19171         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19172         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19173         (EM_NUM): Update.
19175 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19177         [BZ #18960]
19178         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19179         Set _nl_current_LC_CATEGORY_used to two instead of one.
19181 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19183         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19184         (do_test): ... this.
19185         (TEST_FUNCTION): New macro.
19186          Include test-skeleton.c.
19187         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19188         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19190 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #15479]
19193         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19194         floating-point environment rather than just control word.
19195         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19196         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19197         floating-point environment, with "invalid" exceptions merged in,
19198         rather than just control word.
19199         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19200         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19201         "inexact" exceptions.
19203         [BZ #15479]
19204         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19205         floating-point environment rather than just control word.
19206         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19207         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19208         floating-point environment, with "invalid" exceptions merged in,
19209         rather than just control word.
19210         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19211         * math/libm-test.inc (floor_test_data): Do not allow spurious
19212         "inexact" exceptions.
19214         [BZ #15479]
19215         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19216         floating-point environment rather than just control word.
19217         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19218         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19219         floating-point environment, with "invalid" exceptions merged in,
19220         rather than just control word.
19221         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19222         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19223         "inexact" exceptions.
19225 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19227         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19228         __libc_vfork.
19229         (__vfork) [IS_IN (libc)]: Remove alias.
19230         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19231         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19232         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19234 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19236         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19237         of atomic_compare_and_exchange_bool_rel.
19238         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19239         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19240         catomic_compare_and_exchange_bool_rel): Remove.
19241         * sysdeps/aarch64/atomic-machine.h
19242         (atomic_compare_and_exchange_bool_rel): Likewise.
19243         * sysdeps/alpha/atomic-machine.h
19244         (atomic_compare_and_exchange_bool_rel): Likewise.
19245         * sysdeps/arm/atomic-machine.h
19246         (atomic_compare_and_exchange_bool_rel): Likewise.
19247         * sysdeps/mips/atomic-machine.h
19248         (atomic_compare_and_exchange_bool_rel): Likewise.
19249         * sysdeps/microblaze/atomic-machine.h
19250         ( __arch_compare_and_exchange_bool_8_rel,
19251         __arch_compare_and_exchange_bool_16_rel): Likewise.
19252         * sysdeps/powerpc/atomic-machine.h
19253         ( __arch_compare_and_exchange_bool_8_rel,
19254         __arch_compare_and_exchange_bool_16_rel): Likewise.
19255         * sysdeps/powerpc/powerpc32/atomic-machine.h
19256         ( __arch_compare_and_exchange_bool_32_rel,
19257         __arch_compare_and_exchange_bool_64_rel): Likewise.
19258         * sysdeps/powerpc/powerpc64/atomic-machine.h
19259         ( __arch_compare_and_exchange_bool_32_rel,
19260         __arch_compare_and_exchange_bool_64_rel): Likewise.
19261         * sysdeps/tile/atomic-machine.h
19262         (atomic_compare_and_exchange_bool_rel): Likewise.
19264 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19266         [BZ #20296]
19267         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19268         when either argument is a NaN.
19269         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19270         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19272         * math/libm-test.inc (snan_value_ld): New macro.
19273         (isgreater_test_data): Add sNaN tests.
19274         (isgreaterequal_test_data): Likewise.
19275         (isless_test_data): Likewise.
19276         (islessequal_test_data): Likewise.
19277         (islessgreater_test_data): Likewise.
19278         (isunordered_test_data): Likewise.
19279         (nextafter_test_data): Likewise.
19280         (nexttoward_test_data): Likewise.
19281         (remainder_test_data): Likewise.
19282         (remquo_test_data): Likewise.
19283         (significand_test_data): Likewise.
19284         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19286 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19288         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19289         environment macros are defined.
19290         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19292 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19294         [BZ #20191]
19295         Implement vtable verification in libio.
19296         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19297         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19298         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19299         _IO_new_file_init_internal instead of _IO_file_init.
19300         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19301         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19302         * libio/Makefile (routines): Add vtables.
19303         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19304         (_IO_init): Remove, not for internal use.
19305         (_IO_init_internal): Declare, internal replacement for _IO_init.
19306         (_IO_file_init): Remove, not for internal use.
19307         (_IO_new_file_init): Remove, not for internal use.
19308         (_IO_new_file_init_internal): Declare, internal replacement for
19309         _IO_new_file_init.
19310         (_IO_old_file_init): Remove, not for internal use.
19311         (_IO_old_file_init_internal): Declare, internal replacement for
19312         _IO_old_file_init.
19313         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19314         internal use.
19315         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19316         Declare.
19317         (libio_vtable): New macro.
19318         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19319         functions.
19320         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19321         _IO_new_file_init.
19322         (_IO_new_file_init): New externally visible wrapper which disables
19323         vtable verification.
19324         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19325         Define as vtables.
19326         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19327         (_IO_init): New externally visible wrapper which disables
19328         vtable verification.
19329         * libio/iofdopen.c (_IO_new_fdopen): Call
19330         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19331         comment.
19332         * libio/iofopen.c (__fopen_internal): Call
19333         _IO_new_file_init_internal instead of _IO_file_init.
19334         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19335         Define as vtables.
19336         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19337         _IO_new_file_init_internal instead of _IO_file_init.
19338         * libio/iopopen.c (_IO_new_popen): Likewise.
19339         (_IO_proc_jumps): Define as vtable.
19340         * libio/iovdprintf.c (_IO_vdprintf): Call
19341         _IO_new_file_init_internal instead of _IO_file_init.
19342         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19343         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19344         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19345         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19346         _IO_old_file_init.
19347         (_IO_old_file_init): New externally visible wrapper which disables
19348         vtable verification.
19349         (_IO_old_file_jumps): Define as vtable.
19350         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19351         _IO_old_file_init_internal instead of _IO_old_file_init.
19352         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19353         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19354         (_IO_old_proc_jumps): Define as vtable.
19355         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19356         Define as vtables.
19357         * libio/vtables.c: New file.
19358         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19359         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19360         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19361         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19362         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19363         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19364         instead of _IO_init.
19366 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19368         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19370 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19372         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19373         potentially unused.
19375 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19377         * test-skeleton.c (write_message): New function.
19378         * malloc/tst-mallocfork2.c (write_message): Remove.
19379         * debug/tst-longjmp_chk2.c (write_indented): New function.
19380         (write_message): Remove.
19381         (stackoverflow_handler): Call write_indented.
19383 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19385         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19386         "inexact" exceptions after fnstenv.
19387         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19388         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19389         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19391 2015-06-22  Zack Weinberg  <zackw@panix.com>
19393         * sysdeps/generic/bits/hwcap.h: Moved to ...
19394         * bits/hwcap.h: Here.
19396 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19398         * sysdeps/aarch64/memcpy.S (memcpy):
19399         Further tuning for performance.
19401 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19403         [BZ #20284]
19404         * malloc/arena.c (reused_arena): Do not return NULL if we start
19405         out with a non-corrupted arena.
19407 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19409         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19410         * misc/tst-preadvwritev.c: New file.
19411         * misc/tst-preadvwritev64.c: Likewise.
19412         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19413         usage.
19414         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19415         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19416         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19417         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19419 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19421         [BZ #19654]
19422         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19423         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19424         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19425         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19426         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19427         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19428         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19429         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19432         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19433         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19434         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19435         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19436         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19437         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19438         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19439         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19440         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19441         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19442         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19443         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19444         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19445         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19446         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19447         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19449 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19451         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19452         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19454 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19456         * sysdeps/aarch64/memcpy.S (memcpy):
19457         Rewrite of optimized memcpy and memmove.
19458         * sysdeps/aarch64/memmove.S (memmove): Remove
19459         memmove code (merged into memcpy.S).
19461 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19463         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19464         * sysdeps/generic/dl-dtv.h: New file.
19465         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19466         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19467         (dtv_t): Remove.
19468         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19469         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19470         (dtv_t): Remove.
19471         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19472         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19473         (dtv_t): Remove.
19474         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19475         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19476         (dtv_t): Remove.
19477         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19478         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19479         (dtv_t): Remove.
19480         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19481         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19482         (dtv_t): Remove.
19483         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19484         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19485         (dtv_t): Remove.
19486         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19487         (dtv_t): Remove.
19488         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19489         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19490         (dtv_t): Remove.
19491         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19492         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19493         (dtv_t): Remove.
19494         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19495         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19496         (dtv_t): Remove.
19497         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19498         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19499         (dtv_t): Remove.
19500         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19501         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19502         (dtv_t): Remove.
19503         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19504         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19505         (dtv_t): Remove.
19506         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19507         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19508         (dtv_t): Remove.
19509         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19510         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19511         (dtv_t): Remove.
19513 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19515         Revert symbol poisoning of  __malloc_initialize_hook.
19516         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19517         poisoning.
19518         * malloc/Makefile: Remove un-poisoning.
19519         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19520         instead of old__malloc_initialize_hook.
19521         * malloc/malloc-hooks.h: Likewise.
19522         * malloc/malloc.c: Likewise.
19523         * malloc/mcheck-init.c: Likewise.
19525 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19527         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19529 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19531         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19532         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19533         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19534         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19536 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19538         * NEWS: Mention addition of nextup and nextdown.
19539         * manual/arith.texi: Document nextup and nextdown.
19540         * manual/libm-err-tab.pl: Add nextup and nextdown.
19541         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19542         * math/Versions (libm): Add GLIBC_2.24.
19543         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19544         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19545         Add new test.
19546         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19547         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19548         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19549         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19550         (nextup_test_data): Likewise.
19551         (nextdown_test_data): Likewise.
19552         * math/s_nextdown.c: New file.
19553         * math/s_nextdownf.c: Likewise.
19554         * math/s_nextdownl.c: Likewise.
19555         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19556         F(nextup): New function.
19557         F(nextdown): Likewise.
19558         * math/tgmath.h: Add nextup and nextdown.
19559         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19560         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19561         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19562         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19563         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19564         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19565         Add nextup and nextdown.
19566         (CFLAGS-nldbl-nextup.c): New variable.
19567         (CFLAGS-nldbl-nextdown.c): Likewise.
19568         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19569         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19570         * sysdeps/nacl/libm.abilist: Update.
19571         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19572         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19573         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19574         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19575         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19576         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19577         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19578         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19579         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19580         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19581         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19582         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19585         Likewise.
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19588         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19590         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19591         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19592         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19595         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19596         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19597         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19598         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19600 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19602         * manual/pattern.texi: Fix typos & grammar errors.
19604 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19606         * manual/search.texi: Fix typos & grammar errors.
19608 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19610         * manual/message.texi: Fix typos & grammar errors.
19612 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19614         * manual/contrib.texi: Fix spelling typos.
19615         * manual/crypt.texi: Likewise.
19616         * manual/filesys.texi: Likewise.
19617         * manual/locale.texi: Likewise.
19618         * manual/message.texi: Likewise.
19619         * manual/nss.texi: Likewise.
19620         * manual/string.texi: Likewise.
19622 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19624         * manual/locale.texi: Fix typos & grammar errors.
19626 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19628         * manual/charset.texi: Fix typos & grammar errors.
19630 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19632         * manual/string.texi: Fix typos.
19634 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19636         * manual/ctype.texi: Fix typos.
19638 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19640         * manual/memory.texi: Fix various typos & grammar errors.
19642 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19644         [BZ #20255]
19645         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19646         * math/libm-test.inc (fdim_test_data): Add another test.
19648         [BZ #6796]
19649         [BZ #20255]
19650         [BZ #20256]
19651         * math/s_fdim.c: Include <math_private.h>.
19652         (__fdim): Use math_narrow_eval on result.
19653         * math/s_fdimf.c: Include <math_private.h>.
19654         (__fdimf): Use math_narrow_eval on result.
19655         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19656         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19657         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19658         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19659         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19660         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19661         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19662         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19663         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19664         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19665         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19666         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19667         overflow.  Add sNaN tests.
19669         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19670         fpclassify.
19671         * math/s_fdimf.c (__fdimf): Likewise.
19672         * math/s_fdiml.c (__fdiml): Likewise.
19674 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19676         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19677         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19679         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19680         ifunc'ed strcasecmp/strncasecmp.
19681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19682         [EALIGN]: Removed.
19683         [END]: Likewise.
19684         [__strcasecmp]: Define instead of the above to control symbol name.
19685         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19686         for __strcasecmp_power8.
19687         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19688         for __strncasecmp_power8.
19689         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19691         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19692         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19693         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19694         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19696 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #20252]
19699         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19700         arguments when second argument is a NaN.
19701         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19702         qNaN tests.
19704         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19705         (conj_test_data): Likewise.
19706         (copysign_test_data): Likewise.
19707         (creal_test_data): Likewise.
19708         (fma_test_data): Likewise.
19709         (fmod_test_data): Likewise.
19711         [BZ #20250]
19712         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19713         itself.
19714         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19715         zero input to itself.
19716         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19717         Likewise.
19718         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19719         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19720         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19721         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19722         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19724 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19726         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19727         * nptl/tst-cancel4-common.c: New file.
19728         * nptl/tst-cancel4-common.h: Likewise.
19729         * nptl/tst-cancel4.c: Move common definitions to
19730         tst-cancel4-common.{c,h} file.
19731         * nptl/tst-cancel4_1.c: New test.
19732         * nptl/tst-cancel4_2.c: New test.
19734 2016-06-13  Florian Weimer  <fweimer@redhat.com>
19736         [BZ #20248]
19737         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19738         (write_message): New function.
19739         (stackoverflow_handler): Call it instead of printf, to avoid
19740         excessive stack usage by printf.
19741         (do_test): Restore SIGSEGV, SIGBUS default handlers.
19743 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19745         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19746         (prio_inherit_missing): Remove define.
19747         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19748         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19750         Likewise.
19751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19752         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19753         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19754         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19755         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19756         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19758 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19760         [BZ #19670]
19761         [BZ #19672]
19763         * io/test-lfs.c (do_prepare): Use xmalloc.
19764         * io/tst-fcntl.c (do_prepare): Likewise.
19765         * libio/tst-fopenloc.c (do_bz17916): Likewise.
19766         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19767         * login/tst-utmp.c (do_prepare): Likewise.
19768         * posix/tst-exec.c (do_prepare): Likewise.
19769         * posix/tst-pathconf.c (prepare): Likewise.
19770         * posix/tst-spawn.c (do_prepare): Likewise.
19771         * posix/tst-truncate.c (do_prepare): Likewise.
19772         * rt/tst-aio.c (do_prepare): Likewise.
19773         * rt/tst-aio64.c (do_prepare): Likewise.
19775 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19777         [BZ #20237]
19778         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19779         (get*ent): Set entidx to NULL during initialization.  If entidx is
19780         NULL, start iteration from the beginning.
19782 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19784         * malloc/malloc.c (musable): Return correct size for dumped fake
19785         mmapped chunk.
19787 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19789         [BZ #20222]
19790         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19791         (_IO_cookie_write): Likewise.
19792         (_IO_cookie_seek): Likewise.
19793         (_IO_cookie_close): Likewise.
19794         (_IO_old_cookie_seek): Likewise.
19795         (set_callbacks): New function.
19796         (_IO_cookie_init): Call set_callbacks to copy callbacks.
19798 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
19800         * locale/programs/localedef.c (oldstyle_tables): Remove.
19801         * locale/programs/localedef.h (oldstyle_tables): Likewise.
19803 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
19805         [BZ #20240]
19806         * math/Makefile (CFLAGS-s_modf.c): New variable.
19807         (CFLAGS-s_modff.c): Likewise.
19808         (CFLAGS-s_modfl.c): Likewise.
19809         * math/libm-test.inc (modf_test_data): Add sNaN tests.
19811 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
19813         [BZ #20215]
19814         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19815         [!__GNUC_PREREQ (3,2)]: Likewise.
19817 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
19819         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19820         (msghdr.msg_controllen): Likewise.
19821         (cmsghdr.cmsg_len): Likewise.
19822         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19823         ptw-oldsendmsg.
19824         (CFLAGS-oldrecvmsg.c): Remove rule.
19825         (CFLAGS-oldsendmsg.c): Likewise.
19826         (CFLAGS-recvmsg.c): Add rule.
19827         (CFLAGS-sendmsg.c): Likewise.
19828         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19829         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19830         (CFLAGS-recvmsg.c): Remove rule.
19831         (CFLAGS-sendmsg.c): Likewise.
19832         (CFLAGS-oldrecvmsg.c): Likewise.
19833         (CFLAGS-oldsendmsg.c): Likewise.
19834         (CFLAGS-recvmmsg.c): Likewise.
19835         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19836         to kernel defined interfaces.
19837         (msghdr.msg_controllen): Likewise.
19838         (cmsghdr.cmsg_len): Likewise.
19839         (msghdr.__glibc_reserved1): Remove member.
19840         (msghdr.__glibc_reserved2): Likewise.
19841         (cmsghdr.__glibc_reserved1): Likewise.
19842         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19843         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19844         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19845         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19846         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19847         version.
19848         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19849         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19850         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19851         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19852         Remove recvmsg and sendmsg.
19853         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19854         Likewise.
19855         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19856         Likewise.
19857         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19858         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19859         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19860         Likewise.
19861         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19862         Likewise.
19863         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19864         [libc] (GLIBC_2.24): Likewise.
19865         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19866         Likewise.
19867         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19868         Likewise.
19869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19870         [libc] (GLIBC_2.24): Likewise.
19871         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19872         Likewise.
19873         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19874         Likewise.
19875         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19876         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19877         Likewise.
19878         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19879         Likewise.
19880         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19881         Likewise.
19882         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19883         Likewise.
19884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19885         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19886         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19887         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19888         version for {recv,send,recm,sendm}msg.
19889         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19890         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19891         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19892         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19893         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19894         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19895         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19896         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19897         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19898         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19899         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19902         Likewise.
19903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19904         Likewise.
19905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19909         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19910         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19911         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19912         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19915         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19916         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19917         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19919 2016-06-10  Florian Weimer  <fweimer@redhat.com>
19921         [BZ #19564]
19922         Remove __malloc_initialize_hook from the API.
19923         * malloc/malloc.h (__malloc_initialize_hook): Remove.
19924         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19925         #pragma GCC poison.
19926         * malloc/malloc-hooks.h: New file.
19927         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19928         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19929         (old__malloc_initialize_hook): Rename from
19930         __malloc_initialize_hook to evade poisoning.  Turn into compat
19931         symbol.
19932         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19933         __malloc_initialize_hook.
19934         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19935         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19936         * manual/memory.texi (Hooks for Malloc): Remove
19937         __malloc_initialize_hook.  Adjust hook example.
19939 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
19941         [BZ #20235]
19942         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19943         itself.
19944         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19945         * math/libm-test.inc (log2_test_data): Add sNaN tests.
19947         [BZ #20234]
19948         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19949         infinity or NaN input to itself.
19951         [BZ #20233]
19952         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19953         to itself.
19955         [BZ #20232]
19956         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19957         itself.
19959 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19961         * sysdeps/x86_64/start.S (_start): Always indirect branch to
19962         __libc_start_main via GOT.
19964 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19966         * sysdeps/x86_64/memcopy.h: New file.
19967         * sysdeps/x86_64/wordcopy.c: Likewise.
19969 2016-06-09  Florian Weimer  <fweimer@redhat.com>
19971         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19972         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19973         <cstdlib>.
19974         (optimization_barrier): New.
19975         (do_test): Use it.  Call quick_exit in the global namespace.
19976         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19977         instead of <cstdlib>, <thread>.
19978         (optimization_barrier): New.
19979         (non_main_thread): Adjust declaration.  Call optimization_barrier.
19980         Call quick_exit in the global namespace.
19981         (do_test): Call optimization_barrier.  Use pthread_create,
19982         pthread_join instead of std::thread.
19984 2016-06-09  Andreas Schwab  <schwab@suse.de>
19986         [BZ #19755]
19987         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19988         new entries in auto-propagate mode.
19989         * nscd/grpcache.c (cache_addgr): Likewise.
19991 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19993         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19994         New functions.
19995         (add_temp_file): Use them.
19997 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
19999         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20001 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20003         [BZ #20229]
20004         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20005         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20006         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20008         [BZ #20228]
20009         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20010         itself.
20011         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20012         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20014         [BZ #20227]
20015         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20016         itself.
20017         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20018         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20019         * math/libm-test.inc (log_test_data): Add sNaN tests.
20021         [BZ #20226]
20022         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20023         itself.
20024         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20025         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20026         (exp10_test_data): Likewise.
20027         (expm1_test_data): Likewise.
20029         [BZ #20225]
20030         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20031         itself.
20032         * math/s_ldexpf.c (__ldexpf): Likewise.
20033         * math/s_ldexpl.c (__ldexpl): Likewise.
20034         * math/w_scalbln.c (__w_scalbln): Likewise.
20035         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20036         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20037         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20038         (scalbln_test_data): Likewise.
20040         [BZ #20224]
20041         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20042         argument to itself.
20043         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20045 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20047         [BZ #19776]
20048         * sysdeps/x86_64/memcpy.S: Make it dummy.
20049         * sysdeps/x86_64/mempcpy.S: Likewise.
20050         * sysdeps/x86_64/memmove.S: New file.
20051         * sysdeps/x86_64/memmove_chk.S: Likewise.
20052         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20053         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20054         * sysdeps/x86_64/memmove.c: Removed.
20055         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20056         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20057         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20058         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20059         Likewise.
20060         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20061         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20063         memcpy-sse2-unaligned, memmove-avx-unaligned,
20064         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20066         (__libc_ifunc_impl_list): Replace
20067         __memmove_chk_avx512_unaligned_2 with
20068         __memmove_chk_avx512_unaligned.  Remove
20069         __memmove_chk_avx_unaligned_2.  Replace
20070         __memmove_chk_sse2_unaligned_2 with
20071         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20072         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20073         with __memmove_avx512_unaligned.  Replace
20074         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20075         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20076         with __memcpy_chk_avx512_unaligned.  Remove
20077         __memcpy_chk_avx_unaligned_2.  Replace
20078         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20079         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20080         Replace __memcpy_avx512_unaligned_2 with
20081         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20082         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20083         with __mempcpy_chk_avx512_unaligned.  Remove
20084         __mempcpy_chk_avx_unaligned_2.  Replace
20085         __mempcpy_chk_sse2_unaligned_2 with
20086         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20087         Replace __mempcpy_avx512_unaligned_2 with
20088         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20089         Replace __mempcpy_sse2_unaligned_2 with
20090         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20091         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20092         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20093         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20094         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20095         (ENTRY): Removed.
20096         (END): Likewise.
20097         (ENTRY_CHK): Likewise.
20098         (libc_hidden_builtin_def): Likewise.
20099         Don't include ../memcpy.S.
20100         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20101         __memcpy_chk_avx512_unaligned_erms and
20102         __memcpy_chk_avx512_unaligned.  Use
20103         __memcpy_chk_avx_unaligned_erms and
20104         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20105         Default to __memcpy_chk_sse2_unaligned.
20106         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20107         Change function suffix from unaligned_2 to unaligned.
20108         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20109         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20110         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20111         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20112         (ENTRY): Removed.
20113         (END): Likewise.
20114         (ENTRY_CHK): Likewise.
20115         (libc_hidden_builtin_def): Likewise.
20116         Don't include ../mempcpy.S.
20117         (mempcpy): New.  Add a weak alias.
20118         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20119         __mempcpy_chk_avx512_unaligned_erms and
20120         __mempcpy_chk_avx512_unaligned.  Use
20121         __mempcpy_chk_avx_unaligned_erms and
20122         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20123         Default to __mempcpy_chk_sse2_unaligned.
20125 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20127         [BZ #19881]
20128         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20129         into ...
20130         * sysdeps/x86_64/memset.S: This.
20131         (__bzero): Removed.
20132         (__memset_tail): Likewise.
20133         (__memset_chk): Likewise.
20134         (memset): Likewise.
20135         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20136         defined.
20137         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20138         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20139         (__memset_zero_constant_len_parameter): Check SHARED instead of
20140         PIC.
20141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20142         memset-avx2 and memset-sse2-unaligned-erms.
20143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20144         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20145         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20146         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20147         (__bzero): Enabled.
20148         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20149         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20150         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20151         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20152         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20153         (memset): Removed.
20154         (__memset_chk): Likewise.
20155         (MEMSET_SYMBOL): New.
20156         (libc_hidden_builtin_def): Replace __memset_sse2 with
20157         __memset_sse2_unaligned.
20158         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20159         __memset_chk_sse2 and __memset_chk_avx2 with
20160         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20161         Use __memset_chk_sse2_unaligned_erms or
20162         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20163         __memset_chk_avx512_unaligned_erms and
20164         __memset_chk_avx512_unaligned.
20166 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20168         * math/gen-auto-libm-test.c (fp_format_desc): remove
20169         suffix member.
20170         (output_generic_value): Remove usage of suffix member,
20171         and the resulting unuse of the fp_format argument.
20172         (output_for_one_input_case): Remove unused fp_format
20173         parameter.
20175         * math/auto-libm-test-out: Regenerate.
20177         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20178         usage with TEST_COND_ibm128.
20179         (TEST_COND_flt_32): Remove.
20180         (TEST_COND_dbl_64): Remove.
20181         (TEST_COND_ldbl_96_intel): Remove.
20182         (TEST_COND_ldbl_96_m68k): Remove.
20183         (TEST_COND_ldbl_128): Remove.
20185 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20187         * auto-libm-test-in:
20188         Replace flt-32 usage with binary32.
20189         Replace dbl-64 usage with binary64.
20190         Replace ldbl-intel-96 usage with intel96.
20191         Replace ldbl-m68k-96 usage with m68k96.
20192         Replace ldbl-128ibm usage with ibm128.
20193         Replace ldbl-128 usage with binary128.
20195         * auto-libm-test-out: Regenerate.
20197 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20199         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20200         (parse_ulps): Dynamically generate type name matching
20201         string from all_floats.
20202         (get_ulps): Generate the ulps as an array instead.
20203         (output_ulps): Dynamically compose the type based
20204         on the number of supported formats, and print
20205         the indices as type specific helper macros.
20207         * math/libm-test.inc: Remove comment about CHOOSE.
20208         (ulp_data): Generate the type in libm-test-ulps.h.
20209         (ULP_IDX): New macro.
20210         (find_ulps): Update usage of max_ulp.
20212         * math/test-double-vlen2.h (CHOOSE): Remove.
20213         * math/test-double-vlen4.h (CHOOSE): Likewise.
20214         * math/test-double-vlen8.h (CHOOSE): Likewise.
20215         * math/test-float.c (CHOOSE): Likewise.
20216         * math/test-float-finite.c (CHOOSE): Likewise.
20217         * math/test-double.c (CHOOSE): Likewise.
20218         * math/test-double-finite.c (CHOOSE): Likewise.
20219         * math/test-idouble.c (CHOOSE): Likewise.
20220         * math/test-ifloat.c (CHOOSE): Likewise.
20221         * math/test-ildoubl.c (CHOOSE): Likewise.
20222         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20223         * math/test-ldouble.c (CHOOSE): Likewise.
20225         * math/test-float.h (TEST_FLOAT): Remove.
20226         * math/test-double.h (TEST_DOUBLE): Likewise.
20227         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20229 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20231         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20232         (parse_args): Strip C suffix from floating point literals
20233         typed with 'f' and wrap them with LIT().
20235         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20236         (test_ff_f_data_nexttoward): Rename to
20237         (test_fj_f_data): New struct.
20238         (nexttoward_test_data): Relabel tests as
20239         TEST_fj_f instead of TEST_ff_f.
20241 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20243         Emacs bug 23726.
20244         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20245         (__libc_realloc): Correct size computation for dumped fake mmapped
20246         chunks.
20248 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20250         [BZ #20219]
20251         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20252         to itself.
20253         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20255         [BZ #20218]
20256         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20257         to itself.
20258         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20260 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20262         [BZ #20195]
20263         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20264         check to ...
20265         (init_cpu_features): Here.
20267 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20269         [BZ #20214]
20270         * sysdeps/unix/sysv/linux/bits/in.h
20271         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20272          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20273         Define to 1.
20274         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20275          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20276         Define to 0.
20277         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20278         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20280 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20282         [BZ #20198]
20283         * stdlib/Makefile (tests): Add tst-quick_exit, and
20284         tst-thread-quick_exit.
20285         [ifeq ($(have-cxx-thread_local),yes)]
20286         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20287         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20288         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20289         (LDLIBS-tst-thread-quick_exit): Likewise.
20290         [ifneq ($(have-cxx-thread_local),yes)]
20291         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20292         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20293         If run_dtors is true call __call_tls_dtors.
20294         (exit): Call __run_exit_handlers with run_dtors set to true.
20295         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20296         definition.
20297         * stdlib/quick_exit.c (quick_exit): Remove function.
20298         (__new_quick_exit): New function.
20299         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20300         function.
20301         * stdlib/tst-quick_exit.cc: New file.
20302         * stdlib/tst-thread-quick_exit.cc: New file.
20303         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20304         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20305         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20306         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20307         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20308         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20309         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20310         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20311         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20312         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20313         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20314         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20315         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20316         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20317         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20318         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20323         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20324         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20325         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20326         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20327         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20330         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20331         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20332         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20334 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20336         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20337         a typo in comments.
20339 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20341         [BZ #20213]
20342         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20343         argument to itself.
20344         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20346 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20348         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20349         required flags.
20350         (CFLAGS-pwritev64.c): Likewise.
20351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20353         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20354         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20355         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20356         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20357         syscall from auto-generation.
20358         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20359         [WORDSIZE == 64] (pwritev64): Remove macro.
20360         [!PWRITEV] (PWRITEV): Likewise.
20361         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20362         [!PWRITEV] (PWRITE): Likewise.
20363         [!PWRITEV] (OFF_T): Likewise.
20364         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20365         (LO_HI_LONG): Remove macro.
20366         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20367         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20368         (PWRITEV): Remove macro.
20369         (PWRITEV_REPLACEMENTE): Likewise.
20370         (PWRITE): Likewise.
20371         (OFF_T): Likewise.
20372         (pwritev64): New function.
20373         * nptl/tst-cancel4.c (tf_writev): Add test.
20375         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20376         required flags.
20377         (CFLAGS-preadv64.c): Likewise.
20378         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20379         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20380         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20381         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20382         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20383         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20384         syscall from auto-generation.
20385         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20386         [WORDSIZE == 64] (preadv64): Remove macro.
20387         [!PREADV] (PREADV): Likewise.
20388         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20389         [!PREADV] (PREAD): Likewise.
20390         [!PREADV] (OFF_T): Likewise.
20391         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20392         (LO_HI_LONG): Remove macro.
20393         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20394         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20395         (PREADV): Remove macro.
20396         (PREADV_REPLACEMENTE): Likewise.
20397         (PREAD): Likewise.
20398         (OFF_T): Likewise.
20399         (preadv64): New function.
20400         * nptl/tst-cancel4.c (tf_preadv): Add test.
20402 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20404         [BZ #20212]
20405         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20406         argument to itself.
20407         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20409 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20411         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20412         New symbol defined as libc_hidden_def.
20413         (strcasestr): Became a weak alias to __strcasestr.
20414         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20415         according to multi-arch support.  Move __stpncpy hidden
20416         definition from here to...
20417         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20418         symbol stpncpy.
20419         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20420         libc_hidden_builtin_def.
20421         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20422         memset symbol to use when multi-arch support is available.
20424 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20426         * dlfcn/tst-rec-dlopen.c: Include string.h.
20428 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20430         * manual/install.texi: Remove mention of --without-tls
20431         * INSTALL: Regenerate.
20433 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20435         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20436         Remove.
20437         (call_function, interposed_malloc_called): New variables.
20438         (malloc): New function.
20439         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20440         and clear call_function as needed.
20442 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20444         * include/wchar.h (__wmemset): Use __typeof.
20446 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20448         * include/wchar.h (__wmemset): Declare function without typeof.
20450 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20452         [BZ #20205]
20453         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20454         exponent when incrementing negative subnormal with low mantissa
20455         word zero.
20456         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20457         Add another test.
20459 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20461         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20462         __wmemset instead of wmemset.
20464 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20466         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20467         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20468         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20469         __USE_KERNEL_IPV6_DEFS to 0.
20470         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20471         Update comment.
20473 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20475         [BZ #19861]
20476         Do not use IFUNC resolver with potentially unrelocated symbol.
20477         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20478         (DEFINE_FORK): Remove macro and inline definition.
20479         (fork_alias): Renamed from fork_ifunc.
20480         (__fork_alias): Renamed from __fork_ifunc.
20482 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20484         [BZ 19653]
20485         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20486         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20488 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20490         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20491         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20492         i386-linux-gnu).
20493         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20494         Set to no.
20495         * sysdeps/mach/hurd/configure: Refresh.
20497 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20499         [BZ #20178]
20500         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20501         on failure instead of exit.
20503 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20505         [BZ #3629]
20506         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20507         of POSIX.1-2008.
20509 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20511         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20512           Use PLT entry for calling _hurd_self_sigstate.
20514 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20516         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20517         available logical processors with SMT level type sharing L2
20518         cache for Intel processors.
20520 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20522         [BZ #20160]
20523         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20524         argument to itself before returning the result.
20525         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20526         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20527         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20528         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20529         Likewise.
20530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20531         Likewise.
20532         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20533         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20534         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20535         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20536         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20537         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20539         [BZ #20160]
20540         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20541         argument to itself before returning the result.
20542         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20543         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20544         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20546         Likewise.
20547         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20548         Likewise.
20549         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20550         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20551         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20552         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20553         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20554         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20556 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20558         * libm-test.inc: Replace usage of M_El with
20559         (lit_e): New macro.
20561 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20563         * libm-test.inc: Replace usage of M_PI_4l with
20564         (lit_pi_4_d): New macro.
20566 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20568         * libm-test.inc: Replace usage of M_PIl with
20569         (lit_pi): New macro.
20571 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20573         * libm-test.inc: Replace usage of M_PI2l with
20574         (lit_pi_2_d): New macro.
20576         * math/test-double.h (LITM): New macro.
20577         * math/test-float.h (LITM): Likewise.
20578         * math/test-ldouble.h (LITM): Likewise.
20580 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20582         * libm-test.inc (M_PI_34l): Rename to
20583         (lit_pi_3_m_4_d): New Macro.
20584         (M_PI_34_LOG10El): Rename to
20585         (lit_pi_3_m_4_ln10_m_d): New Macro.
20586         (M_PI2_LOG10El): Rename to
20587         (lit_pi_2_ln10_m_d):  New Macro.
20588         (M_PI4_LOG10El): Rename to
20589         (lit_pi_4_ln10_m_d):  New Macro.
20590         (M_PI_LOG10El): Rename to
20591         (lit_pi_ln10_d):  New Macro.
20593 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #20157]
20596         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20597         determine whether to negate low half if [_ARCH_PPCGR], and integer
20598         comparison otherwise.
20599         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20600         determine whether to negate low half.
20602         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20603         (NO_TEST_INLINE_DOUBLE): Likewise.
20604         (TEST_COND_x86_64): Likewise.
20605         (TEST_COND_x86): Likewise.
20606         (M_PI_6l): Likewise.
20608 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20610         * math/libm-test.inc:
20611         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20612         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20613         (TEST_LDOUBLE): Update usage to evaluate as true if
20614         the guarded tests match the property being tested.
20615         (LDBL_MAX_EXP): Change to MAX_EXP.
20616         (LDBL_MIN_EXP): Change to MIN_EXP.
20617         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20618         nexttoward tests.
20620 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20622         * math/libm-test.inc:
20623         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20624         (TYPE_MIN): Likewise.
20625         (TYPE_TRUE_MIN): Likewise.
20626         (TYPE_MAX): Likewise.
20627         (MIN_EXP): Likewise.
20628         (MAX_EXP): Likewise.
20629         (MANT_DIG): Likewise.
20631         (FSTR_MAX): New macro.
20632         (__CONCATX): Likewise.
20633         (QTYPE_STR): Likewise.
20634         (TEST_COND_binary32): Likewise.
20635         (TEST_COND_binary64): Likewise.
20636         (TEST_COND_binary128): Likewise.
20637         (TEST_COND_ibm128): Likewise.
20638         (TEST_COND_intel96): Likewise.
20639         (TEST_COND_m68k96): Likewise.
20641         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20642         (TEST_COND_dbl_64): Likewise.
20643         (TEST_COND_ldbl_96_intel): Likewise.
20644         (TEST_COND_ldbl_96_m68k): Likewise.
20645         (TEST_COND_ldbl_128): Likewise.
20646         (TEST_COND_ldbl_128ibm): Likewise.
20648         (plus_zero): Redefine using LIT macro.
20649         (minus_zero): Likewise.
20650         (plus_infty): Redefine as (INF).
20651         (minux_infty): Redefine as (-INF).
20652         (max_value): Redefine as TYPE_MAX.
20653         (min_value): Redefine as TYPE_MIN.
20654         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20656         (print_float): Refactor to use snprintf to convert FLOAT values
20657         to string. This brings it closer to dropin replacement of strtof
20658         for the TS 18661 defined types.
20659         (update_stats): Likewise.
20660         (print_complex_function_ulps): Likewise.
20661         (print_max_error): Likewise.
20662         (print_complex_max_error): Likewise.
20663         (check_float_internal): Likewise.
20665         * math/test-float.h (PREFIX): New macro.
20666         (LIT): Likewise.
20667         (TYPE_STR): Likewise.
20668         (FTOSTR): Likewise.
20670         * math/test-double.h (PREFIX): New macro.
20671         (LIT): Likewise.
20672         (TYPE_STR): Likewise.
20673         (FTOSTR): Likewise.
20675         * math/test-ldouble.h (PREFIX): New macro.
20676         (LIT): Likewise.
20677         (TYPE_STR): Likewise.
20678         (FTOSTR): Likewise.
20680 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20682         [BZ #20156]
20683         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20684         to itself when zero or not finite.
20685         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20686         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20687         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20688         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20690 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #20153]
20693         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20694         x * x + x for infinities and NaNs.
20696         [BZ #20151]
20697         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20698         argument to itself before returning result.
20699         (__ieee754_y0l): Likewise.
20700         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20701         (__ieee754_y1l).
20703         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20704         (atan_test_data): Likewise.
20705         (ceil_test_data): Likewise.
20706         (cos_test_data): Likewise.
20707         (cosh_test_data): Likewise.
20708         (erf_test_data): Likewise.
20709         (exp2_test_data): Likewise.
20710         (fabs_test_data): Likewise.
20711         (floor_test_data): Likewise.
20712         (ilogb_test_data): Likewise.
20713         (j0_test_data): Likewise.
20714         (j1_test_data): Likewise.
20715         (jn_test_data): Likewise.
20716         (lgamma_test_data): Likewise.
20717         (lrint_test_data): Likewise.
20718         (llrint_test_data): Likewise.
20719         (logb_test_data): Likewise.
20720         (lround_test_data): Likewise.
20721         (llround_test_data): Likewise.
20722         (nearbyint_test_data): Likewise.
20723         (rint_test_data): Likewise.
20724         (round_test_data): Likewise.
20725         (sin_test_data): Likewise.
20726         (sincos_test_data): Likewise.
20727         (sinh_test_data): Likewise.
20728         (sqrt_test_data): Likewise.
20729         (tan_test_data): Likewise.
20730         (tanh_test_data): Likewise.
20731         (tgamma_test_data): Likewise.
20732         (trunc_test_data): Likewise.
20733         (y0_test_data): Likewise.
20734         (y1_test_data): Likewise.
20735         (yn_test_data): Likewise.
20737         * math/libm-test.inc: Update comment about NaN testing.
20738         (TEST_SNAN): New macro.
20739         (snan_value): Likewise.
20740         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20741         (fpclassify_test_data): Add sNaN tests.
20742         (isfinite_test_data): Likewise.
20743         (isinf_test_data): Likewise.
20744         (isnan_test_data): Likewise.
20745         (isnormal_test_data): Likewise.
20746         (issignaling_test_data): Likewise.
20747         (signbit_test_data): Likewise.
20748         * math/gen-libm-test.pl (%beautify): Add snan_value.
20749         (show_exceptions): Add argument $test_snan.
20750         (parse_args): Handle snan_value as non-finite.  Update call to
20751         show_exceptions.
20752         * math/Makefile (libm-test-no-inline-cflags): Add
20753         -fsignaling-nans.
20755 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20757         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20758         (CFLAGS-oldsendmsg.c): Add rule.
20759         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20760         Correct recvmsg symbol name.
20761         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20762         Likewise.
20764 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20766         * sysdeps/unix/sysv/linux/Makefile
20767         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20768         oldsendmmsg.
20769         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20770         sendmmsg.
20771         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20772         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20773         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20774         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20776         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20779         Likewise.
20780         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20781         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20782         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20783         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20784         iovlen and controllen fields to adjust to POSIX specification.
20785         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20787         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20788         and change to correct expected type.
20789         (msghdr.msg_controllen): Likewise.
20790         (cmsghdr.cmsg_len): Likewise.
20791         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20792         expected POSIX assumption about the size.
20793         (msghdr.msg_controllen): Likewise.
20794         (msghdr.__glibc_reserved1): Likewise.
20795         (msghdr.__glibc_reserved2): Likewise.
20796         (cmsghdr.cmsg_len): Likewise.
20797         (cmsghdr.__glibc_reserved1): Likewise.
20798         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20799         Add ptw-oldrecvmsg and ptw-oldsendmsg.
20800         (CFLAGS-sendmsg.c): Remove rule.
20801         (CFLAGS-recvmsg.c): Likewise.
20802         (CFLAGS-oldsendmsg.c): Add rule.
20803         (CFLAGS-oldrecvmsg.c): Likewise.
20804         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20805         recvmsg and sendmsg.
20806         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20807         Likewise.
20808         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20809         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20810         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20811         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20812         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20813         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20814         Likewise.
20815         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20816         Likewise.
20817         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20818         Likewise.
20819         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20820         Likewise.
20821         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20822         Likewise.
20823         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20826         (GLIBC_2.24): Likewise.
20827         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20828         Likewise.
20829         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20832         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20833         Likewise.
20834         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20835         Likewise.
20836         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20837         Likewise.
20838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20839         (GLIBC_2.24): Likewise.
20840         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20841         Likewise.
20842         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20843         Likewise.
20844         * sysdeps/unix/sysv/linux/Makefile
20845         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20846         (CFLAGS-sendmsg.c): Add rule.
20847         (CFLAGS-recvmsg.c): Likewise.
20848         (CFLAGS-oldsendmsg.c): Likewise.
20849         (CFLAGS-oldrecvmsg.c): Likewise.
20850         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20851         initialization.
20852         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20853         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20854         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20855         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20856         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20857         iovlen and controllen fields to adjust to POSIX specification.
20858         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20859         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20860         added recvmsg and sendmsg.
20861         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20862         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20863         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20864         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20865         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20866         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20868         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20869         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20870         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20871         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20872         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20874         Likewise.
20875         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20877         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20878         Likewise.
20879         Likewise.
20880         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20881         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20882         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20883         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20884         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20885         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20887         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20889         Likewise.
20890         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20891         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20893         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20894         from auto-generation.
20895         (sendmsg): Likewise.
20896         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20897         (sendmsg): Likewise.
20898         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20899         (sendmsg): Likewise.
20900         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20901         (sendmsg): Likewise.
20902         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20903         (sendmsg): Likewise.
20904         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20905         (sendmsg): Likewise.
20906         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20907         Likewise.
20908         (sendmsg): Likewise.
20909         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20910         (sendmsg): Likewise.
20911         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20913         Remove.
20914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20915         Likewise.
20916         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20917         Undefine.
20918         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20919         Likewise.
20920         * sysdeps/unix/sysv/linux/kernel-features.h
20921         (__ASSUME_SENDMSG_SYSCALL): Define.
20922         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20923         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20925         Remove.
20926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20927         Likewise.
20928         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20929         Undefine.
20930         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20931         Likewise.
20932         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20934         Remove.
20935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20936         Likewise.
20937         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20938         Undefine.
20939         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20940         Likewise.
20941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20942         (__ASSUME_SENDMSG_SYSCALL): Undefine.
20943         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20944         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20945         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20946         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20947         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20948         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20949         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20951 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20953         * stdlib/gen-tst-strtod-round.c: Add backslash to
20954         compile command in comment.
20955         (printfp): Remove the literal suffix, and define an infinite
20956         value as INF to avoid expansion clash with INFINITY.
20957         (round_str): Remove the literal suffix.
20958         (round_for_all): Likewise, remove the now duplicate ldbl-64
20959         entry, and remove some magic constants.
20961         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20962         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
20963         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20964         (_CONCAT): New macro.
20965         (CONCAT): Likewise.
20966         (CHOOSE_ld): Likewise.
20967         (CHOOSE_f): Likewise.
20968         (CHOOSE_d): Likewise.
20969         (FTYPE_MEMBER): Likewise.
20970         (BOOL_MEMBER): Likewise.
20971         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20972         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20973         (_XNTRY): Likewise.
20974         (XNTRY): Likewise.
20975         (_ENTRY): Likewise.
20976         (ENTRY): Likewise.
20977         (test_exactness): Generate members via macro.
20978         (test_results): Likewise.
20979         (test): Update members.
20980         (TEST): Redefine using new macros.
20981         (INF): New macro.
20982         (fetestmodes): New structure.
20983         (do_test): Refactor to be type generic.
20984         (test_in_one_mode): Refactor duplicate code into
20985         (GEN_ONE_TEST): New macro.
20987         * stdlib/tst-strtod-round-data.h: Regenerate.
20989         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20990         Extend to pass additional arbitrary parameters to
20991         generators.
20993 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
20995         [BZ #15479]
20996         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20997         floating-point state after first floating-point operation on
20998         input.  Restore full floating-point state instead of just rounding
20999         mode.
21000         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21001         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21002         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21003         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21004         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21006         [BZ #15479]
21007         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21008         floating-point state after first floating-point operation on
21009         input.  Restore full floating-point state instead of just rounding
21010         mode.
21011         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21012         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21013         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21014         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21015         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21017 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21019         [BZ #19727]
21020         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21021         valid high surrogate.
21022         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21023         of an utf16 surrogate.
21024         * iconv/gconv_simple.c (BODY): Likewise.
21025         * iconvdata/bug-iconv12.c: New file.
21026         * iconvdata/Makefile (tests): Add bug-iconv12.
21028 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21030         [BZ #19726]
21031         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21032         outptrp in case of an illegal input.
21033         * iconv/tst-iconv6.c: New file.
21034         * iconv/Makefile (tests): Add tst-iconv6.
21036 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21038         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21039         an error in case of a value in range of an utf16 low surrogate.
21041 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21043         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21044         an error in case of a value in range of an utf16 low surrogate.
21046 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21048         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21049         Move to ...
21050         * sysdeps/s390/Makefile: ... here.
21051         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21052         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21053         (BRANCH_ON_COUNT): New define.
21054         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21055         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21056         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21057         run on s390-32, too.
21058         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21059         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21060         run on s390-32, too.
21061         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21062         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21063         run on s390-32, too.
21065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21067         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21068         etf3eh or new vector loop-variant.
21070 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21072         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21073         etf3eh or new vector loop-variant.
21075 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21077         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21078         or new vector loop-variant.
21080 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21082         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21083         Rename to TR_LOOP and usage of tr instead of troo instruction.
21085 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21087         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21088         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21090 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21092         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21093         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21094         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21095         New override define.
21096         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21098 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21100         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21101         * sysdeps/s390/configure.ac: Add test for S390 vector register
21102         support in gcc.
21103         * sysdeps/s390/configure: Regenerated.
21105 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21107         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21108         Install file from $(objpfx)gconv-modules.
21109         ($(objpfx)gconv-modules): Concatenate architecture specific file
21110         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21111         * sysdeps/s390/gconv-modules: New file.
21112         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21113         Deleted.
21114         ($(objpfx)gconv-modules-s390): Deleted.
21115         (sysdeps-gconv-modules): New variable.
21117 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21119         [BZ #15479]
21120         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21121         of immediate operand to rounding instruction.
21122         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21123         Likewise.
21124         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21125         Likewise.
21126         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21127         Likewise.
21129 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21131         * math/libm-test.inc (MIN_EXP): Directly define as
21132         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21134 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21136         * math/libm-test.inc (MANT_DIG): Directly define as
21137         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21139 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21141         * stdlib/gen-tst-strtod-round.c (main):
21142           Change usage to more closely match the generated
21143           output.  Add usage and compilation instructions.
21144           (string_to_fp): Add and use FILE* parameter as
21145           output target.
21146           (print_fp): Likewise.
21147           (round_str): Likewise.
21148           (round_for_all): Likewise.
21149         * stdlib/tst-strtod-round.c (tests): Move into
21150         * stdlib/tst-strtod-round-data.h: New file.
21152 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21154         [BZ #15479]
21155         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21156         (__round): Do not force "inexact" exception.
21157         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21158         variable.
21159         (__round): Do not force "inexact" exception.
21160         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21161         (__roundf): Do not force "inexact" exception.
21162         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21163         (__roundl): Do not force "inexact" exception.
21164         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21165         (__roundl): Do not force "inexact" exception.
21166         * math/libm-test.inc (round_test_data): Do not allow spurious
21167         "inexact" exceptions.
21169         [BZ #15479]
21170         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21171         exception in comment.
21172         (huge): Remove variable.
21173         (__floor): Do not force "inexact" exception.
21174         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21175         "inexact" exception in comment.
21176         (huge): Remove variable.
21177         (__floor): Do not force "inexact" exception.
21178         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21179         exception in comment.
21180         (huge): Remove variable.
21181         (__floorf): Do not force "inexact" exception.
21182         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21183         exception in comment.
21184         (huge): Remove variable.
21185         (__floorl): Do not force "inexact" exception.
21187         [BZ #15479]
21188         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21189         exception in comment.
21190         (huge): Remove variable.
21191         (__ceil): Do not force "inexact" exception.
21192         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21193         "inexact" exception in comment.
21194         (huge): Remove variable.
21195         (__ceil): Do not force "inexact" exception.
21196         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21197         (__ceilf): Do not force "inexact" exception.
21198         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21199         exception in comment.
21200         (huge): Remove variable.
21201         (__ceill): Do not force "inexact" exception.
21203 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21205         * config.h.in (BIND_NOW): New.
21206         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21207         * configure: Regenerated.
21208         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21209         indirect branch via the GOT slot.
21211 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21213         [BZ #19765]
21214         * sysdeps/s390/mempcpy.S: New File.
21215         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21216         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21217         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21218         Add mempcpy variants.
21219         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21220         (memcpy): Adjust to be usable from mempcpy entry point.
21221         (__memcpy_mvcle): Likewise.
21222         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21223         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21224         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21225         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21226         (__memcpy_z10): Likewise.
21227         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21229 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21231         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21232         Remove __GI_ symbol.
21233         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21234         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21235         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21236         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21237         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21238         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21240 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21242         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21243         Use cghi instead of chi to compare 64bit value.
21245 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21247         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21248         Jump to 1MB check before executing mvc-loop.
21250 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21252         [BZ #6527]
21253         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21254         unconditionally.
21255         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21257 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21259         * stdlib/tst-strtod6.c (do_test): Use new type generic
21260         invocation of the test function.
21261         (test): Refactor into ...
21262         (TEST_STRTOD): New macro base function.
21264 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21266         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21267         (TEST_STRTOD): New macro.
21268         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21270 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21272         * stdlib/tst-strtod6.c (do_test): Use new type generic
21273         invocation of the test function.
21274         (test): Refactor into ...
21275         (TEST_STRTOD): New macro base function.
21277 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21279         CVE-2016-4429
21280         [BZ #20112]
21281         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21282         payload.
21284 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21286         [BZ #20111]
21287         * bits/sockaddr.h (_SS_SIZE): Define.
21288         * bits/socket.h (_SS_SIZE): Remove.
21289         (_SS_PADSIZE): Adjust to account for all padding.
21290         (struct sockaddr_storage): Update comment.  Avoid implicit
21291         padding.
21292         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21293         (_SS_PADSIZE): Adjust to account for all padding.
21294         (struct sockaddr_storage): Update comment.  Avoid implicit
21295         padding.
21296         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21297         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21298         (_SS_PADSIZE): Adjust to account for all padding.
21299         (struct sockaddr_storage): Update comment.  Avoid implicit
21300         padding.
21301         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21302         __SS_SIZE is 126 in this version.
21303         * inet/tst-sockaddr.c: New file.
21304         * inet/Makefile (tests): Add tst-sockaddr.c
21305         (tst-sockaddr.c): Compile with non-strict aliasing.
21307 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21309         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21310         [XPG3 || XPG4].
21311         (NL_ARGMAX): Also expect for [XPG3].
21312         (NL_LANGMAX): Likewise.
21313         (NL_MSGMAX): Likewise.
21314         (NL_NMAX): Likewise.
21315         (NL_SETMAX): Likewise.
21316         (NL_TEXTMAX): Likewise.
21317         (NZERO): Likewise.
21318         (TMP_MAX): Likewise.
21319         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21320         variable.
21322         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21323         (PF_MAX): Update value.
21324         (AF_KCM): New macro.
21325         (SOL_NETBEUI): Likewise.
21326         (SOL_LLC): Likewise.
21327         (SOL_DCCP): Likewise.
21328         (SOL_NETLINK): Likewise.
21329         (SOL_TIPC): Likewise.
21330         (SOL_RXRPC): Likewise.
21331         (SOL_PPPOL2TP): Likewise.
21332         (SOL_BLUETOOTH): Likewise.
21333         (SOL_PNPIPE): Likewise.
21334         (SOL_RDS): Likewise.
21335         (SOL_IUCV): Likewise.
21336         (SOL_CAIF): Likewise.
21337         (SOL_ALG): Likewise.
21338         (SOL_NFC): Likewise.
21339         (SOL_KCM): Likewise.
21340         (MSG_BATCH): New enum value and macro.
21342 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21344         [BZ #18185]
21345         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21346         sharing L2 cache to 2 for Knights Landing.
21348 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21350         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21351         (FTW_DP): Do not expect for [XPG3 || XPG4].
21352         (FTW_SL): Do not expect for [XPG3].
21353         (FTW_SLN): Likewise.
21354         (FTW_PHYS): Likewise.
21355         (FTW_MOUNT): Likewise.
21356         (FTW_DEPTH): Likewise.
21357         (FTW_CHDIR): Likewise.
21358         (nftw): Likewise.
21359         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21360         variable.
21362 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21364         * manual/errno.texi: Fix various typos & grammar errors.
21366 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21368         * manual/intro.texi: Fix duplicated typo.
21370 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21372         [BZ #13304]
21373         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21374         <float.h>, <math_private.h> and <stdlib.h>.
21375         (add_split): New function.
21376         (mul_split): Likewise.
21377         (ext_val): New typedef.
21378         (store_ext_val): New function.
21379         (mul_ext_val): New function.
21380         (compare): New function.
21381         (add_split_ext): New function.
21382         (__fmal): After checking for Inf, NaN and zero, compute result as
21383         an exact sum of scaled double values in round-to-nearest before
21384         adding those up and adjusting for other rounding modes.
21385         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21386         tests of fma.
21387         * math/auto-libm-test-out: Regenerated.
21389 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21391         [BZ #20119]
21392         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21393         processor level type mask for CPUID with EAX == 11.
21395 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21397         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21398         logical threads if the HTT bit is 0.
21399         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21400         (index_cpu_HTT): Likewise.
21401         (reg_HTT): Likewise.
21403 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21405         [BZ #20115]
21406         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21407         Remove alignments on jump targets.
21409 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21411         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21412         (getpwent): Likewise.
21413         (setpwent): Likewise.
21414         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21415         variable.
21417         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21418         (remque): Likewise.
21419         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21420         variable.
21422 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21424         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21425         not being tested.
21427 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21429         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21430         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21431         call.
21432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21433         (__condvar_cleanup1): Likewise.
21435 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21437         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21438         New
21439         (__pthread_unwind): Renamed to ...
21440         (PTHREAD_UNWIND): This.
21441         (__pthread_enable_asynccancel): Replace
21442         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21444 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21446         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21447         (CLONE_NEWCGROUP): New macro.
21449         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21450         (Q_GETNEXTQUOTA): New macro.
21452 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21454         [BZ #19907]
21455         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21456         buffer updated by the previous run.
21457         * string/test-memcpy.c (do_one_test): Likewise.
21458         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21459         * string/test-memmove.c (do_one_test): Likewise.
21461 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21463         [BZ #20094]
21464         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21465         not [__USE_XOPEN].
21466         (unlockpt): Likewise.
21467         (ptsname): Likewise.
21468         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21469         variable.
21471         [BZ #20076]
21472         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21473         instead of [__USE_UNIX98].
21474         (S_ISSOCK): Likewise.
21475         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21476         variable.
21478         [BZ #20074]
21479         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21480         [__USE_POSIX].
21481         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21482         variable.
21484         [BZ #20051]
21485         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21486         (ttyslot): Do not declare.
21487         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21488         (ttyslot): New prototype.
21489         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21490         variable.
21491         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21493 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21495         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21497 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21499         Fix race condition in tst-mallocfork2, use fewer resources.
21500         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21501         to current process group.
21502         (signal_sender): Yield in the non-sleeping case.
21504 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21506         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21507         (ecvt): Likewise.
21508         (fcvt): Likewise.
21509         (gcvt): Likewise.
21510         (getsubopt): Likewise.
21511         (grantpt): Likewise.
21512         (initstate): Likewise.
21513         (l64a): Likewise.
21514         (mktemp): Likewise.
21515         (mkstemp): Likewise.
21516         (ptsname): Likewise.
21517         (random): Likewise.
21518         (realpath): Likewise.
21519         (setstate): Likewise.
21520         (srandom): Likewise.
21521         (ttyslot): Likewise.
21522         (unlockpt): Likewise.
21523         (valloc): Likewise.
21525         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21526         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21527         variable.
21529 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21531         [BZ #20072]
21532         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21533         init_cpu_features only if SHARED is defined.
21534         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21536 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21538         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21539         non-inclusive caches on Intel processors.
21541 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21543         * malloc/malloc.c (dumped_main_arena_start)
21544         (dumped_main_arena_end): New variables.
21545         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21546         (do_check_chunk): Skip dumped fake mmapped chunks.
21547         (munmap_chunk): Likewise.
21548         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21549         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21550         mmapped chunks.
21551         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21552         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21553         and dumped_main_arena_end to cover the dumped heap.
21555 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21557         * conform/data/time.h-data (getdate_err): Do not expect for
21558         [XPG3].
21559         (getdate): Likewise.
21560         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21561         variable.
21563         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21564         (F_ULOCK): Likewise.
21565         (F_TEST): Likewise.
21566         (F_TLOCK): Likewise.
21567         (useconds_t): Likewise.
21568         (intptr_t): Do not expect for [XPG3] or [XPG4].
21569         (brk): Do not expect for [XPG3]
21570         (fchown): Likewise.
21571         (fchdir): Likewise.
21572         (ftruncate): Likewise.
21573         (getdtablesize): Likewise.
21574         (gethostid): Likewise.
21575         (getpagesize): Likewise.
21576         (getpgid): Likewise.
21577         (getsid): Likewise.
21578         (getwd): Likewise.
21579         (lchown): Likewise.
21580         (lockf): Likewise.
21581         (readlink): Likewise.
21582         (sbrk): Likewise.
21583         (setpgrp): Likewise.
21584         (setregid): Likewise.
21585         (setreuid): Likewise.
21586         (symlink): Likewise.
21587         (sync): Likewise.
21588         (truncate): Likewise.
21589         (ualarm): Likewise.
21590         (usleep): Likewise.
21591         (vfork): Likewise.
21592         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21593         variable.
21595         [BZ #20054]
21596         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21597         not [__USE_UNIX98].
21598         * conform/data/unistd.h-data (gethostname): Do not expect for
21599         [XPG3].
21601         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21602         [!POSIX] (S_IFBLK): Likewise.
21603         [!POSIX] (S_IFCHR): Likewise.
21604         [!POSIX] (S_IFIFO): Likewise.
21605         [!POSIX] (S_IFREG): Likewise.
21606         [!POSIX] (S_IFDIR): Likewise.
21607         [!POSIX] (S_IFLNK): Likewise.
21608         [!POSIX] (S_IFSOCK): Likewise.
21609         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21610         variable.
21611         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21613 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21615         * sysdeps/aarch64/memset.S (__memset):
21616         Rewrite of optimized memset.
21618 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21620         [BZ #19703]
21621         Partially async-signal-safe fork for single-threaded processes.
21622         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21623         variable.  Do not acquire and reset/release malloc and libio locks
21624         in single-threaded processes.
21625         * malloc/tst-mallocfork2.c: New file.
21626         * malloc/Makefile (tests): Add it.
21628 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21630         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21631         argument.  Use scratch buffer instead of extend_alloca.
21632         (gethosts): Use scratch buffer instead of extend_alloca.
21633         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21634         extend_alloca.
21635         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21637 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21639         [BZ #20055]
21640         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21641         instead of [__USE_UNIX98].
21642         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21643         [__USE_UNIX98].
21644         * conform/data/termios.h-data (tcgetsid): Do not expect for
21645         [XPG3].
21646         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21647         variable.
21648         (test-xfail-XPG4/termios.h/conform): Likewise.
21650 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21652         Do not use mcheck in localedef.
21653         * locale/programs/localedef.c (turn_on_mcheck)
21654         (__malloc_initialize_hook): Remove.
21656 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21658         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21659         * sysdeps/s390/s390-64/Makefile: Likewise.
21661 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21663         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21664         Remove ifunc-defines.sym.
21665         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21666         Likewise.
21667         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21668         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21669         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21670         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21671         rtld-global-offsets.sym.
21672         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21673         * sysdeps/x86/cpu-features-offsets.sym: This.
21674         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21675         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21677 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21679         [BZ #20073]
21680         * io/sys/stat.h (fchmod): Declare for
21681         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21682         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21683         variable.
21685         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21686         [XPG3] (S_IFSOCK): Likewise.
21687         [XPG3] (S_ISVTX): Likewise.
21688         [XPG3] (S_ISLNK): Likewise.
21689         [XPG3] (S_ISSOCK): Likewise.
21690         [XPG3] (fchmod): Likewise.
21691         [XPG3] (lstat): Likewise.
21692         [XPG3] (mknod): Likewise.
21694         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21695         [XPG3].  Expect type long and XFAIL for [XPG4].
21696         (st_blocks): Likewise.
21698         [BZ #20044]
21699         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21700         (pthread_atfork): New prototype.
21701         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21702         variable.
21704         [BZ #20043]
21705         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21706         prototype.
21708 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21710         [BZ #20017]
21711         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21712         gmtime.
21714 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21716         [BZ #19994]
21717         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21718         flag in _res.options.
21720 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
21722         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21723         [XPG3 || XPG4].
21724         (blksize_t): Likewise.
21725         (clockid_t): Likewise.
21726         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21727         variable.
21728         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21730 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21732         * sysdeps/unix/sysv/linux/s390/init-first.c:
21733         Add VDSO_SYMBOL(getcpu).
21734         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21735         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21736         Add VDSO_SYMBOL(getcpu).
21737         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21738         New define HAVE_GETCPU_VSYSCALL.
21739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21741 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21743         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21744         instead of <sysdeps/x86_64/cacheinfo.c>.
21745         * sysdeps/x86_64/cacheinfo.c: Moved to ...
21746         * sysdeps/x86/cacheinfo.c: Here.
21748 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21750         * malloc/malloc-internal.h: Adjust header file guard.
21752 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21754         [BZ #19787]
21755         * inet/getnameinfo.c (check_sprintf_result): New function.
21756         (CHECKED_SNPRINTF): New macro.
21757         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21758         to the host buffer.
21759         (gni_host_local): Use checked_copy to copy the host name.
21760         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21761         (gni_serv_local): Use checked_copy to copy the service name.
21762         (getnameinfo): Remove unnecessary truncation of result buffers.
21764 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21766         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21767         in case of inet_ntop failure.
21769 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21771         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21772         avoid long lines.
21773         (gni_host_inet_numeric): Likewise.  Reduce scope of local
21774         variables.
21775         (gni_host_inet, gni_host_local): Add comment.
21776         (gni_host): Add comment.  Use temporary to avoid long lines.
21778 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21780         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21781         registers specifiers where general purpose registers specifiers should
21782         have been used.
21784 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21786         [BZ #19779]
21787         CVE-2016-1234
21788         Avoid copying names of directory entries.
21789         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21790         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21791         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21792         (struct readdir_result): New type.
21793         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21794         (GL_READDIR): New macros.
21795         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21796         (convert_dirent, convert_dirent64): New functions.
21797         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
21798         convert_dirent64.  Adjust references to the readdir result.
21799         * sysdeps/unix/sysv/linux/i386/glob64.c:
21800         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21801         * posix/bug-glob2.c (LONG_NAME): Define.
21802         (filesystem): Add LONG_NAME.
21803         (my_DIR): Increase the size of room_for_dirent.
21805 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
21807         [BZ #20041]
21808         * misc/sys/select.h (__need_timespec): Only define if
21809         [__USE_XOPEN2K].
21810         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21811         variable.
21812         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21813         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21814         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21816 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21817             Segher Boessenkool  <segher@gcc.gnu.org>
21819         [BZ #20004]
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21821         (__novec_swapcontext): Add missing load.
21823 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
21825         [BZ #20023]
21826         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21827         <time.h>.
21828         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21829         variable.
21830         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21832 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21835         flags CLONE_VM compare.
21837 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21839         [BZ #20031]
21840         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21841         completely empty.
21843 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21845         [BZ #19573]
21846         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21847         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21848         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21849         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21850         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21851         (hesiod_free_list): Mark as hidden.
21852         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21853         res_set, res_get.
21854         * hesiod/hesiod.c: Remove unnecessary forward declarations.
21855         (init, __hesiod_res_get, __hesiod_res_set): Remove.
21856         (hesiod_init): Remove obsolete res_ninit call.
21857         (hesiod_end): Do not free resolver state.  Do not invoke callback.
21858         (hesiod_bind): Do not call init.
21859         (get_txt_records): Use res_mkquery, res_send instead of
21860         res_nmkquery, res_nsend.
21861         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21862         instead of _nss_hesiod_init.
21863         (_nss_hesiod_initgroups_dyn): Likewise.
21864         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21865         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21866         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21868 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21870         * hesiod/hesiod_p.h (DEF_RHS): Remove.
21871         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21873 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21875         * hesiod/hesiod.h: Remove RCS keyword.
21876         * hesiod/hesiod_p.h: Likewise.
21878         * hesiod/hesiod.c: Likewise.
21880 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
21882         [BZ #12450]
21883         * locale/iso-639.def: Add Samogitian/sgs.
21885 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21887         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21889         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21891 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
21892             Carlos O'Donell  <carlos@redhat.com>
21894         [BZ #19072]
21895         * grp/Makefile (headers): Add grp-merge.h
21896         (routines): Add grp-merge.
21897         * grp/getgrgid_r.c: Include grp-merge.h.
21898         (DEEPCOPY_FN): Define.
21899         (MERGE_FN): Define.
21900         * grp/getgrname_r.c: Include grp-merge.h.
21901         (DEEPCOPY_FN): Define.
21902         (MERGE_FN): Define.
21903         * grp/grp-merge.c: New file.
21904         * grp/grp-merge.h: New file.
21905         * include/grp-merge.h: New file.
21906         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21907         __copy_grp@GLIBC_PRIVATE.
21908         * manual/nss.texi (Actions in the NSS configuration): Describe
21909         return, continue, and merge.
21910         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21911         (DEEPCOPY_FN): Define.
21912         (MERGE_FN): Define.
21913         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21914         (DEEPCOPY_FN): Define.
21915         (MERGE_FN): Define.
21916         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21917         [!MERGE_FN]: Define __merge_einval.
21918         (CHECK_MERGE): Define.
21919         (REENTRANT_NAME): Process merge if do_merge is true.
21920         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21921         (__nss_getent_r): Likewise.
21922         * nss/nsswitch.c (nss_parse_service_list): Likewise.
21923         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21925 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21927         [BZ #20012]
21928         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21929         length to calculate the buffer to read.
21930         (fmemopen_write): Set the buffer position based on bytes written.
21931         (fmemopen_seek): Return EINVAL for invalid whence modes.
21933         [BZ #19957]
21934         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21935         tst-getpid2.
21936         (test): Add tst-clone2.
21937         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21938         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21939         pid/tid fields for CLONE_VM.
21940         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21941         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21942         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21943         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21944         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21945         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21946         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21947         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21949         Likewise.
21950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21951         Likewise.
21952         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21953         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21954         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21955         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21956         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21957         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21958         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21959         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21961 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21963         [BZ #19642]
21964         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21965         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21966         (gni_serv_local, gni_serv): New functions extracted from
21967         getnameinfo.
21968         (getnameinfo): Call gni_host and gni_serv to perform the
21969         processing.  Always free scratch buffer.
21971 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21973         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21974         remaining bytes in the dest string, with zeros.
21976 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21978         [BZ #20010]
21979         CVE-2016-3706
21980         * sysdeps/posix/getaddrinfo.c
21981         (convert_hostent_to_gaih_addrtuple): New function.
21982         (gethosts): Call convert_hostent_to_gaih_addrtuple.
21983         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21984         AF_INET data.
21986 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21988         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21989         callback function gl_readdir.
21990         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21991         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21992         (glob_in_dir): Remove len.  Use strdup instead of malloc and
21993         memcpy to copy the name.
21994         * manual/pattern.texi (Calling Glob): Document requirements for
21995         implementations of the gl_readdir callback function.
21996         * manual/examples/mkdirent.c: New example.
21997         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21998         per the manual guidance.
21999         * posix/tst-gnuglob.c (my_readdir): Likewise.
22001 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22003         [BZ #20014]
22004         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22005         not [__USE_POSIX].
22006         (getchar_unlocked): Likewise.
22007         (putc_unlocked): Likewise.
22008         (putchar_unlocked): Likewise.
22009         (flockfile): Likewise.
22010         (ftrylockfile): Likewise.
22011         (funlockfile): Likewise.
22012         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22013         variable.
22014         (test-xfail-XPG4/stdio.h/conform): Likewise.
22016         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22017         Expect constant.
22018         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22019         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22020         variable.
22021         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22022         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22024         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22025         [__USE_LARGEFILE64] (off64_t): Likewise.
22026         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22027         variable.
22029 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22031         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22033 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22035         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22036         * resolv/res_init.c: Likewise.
22037         * resolv/res_mkquery.c: Likewise.
22039 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22041         * resolv/res_init.c (isascii): Do not define.  Use definition in
22042         <ctype.h>.
22043         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22044         (LOG_AUTH): Remove.
22045         (SPRINTF): Remove, adjust caller.
22046         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22048 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22050         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22051         SUNSECURITY conditional.
22052         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22054 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22056         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22057         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22058         Remove BSD-related preprocessor conditionals.
22059         * conf/portability.h: Remove.
22061 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22063         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22064         * resolv/res_data.c: Likewise.
22066 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22068         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22069         * resolv/res_data.c: Remove code conditional on ultrix.
22071 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22073         * resolv/res_init.c (RFC1535): Do not define.  Remove
22074         RFC1535 preprocessor conditionals.
22075         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22076         because there configuration options which make the resolver
22077         behavior different.
22079 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22081         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22082         RESOLVSORT preprocessor conditionals.
22083         * resolv/nss_dns/dns-host.c: Likewise.
22084         * resolv/res_init.c: Likewise.
22086 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22088         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22089         is never defined.
22091 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22093         * inet/inet_lnaof.c: Remove SCSS keyword.
22094         * inet/inet_mkadr.c: Likewise.
22095         * inet/inet_net.c: Likewise.
22096         * inet/inet_netof.c: Likewise.
22097         * inet/rcmd.c: Likewise.
22098         * inet/rexec.c: Likewise.
22099         * inet/ruserpass.c: Likewise.
22101 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22103         * resolv/inet_addr.c: Remove _LIBC conditionals.
22104         * resolv/res_data.c: Likewise.
22105         * resolv/res_init.c: Likewise.
22106         * resolv/res_mkquery.c: Likewise.
22107         * resolv/res_libc.c: Update comment.
22108         * resolv/README: Update.
22110 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22112         * resolv/gethnamaddr.c: Remove SCSS keyword.
22113         * resolv/herror.c: Likewise.
22114         * resolv/inet_addr.c: Likewise.
22115         * resolv/inet_net_ntop.c: Likewise.
22116         * resolv/inet_net_pton.c: Likewise.
22117         * resolv/inet_neta.c: Likewise.
22118         * resolv/inet_ntop.c: Likewise.
22119         * resolv/inet_pton.c: Likewise.
22120         * resolv/ns_date.c: Remove RCS keyword.
22121         * resolv/ns_name.c: Likewise.
22122         * resolv/ns_netint.c: Likewise.
22123         * resolv/ns_parse.c: Likewise.
22124         * resolv/ns_print.c: Likewise.
22125         * resolv/ns_samedomain.c: Likewise.
22126         * resolv/ns_ttl.c: Likewise.
22127         * resolv/nsap_addr.c: Likewise.
22128         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22129         * resolv/res_data.c: Remove RCS keyword.
22130         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22131         * resolv/res_init.c: Likewise.
22132         * resolv/res_mkquery.c: Likewise.
22133         * resolv/res_query.c: Likewise.
22134         * resolv/res_send.c: Likewise.
22136 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22138         * conform/data/stdio.h-data (fdopen): Expect also for
22139         [XPG3 || XPG4].
22141         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22142         (fseeko): Likewise.
22143         (ftello): Likewise.
22144         (ftrylockfile): Likewise.
22145         (funlockfile): Likewise.
22146         (getc_unlocked): Likewise.
22147         (getchar_unlocked): Likewise.
22148         (putc_unlocked): Likewise.
22149         (putchar_unlocked): Likewise.
22151 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22153         [BZ #19868]
22154         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22155         DNS packet syntax checks (which were not needed before).  Skip
22156         over non-PTR records.
22158 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22160         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22161         definition.  Include <stddef.h> instead.
22163 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22165         [BZ #19831]
22166         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22167         function.
22168         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22169         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22171 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22173         [BZ #19862]
22174         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22175         (getanswer_r): Do not call syslog.
22176         (gaih_getanswer_slice): Likewise.
22177         * resolv/gethnamaddr.c (AskedForGot): Remove.
22178         (getanswer): Do not call syslog.
22179         (gethostbyaddr): Likewise.
22181 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22183         * conform/data/signal.h-data (union sigval): Expect also if
22184         [XOPEN2K].
22185         (struct sigevent): Likewise.
22186         (SIGEV_NONE): Likewise.
22187         (SIGEV_SIGNAL): Likewise.
22188         (SIGEV_THREAD): Likewise.
22189         (SIGRTMIN): Likewise.
22190         (SIGRTMAX): Likewise.
22191         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22192         variable.
22193         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22195 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22197         [BZ #19830]
22198         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22199         (gaih_getanswer_slice): Likewise.
22200         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22201         Also check for availability of RR metadata.
22203 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22205         [BZ #19825]
22206         * resolv/res_send.c (send_vc): Remove early *resplen2
22207         initialization.  Set *resplen2 on socket error.  Call
22208         close_and_return_error for other errors.
22210 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22212         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22213         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22214         (SCM_IUCV_TRGCLS): New define.
22216 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22218         [BZ #20005]
22219         * libio/fmemopen.c (fmemopen_write): Update internal position after
22220         write.
22221         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22222         * stdio-common/tst-fmemopen4.c: New file..
22224 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22226         [BZ #19996]
22227         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22228         not [__USE_XOPEN2K].
22229         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22230         variable.
22232         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22233         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22234         variable.
22236         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22237         [__USE_XOPEN2K8].
22238         [__USE_LARGEFILE64] (off64_t): Likewise.
22239         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22240         variable.
22242 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22244         [BZ #19989]
22245         * libio/stdio.h (cuserid): Do not declare if
22246         [__USE_XOPEN2K && !__USE_GNU].
22247         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22248         variable.
22250 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22252         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22253         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22255         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22256         ifunc'ed strcspn.
22257         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22258         [EALIGN]: Removed.
22259         [END]: Likewise
22260         [STRSPN]: Define instead of the above to control symbol name.
22261         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22262         New file.
22263         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22264         Likewise.
22265         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22266         Likewise.
22267         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22268         Likewise.
22269         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22270         [INITIAL_MASK]: New macro.
22271         [STRCSPN]: Likewise.
22272         [UPDATE_MASK]: Likewise.
22273         [USE_AS_STRCSPN]: Likewise.
22275 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22277         [BZ #19931]
22278         * stdio-common/tst-vfprintf-width-prec.c: New file.
22279         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22280         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22281         (generated): Add mtrace-related files.
22282         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22283         (tst-%-mem.out): New pattern rule, replaces
22284         tst-printf-bz18872-mem.out.
22285         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22286         specifier, deallocate any previously allocated work buffer.
22288 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22290         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22291         Add nop before __startcontext, add explaining comments.
22293 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22295         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22296         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22297         completely different API.
22299         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22300         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22301         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22302         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22303         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22304         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22305         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22306         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22307         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22308         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22310 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22312         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22314 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22316         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22317         when it is the default of 0.
22319 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22321         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22322         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22323         (sysdep_routines): Add new strcasestr targets.
22324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22325         (__libc_ifunc_impl_list): Likewise.
22326         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22327         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22328         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22329         * sysdeps/powerpc/powerpc64/power8/Makefile:
22330         New file to add strcasestr-ppc64 to sysdep_routines.
22331         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22332         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22334 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22336         * benchtests/Makefile (wcsmbs-benchset): Include only for
22337         native builds and runs.
22338         (LOCALES): Likewise.
22339         (bench-build): Build timing-type here instead of the bench
22340         target.  Generate locale only for native builds.
22341         * benchtests/README: Add note for cross-building.
22343         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22345         * benchtests/README: Update README to include instructions on
22346         using bench-build.
22348         * Makefile.in (bench-build): New target.
22349         * Rules (PHONY): Add bench-build target.
22350         * benchtests/Makefile (bench): Depend on bench-build.
22351         (bench-build): New target.
22353 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22355         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22356         profil_reply_port.
22357         (profile_waiter): Do not initialize profil_reply_port.
22358         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22359         frequency instead of tick length in us.
22361 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22363         [BZ #18712]
22364         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22365         (__old_mempcpy_small): Likewise.
22366         (__old_strcpy_small): Likewise.
22367         (__old_stpcpy_small): Likewise.
22368         (__old_strpbrk_c2): Fix compat symbol name.
22369         (__old_strpbrk_c3): Likewise.
22370         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22371         (__mempcpy_small): Remove.
22372         (__strcpy_small): Remove.
22373         (__stpcpy_small): Remove.
22375 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22377         [BZ #19400]
22378         * locale/iso-639.def: Add the Talossan/tzl language.
22380 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22382         [BZ #16983]
22383         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22384         comment.  Add "ln" to strchr check on postal_fmt.
22386 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22388         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22389         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22390         tel_dom_fmt.
22392 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22394         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22395         (sysdep_routines): Added __strlen_power8.
22396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22397         __strlen_power8 entry.
22398         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22399         Implementation for POWER8.
22400         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22401         for __strlen_power8.
22402         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22403         Implementation for POWER8.
22405 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22407         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22409 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22411         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22412         Goldmont and Airmont processors.
22414 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22416         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22417         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22418         (__STRING2_SMALL_GET32): Remove.
22419         (memset): Remove.
22420         (__memset_1): Remove.
22421         (__memset_gc): Remove.
22422         (__mempcpy): Remove.
22423         (mempcpy): Remove.
22424         (__mempcpy_args): Remove.
22425         (strchr): Remove.
22426         (strcpy): Remove.
22427         (strcpy_args): Remove.
22428         (__stpcpy_args): Remove.
22429         (__strcmp_cc): Remove.
22430         (__strcmp_gc): Remove.
22431         (strstr): Remove.
22433 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22435         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22436         * nis/nis_call.c (nis_server_cache_add): Likewise.
22438 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22440         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22442 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22444         * malloc/arena.c (__malloc_fork_lock_parent)
22445         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22446         internal_function attribute.
22448 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22450         * stdio-common/printf_fp.c (__printf_fp_l):
22451         Rename ___printf_fp_l to __printf_fp_l and
22452         remove strong alias. Use libc_hidden_def instead
22453         of ldbl_hidden_def macro.
22455 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22457         Remove malloc hooks from fork handler.  They are no longer needed
22458         because malloc runs right before fork, and no malloc calls from
22459         other fork handlers are not possible anymore.
22460         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22461         declarations.
22462         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22463         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22464         (atfork_recursive_cntr): Remove.
22465         (__malloc_fork_lock_parent): Do not override malloc hooks and
22466         thread_arena.
22467         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22468         thread_arena.
22469         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22470         thread_arena instead of save_arena.
22472 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22474         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22475         (thread_atfork, thread_atfork_static): Remove.
22476         * sysdeps/mach/hurd/malloc-machine.h:
22477         (thread_atfork, thread_atfork_static): Remove.
22479 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22481         [BZ #19431]
22482         Run the malloc fork handler as late as possible to avoid deadlocks.
22483         * malloc/malloc-internal.h: New file.
22484         * malloc/malloc.c: Include it.
22485         * malloc/arena.c (ATFORK_MEM): Remove.
22486         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22487         Update comment.
22488         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22489         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22490         Remove outdated comment.
22491         (ptmalloc_init): Do not call thread_atfork.  Remove
22492         thread_atfork_static.
22493         * malloc/tst-malloc-fork-deadlock.c: New file.
22494         * Makefile (tests): Add tst-malloc-fork-deadlock.
22495         (tst-malloc-fork-deadlock): Link against libpthread.
22496         * manual/memory.texi (Aligned Memory Blocks): Update safety
22497         annotation comments.
22498         * sysdeps/nptl/fork.c (__libc_fork): Call
22499         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22500         __malloc_fork_unlock_child.
22501         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22503 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22505         [BZ #19613]
22506         Remove union wait.
22507         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22508         (w_stopsig, w_stopval): Remove.
22509         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22510         stat_loc argument.
22511         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22512         (__WAIT_STATUS_DEFN): Remove.
22513         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22514         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22515         (wait, wait3, wait4): Use int * for the stat_loc argument.
22516         * posix/wait.c (__wait): Likewise.
22517         * posix/wait3.c (__wait3): Likewise.
22518         * posix/wait4.c (__wait4): Likewise.
22519         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22520         (__WAIT_STATUS_DEFN): Remove.
22521         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22522         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22523         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22524         argument.
22525         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22526         * sysdeps/posix/wait3.c (__wait3): Likewise.
22527         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22528         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22529         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22530         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22531         stat_loc argument.
22532         * manual/process.texi (BSD Wait Functions): Remove union wait.
22534 2016-04-13  Andreas Schwab  <schwab@suse.de>
22536         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22537         (test-extras): Add tst-tlsalign-vars.
22538         * math/Makefile: Wrap long lines.
22539         (libm-vec-test-wrappers): Define.
22540         (test-extras): Add $(libm-vec-test-wrappers).
22541         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22542         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22543         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22544         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22545         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22546         (extra-test-objs): Add corresponding objects.
22548 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22550         [BZ #19928]
22551         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22552         New.
22553         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22554         times of shared cache size.
22555         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22556         (VMOVNT): New.
22557         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22558         (VMOVNT): Likewise.
22559         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22560         (VMOVNT): Likewise.
22561         (VMOVU): Changed to movups for smaller code sizes.
22562         (VMOVA): Changed to movaps for smaller code sizes.
22563         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22564         comments.
22565         (PREFETCH): New.
22566         (PREFETCH_SIZE): Likewise.
22567         (PREFETCHED_LOAD_SIZE): Likewise.
22568         (PREFETCH_ONE_SET): Likewise.
22569         Rewrite to use forward and backward loops, which move 4 vector
22570         registers at a time, to support overlapping addresses and use
22571         non temporal store if size is above the threshold and there is
22572         no overlap between destination and source.
22574 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22576         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22577         Include dl-vdso.
22578         * sysdeps/unix/sysv/linux/mips/Versions: Add
22579         __vdso_clock_gettime.
22580         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22581         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22582         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22583         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22584         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22585         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22586         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22587         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22588         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22590 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22592         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22593         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22595         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22596         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22597         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22600         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22602         syscalls generation.
22603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22604         [__NR_pwrite64] (__NR_write): Remove define.
22605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22606         [__NR_pwrite64] (__NR_write): Remove define.
22607         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22608         Remove define.
22609         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22610         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22611         Remove define.
22612         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22613         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22614         Linux implementation as base.
22615         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22617         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22618         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22623         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22625         syscall generation.
22626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22627         [__NR_pread64] (__NR_pread): Remove define.
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22629         [__NR_pread64] (__NR_pread): Likewise.
22630         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22631         define.
22632         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22633         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22634         Remove define.
22635         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22636         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22637         Linux implementation as base.
22638         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22639         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22640         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22642         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22643         definition.
22644         (__ALIGNMENT_COUNT): Likewise.
22645         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22646         (__ALIGNMENT_COUNT): Likewise.
22647         (SYSCALL_LL): New define.
22648         (SYSCALL_LL64): Likewise.
22649         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22650         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22651         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22652         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22655         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22656         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22657         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22658         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22659         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22661 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22663         [BZ #19865]
22664         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22665         original buffer before retry.
22667 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22669         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22670         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22671         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22672         GLRO(dl_auxv) list.
22673         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22674         including <ldsodefs.h>.
22675         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22677 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22679         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22680         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22681         $(CPPFLAGS).
22683 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22685         [BZ #17950]
22686         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22687         Add -mfpmath=387.
22689 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22691         * sysdeps/i386/configure.ac: Change == to = when calling test.
22692         * sysdeps/x86_64/configure.ac: Likewise.
22693         * sysdeps/i386/configure: Regenerated.
22694         * sysdeps/x86_64/configure: Likewise.
22696 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22698         [BZ #16137]
22699         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22700         * benchtests/bench-strcoll.c (input_files): Likewise.
22701         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22702         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22703         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22705 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #19929]
22708         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22709         [__USE_XOPEN2K8 && !__USE_GNU].
22710         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22711         variable.
22713         [BZ #19925]
22714         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22715         define if [!__USE_MISC && __USE_XOPEN2K].
22716         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22717         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22718         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22719         Likewise.
22720         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22721         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22722         variable.
22723         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22725 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22727         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22728         (sysdep_routines): Add new strspn targets.
22729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22730         (__libc_ifunc_impl_list): Add strspn.
22731         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22732         New file.
22733         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22734         Likewise.
22735         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22736         Likewise.
22737         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22738         Likewise.
22740 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22742         * misc/hsearch_r.c: Include <limits.h>.
22744 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22746         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22748 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22750         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22751         (MEMCPY_SYMBOL): New.
22752         (MEMPCPY_SYMBOL): Likewise.
22753         (MEMMOVE_CHK_SYMBOL): Likewise.
22754         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22755         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22756         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
22757         Provide alias for memcpy in libc.a and ld.so.
22759 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22761         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22762         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
22763         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22764         Disabled fro now.
22765         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22766         symbols.  Properly check USE_MULTIARCH on __memset symbols.
22768 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22770         * benchtests/Makefile (string-benchset): Add memcpy-large,
22771         memmove-large and memset-large.
22772         * benchtests/bench-memcpy-large.c: New file.
22773         * benchtests/bench-memmove-large.c: Likewise.
22774         * benchtests/bench-memmove-large.c: Likewise.
22775         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22777 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22779         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22780         32-bit displacement to avoid long nop between instructions.
22782 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22784         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22785         a comment on VMOVU and VMOVA.
22787 2016-04-04  Florian Weimer  <fweimer@redhat.com>
22789         [BZ #19633]
22790         Use specified locale for number formatting in strfmon_l.
22791         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22792         (__nl_lookup_word): New inline functions.
22793         * include/printf.h (__print_fp_l): Declare.
22794         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22795         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
22796         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22797         (___printf_fp): New function.
22798         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22799         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22800         * stdlib/tst-strfmon_l.c (do_test): New test.
22801         * stdlib/Makefile (tests): Add kt.
22802         (LOCALES): Build additional locales.
22803         (tst-strfmon_l.out): Require locales.
22805 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22807         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22808         if not in libc.
22809         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22810         Likewise.
22811         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22812         Likewise.
22813         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22814         Likewise.
22816 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22818         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22819         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22820         with unaligned_erms.
22821         (__memmove_erms): Skip if source == destination.
22822         (__memmove_unaligned_erms): Don't check source == destination
22823         first.
22825 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22827         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22828         bit_arch_Fast_Copy_Backward for Intel Core proessors.
22830 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22832         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22833         * string/strspn.c (strspn): Likewise.
22835 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22837         * benchtests/bench-memset.c (do_test): Support 64-byte
22838         alignment.
22839         (test_main): Test 64-byte alignment.
22841 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22843         * benchtests/bench-memmove.c (test_main): Test 64-byte
22844         alignment.
22846 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22848         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22850 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22852         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22853         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22854         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22856         * string/strpbrk.c (strpbrk): Rewrite function.
22857         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22858         (__strpbrk_c2): Likewise.
22859         (__strpbrk_c3): Likewise.
22860         * string/string-inlines.c
22861         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22862         Likewise.
22863         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22864         Likewise.
22866         * string/strspn.c (strcspn): Rewrite function.
22867         * string/bits/string2.h (strspn): Use __builtin_strcspn.
22868         (__strspn_c1): Remove inline function.
22869         (__strspn_c2): Likewise.
22870         (__strspn_c3): Likewise.
22871         * string/string-inlines.c
22872         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22873         compatibility symbol.
22874         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22875         Likewise.
22876         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22877         Likewise.
22878         * string/string-inlines.c: Include generic version.
22880 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
22881             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22883         * string/Version (libc): Add GLIBC_2.24.
22884         * string/strcspn.c (strcspn): Rewrite function.
22885         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22886         (__strcspn_c1): Remove inline function.
22887         (__strcspn_c2): Likewise.
22888         (__strcspn_c3): Likewise.
22889         * string/string-inline.c
22890         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22891         compatibility symbol.
22892         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22893         Likewise.
22894         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22895         Likewise.
22896         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22898 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22900         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22901         Use ahi instead of aghi to adjust stack pointer.
22903 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22905         [BZ #19853]
22906         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22907         TEST to take significant digits as second parameter.
22908         [TEST]: Redefine in terms of TEST_N taking 30
22909         significant digits.
22910         (do_test): Add test case to demonstrate precision
22911         failure in the ldbl-128ibm printf.
22912         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22913         (__mpn_extract_long_double): Carry 7 extra intermediate
22914         bits of precision to aide computing difference when
22915         signs differ.
22917 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22919         [BZ #19881]
22920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22921         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22922         memset-avx512-unaligned-erms.
22923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22924         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22925         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22926         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22927         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22928         __memset_sse2_unaligned_erms, __memset_erms,
22929         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22930         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22931         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22932         file.
22933         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22934         Likewise.
22935         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22936         Likewise.
22937         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22938         Likewise.
22940 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22942         [BZ #19776]
22943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22944         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22945         memmove-avx512-unaligned-erms.
22946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22947         (__libc_ifunc_impl_list): Test
22948         __memmove_chk_avx512_unaligned_2,
22949         __memmove_chk_avx512_unaligned_erms,
22950         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22951         __memmove_chk_sse2_unaligned_2,
22952         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22953         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22954         __memmove_avx512_unaligned_erms, __memmove_erms,
22955         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22956         __memcpy_chk_avx512_unaligned_2,
22957         __memcpy_chk_avx512_unaligned_erms,
22958         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22959         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22960         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22961         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22962         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22963         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22964         __mempcpy_chk_avx512_unaligned_erms,
22965         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22966         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22967         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22968         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22969         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22970         __mempcpy_erms.
22971         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22972         file.
22973         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22974         Likewise.
22975         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22976         Likewise.
22977         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22978         Likewise.
22980 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22982         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22983         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22984         (La_s390_64_regs): Likewise.
22985         (La_s390_32_retval): Append vector register lrv_v24.
22986         (La_s390_64_retval): Likeweise.
22987         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22988         Handle extended structs La_s390_32_regs and La_s390_32_retval.
22989         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22990         Handle extended structs La_s390_64_regs and La_s390_64_retval.
22992 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22994         [BZ #19916]
22995         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22996         to create a non-vector/vector version for _dl_runtime_resolve and
22997         _dl_runtime_profile. Move implementation to ...
22998         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22999         (_dl_runtime_resolve) Save and restore fpr/vrs.
23000         (_dl_runtime_profile) Save and restore vrs and fix some issues
23001         if _dl_call_pltexit is called.
23002         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23003         Choose the correct resolver function if running on a machine with vx.
23004         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23005         to create a non-vector/vector version for _dl_runtime_resolve and
23006         _dl_runtime_profile. Move implementation to ...
23007         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23008         (_dl_runtime_resolve) Save and restore fpr/vrs.
23009         (_dl_runtime_profile) Save and restore vrs and fix some issues
23010         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23011         Choose the correct resolver function if running on a machine with vx.
23013 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23015         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23017 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23019         [BZ #19509]
23020         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23021         skip_map != NULL.
23022         * elf/tst-dlsym-error.c: New file.
23023         * elf/Makefile (tests): Add tst-dlsym-error.
23024         (tst-dlsym-error): Link against libdl.
23026 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23029         (__ASSUME_FUTIMESAT): Remove macro.
23030         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23032 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23034         [BZ #19879]
23035         CVE-2016-3075
23036         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23037         copy name.
23039 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23041         [BZ #19837]
23042         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23043         error if parse_line fails.
23045 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23047         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23048         (index_cpu_ERMS): Likewise.
23049         (reg_ERMS): Likewise.
23051 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23053         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23054         PER_LINUX_FDPIC): Add.
23056 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23059         memcpy-avx512-no-vzeroupper.
23060         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23061         to ...
23062         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23063         (MEMCPY): Don't define.
23064         (MEMCPY_CHK): Likewise.
23065         (MEMPCPY): Likewise.
23066         (MEMPCPY_CHK): Likewise.
23067         (MEMPCPY_CHK): Renamed to ...
23068         (__mempcpy_chk_avx512_no_vzeroupper): This.
23069         (MEMPCPY_CHK): Renamed to ...
23070         (__mempcpy_chk_avx512_no_vzeroupper): This.
23071         (MEMCPY_CHK): Renamed to ...
23072         (__memmove_chk_avx512_no_vzeroupper): This.
23073         (MEMCPY): Renamed to ...
23074         (__memmove_avx512_no_vzeroupper): This.
23075         (__memcpy_avx512_no_vzeroupper): New alias.
23076         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23078 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23080         [BZ #18858]
23081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23082         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23083         and mempcpy-avx512-no-vzeroupper.
23084         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23085         New.
23086         (MEMPCPY): Likewise.
23087         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23088         (MEMPCPY_CHK): New.
23089         (MEMPCPY): Likewise.
23090         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23091         (MEMPCPY): Likewise.
23092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23093         (MEMPCPY): Likewise.
23094         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23095         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23096         Likewise.
23097         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23098         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23100 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23101              Amit Pawar  <Amit.Pawar@amd.com>
23103         [BZ #19583]
23104         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23105         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23106         processors.  Set Fast_Copy_Backward for AMD Excavator
23107         processors.
23108         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23109         New.
23110         (index_arch_Fast_Unaligned_Copy): Likewise.
23111         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23112         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23114 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23116         [BZ #19791]
23117         * resolv/res_send.c (close_and_return_error): New function.
23118         (send_dg): Initialize *resplen2 after reopen failure.  Call
23119         close_and_return_error for error returns.  On error paths without
23120         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23121         successful return.
23123 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23125         [BZ #19860]
23126         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23127         zero if the compiler does not provide the AVX512F bit.
23129 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23131         [BZ #19848]
23132         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23133         from 8 to 4.
23134         (__ieee754_powl): Compare integer exponent against 4 not 8.
23135         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23136         from 8 to 4.
23137         (__ieee754_powl): Compare integer exponent against 4 not 8.
23138         * math/auto-libm-test-in: Add more tests of pow.
23139         * math/auto-libm-test-out: Regenerated.
23140         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23143 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23145         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23146         Make code unconditional.
23147         [!__NR_utimensat]: Remove conditional code.
23148         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23149         Make code unconditional.
23150         [!__NR_utimensat]: Remove conditional code.
23151         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23152         Make code unconditional.
23153         [!__NR_utimensat]: Remove conditional code.
23155 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23157         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23158         Make code unconditional.
23160 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23162         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23163         call-clobbered %eax on retry path.
23164         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23166 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23168         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23169         Don't set %rcx twice before "rep movsb".
23171 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23173         [BZ #19583]
23174         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23175         inline.  Check family before setting family, model and
23176         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23177         bits here.
23178         (init_cpu_features): Replace HAS_CPU_FEATURE and
23179         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23180         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23181         for Intel processors with usable AVX2.  Call get_common_indeces
23182         for other processors with family == NULL.
23183         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23184         (CPU_FEATURES_ARCH_P): Likewise.
23185         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23186         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23188 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23190         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23191         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23192         $(shared-thread-library) instead of hardcoding the path to libpthread.
23194 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23196         * sysdeps/unix/sysv/linux/kernel-features.h
23197         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23198         * sysdeps/unix/sysv/linux/getdents.c
23199         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23200         [!have_no_getdents64_defined]: Likewise.
23201         (__GETDENTS): Remove __have_no_getdents64 conditional.
23203 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23205         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23206         Remove macro.
23207         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23208         <kernel-features.h>.
23209         (signalfd) [__NR_signalfd4]: Make code unconditional.
23210         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23212 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23214         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23215         style.
23217 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23219         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23220         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23221         __pthread_unwind.
23222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23223         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23225         (__condvar_cleanup1): Likewise.
23227 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23229         [BZ #19822]
23230         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23231         move it to the final $@ location.
23233 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23235         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23236         access where posix_spawn success and pid argument is null.
23237         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23238         success case.
23240 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23242         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23244         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23246         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23247         and __fcntl.
23248         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23249         __fcntl only.
23250         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23251         adding attribute_hidden to __open and __fcntl.
23253         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23254         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23255         depend on libc-modules.h,
23256         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23258 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23261         Remove macro.
23262         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23263         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23264         entry.
23266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23267         Remove macro.
23268         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23269         include <kernel-features.h>.
23270         [!__ASSUME_FALLOCATE]: Remove conditional code.
23271         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23273 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23276         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23278         (_ZGVdN4v_cos_avx2): Likewise.
23279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23280         (_ZGVdN4v_cos): Likewise.
23281         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23282         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23283         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23284         (_ZGVdN4v_exp_avx2): Likewise.
23285         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23286         (_ZGVdN4v_exp): Likewise.
23287         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23288         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23289         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23290         (_ZGVdN4v_log_avx2): Likewise.
23291         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23292         (_ZGVdN4v_log): Likewise.
23293         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23294         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23295         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23296         (_ZGVdN4vv_pow_avx2): Likewise.
23297         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23298         (_ZGVdN4vv_pow): Likewise.
23299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23300         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23301         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23302         (_ZGVdN4v_sin_avx2): Likewise.
23303         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23304         (_ZGVdN4v_sin): Likewise.
23305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23306         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23308         (_ZGVdN4vvv_sincos_avx2): Likewise.
23309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23310         (_ZGVdN4vvv_sincos): Likewise.
23311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23312         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23313         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23314         (_ZGVbN4v_cosf_sse4): Likewise.
23315         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23316         (_ZGVdN8v_cosf_avx2): Likewise.
23317         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23318         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23319         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23320         (_ZGVbN4v_expf_sse4): Likewise.
23321         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23322         (_ZGVdN8v_expf_avx2): Likewise.
23323         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23324         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23326         (_ZGVbN4v_logf_sse4): Likewise.
23327         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23328         (_ZGVdN8v_logf_avx2): Likewise.
23329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23330         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23332         (_ZGVbN4vv_powf_sse4): Likewise.
23333         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23334         (_ZGVdN8vv_powf_avx2): Likewise.
23335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23336         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23338         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23340         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23341         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23342         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23343         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23344         (_ZGVbN4v_sinf_sse4): Likewise.
23345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23346         (_ZGVdN8v_sinf_avx2): Likewise.
23347         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23348         Use JUMPTARGET to call callee.
23349         (WRAPPER_IMPL_SSE2_ff): Likewise.
23350         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23351         (WRAPPER_IMPL_AVX): Likewise.
23352         (WRAPPER_IMPL_AVX_ff): Likewise.
23353         (WRAPPER_IMPL_AVX_fFF): Likewise.
23354         (WRAPPER_IMPL_AVX512): Likewise.
23355         (WRAPPER_IMPL_AVX512_ff): Likewise.
23356         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23357         Likewise.
23358         (WRAPPER_IMPL_SSE2_ff): Likewise.
23359         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23360         (WRAPPER_IMPL_AVX): Likewise.
23361         (WRAPPER_IMPL_AVX_ff): Likewise.
23362         (WRAPPER_IMPL_AVX_fFF): Likewise.
23363         (WRAPPER_IMPL_AVX512): Likewise.
23364         (WRAPPER_IMPL_AVX512_ff): Likewise.
23365         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23367 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23369         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23370         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23371         qualifier.
23372         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23373         internal_function qualifiers.
23375 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23377         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23378         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23379         * math/atest-exp.c (exp_mpn): Mark chk unused.
23380         * math/atest-exp2.c (exp_mpn): Likewise.
23381         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23382         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23384 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23386         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23387         Remove macro.
23388         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23389         <kernel-features.h>.
23390         [__NR_ppoll]: Make code unconditional.
23391         [!__ASSUME_PPOLL]: Remove conditional code.
23393         * sysdeps/unix/sysv/linux/kernel-features.h
23394         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23395         (__ASSUME_ACCEPT4): Likewise.
23396         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23397         Define.
23398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23399         Likewise.
23400         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23401         Likewise.
23402         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23403         Likewise.
23404         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23405         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23406         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23407         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23408         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23409         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23410         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23412         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23413         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23414         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23415         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23418         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23420         Likewise.
23421         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23422         Likewise.
23423         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23424         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23425         0x040300].
23426         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23427         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23428         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23429         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23430         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23431         0x030300].
23432         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23433         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23434         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23435         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23436         0x040300].
23437         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23438         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23440         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23441         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23442         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23443         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23444         0x030300].
23445         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23446         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23447         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23448         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23449         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23450         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23451         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23453         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23454         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23455         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23456         0x040300].
23457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23459         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23460         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23463         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23464         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23465         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23466         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23467         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23468         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23470         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23471         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23472         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23474         Likewise.
23475         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23476         Likewise.
23478 2016-03-15  Andreas Schwab  <schwab@suse.de>
23480         [BZ #19257]
23481         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23482         statp->_u._ext.nscount as loop count.
23484 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23486         * math/test-signgam-finite-c99.c: Also #undef
23487         __LIBC_INTERNAL_MATH_INLINES.
23488         * math/test-signgam-main.c: Likewise.
23490 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23492         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23493         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23494         (MADV_FREE): Likewise.
23495         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23496         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23497         EPOLLEXCLUSIVE.
23499 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23501         * timezone/README: Remove mention of checktab.awk. Mention wiki
23502         SharedSourceFiles.
23504 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23506         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23507         WUNTRACED.
23509 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23511         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23512         order to match the type of p when calling atomic_exchange_acq().
23514 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23516         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23517         cfi_offset calls.
23518         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23519         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23520         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23521         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23522         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23524 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23526         * timezone/checktab.awk: Removed.
23528 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23530         * manual/math.texi (Errors in Math Functions): Document relaxed
23531         accuracy goals for IBM long double.
23532         * math/libm-test.inc (test_exceptions): Always allow spurious
23533         "underflow" and "inexact" exceptions for IBM long double.
23535 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23537         [BZ #19762]
23538         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23539         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23540         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23541         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23542         (bit_arch_*): This for feature array.
23543         (bit_*): Renamed to ...
23544         (bit_cpu_*): This for cpu array.
23545         (index_*): Renamed to ...
23546         (index_arch_*): This for feature array.
23547         (index_*): Renamed to ...
23548         (index_cpu_*): This for cpu array.
23549         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23550         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23551         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23552         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23553         bit_##name with index_cpu_##name and bit_cpu_##name.
23554         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23555         bit_##name with index_arch_##name and bit_arch_##name.
23557 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23559         [BZ #19792]
23560         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23561         Terminate FDE before return label.
23563 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23565         [BZ #19790]
23566         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23567         (rintl): Define as macro.
23568         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23569         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23570         of fesetround.  Ensure results are evaluated before end of scope.
23571         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23572         USE_AS_NEARBYINTL and include s_rintl.c.
23573         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23574         Disable exception traps in new environment.
23575         (libc_feholdsetround_ppc_ctx): Likewise.
23577 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23579         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23580         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23581         (tst_audit10_aux) [__AVX512F__]: ... here.
23583 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23585         * include/sys/auxv.h: New file.
23587 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23589         [BZ #19759]
23590         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23592 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23594         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23595         operand modifier.
23596         (feclearexcept): Likewise.
23598 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23600         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23601         to reflect the entire 32-bit HWCAP.
23602         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23603         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23605 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23607         [BZ #19783]
23608         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23609         $(test-via-rtld-prefix).
23610         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23612 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23614         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23615         union wait.  Report any non-zero exit status as error.
23617 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23619         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23620         configured with --enable-hardcoded-path-in-tests.
23622 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23624         [BZ #19677]
23625         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23626         (__ieee754_remainderl): Put zero low parts in canonical form.
23627         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23628         file.  Based on
23629         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23630         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23631         with wrapper round test-fmodrem-ldbl-128ibm.c.
23632         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23633         file.
23634         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23635         Likewise.
23636         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23637         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23639 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23641         [BZ #19610]
23642         * elf/ldconfig.c (opt_link): Update comment.
23643         (options): Update help string for option -X.
23644         (search_dir): Unlink stale symbolic link only if updating symbolic
23645         links.
23646         * elf/tst-ldconfig-X.sh: New file.
23647         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23648         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23650 2016-03-07  Andreas Schwab  <schwab@suse.de>
23652         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23653         needed arguments.
23655 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23657         [BZ #15333]
23658         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23659         to lstat64.
23661 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23663         * libio/filedoalloc.c (isatty): Remove.
23664         (local_isatty): Add comment.  Call __isatty directly.
23665         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23666         * libio/wfiledoalloc.c (isatty): Remove.
23667         (_IO_wfile_doallocate): Update comment.
23669 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23671         [BZ #19269]
23672         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23673         tst-audit4-aux.o.
23674         (tst-audit10): Depend on tst-audit10-aux.o.
23675         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23676         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23677         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23678         instead of inline AVX code.
23679         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23680         instead of inline AVX512 code.
23681         * sysdeps/x86_64/tst-audit4-aux.c: New file
23682         * sysdeps/x86_64/tst-audit10-aux.c: New file
23684         [BZ #19648]
23685         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23687 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23689         [BZ #14750]
23690         [BZ #10354]
23691         [BZ #18433]
23692         * include/sched.h (__clone): Add hidden prototype.
23693         (__clone2): Likewise.
23694         * include/unistd.h (__dup): Likewise.
23695         * posix/Makefile (tests): Add tst-spawn2.
23696         * posix/tst-spawn2.c: New file.
23697         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23698         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23699         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23700         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23701         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23702         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23703         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23704         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23705         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23706         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23707         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23709         Likewise.
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23711         Likewise.
23712         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23713         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23714         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23715         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23716         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23717         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23718         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23719         * sysdeps/unix/sysv/linux/nptl-signals.h
23720         (____nptl_is_internal_signal): New function.
23721         * sysdeps/unix/sysv/linux/spawni.c: New file.
23723         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23724         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23725         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23726         * posix/tst-execvp2.c (do_test): Likewise.
23727         * posix/tst-execvp3.c (do_test): Likewise.
23728         * posix/tst-execvp4.c (do_test): Likewise.
23729         * posix/tst-execvpe1.c: New file.
23730         * posix/tst-execvpe2.c: Likewise.
23731         * posix/tst-execvpe3.c: Likewise.
23732         * posix/tst-execvpe4.c: Likewise.
23733         * posix/tst-execvpe5.c: Likewise.
23734         * posix/tst-execvpe6.c: Likewise.
23736         [BZ #19534]
23737         * posix/execl.c (execl): Remove dynamic memory allocation.
23738         * posix/execle.c (execle): Likewise.
23739         * posix/execlp.c (execlp): Likewise.
23741 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23743         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23744         Replace .text with .text.avx512.
23745         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23746         Likewise.
23748 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
23750         * sysdeps/generic/libnsl.abilist: New file.
23751         * sysdeps/generic/libutil.abilist: New file.
23753 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23755         [BZ #19762]
23756         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23757         HAS_ARCH_FEATURE with Fast_Rep_String.
23758         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23759         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23760         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23761         Likewise.
23762         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23763         Likewise.
23764         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23765         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23766         Likewise.
23767         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23768         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23769         Likewise.
23771 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23773         [BZ #19745]
23774         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23775         with *%rax in call.
23777 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23779         [BZ #19745]
23780         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23781         with *__libc_start_main@GOTPCREL(%rip) in call.
23783 2016-03-04  Roland McGrath  <roland@hack.frob.com>
23785         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23786         inside conditional for nonempty $(CXX).
23788         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23789         nonempty.
23791         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23792         to test for empty $(CXX) rather than $(CXX) of "no".
23794 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23796         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23798 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
23799             H.J. Lu  <hongjiu.lu@intel.com>
23801         [BZ #18880]
23802         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23803         instead of Slow_BSF, and also check for Fast_Copy_Backward to
23804         enable __memcpy_ssse3_back.
23806 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23808         [BZ #19758]
23809         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23810         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23812 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23814         [BZ #19490]
23815         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23816         (__fentry__): Likewise.
23818 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23820         * gmon/Makefile (noprof): Add $(sysdep_noprof).
23821         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23823 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23825         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23826         __mcount_internal directly.
23827         (C_LABEL(__fentry__)): Likewise.
23828         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23829         directly.
23831 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23833         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23834         (__start_context): Call __setcontext directly.
23836 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
23838         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23839         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23840         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23841         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23842         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23843         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23844         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23845         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23846         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23847         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23848         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23849         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23850         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23851         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23852         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23853         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23854         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23855         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23856         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23857         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23858         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23859         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23860         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23861         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23862         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23863         Remove conditional code.
23864         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23865         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23866         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23867         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23868         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23869         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23870         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23871         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23872         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23873         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23874         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23875         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23877 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
23879         * NEWS (2.23): Fix typo in bug 19048 text.
23881 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
23883         [BZ #14259]
23884         * Makeconfig: Rename msgcatdir to localedir.
23885         Rename inst_msgcatdir to inst_localedir.
23886         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23887         * config.make.in: Add localedir.
23888         * elf/Makefile ($(objpfx)sotruss): Use localedir.
23889         (ldd-rewrite): Likewise.
23890         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23891         (install-others): Use inst_localedir.
23892         (CPPFLAGS): Use localedir.
23893         * locale/Makefile (locale-CPPFLAGS): Likewise.
23894         * po/Makefile (mo-installed): Use inst_localedir.
23896         [BZ #19575]
23897         * localedata/charmaps/GB18030: Update comments regarding PAU to
23898         non-PUA mappings.
23900 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
23902         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23903         test for header.
23904         * sysdeps/unix/sysv/linux/configure: Regenerated.
23905         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23906         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23907         Remove conditional code.
23908         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23910         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23911         Define to 3.2.0.
23912         (arch_minimum_kernel): Likewise.
23913         * sysdeps/unix/sysv/linux/configure: Regenerated.
23914         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23915         Define to 2.6.32.
23916         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23917         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23918         (arch_minimum_kernel): Define to 2.6.32.
23919         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23920         * README: Document Linux 3.2 requirement.
23921         * manual/install.texi (Linux): Document Linux 3.2 headers
23922         requirement.
23923         * INSTALL: Regenerated.
23925 2016-02-24  Andreas Schwab  <schwab@suse.de>
23927         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23928         if !NO_LONG_DOUBLE.
23930 2016-02-22  Roland McGrath  <roland@hack.frob.com>
23932         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23933         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23935 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
23937         [BZ #19512]
23938         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23940 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23942         * posix/tst-dir.c: Include libc-internal.h.
23944 2016-02-20  Florian Weimer  <fweimer@redhat.com>
23946         [BZ #19056]
23947         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23948         * manual/filesys.texi (Reading/Closing Directory): Mention
23949         deprecaion.
23950         * posix/tst-dir.c (main): Disable deprecation warning in test.
23952 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
23954         [BZ #19679]
23955         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23956         Renamed to ...
23957         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
23958         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23959         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
23960         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23961         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23962         * sysdeps/x86_64/dl-trampoline.h
23963         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23964         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23966 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23968         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23970 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23972         * elf/elf.h (R_386_GOT32X): New.
23973         (R_386_NUM): Update.
23974         (R_X86_64_GOTPCRELX: New.
23975         (R_X86_64_REX_GOTPCRELX): New.
23976         (R_X86_64_NUM): Update.
23978 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
23980         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23982 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
23984         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23985         assign attr->stackaddr to it, and adjust it down when
23986         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
23987         [_STACK_GROWS_UP]: Delete assert.
23988         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23989         Implement stack grows up logic.
23990         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23991         stack grows up logic.
23993 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23995         * NEWS: Update with 2.24 template.
23997 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23999         [BZ #19678]
24000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24001         Ensure +0.0 is returned when taking the next value below the least
24002         positive value.
24004 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24006         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24007         available.  Do not define NO_THREADS.
24008         * malloc/malloc.c: Do not check NO_THREADS.
24009         * malloc/arena.c: Likewise.
24011 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24013         * malloc/malloc.c (__libc_mallinfo): Update comment.
24014         (struct malloc_par): Remove max_total_mem member, it was always 0.
24015         (int_mallinfo): Store 0 into usmblks (no functional change).
24016         * malloc/hooks.c (struct malloc_state): Document that
24017         max_total_mem is always 0.
24018         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24019         always 0.
24020         * manual/memory.texi (Statistics of Malloc): Likewise.
24022 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24024         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24025         * malloc/arena.c (arena_max): Remove.
24026         (heap_trim, _int_new_arena): Do not update arena_max.
24028 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24030         * resolv/res_init.c (res_ninit): Update comment.
24032 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24034         [BZ #19505]
24035         * posix/spawn_int.h: Add headers and include guard.
24036         (__spawn_valid_fd): New function.
24037         * posix/spawn_faction_addopen.c
24038         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24039         * posix/spawn_faction_addclose.c
24040         (posix_spawn_file_actions_addclose): Likewise.
24041         * posix/spawn_faction_adddup2.c
24042         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24043         second file descriptor.
24044         * posix/spawn_valid_fd.c: New file.
24045         * posix/tst-posix_spawn-fd.c: New file.
24046         * posix/Makefile (routines): Add spawn_valid_fd.
24047         (tests): Add tst-posix_spawn-fd.
24049 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24051         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24052         (do_test): Limit the number of arenas, so that we can use fewer
24053         outer threads.  Limit timeout to 3 seconds, in preparation for a
24054         larger TIMEOUT value.
24056 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24058         [BZ #19674]
24059         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24060         sign in overflowing and underflowing results when overflow or
24061         underflow is detected early.  Include sign in result before rather
24062         than after scaling.
24064         [BZ #19603]
24065         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24066         (__ieee754_remainderl): Adjust sign of integer version of low part
24067         when taking absolute value of high part.
24068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24069         * math/libm-test.inc (remainder_test_data): Add another test.
24070         (remquo_test_data): Likewise.
24072 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24074         [BZ #19602]
24075         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24076         equal high parts and both low parts zero specially.
24077         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24078         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24079         Add test-fmodl-ldbl-128ibm.
24081         [BZ #19595]
24082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24083         common logic for all cases of shifting subnormal results.  Do not
24084         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24085         exponent to ldbl_insert_mantissa in subnormal case.
24087         [BZ #19594]
24088         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24089         on high and low parts then adjust result and use
24090         ldbl_canonicalize_int if needed.
24092         [BZ #19593]
24093         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24094         on high part and __floor or __ceil on low part then use
24095         ldbl_canonicalize_int if needed.
24097         [BZ #19592]
24098         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24099         high and low parts then use ldbl_canonicalize_int if needed.
24101         [BZ #17899]
24102         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24103         New function.
24104         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24105         on high and low parts then use ldbl_canonicalize_int if needed.
24107 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24109         * configure: Regenerated.
24111         * po/libc.pot: Regenerated.
24113         * po/be.po: Updated translation.
24114         * po/bg.po: Likewise.
24115         * po/ca.po: Likewise.
24116         * po/cs.po: Likewise.
24117         * po/da.po: Likewise.
24118         * po/el.po: Likewise.
24119         * po/eo.po: Likewise.
24120         * po/es.po: Likewise.
24121         * po/fi.po: Likewise.
24122         * po/fr.po: Likewise.
24123         * po/gl.po: Likewise.
24124         * po/hr.po: Likewise.
24125         * po/hu.po: Likewise.
24126         * po/ia.po: Likewise.
24127         * po/id.po: Likewise.
24128         * po/it.po: Likewise.
24129         * po/ja.po: Likewise.
24130         * po/lt.po: Likewise.
24131         * po/nb.po: Likewise.
24132         * po/nl.po: Likewise.
24133         * po/pt_BR.po: Likewise.
24134         * po/rw.po: Likewise.
24135         * po/sk.po: Likewise.
24136         * po/sl.po: Likewise.
24137         * po/sv.po: Likewise.
24138         * po/tr.po: Likewise.
24139         * po/zh_CN.po: Likewise.
24140         * po/zh_TW.po: Likewise.
24142         * version.h (RELEAES): Set to "development".
24143         (VERSION): Set to 2.23.90.
24145         * version.h (RELEASE): Set to "stable".
24146         (VERSION): Set to 2.23.
24147         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24149         * NEWS: Updated fixed bugs.
24151 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24152             Wilco Dijkstra  <wdijkstr@arm.com>
24154         [BZ #19462]
24155         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24156         (_STRING_INLINE_unaligned): This.
24157         * include/string.h: Include <string_private.h>.
24158         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24159         _STRING_INLINE_unaligned.
24160         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24161         (_STRING_INLINE_unaligned): New.
24162         * sysdeps/aarch64/string_private.h: New file.
24163         * sysdeps/generic/string_private.h: Likewise.
24164         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24165         * sysdeps/s390/string_private.h: Likewise.
24166         * sysdeps/x86/string_private.h: Likewise.
24167         * sysdeps/m68k/m680x0/m68020/bits/string.h
24168         (_STRING_ARCH_unaligned): Renamed to ...
24169         (_STRING_INLINE_unaligned): This.
24170         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24171         to ...
24172         (_STRING_INLINE_unaligned): This.
24173         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24174         to ...
24175         (_STRING_INLINE_unaligned): This.
24176         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24177         to ...
24178         (_STRING_INLINE_unaligned): This.
24180 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24181             H.J. Lu  <hongjiu.lu@intel.com>
24183         [BZ #19590]
24184         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24185         relocation.
24187 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24189         [BZ #18665]
24190         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24191         *herrno_p.
24192         (gaih_getanswer): Document functional behviour. Return tryagain
24193         if any result is tryagain.
24194         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24195         when freed.
24196         * resolv/res_send.c: Add copyright text.
24197         (__libc_res_nsend): Document that MAXPACKET is expected.
24198         (send_vc): Document. Remove buffer reuse.
24199         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24200         size of the buffer. Add Dprint for truncated UDP buffer.
24202 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24204         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24205         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24206         * INSTALL: Regenerate.
24208 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24209             Jonathan Wakely  <jwakely@redhat.com>
24210             Carlos O'Donell  <carlos@redhat.com>
24212         [BZ 19439]
24213         * math/Makefile (tests): Add test-math-isinff.
24214         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24215         * math/bits/mathcalls.h [__USE_MISC]: Use
24216         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24217         functions not in C++11 and which don't conflict e.g. isinff,
24218         isinfl etc.
24219         * math/test-math-isinff.cc: New file.
24221 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24223         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24225 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24227         [BZ #19529]
24228         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24230 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24232         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24234 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24236         [BZ #19550]
24237         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24238         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24239         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24240         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24241         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24242         New syscall entry.
24243         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24244         New syscall entry.
24245         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24246         syscall entry.
24248 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24250         [BZ #18240]
24251         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24252         unsigned int wraparound.
24254 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24256         [BZ #18240]
24257         * misc/bug18240.c: New test.
24258         * misc/Makefile (tests): Add it.
24260 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24261             Joseph Myers  <joseph@codesourcery.com>
24263         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24264         load in branch delay slot when less than a word of input left.
24266 2016-01-27  Andreas Schwab  <schwab@suse.de>
24268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24269         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24270         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24271         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24273 2016-01-26  David S. Miller  <davem@davemloft.net>
24275         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24277 2016-01-25  David S. Miller  <davem@davemloft.net>
24279         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24280         __sqrtl_finite.
24281         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24282         instead using versioned_symbol.
24283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24284         of entries.
24286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24287         __sqrtl_finite to GLIBC_2.23
24289 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24291         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24293 2016-01-25  Andreas Schwab  <schwab@suse.de>
24295         [BZ #17514]
24296         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24297         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24298         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24299         * nptl/tst-mutex-errorcheck.c: New file.
24301 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24303         [BZ #18560]
24304         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24305         (IPCOP_semop): Likewise.
24306         (IPCOP_semget): Likewise.
24307         (IPCOP_semctl): Likewise.
24308         (IPCOP_msgsnd): Likewise.
24309         (IPCOP_msgrcv): Likewise.
24310         (IPCOP_msgget): Likewise.
24311         (IPCOP_msgctl): Likewise.
24312         (IPCOP_shmat): Likewise.
24313         (IPCOP_shmdt): Likewise.
24314         (IPCOP_shmget): Likewise.
24315         (IPCOP_shmctl): Likewise.
24317 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24319         * string/tst-endian.c: Include <libc-internal.h>.
24320         (do_test): Ignore tautological-compare warnings around
24321         "htobeXX (beXXtoh (i)) != i" and
24322         "htoleXX (leXXtoh (i)) != i" if-statements.
24324 2016-01-24  David S. Miller  <davem@davemloft.net>
24326         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24327         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24328         alias.
24329         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24330         __sqrtl_finite.
24332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24334 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24336         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24337         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24338         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24340 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24342         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24343         (thread_func): Use new function to simplify barrier check.
24344         (do_test): Use new function to simplify checking barrier exit
24345         code, and actually join the child thread.
24347 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24349         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24350         semicolon.
24351         (__libc_tend): Likewise.
24352         (__libc_tabort): Likewise.
24354 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24356         * sysdeps/nios2/libm-test-ulps: Update.
24357         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24358         (__gtsf2): Likewise.
24359         (__unorddf2): Likewise.
24360         (__unordsf2): Likewise.
24361         (__ledf2): Likewise.
24363 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24365         * nis/nis_table.c (__follow_path): Disable diagnostic for
24366         uninitialized variable that is a false positive for gcc 4.7.
24367         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24369 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24371         * sysdeps/nacl/lowlevellock-futex.h
24372         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24373         Always evaluate PRIVATE argument.
24375 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24377         [BZ #19490]
24378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24379         (pthread_cond_broadcast): Use ENTRY/END
24380         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24381         (pthread_cond_signal): Likewise.
24382         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24383         Likewise.
24384         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24385         Likewise.
24386         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24387         Likewise.
24389 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24391         * sysdeps/ieee754/dbl-64/s_finite.c
24392         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24393         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24394         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24395         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24396         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24399         (__gtsf2): Add as optional for libc.so.
24400         (__unordsf2): Likewise.
24401         (__signbit): Remove for libc.so.
24402         (__signbitl): Likewise.
24404 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24406         * iconvdata/bug-iconv11.c (test_ibm93x):
24407         Use %zu printf format specifier for size_t argument.
24409 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24411         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24412         already-recorded ulps.
24413         * sysdeps/arm/libm-test-ulps: Regenerated.
24414         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24416         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24418 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24419             Paul Pluzhnikov  <ppluzhnikov@google.com>
24421         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24422         assembler not supporting AVX-512.
24424 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24426         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24428 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24430         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24431         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24433         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24435         * sysdeps/arm/libm-test-ulps: Regenerated.
24437 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24439         [BZ #19451]
24440         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24442 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24444         [BZ #19486]
24445         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24446         * sysdeps/generic/fix-fp-int-convert-overflow.h
24447         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24448         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24449         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24450         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24451         Likewise.
24452         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24453         Avoid conversions to long int where inexact exceptions
24454         could be raised.
24455         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24456         Likewise.
24457         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24458         Avoid conversions to long long int where inexact exceptions
24459         could be raised.
24460         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24461         Likewise.
24463 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24465         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24466         * configure: Regenerated.
24468 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24470         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24472 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24474         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24475         outside of comment.
24477 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24479         * nptl/tst-barrier1.c: Add description on first line.
24480         * nptl/tst-barrier2.c: Likewise.
24481         * nptl/tst-barrier3.c: Likewise.
24482         * nptl/tst-barrier4.c: Likewise.
24483         * nptl/tst-barrier5.c: Likewise.
24485 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24487         [BZ #18868]
24488         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24490 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24494         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24495         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24496         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24497         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24498         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24499         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24500         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24501         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24502         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24504 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24506         [BZ #13065]
24507         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24508         new implementation.
24509         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24510         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24511         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24512         (BARRIER_IN_THRESHOLD): New macro.
24513         * nptl/pthread_barrierattr_setpshared.c
24514         (pthread_barrierattr_setpshared): Clean up.
24515         * nptl/tst-barrier4.c: Correct comment.
24516         * nptl/tst-barrier5.c: New file.
24517         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24518         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24519         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24520         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24521         * nptl/lowlevelbarrier.sym: Remove.
24522         * nptl/DESIGN-barrier.txt: Remove.
24523         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24524         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24525         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24526         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24527         error.
24528         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24529         implementation.
24531 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24533         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24534         (do_child): Mask SIGRTMIN while thr is running.
24536 2016-01-15  Martin Sebor  <msebor@redhat.com>
24538         [BZ #19432]
24539         * iconvdata/Makefile: Add bug-iconv11.
24540         * iconvdata/bug-iconv11.c: New test.
24541         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24542         * iconvdata/ibm933.c: Same.
24543         * iconvdata/ibm935.c: Same.
24544         * iconvdata/ibm937.c: Same.
24545         * iconvdata/ibm939.c: Same.
24547 2016-01-15  Martin Sebor  <msebor@redhat.com>
24549         [BZ #19443]
24550         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24551         [DEBUG] (_ufc_set_bits): Declare used.
24552         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24553         [DEBUG] (print_all): Declare used.
24554         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24555         operands of the ternary ?: expression to target type.
24556         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24557         calling the undeclared abort.
24558         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24560 2016-01-15  Martin Sebor  <msebor@redhat.com>
24562         [BZ #18755]
24563         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24564         warnings.
24565         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24566         (__gai_create_helper_thread): Same.
24567         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24568         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24569         to suppress -Wmaybe-uninitialized warnings.
24571 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24573         [BZ #19465]
24574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24575         inside if.
24576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24577         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24578         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24580 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24582         [BZ #19466]
24583         * time/tst-mktime2.c (time_t_max): Removed.
24584         (time_t_min): Likewise.
24585         (TYPE_SIGNED): New.
24586         (TYPE_MINIMUM): Likewise.
24587         (TYPE_MAXIMUM): Likewise.
24588         (TIME_T_MIN): Likewise.
24589         (TIME_T_MAX): Likewise.
24590         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24591         and TIME_T_MIN.
24592         (do_test): Likewise.
24594 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24596         [BZ #19467]
24597         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24598         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24600 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
24602         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24604 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24606         * benchtests/Makefile (PYTHON): Define.
24607         (bench-func): Use $(PYTHON) to run python scripts.
24608         ($(objpfx)bench-%.c): Likewise.
24610 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24612         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24613         leading slash when `file_name' is "/".
24615 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24617         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24618         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24619         Likewise.
24620         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24621         Likewise.
24622         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24623         Likewise.
24624         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24625         enum constant and macro.
24626         (PTRACE_SETSIGMASK): Likewise.
24627         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24628         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24629         (PTRACE_GETSIGMASK): Likewise.
24630         (PTRACE_SETSIGMASK): Likewise.
24631         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24633         Likewise.
24634         (PTRACE_SETSIGMASK): Likewise.
24635         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24637         (PTRACE_GETSIGMASK): Likewise.
24638         (PTRACE_SETSIGMASK): Likewise.
24639         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24641         Likewise.
24642         (PTRACE_SETSIGMASK): Likewise.
24643         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24645         Likewise.
24646         (PTRACE_SETSIGMASK): Likewise.
24647         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24648         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24649         Likewise.
24650         (PTRACE_SETSIGMASK): Likewise.
24651         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24653 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24654             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24656         [BZ #19439]
24657         * math/bits/mathcalls.h
24658         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24659         prototype.
24660         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24662 2016-01-11  Andreas Schwab  <schwab@suse.de>
24664         [BZ #19253]
24665         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24666         cache when TZDEFRULES was used.
24667         * time/tst-tzname.c: New file.
24668         * time/Makefile (test): Add tst-tzname.
24669         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24670         * timezone/Makefile (test-zones): Add $(posixrules-file).
24671         ($(testdata)/$(posixrules-file)): New rule.
24673 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24675         Fix doc quoting problems with Texinfo 5
24676         Without this change, in the info file output, Texinfo 5 quotes code
24677         in text with undirected single quotes 'like this' and generates
24678         code examples that with many PDF readers cannot be cut out of PDFs
24679         and pasted into code.
24680         * manual/libc.texinfo: Configure the libc manual like the GNU
24681         Emacs manual, by using @documentencoding and setting
24682         txicodequoteundirected and txicodequotebacktick.  This way,
24683         Texinfo 5 quotes code in text with directed single quotes ‘like
24684         this’ and produces examples that can be cut out of PDFs.  This
24685         change causes Texinfo 5 to generate info files that contain UTF-8
24686         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24687         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24689 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24691         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24692         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24693         barriers to their respective compiler built-ins.
24694         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24695         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24696         * sysdeps/powerpc/sysdep.h: Likewise.
24697         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24698         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24699         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24701 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24703         * scripts/config.guess: Revert previous shebang change.
24704         * scripts/config.sub: Likewise.
24705         * scripts/mkinstalldirs: Likewise.
24707 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24709         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24710         PPC_FEATURE2_HAS_IEEE128.
24711         * sysdeps/powerpc/dl-procinfo.c:
24712         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24714 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
24716         [BZ #19415]
24717         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24718         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
24719         (_dl_lookup_address): Rewrite using function resolver trampoline.
24720         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24721         two bits in address.
24723 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24725         * longlong.h: Change !__SHMEDIA__ to
24726         (!defined (__SHMEDIA__) || !__SHMEDIA__).
24727         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24729 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24730             Joseph Myers  <joseph@codesourcery.com>
24731             Mark Shinwell  <shinwell@codesourcery.com>
24732             Andrew Stubbs  <ams@codesourcery.com>
24733             Rich Felker <dalias@libc.org>
24735         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24737 2016-01-07  Richard Henderson  <rth@redhat.com>
24739         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24741 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24743         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24744         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24745         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24746         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24747         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24749 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
24750             Joseph Myers  <joseph@codesourcery.com>
24752         * timezone/private.h: Update from tzcode 2015g.
24753         * timezone/tzfile.h: Likewise.
24754         * timezone/tzselect.ksh: Likewise.
24755         * timezone/zdump.c: Likewise.
24756         * timezone/zic.c: Likewise.
24757         * timezone/ialloc.c: Remove file.
24758         * timezone/scheck.c: Likewise.
24759         * timezone/Makefile (extra-objs): Remove variable.
24760         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24761         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24762         -Wno-maybe-uninitialized.
24763         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24764         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24765         (CFLAGS-ialloc.c): Remove variable.
24766         (CFLAGS-scheck.c): Likewise.
24767         * timezone/README: Update list of files from tzcode.
24769 2016-01-07  Khem Raj  <raj.khem@gmail.com>
24771         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24772         instead of __fxprintf when _LIBC is undefined.
24774 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
24776         * catgets/test-gencat.sh: Remove space after shebang.
24777         * conform/GlibcConform.pm: Likewise.
24778         * conform/check-header-lists.sh: Likewise.
24779         * conform/conformtest.pl: Likewise.
24780         * conform/linknamespace.pl: Likewise.
24781         * conform/list-header-symbols.pl: Likewise.
24782         * debug/catchsegv.sh: Likewise.
24783         * elf/genrtldtbl.awk: Likewise.
24784         * elf/tst-pathopt.sh: Likewise.
24785         * elf/tst-rtld-load-self.sh: Likewise.
24786         * grp/tst_fgetgrent.sh: Likewise.
24787         * iconvdata/gen-8bit-gap-1.sh: Likewise.
24788         * iconvdata/gen-8bit-gap.sh: Likewise.
24789         * iconvdata/gen-8bit.sh: Likewise.
24790         * iconvdata/run-iconv-test.sh: Likewise.
24791         * intl/tst-gettext.sh: Likewise.
24792         * intl/tst-gettext2.sh: Likewise.
24793         * intl/tst-gettext4.sh: Likewise.
24794         * intl/tst-gettext6.sh: Likewise.
24795         * intl/tst-translit.sh: Likewise.
24796         * io/ftwtest-sh: Likewise.
24797         * libio/test-freopen.sh: Likewise.
24798         * locale/gen-translit.pl: Likewise.
24799         * malloc/tst-mtrace.sh: Likewise.
24800         * manual/check-safety.sh: Likewise.
24801         * manual/libc-texinfo.sh: Likewise.
24802         * manual/tsort.awk: Likewise.
24803         * manual/xtract-typefun.awk: Likewise.
24804         * nptl/tst-cancel-wrappers.sh: Likewise.
24805         * nptl/tst-tls6.sh: Likewise.
24806         * posix/globtest.sh: Likewise.
24807         * posix/tst-getconf.sh: Likewise.
24808         * posix/wordexp-tst.sh: Likewise.
24809         * scripts/check-c++-types.sh: Likewise.
24810         * scripts/check-local-headers.sh: Likewise.
24811         * scripts/config.guess: Likewise.
24812         * scripts/config.sub: Likewise.
24813         * scripts/cpp: Likewise.
24814         * scripts/cross-test-ssh.sh: Likewise.
24815         * scripts/documented.sh: Likewise.
24816         * scripts/evaluate-test.sh: Likewise.
24817         * scripts/gen-libc-abis: Likewise.
24818         * scripts/gen-sorted.awk: Likewise.
24819         * scripts/list-fixed-bugs.py: Likewise.
24820         * scripts/merge-test-results.sh: Likewise.
24821         * scripts/mkinstalldirs: Likewise.
24822         * scripts/rellns-sh: Likewise.
24823         * scripts/test-installation.pl: Likewise.
24824         * scripts/update-copyrights: Likewise.
24825         * stdio-common/tst-printf.sh: Likewise.
24826         * stdio-common/tst-unbputc.sh: Likewise.
24827         * stdlib/tst-fmtmsg.sh: Likewise.
24828         * stdlib/tst-setcontext3.sh: Likewise.
24829         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24830         * sysdeps/unix/make-syscalls.sh: Likewise.
24832 2016-01-06  John David Anglin  <dave.anglin@bell.net>
24834         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24835         asm stw with atomic_exchange_rel.  Add explanatory comment.
24836         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24837         Likewise.
24839 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24841         [BZ #19122]
24842         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24843         * sysdeps/generic/dl-unistd.h: New file.
24844         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24846 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24848          [BZ #19122]
24849          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24850          * sysdeps/generic/dl-mman.h: New file.
24851          * sysdeps/mach/hurd/dl-mman.h: Likewise.
24853 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
24855         * manual/texinfo.tex: Update to version 2016-01-04.21 with
24856         trailing whitespace removed.
24857         * scripts/config.guess: Update to version 2016-01-01.
24858         * scripts/config.sub: Update to version 2016-01-01.
24859         * scripts/move-if-change: Update from gnulib.
24861 2016-01-04  Anton Blanchard  <anton@samba.org>
24863         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24864         for array indices.
24865         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24867 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
24869         * NEWS: Update copyright dates.
24870         * catgets/gencat.c (print_version): Likewise.
24871         * csu/version.c (banner): Likewise.
24872         * debug/catchsegv.sh: Likewise.
24873         * debug/pcprofiledump.c (print_version): Likewise.
24874         * debug/xtrace.sh (do_version): Likewise.
24875         * elf/ldconfig.c (print_version): Likewise.
24876         * elf/ldd.bash.in: Likewise.
24877         * elf/pldd.c (print_version): Likewise.
24878         * elf/sotruss.sh: Likewise.
24879         * elf/sprof.c (print_version): Likewise.
24880         * iconv/iconv_prog.c (print_version): Likewise.
24881         * iconv/iconvconfig.c (print_version): Likewise.
24882         * locale/programs/locale.c (print_version): Likewise.
24883         * locale/programs/localedef.c (print_version): Likewise.
24884         * login/programs/pt_chown.c (print_version): Likewise.
24885         * malloc/memusage.sh (do_version): Likewise.
24886         * malloc/memusagestat.c (print_version): Likewise.
24887         * malloc/mtrace.pl: Likewise.
24888         * manual/libc.texinfo: Likewise.
24889         * nptl/version.c (banner): Likewise.
24890         * nscd/nscd.c (print_version): Likewise.
24891         * nss/getent.c (print_version): Likewise.
24892         * nss/makedb.c (print_version): Likewise.
24893         * posix/getconf.c (main): Likewise.
24894         * scripts/test-installation.pl: Likewise.
24895         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24897         * All files with FSF copyright notices: Update copyright dates
24898         using scripts/update-copyrights.
24899         * intl/plural.c: Regenerated.
24900         * locale/programs/charmap-kw.h: Likewise.
24901         * locale/programs/locfile-kw.h: Likewise.
24903 2016-01-02  Helge Deller  <deller@gmx.de>
24905         [BZ #19285]
24906         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24907         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24908         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24909         (MADV_xxK_PAGES): Remove.
24911 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
24913         [BZ #15421]
24914         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24915         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
24916         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24917         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24919 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
24921         [BZ #19408]
24922         * sysdeps/unix/sysv/linux/personality.c: New file.
24923         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24924         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24925         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24926         (sysdep_routines): Add personality.
24927         (tests): Add tst-personality.
24928         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24930         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24931         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24932         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24933         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24934         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24935         Likewise.
24936         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24937         Likewise.
24938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24939         Likewise.
24940         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24941         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24942         Likewise.
24944 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
24946         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24947         (PATH_ARM_SYSTYPE): Remove.
24948         (PATH_CPUINFO): Likewise.
24949         (IO_BASE_FOOTBRIDGE): Likewise.
24950         (IO_SHIFT_FOOTBRIDGE): Likewise.
24951         (struct platform): Likewise.
24952         (init_iosys): Remove compatibility code for 2.4 kernels.
24953         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24955 2015-12-29  Florian Weimer  <fweimer@redhat.com>
24957         * malloc/tst-malloc-thread-fail.c: New file.
24958         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24959         (tst-malloc-thread-fail): Link against libpthread.
24961 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
24963         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
24964         (get_parser): New function.
24965         (main): New function.
24967 2015-12-29  Rob Wu  <rob@robwu.nl>
24969         [BZ #19369]
24970         * resolv/res_init.c (__res_vinit): Reset defdname before use.
24972 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
24974         [BZ #19270]
24975         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24977 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
24979         [BZ #15421]
24980         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24982 2015-12-23  Torvald Riegel  <triegel@redhat.com>
24984         [BZ #13690]
24985         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24986         after releasing it.
24987         (__lll_robust_unlock): Likewise.
24988         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24990         (lll_robust_unlock): Likewise.
24991         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24992         Prevent warnings in callers.
24994 2015-12-23  Florian Weimer  <fweimer@redhat.com>
24996         * malloc/arena.c (list_lock): Update comment.
24998 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25000         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25001         __parse_hwcap_and_convert_at_platform to libc.a.
25003 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25005         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25006         platform and feature support for POWER9.
25007         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25008         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25009         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25010         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25011         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25012         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25013         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25014         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25016 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25018         Harmonize generic stdio-lock support with nptl
25020         This fixes build when _IO_funlockfile is a macro, fixes build where
25021         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25022         stack unwind.
25024         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25025         _IO_release_lock ): Use cleanup attribute on new
25026         _IO_acquire_lock_file variable instead of assuming that
25027         _IO_release_lock will be called.
25028         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25029         _IO_acquire_lock_needs_exceptions_enabled.
25030         (_IO_acquire_lock_clear_flags2): New macro.
25032 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25034         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25036 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25038         [BZ #19182]
25039         * malloc/arena.c (list_lock): Document lock ordering requirements.
25040         (free_list_lock): New lock.
25041         (ptmalloc_lock_all): Comment on free_list_lock.
25042         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25043         (detach_arena): Update comment.  free_list_lock is now needed.
25044         (_int_new_arena): Use free_list_lock around detach_arena call.
25045         Acquire arena lock after list_lock.  Add comment, including FIXME
25046         about incorrect synchronization.
25047         (get_free_list): Switch to free_list_lock.
25048         (reused_arena): Acquire free_list_lock around detach_arena call
25049         and attached threads counter update.  Add two FIXMEs about
25050         incorrect synchronization.
25051         (arena_thread_freeres): Switch to free_list_lock.
25052         * malloc/malloc.c (struct malloc_state): Update comments to
25053         mention free_list_lock.
25055 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25057         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25058         Remove functions.
25059         (sloww, sloww1): Accept argument to offset quadrant.
25060         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25061         quadrant.
25062         (__sin, __cos): Consolidate common code into new functions.
25063         (reduce_sincos_1, do_sincos_1): New functions.
25064         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25066         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25067         code to new functions.
25068         (reduce_sincos_2, do_sincos_2): New functions.
25069         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25072         common code for sincos.
25073         (__cos) [!IN_SINCOS]: Likewise.
25074         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25075         New function.
25076         (__sincos): Use it.
25078 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25080         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25081         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25082         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25084 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25086         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25087         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25088         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25089         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25090         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25091         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25092         index_Prefer_No_VZEROUPPER): New feature.
25093         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25094         Prefer_No_VZEROUPPER for Knights Landing.
25096 015-12-18  Torvald Riegel  <triegel@redhat.com>
25098         * math/atest-exp2.c (mp_exp_m1): Remove.
25100 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25102         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25103         syscalls.
25104         (__SYSCALL0): New macro.
25105         (__SYSCALL1): Likewise.
25106         (__SYSCALL2): Likewise.
25107         (__SYSCALL3): Likewise.
25108         (__SYSCALL4): Likewise.
25109         (__SYSCALL5): Likewise.
25110         (__SYSCALL6): Likewise.
25111         (__SYSCALL_CONCAT_X): Likewise.
25112         (__SYSCALL_CONCAT): Likewise.
25113         (__SYSCALL_DIST): Likewise.
25114         (__SYSCALL_CALL): Likewise.
25116 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25118         [BZ #19363]
25119         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25121 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25123         [BZ #19375]
25124         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25125         negative subnormals.
25127 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25130         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25131         (INTERNAL_SYSCALL_NCS): Use it.
25132         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25134 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25136         [BZ #19243]
25137         * malloc/arena.c (get_free_list): Remove assert and adjust
25138         reference count handling.  Add comment about reused_arena
25139         interaction.
25140         (reused_arena): Add comments abount get_free_list interaction.
25141         * malloc/tst-malloc-thread-exit.c: New file.
25142         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25143         (tst-malloc-thread-exit): Link against libpthread.
25145 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25147         [BZ #19367]
25148         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25149         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25150         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25151         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25152         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25154 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25156         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25157         Silvermont optimizations for Knights Landing.
25159 2015-12-15  Andreas Schwab  <schwab@suse.de>
25161         [BZ #17197]
25162         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25163         immediately after emitting SI.
25164         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25165         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25166         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25167         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25168         * iconvdata/bug-iconv10.c: New file.
25169         * iconvdata/Makefile (tests): Add bug-iconv10.
25170         ($(objpfx)bug-iconv10.out): New rule.
25172 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25174         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25175         aliasing violation.
25177 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25179         [BZ #18472]
25180         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25181         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25182         conditionals for them.
25183         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25184         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25186         sys/kdaemon.h.
25187         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25188         compat-only syscall, obsoleted in glibc 2.23.
25189         (create_module): Likewise.
25190         (get_kernel_syms): Likewise.
25191         (query_module): Likewise.
25192         (uselib): Likewise.
25193         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25195 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25197         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25198         <linux/version.h>.
25199         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25200         conditional code.
25201         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25202         and ioshift_name initialization.
25204 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25207         Fix indentation.
25209 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25211         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25213 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25215         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25217 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25218             Jakub Wilk  <jwilk@debian.org>
25220         [BZ #19347]
25221         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25222         to change the group of the device to the tty group.
25224 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25226         Split large string section; add truncation advice
25227         * manual/examples/strncat.c: Remove.
25228         This example was misleading, as the code would have undefined
25229         behavior if "hello" was longer than SIZE.  Anyway, the manual
25230         shouldn't encourage strncpy+strncat for this sort of thing.
25231         * manual/string.texi (Copying Strings and Arrays): Split into
25232         three sections Copying Strings and Arrays, Concatenating Strings,
25233         and Truncating Strings, as this section was way too long.  All
25234         cross-referenced changed.  Add advice about string-truncation
25235         functions.  Remove misleading strncat example.
25237 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25239         * manual/nss.texi (NSS Modules Interface): Document
25240         NSS_STATUS_NOTFOUND and SUCCESS.
25242 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25244         [BZ 18568]
25245         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25246         201505L, for Unicode 8.
25248 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25250         * locale/C-translit.h: Regenerate.
25252 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25254         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25255         and U+0153.
25257 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25259         [BZ #19351]
25260         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25261         expanding log(1+z), compare z rather than its square with epsilon
25262         to determine when to avoid evaluating the expansion.
25264         [BZ #19350]
25265         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25266         Increase overflow threshold.
25268         [BZ #19349]
25269         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25270         when small.
25272         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25273         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25274         New macro.
25275         [__LINUX_KERNEL_VERSION >= 0x040300]
25276         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25278         Likewise.
25279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25280         Likewise.
25281         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25282         Likewise.
25283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25284         Likewise.
25285         [__LINUX_KERNEL_VERSION >= 0x040300]
25286         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25287         [__LINUX_KERNEL_VERSION >= 0x040300]
25288         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25289         [__LINUX_KERNEL_VERSION >= 0x040300]
25290         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25291         [__LINUX_KERNEL_VERSION >= 0x040300]
25292         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25293         [__LINUX_KERNEL_VERSION >= 0x040300]
25294         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25296         Likewise.
25297         [__LINUX_KERNEL_VERSION >= 0x040300]
25298         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25299         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25300         Likewise.
25301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25302         Likewise.
25303         [__LINUX_KERNEL_VERSION >= 0x040300]
25304         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25306         Likewise.
25307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25308         Likewise.
25309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25311         Likewise.
25312         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25313         Likewise.
25314         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25315         Likewise.
25316         [__LINUX_KERNEL_VERSION >= 0x040300]
25317         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25319         Likewise.
25320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25321         Likewise.
25322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25323         Likewise.
25324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25325         Likewise.
25326         [__LINUX_KERNEL_VERSION >= 0x040300]
25327         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25328         [__LINUX_KERNEL_VERSION >= 0x040300]
25329         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25330         [__LINUX_KERNEL_VERSION >= 0x040300]
25331         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25332         [__LINUX_KERNEL_VERSION >= 0x040300]
25333         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25334         [__LINUX_KERNEL_VERSION >= 0x040300]
25335         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25337         Likewise.
25338         [__LINUX_KERNEL_VERSION >= 0x040300]
25339         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25341         Likewise.
25342         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25343         Likewise.
25344         [__LINUX_KERNEL_VERSION >= 0x040300]
25345         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25347         Likewise.
25348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25349         Likewise.
25350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25351         (__ASSUME_SOCKET_SYSCALL): Likewise.
25352         (__ASSUME_BIND_SYSCALL): Likewise.
25353         (__ASSUME_CONNECT_SYSCALL): Likewise.
25354         (__ASSUME_LISTEN_SYSCALL): Likewise.
25355         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25356         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25357         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25358         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25359         (__ASSUME_SEND_SYSCALL): Likewise.
25360         (__ASSUME_SENDTO_SYSCALL): Likewise.
25361         (__ASSUME_RECV_SYSCALL): Likewise.
25362         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25363         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25364         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25365         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25366         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25367         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25368         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25369         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25370         Likewise.
25371         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25372         Likewise.
25373         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25374         Likewise.
25375         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25376         Likewise.
25377         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25378         Likewise.
25379         [__LINUX_KERNEL_VERSION >= 0x020625]
25380         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25381         [__LINUX_KERNEL_VERSION >= 0x020625]
25382         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25383         [__LINUX_KERNEL_VERSION >= 0x020625]
25384         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25386         Likewise.
25387         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25388         Likewise.
25389         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25390         Likewise.
25391         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25392         Likewise.
25393         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25394         Likewise.
25395         [__LINUX_KERNEL_VERSION >= 0x020625]
25396         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25397         [__LINUX_KERNEL_VERSION >= 0x020625]
25398         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25399         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25400         Likewise.
25401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25402         Likewise.
25404 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25406         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25407         record the current if the current ABI and CPU support the FP64
25408         extension.
25409         (has-modd-spreg): Define to record the current if the current ABI and
25410         CPU support 32-bit floating point values in odd FPU registers.
25411         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25412         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25413         $(has-modd-spreg) equals yes.
25414         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25415         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25416         $(has-modd-spreg) equal yes.
25418 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25420         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25421         basename.
25423 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25425         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25426         (bench-string): ... here.
25427         (bench): Add bench-string.
25428         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25429         to *-benchset to reflect what they are.
25430         (benchset): Adjust.
25432         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25433         cos-inputs.
25435 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25437         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25438         __attribute__ ((__simd__)) for vector math function declarations.
25440 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25442         Fix typo in strncat, wcsncat manual entries
25443         * manual/string.texi (Copying and Concatenation): Fix typos in
25444         sample implementations of strncat and wcsncat, by having them use
25445         the old value of the destination length, not the new one.
25447 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25449         [BZ #16961]
25450         [BZ #16962]
25451         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25452         string on the stack for strtod.
25453         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25454         a string on the stack for strtof.
25455         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25456         constructing a string on the stack for strtold.
25457         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25458         __strtold_nan to GLIBC_PRIVATE.
25459         * math/test-nan-overflow.c: New file.
25460         * math/test-nan-payload.c: Likewise.
25461         * math/Makefile (tests): Add test-nan-overflow and
25462         test-nan-payload.
25464 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25466         Consistency about byte vs character in string.texi
25467         * manual/string.texi (String and Array Utilities):
25468         Distinguish more carefully among bytes, multibyte characters,
25469         and wide characters.  Use "byte" when talking about C 'char',
25470         to distinguish it more clearly from multibyte characters.
25471         Say "wide character" or "multibyte character" instead of
25472         "character", when a wide or multibyte character is intended.
25473         Similarly for "multibyte string" versus "string".
25474         Define these terms more carefully.
25476 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25478         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25479         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25480         Likewise.
25481         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25482         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25483         * sysdeps/sh/math_private.h: New file.
25484         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25485         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25486         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25487         long double function name.
25488         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25489         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25490         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25494         Remove __finitel, __isinfl, and __isnanl.
25495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25496         Likewise.
25497         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25499         Remove __finitel.
25500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25501         Likewise.
25502         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25504 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25506         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25507         installed libmvec_nonshared.a.
25509 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25511         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25512         (sysdep_routines): Likewise.
25513         (sysdep-rtld-routines): Likewise.
25514         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25515         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25516         * sysdeps/powerpc/Versions: Added new
25517         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25518         * sysdeps/powerpc/hwcapinfo.c: New file.
25519         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25520         and parse hwcap, hwcap2 and platform number information.
25521         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25522         to store HWCAP+HWCAP2 and platform number.
25523         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25524         for HWCAP+HWCAP2 and platform number in the TCB.
25525         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25526         the HWCAP, HWCAP2 and platform number in the TCB.
25527         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25528         (TLS_INIT_TP): Included calls to add the hwcap and
25529         at_platform values in the TCB in TP initialization.
25530         (TLS_DEFINE_INIT_TP): Likewise.
25531         (THREAD_GET_HWCAP): New macro.
25532         (THREAD_SET_HWCAP): Likewise.
25533         (THREAD_GET_AT_PLATFORM): Likewise.
25534         (THREAD_SET_AT_PLATFORM): Likewise.
25535         * sysdeps/powerpc/powerpc32/dl-machine.h:
25536         (dl_platform_init): New function that calls
25537         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25538         powerpc32.
25539         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25540         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25541         this functionality, static linking case.
25542         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25543         linking case.
25544         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25545         __parse_hwcap_and_convert_at_platform for the static linking case.
25546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25547         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25548         ABI list for GLIBC 2.23.
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25550         Likewise.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25552         Likewise.
25554 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
25556         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25557         * configure: Regenerate.
25558         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25559         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25561 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25563         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25564         * iconvdata/ibm933.c: Likewise.
25565         * iconvdata/ibm935.c: Likewise.
25566         * iconvdata/ibm937.c: Likewise.
25567         * iconvdata/ibm939.c: Likewise.
25569 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25571         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25572         pthread_join.
25573         * nptl/tst-cancel21.c (tf): Likewise.
25575 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25577         [BZ #19313]
25578         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25579         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25580         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25581         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25582         Likewise.
25583         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25584         Likewise.
25585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25586         Likewise.
25587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25588         Likewise.
25589         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25590         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25591         unsigned long int with __CPU_MASK_TYPE.
25593 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25595         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25597 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25600         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25601         t512.x.
25602         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25604 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25606         [BZ #19214]
25607         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25608         argument to return extended model.  Update family and model
25609         with extended family and model when family == 0x0f.
25610         (init_cpu_features): Updated.
25612 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25614         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25615         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25617         * sysdeps/mach/hurd/mmap64.c: New file.
25619 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25621         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25622         rights for its main user thread in NEWTASK.
25624 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25626         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25627         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25629 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25631         [BZ #14259]
25632         * Makeconfig: Rename localedir to complocaledir.
25633         Rename inst_localedir to inst_complocaledir.
25634         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25635         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25636         * configure.ac: Use libc_cv_complocaledir.
25637         * configure: Regenerate.
25638         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25639         -DCOMPLOCALEDIR.
25640         * locale/findlocale.c: Use COMPLOCALEDIR.
25641         * locale/loadarchive.c: Likewise.
25642         * locale/programs/locale.c: Likewise.
25643         * locale/programs/localedef.c: Likewise.
25644         * locale/programs/locarchive.c: Likewise.
25645         * localedata/Makefile: Use inst_complocaledir.
25646         * sysdeps/gnu/configure: Regenerate.
25647         * sysdeps/hppa/configure: Regenerate.
25648         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25649         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25651         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25652         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25653         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25654         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25656 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25658         [BZ #19058]
25659         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25660         AS_NEEDED.
25661         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25662         workaround.
25663         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25664         libmvec-static-only-routines): Added new file.
25665         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25667 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25669         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25670         of interrupted RPC instead of restoring it.
25672         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25673         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25674         libc_hidden_def.
25675         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25676         into initialized data instead of common. Define rtld_hidden_data_def.
25677         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25678         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25679         libc_hidden_def.
25680         (if_freenameindex): Add libc_hidden_weak.
25681         (if_nameindex): Add libc_hidden_weak.
25682         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25683         __open64.
25684         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25685         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25686         * sysdeps/mach/nanosleep.c: Include <time.h>
25687         (__nanosleep): Rename to __libc_nanosleep.
25688         (__nanosleep): Add weak_alias.
25689         (nanosleep): Update alias.
25691 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25693         * stdlib/strtod_nan.c: New file.
25694         * stdlib/strtod_nan_double.h: Likewise.
25695         * stdlib/strtod_nan_float.h: Likewise.
25696         * stdlib/strtod_nan_main.c: Likewise.
25697         * stdlib/strtod_nan_narrow.h: Likewise.
25698         * stdlib/strtod_nan_wide.h: Likewise.
25699         * stdlib/strtof_nan.c: Likewise.
25700         * stdlib/strtold_nan.c: Likewise.
25701         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25702         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25703         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25704         * wcsmbs/wcstod_nan.c: Likewise.
25705         * wcsmbs/wcstof_nan.c: Likewise.
25706         * wcsmbs/wcstold_nan.c: Likewise.
25707         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25708         strtold_nan.
25709         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25710         wcstof_nan.
25711         * include/stdlib.h (__strtof_nan): Declare and use
25712         libc_hidden_proto.
25713         (__strtod_nan): Likewise.
25714         (__strtold_nan): Likewise.
25715         (__wcstof_nan): Likewise.
25716         (__wcstod_nan): Likewise.
25717         (__wcstold_nan): Likewise.
25718         * include/wchar.h (____wcstoull_l_internal): Declare.
25719         * stdlib/strtod_l.c: Do not include <ieee754.h>.
25720         (____strtoull_l_internal): Remove declaration.
25721         (STRTOF_NAN): Define macro.
25722         (SET_MANTISSA): Remove macro.
25723         (STRTOULL): Likewise.
25724         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25725         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25726         (STRTOF_NAN): Define macro.
25727         (SET_MANTISSA): Remove macro.
25728         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25729         (SET_MANTISSA): Remove macro.
25730         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25731         macro.
25732         (SET_MANTISSA): Remove macro.
25733         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25734         macro.
25735         (SET_MANTISSA): Remove macro.
25736         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25737         (SET_MANTISSA): Remove macro.
25738         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25739         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25740         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25742         [BZ #19266]
25743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25744         upper case and lower case letters inside NAN(), not using TOLOWER.
25745         * stdlib/tst-strtod-nan-locale-main.c: New file.
25746         * stdlib/tst-strtod-nan-locale.c: Likewise.
25747         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25748         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25749         Depend on $(gen-locales).
25750         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25751         * wcsmbs/tst-wcstod-nan-locale.c: New file.
25752         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25753         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25754         Depend on $(gen-locales).
25755         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25757 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
25759         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25761         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25763         __finitel, __isinfl, and __isnanl.
25764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25765         Likewise.
25766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25768         __finitel.
25769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25770         Likewise.
25771         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25773 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25775         * malloc/memusage.c (me): Remove redundant getenv call.
25777 2015-10-24  Florian Weimer  <fweimer@redhat.com>
25779         [BZ #19143]
25780         [BZ #19164]
25781         * nptl/check-cpuset.h: Remove.
25782         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25783         Remove CPU set size check.
25784         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25785         Likewise.
25786         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25787         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25788         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25789         (__pthread_setaffinity_new): Remove CPU set size check.
25790         * sysdeps/unix/sysv/linux/sched_setaffinity.c
25791         (__kernel_cpumask_size): Remove.
25792         (__sched_setaffinity_new): Remove CPU set size check.
25793         * manual/threads.texi (Default Thread Attributes): Remove stale
25794         reference to check_cpuset_attr, determine_cpumask_size in comment.
25795         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25796         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
25797         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25798         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25799         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25800         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25801         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25802         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25803         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25804         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25805         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25806         skeleton test file.
25807         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
25808         tst-affinity-pid.
25810 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25812         * scripts/update-abilist.sh: New file.
25813         * Makefile (+subdir_targets): Add subdir_update-all-abi.
25814         * Makerules (update-all-abi-%, update-all-abi)
25815         (subdir_update-all-abi): New targets.
25816         * elf/Makefile (update-all-abi): New target.
25818 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25820         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25821         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25822         (__libc_lock_define_initialized): Use it.
25823         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25824         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25825         * malloc/malloc.c (main_arena): Likewise.
25826         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25827         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25829 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
25831         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25832         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25833         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25834         (PTRACE_O_MASK): Update value.
25835         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25836         New value in enum __ptrace_setoptions.
25837         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25838         (PTRACE_O_MASK): Update value.
25839         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25840         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25841         (PTRACE_O_MASK): Update value.
25842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25843         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25844         (PTRACE_O_MASK): Update value.
25845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25846         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25847         (PTRACE_O_MASK): Update value.
25848         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25849         New value in enum __ptrace_setoptions.
25850         (PTRACE_O_MASK): Update value.
25851         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25852         New value in enum __ptrace_setoptions.
25853         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25854         (PTRACE_O_MASK): Update value.
25856         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25857         New macro.
25858         (PACKET_AUXDATA): Likewise.
25859         (PACKET_ORIGDEV): Likewise.
25860         (PACKET_VERSION): Likewise.
25861         (PACKET_HDRLEN): Likewise.
25862         (PACKET_RESERVE): Likewise.
25863         (PACKET_TX_RING): Likewise.
25864         (PACKET_LOSS): Likewise.
25865         (PACKET_VNET_HDR): Likewise.
25866         (PACKET_TX_TIMESTAMP): Likewise.
25867         (PACKET_TIMESTAMP): Likewise.
25868         (PACKET_FANOUT): Likewise.
25869         (PACKET_TX_HAS_OFF): Likewise.
25870         (PACKET_QDISC_BYPASS): Likewise.
25871         (PACKET_ROLLOVER_STATS): Likewise.
25872         (PACKET_FANOUT_DATA): Likewise.
25873         (PACKET_MR_UNICAST): Likewise.
25875         [BZ #19242]
25876         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25877         (TOUPPER): Likewise.
25878         * stdlib/tst-strtol-locale-main.c: New file.
25879         * stdlib/tst-strtol-locale.c: Likewise.
25880         * stdlib/Makefile (tests): Add tst-strtol-locale.
25881         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25882         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25883         Depend on $(gen-locales).
25884         * wcsmbs/tst-wcstol-locale.c: New file.
25885         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25886         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25887         tr_TR.ISO-8859-9.
25888         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25889         Depend on $(gen-locales).
25891 2015-11-20  Roland McGrath  <roland@hack.frob.com>
25893         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25894         __glibc_likely instead of __builtin_expect.  After falling back to
25895         dyncode_create in a non-ET_DYN case, use the allocate_code_data
25896         system interface to register the code pages as occupied.
25898 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
25900         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25901         [!ARM_MATH_PRIVATE_H].
25902         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25903         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25904         [!HPPA_MATH_PRIVATE_H].
25905         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25906         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25907         to [!I386_MATH_PRIVATE_H].
25908         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25909         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25910         Change guard to [!M68K_MATH_PRIVATE_H].
25911         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25912         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25913         guard to [!MICROBLAZE_MATH_PRIVATE_H].
25914         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25915         macro.
25916         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25917         [!MIPS_MATH_PRIVATE_H].
25918         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25919         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25920         [!NIO2_MATH_PRIVATE_H].
25921         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25922         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25923         [!TILE_MATH_PRIVATE_H].
25924         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25926         [BZ #15421]
25927         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25928         initialize with 0 and define as weak alias of __signgam.
25929         * include/math.h [!_ISOMAC] (__signgam): Declare.
25930         * math/Makefile (libm-calls): Add w_lgamma_compat.
25931         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25932         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25933         test-signgam-ullong-init.
25934         (tests-static): Add test-signgam-uchar-static,
25935         test-signgam-uchar-init-static, test-signgam-uint-static,
25936         test-signgam-uint-init-static, test-signgam-ullong-static and
25937         test-signgam-ullong-init-static.
25938         (CFLAGS-test-signgam-uchar.c): New variable.
25939         (CFLAGS-test-signgam-uchar-init.c): Likewise.
25940         (CFLAGS-test-signgam-uchar-static.c): Likewise.
25941         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25942         (CFLAGS-test-signgam-uint.c): Likewise.
25943         (CFLAGS-test-signgam-uint-init.c): Likewise.
25944         (CFLAGS-test-signgam-uint-static.c): Likewise.
25945         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25946         (CFLAGS-test-signgam-ullong.c): Likewise.
25947         (CFLAGS-test-signgam-ullong-init.c): Likewise.
25948         (CFLAGS-test-signgam-ullong-static.c): Likewise.
25949         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25950         * math/Versions (libm): Add GLIBC_2.23.
25951         * math/lgamma-compat.h: New file.
25952         * math/test-signgam-main.c: Likewise.
25953         * math/test-signgam-uchar-init-static.c: Likewise.
25954         * math/test-signgam-uchar-init.c: Likewise.
25955         * math/test-signgam-uchar-static.c: Likewise.
25956         * math/test-signgam-uchar.c: Likewise.
25957         * math/test-signgam-uint-init-static.c: Likewise.
25958         * math/test-signgam-uint-init.c: Likewise.
25959         * math/test-signgam-uint-static.c: Likewise.
25960         * math/test-signgam-uint.c: Likewise.
25961         * math/test-signgam-ullong-init-static.c: Likewise.
25962         * math/test-signgam-ullong-init.c: Likewise.
25963         * math/test-signgam-ullong-static.c: Likewise.
25964         * math/test-signgam-ullong.c: Likewise.
25965         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25966         wrapper of w_lgamma_main.c.
25967         * math/w_lgamma_compat.c: New file.
25968         * math/w_lgamma_compatf.c: Likewise.
25969         * math/w_lgamma_compatl.c: Likewise.
25970         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
25971         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25972         defining compatibility symbols.
25973         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
25974         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25975         wrapper of w_lgammaf_main.c.
25976         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
25977         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25978         defining compatibility symbols.
25979         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
25980         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25981         wrapper of w_lgammal_main.c.
25982         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
25983         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25984         defining compatibility symbols.
25985         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
25986         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25987         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25988         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
25989         <lgamma-compat.h>.
25990         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
25991         (__ieee754_gamma): Define as alias.
25992         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25993         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
25994         <lgamma-compat.h>.
25995         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
25996         (__ieee754_gammaf): Define as alias.
25997         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25998         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
25999         <lgamma-compat.h>.
26000         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26001         (__ieee754_gammal): Define as alias.
26002         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26003         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26004         <math/w_lgamma_compat.c>.
26005         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26006         Define as alias of __lgamma_compat and use in defining lgammal.
26007         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26008         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26009         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26010         (USE_AS_COMPAT): New macro.
26011         (LGAMMA_OLD_VER): Undefine and redefine.
26012         (lgammal): Do not define here.
26013         (gammal): Only define here if [GAMMA_ALIAS].
26014         * conform/linknamespace.pl (@whitelist): Remove signgam.
26015         * sysdeps/nacl/libm.abilist: Update.
26016         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26018         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26019         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26020         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26021         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26022         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26023         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26025         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26026         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26027         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26029         Likewise.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26031         Likewise.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26033         Likewise.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26035         Likewise.
26036         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26037         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26038         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26039         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26040         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26042         Likewise.
26043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26044         Likewise.
26045         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26046         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26047         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26049 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26051         [BZ #16364]
26052         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26053         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26055 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26057         * sysdeps/s390/fpu/bits/mathinline.h:
26058         Use __asm__ [__volatile__] instead of asm [volatile].
26059         * sysdeps/s390/abort-instr.h: Likewise.
26060         * sysdeps/s390/atomic-machine.h: Likewise.
26061         * sysdeps/s390/bits/string.h: Likewise.
26062         * sysdeps/s390/dl-tls.h: Likewise.
26063         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26064         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26065         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26066         * sysdeps/s390/fpu/fesetround.c: Likewise.
26067         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26068         * sysdeps/s390/fpu/s_fma.c: Likewise.
26069         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26070         * sysdeps/s390/memusage.h: Likewise.
26071         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26072         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26073         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26074         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26075         * sysdeps/s390/nptl/tls.h: Likewise.
26076         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26077         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26078         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26079         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26080         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26081         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26082         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26083         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26084         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26085         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26086         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26087         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26088         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26089         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26090         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26091         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26092         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26093         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26094         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26096         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26098         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26100 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26101             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26103         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26104         Add lwarx hint, and use macro for acquire instruction.
26105         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26106         Likewise.
26107         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26108         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26109         update to use new atomic macros.
26111 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26113         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26114         (__lll_trylock_elision): Fix setting of adapt_count.
26115         * sysdeps/unix/sysv/linux/powerpc/htm.h
26116         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26117         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26118         (_ABORT_SYSCALL): Renumber, and clarify definition.
26119         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26121 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26123         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26124         after system headers to prevent MIN/MAX redefinition.  Define
26125         HAVE_ALLOCA to preserve builtin alloca usage.
26127 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26130         static and don't set or restore rounding.
26131         (__cos)[IN_SINCOS]: Likewise.
26132         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26133         (__sincos): Set and restore rounding mode.  Remove check for infinite
26134         or NaN input.
26136         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26138         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26139         as used.
26141 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26143         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26145 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26147         * config.make.in (have-glob-dat-reloc): New.
26148         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26149         target supports GLOB_DAT relocaton. AC_SUBST.
26150         * configure: Regenerated.
26151         * elf/Makefile (tests): Add tst-prelink.
26152         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26153         (tst-prelink-ENV): New.
26154         ($(objpfx)tst-prelink-conflict.out): Likewise.
26155         ($(objpfx)tst-prelink-cmp.out): Likewise.
26156         * sysdeps/x86/tst-prelink.c: Moved to ...
26157         * elf/tst-prelink.c: Here.
26158         * sysdeps/x86/tst-prelink.exp: Moved to ...
26159         * elf/tst-prelink.exp: Here.
26160         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26161         (tst-prelink-ENV): Removed.
26162         ($(objpfx)tst-prelink-conflict.out): Likewise.
26163         ($(objpfx)tst-prelink-cmp.out): Likewise.
26164         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26166 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26168         [BZ #14551]
26169         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26170         (__mpn_construct_long_double): If high part overflows to infinity,
26171         set errno and recompute overflowed result of the correct sign.
26172         * sysdeps/ieee754/ldbl-128ibm/Makefile
26173         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26174         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26175         $(libm).
26176         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26178 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26180         [BZ #15479]
26181         [BZ #19238]
26182         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26183         floating-point state after first operation on input.  Restore full
26184         state rather than just rounding mode.
26185         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26186         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26187         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26189         [BZ #19235]
26190         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26191         add 0.5 to integer arguments.
26192         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26193         Likewise.
26194         (.LC2): New object.
26196 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26198         * scripts/pylintrc (reports): Set to no.
26200 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26202         * elf/dl-load.c (open_verify): Take new argument FD.
26203         Skip __open call if passed FD is not -1.
26204         (_dl_map_object, open_path): Update callers.
26205         * elf/dl-sysdep-open.h: New file.
26206         * elf/dl-load.c: Include it.
26207         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26208         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26209         * sysdeps/nacl/dl-sysdep-open.h: New file.
26210         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26211         from libc to rtld.
26213 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26215         [BZ #19228]
26216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26217         and restore full floating-point state.
26218         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26219         Likewise.
26220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26221         Likewise.
26222         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26223         Likewise.
26224         * math/test-nearbyint-except-2.c: New file.
26225         * math/Makefile (tests): Add test-nearbyint-except-2.
26227 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26229         [BZ #19178]
26230         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26231         (tst-prelink-ENV): New.
26232         ($(objpfx)tst-prelink-conflict.out): Likewise.
26233         ($(objpfx)tst-prelink-cmp.out): Likewise.
26234         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26235         * sysdeps/x86/tst-prelink.c: New file.
26236         * sysdeps/x86/tst-prelink.exp: Likewise.
26238 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26240         * math/auto-libm-test-in: Add another test of pow.
26241         * math/auto-libm-test-out: Regenerated.
26242         * math/libm-test.inc (pow_test_data): Add another test.
26244 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26246         [BZ #19219]
26247         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26248         weak_alias to nearbyintl.
26250 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26252         * sysdeps/aarch64/bits/string.h: New file.
26253         (_STRING_ARCH_unaligned): Define.
26255 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26257         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26258         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26259         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26260         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26263 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26265         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26266         for original name of the DSO.  Add it to the name list of the DSO
26267         if it is actually given.
26268         (_dl_map_object): Keep track of whether an audit module rewrote
26269         the file name.  If yes, pass the original name to
26270         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26271         debugging is enabled, log the change of the file name.
26272         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26273         _dl_map_object_from_fd.
26274         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26275         * elf/tst-audit11.c: New file
26276         * elf/tst-auditmod11.c: New file.
26277         * elf/tst-audit11mod1.c: New file.
26278         * elf/tst-audit11mod2.c: New file.
26279         * elf/tst-audit11mod2.map: New file.
26280         * elf/tst-audit12.c: New file
26281         * elf/tst-auditmod12.c: New file.
26282         * elf/tst-audit12mod1.c: New file.
26283         * elf/tst-audit12mod2.c: New file.
26284         * elf/tst-audit12mod2.map: New file.
26285         * elf/tst-audit12mod3.c: New file.
26287 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26289         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26290         Don't create weak aliases,
26291         because versioned symbols are created later.
26292         * sysdeps/s390/s390-32/setjmp.S
26293         (setjmp, _setjmp): Remove weak and rename to an unique name
26294         in SHARED case due to existing versioned symbols.
26295         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26296         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26297         (getcontext): Create weak alias only in non SHARED case.
26298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26300 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26302         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26303         (__ASSUME_*_SYSCALL) Define new macros.
26304         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26305         Remove socketcall syscalls.
26306         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26307         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26308         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26309         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26310         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26311         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26313 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26315         [BZ #12926]
26316         Terminate process on invalid netlink response.
26317         * sysdeps/unix/sysv/linux/netlinkaccess.h
26318         (__netlink_assert_response): Declare.
26319         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26320         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26321         (sysdep_routines): Add netlink_assert_response.
26322         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26323         __netlink_assert_response.
26324         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26325         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26326         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26327         __netlink_assert_response.
26329 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26331         [BZ #19178]
26332         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26333         (RTYPE_CLASS_PLT): Likewise.
26334         (RTYPE_CLASS_COPY): Likewise.
26335         (RTYPE_CLASS_TLS): Likewise.
26336         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26337         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26338         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26339         DL_DEBUG_PRELINK.
26341 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26343         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26344         calls with argument -0.5.
26345         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26347         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26348         (libc_cv_z_nodlopen): Likewise.
26349         (libc_cv_z_initfirst): Likewise.
26350         * configure: Regenerated.
26352 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26354         Simplify abilist format to be line-based.
26355         * scripts/abilist.awk: Collect descriptors in the descs variable.
26356         (emit): Write descs variable and sort it
26357         externally, with sort.
26358         * sysdeps/**/*.abilist: Convert to new format.
26360 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26362         [BZ #11460]
26363         * io/Makefile (routines): Add fts64.
26364         (tests): Add tst-fts and tst-fts-lfs.
26365         (CFLAGS-fts64.c): New.
26366         * io/Versions (GLIBC_2.23): New.
26367         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26368         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26369         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26370         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26371         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26372         (FTSENT64): Likewise.
26373         (fts64_children): Likewise.
26374         (fts64_close): Likewise.
26375         (fts64_open): Likewise.
26376         (fts64_read): Likewise.
26377         (fts64_set): Likewise.
26378         * io/fts64.c: New file.
26379         * io/tst-fts.c: New test.
26380         * io/tst-fts-lfs.c: Likewise.
26381         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26382         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26383         fts64_set.
26384         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26385         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26386         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26387         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26388         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26389         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26390         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26391         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26392         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26393         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26394         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26395         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26396         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26398         Likewise.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26400         Likewise.
26401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26403         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26404         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26405         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26406         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26410         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26411         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26412         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26413         * sysdeps/wordsize-64/fts.c: New file.
26414         * sysdeps/wordsize-64/fts64.c: Likewise.
26415         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26416         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26417         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26418         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26420 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26422         * math/libm-test.inc (NON_FINITE): New macro.
26423         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26424         * math/gen-libm-test.pl (show_exceptions): Add argument
26425         $non_finite.
26426         (parse_args): Update call to show_exceptions.
26427         * math/test-math-finite.h: New file.
26428         * math/test-math-no-finite.h: Likewise.
26429         * math/test-double-finite.c: Likewise.
26430         * math/test-float-finite.c: Likewise.
26431         * math/test-ldouble-finite.c: Likewise.
26432         * math/test-double.c: Include "test-math-no-finite.h".
26433         * math/test-float.c: Include "test-math-no-finite.h".
26434         * math/test-ldouble.c: Include "test-math-no-finite.h".
26435         * math/test-math-inline.h (TEST_FINITE): New macro.
26436         * math/test-math-vector.h (TEST_FINITE): Likewise.
26437         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26438         (libm-tests): Add test-float-finite and test-double-finite.
26439         ($(objpfx)test-float-finite.o): New dependency on
26440         $(objpfx)libm-test.stmp.
26441         ($(objpfx)test-double-finite.o): Likewise.
26442         ($(objpfx)test-ldouble-finite.o): Likewise.
26443         (libm-test-no-inline-cflags): New variable.
26444         (libm-test-finite-cflags): Likewise.
26445         (CFLAGS-test-float-finite.c): Likewise.
26446         (CFLAGS-test-double-finite.c): Likewise.
26447         (CFLAGS-test-ldouble-finite.c): Likewise.
26448         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26449         (CFLAGS-test-double.c): Likewise.
26450         (CFLAGS-test-ldouble.c): Likewise.
26452 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26454         * io/fcntl.c (__fcntl): Add ... to prototype.
26455         * misc/ioctl.c (__ioctl): Likewise.
26456         * misc/syscall.c (syscall): Likewise.
26458 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26460         * scripts/list-fixed-bugs.py: New file.
26462         [BZ #19213]
26463         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26464         returned for argument 1.
26465         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26466         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26467         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26468         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26469         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26470         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26472         [BZ #19211]
26473         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26474         __USE_XOPEN], not if [!__USE_ISOC99].
26475         (lgammaf): Likewise.
26476         (lgammal): Likewise.
26477         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26478         (gammaf): Likewise.
26479         (gammal): Likewise.
26480         * math/test-signgam-finite-c11.c: New file.
26481         * math/test-signgam-finite-c99.c: Likewise.
26482         * math/test-signgam-finite.c: Likewise.
26483         * math/Makefile (tests): Add test-signgam-finite,
26484         test-signgam-finite-c99 and test-signgam-finite-c11.
26485         (CFLAGS-test-signgam-finite.c): New variable.
26486         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26487         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26489         [BZ #19212]
26490         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26491         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26492         500].
26493         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26494         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26495         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26496         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26497         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26498         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26499         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26500         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26501         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26502         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26504         [BZ #19209]
26505         * math/bits/math-finite.h (ldexp): Remove declaration.
26506         (ldexpf): Likewise.
26507         (ldexpl): Likewise.
26509         [BZ #19205]
26510         * math/bits/math-finite.h (acosf): Condition declaration on
26511         [__USE_ISOC99].
26512         (acosl): Likewise.
26513         (acoshf): Likewise.
26514         (acoshl): Likewise.
26515         (asinf): Likewise.
26516         (asinl): Likewise.
26517         (atan2f): Likewise.
26518         (atan2l): Likewise.
26519         (atanhf): Likewise.
26520         (atanhl): Likewise.
26521         (coshf): Likewise.
26522         (coshl): Likewise.
26523         (expf): Likewise.
26524         (expl): Likewise.
26525         (fmodf): Likewise.
26526         (fmodl): Likewise.
26527         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26528         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26529         (j0l): Likewise.
26530         (y0f): Likewise.
26531         (y0l): Likewise.
26532         (j1f): Likewise.
26533         (j1l): Likewise.
26534         (y1f): Likewise.
26535         (y1l): Likewise.
26536         (jnf): Likewise.
26537         (jnl): Likewise.
26538         (ynf): Likewise.
26539         (ynl): Likewise.
26540         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26541         (lgammal_r): Likewise.
26542         (__lgamma_r_finite): New declaration.
26543         (__lgammaf_r_finite): Likewise.
26544         (__lgammal_r_finite): Likewise.
26545         (lgamma): Use __lgamma_r_finite.
26546         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26547         __lgammaf_r_finite.
26548         (lgammal): Condition definition on [__USE_ISOC99].  Use
26549         __lgammal_r_finite.
26550         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26551         __lgamma_r_finite.
26552         (gammaf): Condition definition on [__USE_ISOC99].  Use
26553         __lgammaf_r_finite.
26554         (gammal): Condition definition on [__USE_ISOC99].  Use
26555         __lgammal_r_finite.
26556         (logf): Condition declaration on [__USE_ISOC99].
26557         (logl): Likewise.
26558         (log10f): Likewise.
26559         (log10l): Likewise.
26560         (ldexpf): Likewise.
26561         (ldexpl): Likewise.
26562         (powf): Likewise.
26563         (powl): Likewise.
26564         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26565         __USE_ISOC99].
26566         (remainderf): Condition declaration on [__USE_ISOC99].
26567         (remainderl): Likewise.
26568         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26569         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26570         (scalbl): Likewise.
26571         (sinhf): Condition declaration on [__USE_ISOC99].
26572         (sinhl): Likewise.
26573         (sqrtf): Likewise.
26574         (sqrtl): Likewise.
26576 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26578         * sysdeps/arm/atomic-machine.h
26579         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26580         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26581         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26582         Remove conditional code.
26583         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26584         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26585         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26586         Change conditional to [__ASSEMBLER__].
26587         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26588         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26589         [!__ASSEMBLER__].
26590         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26591         code.
26592         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26593         conditional macro definitions.
26594         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26595         (__arch_compare_and_exchange_val_16_acq): Likewise.
26596         (__arch_compare_and_exchange_val_32_acq): Likewise.
26597         (atomic_exchange_and_add): Likewise.
26598         (atomic_add): Likewise.
26599         (atomic_add_negative): Likewise.
26600         (atomic_add_zero): Likewise.
26601         (atomic_bit_set): Likewise.
26602         (atomic_bit_test_set): Likewise.
26603         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26604         code unconditional.
26605         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26607         * math/test-math-errno.h: New file.
26608         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26609         empty.
26610         (TEST_ERRNO): New macro.
26611         (TEST_EXCEPTIONS): Likewise.
26612         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26613         (TEST_EXCEPTIONS): Likewise.
26614         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26615         * math/test-double.c: Include "test-math-errno.h".
26616         * math/test-float.c: Likewise.
26617         * math/test-ldouble.c: Likewise.
26618         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26619         code unconditional.
26620         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26621         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26622         unconditional.
26623         (test_errno): Only run code if TEST_ERRNO.
26624         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26626 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26628         * nptl/tst-once5.cc: Remove attribution.
26630 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26632         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26633         sqrt, tan, tanh, y0, y1 and yn.
26634         * math/auto-libm-test-out: Regenerated.
26635         * math/libm-test.inc (scalb_test_data): Add more tests.
26636         (scalbn_test_data): Likewise.
26637         (scalbln_test_data): Likewise.
26638         (signbit_test_data): Likewise.
26639         (sin_test_data): Likewise.
26640         (sincos_test_data): Likewise.
26641         (sinh_test_data): Likewise.
26642         (sqrt_test_data): Likewise.
26643         (tan_test_data): Likewise.
26644         (tanh_test_data): Likewise.
26645         (tgamma_test_data): Likewise.
26646         (y0_test_data): Likewise.
26647         (y1_test_data): Likewise.
26648         (yn_test_data): Likewise.
26649         (significand_test_data): Likewise.
26650         * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 2015-11-03  David Kastrup  <dak@gnu.org>
26654         [BZ #18604]
26655         * assert/assert.h (assert): Don't macro-expand failed assertion
26656         expression in error message.
26657         * malloc/malloc.c (assert): Likewise.
26659 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26661         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26662         test.
26663         * configure: Regenerated.
26665 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26667         * math/libm-test.inc (modf_test_data): Add more tests.
26668         (nearbyint_test_data): Likewise.
26669         (nextafter_test_data): Likewise.
26670         (nexttoward_test_data): Likewise.
26671         (pow_test_data): Likewise.
26672         (remainder_test_data): Likewise.
26673         (remquo_test_data): Likewise.
26674         (rint_test_data): Likewise.
26676         [BZ #19201]
26677         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26678         Check for zero remainder in case of large exponents and ensure
26679         correct sign of result in that case.
26680         * math/libm-test.inc (remainder_test_data): Add more tests.
26682         [BZ #6799]
26683         * math/s_nextafter.c: Include <errno.h>.
26684         (__nextafter): Set errno on overflow and underflow.
26685         * math/s_nexttowardf.c: Include <errno.h>.
26686         (__nexttowardf): Set errno on overflow and underflow.
26687         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26688         (__nextafterl): Set errno on overflow and underflow.
26689         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26690         (__nexttoward): Set errno on overflow and underflow.
26691         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26692         (__nexttowardf): Set errno on overflow and underflow.
26693         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26694         (__nextafterf): Set errno on overflow and underflow.
26695         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26696         (__nextafterl): Set errno on overflow and underflow.
26697         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26698         (__nexttoward): Set errno on overflow and underflow.
26699         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26700         (__nexttowardf): Set errno on overflow and underflow.
26701         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26702         (__nextafterl): Set errno on overflow and underflow.
26703         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26704         (__nexttoward): Set errno on overflow and underflow.
26705         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26706         (__nexttowardf): Set errno on overflow and underflow.
26707         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26708         (__nexttoward): Set errno on overflow and underflow.
26709         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26710         (__nexttowardf): Set errno on overflow and underflow.
26711         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26712         (__nldbl_nexttowardf): Set errno on overflow and underflow.
26713         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26714         (__nextafterl): Set errno on overflow and underflow.
26715         * math/libm-test.inc (nextafter_test_data): Do not allow errno
26716         setting to be missing on overflow.  Add more tests.
26717         (nexttoward_test_data): Likewise.
26719         * configure.ac (libc_cv_initfini_array): Remove configure test.
26720         * configure: Regenerated.
26722 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
26724         [BZ #19189]
26725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26726         non-finite argument handle arguments with negative sign.
26728         * math/libm-test.inc (j0_test_data): Do not test sign of zero
26729         result from infinite argument.
26730         (j1_test_data): Likewise.
26731         (jn_test_data): Likewise.
26732         (y0_test_data): Likewise.
26733         (y1_test_data): Likewise.
26734         (yn_test_data): Likewise.
26736         [BZ #16171]
26737         * math/w_remainder.c (drem): Define as weak alias of __remainder.
26738         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26739         * math/w_remainderf.c (dremf): Define as weak alias of
26740         __remainderf.
26741         * math/w_remainderl.c (dreml): Define as weak alias of
26742         __remainderl.
26743         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26744         __remainder.
26745         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26746         __remainderf.
26747         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26748         __remainderl.
26749         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26750         weak alias of remainderl.
26751         * sysdeps/ieee754/ldbl-opt/w_remainder.c
26752         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26753         alias of __remainder.
26754         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26755         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26756         strong alias of __remainderl.
26757         (dreml): Use long_double_symbol.
26758         * math/Makefile (libm-calls): Remove w_drem.
26759         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26760         (CFLAGS-nldbl-drem.c): Remove variable.
26761         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26762         * math/w_drem.c: Remove file.
26763         * math/w_dremf.c: Likewise.
26764         * math/w_dreml.c: Likewise.
26765         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26766         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26767         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26769         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26770         * sysdeps/i386/configure: Regenerated.
26771         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26772         * sysdeps/x86_64/configure: Regenerated.
26774         * configure.ac (libc_cv_asm_protected_directive): Remove configure
26775         test.
26776         (libc_cv_visibility_attribute): Likewise.
26777         (libc_cv_protected_data): Test unconditionally.
26778         (libc_cv_broken_visibility_attribute): Remove configure test.
26779         (libc_cv_have_sdata_section): Test unconditionally.
26780         * configure: Regenerated.
26782         * include/libc-internal.h (libc_max_align_t): Remove typedef.
26783         * include/scratch_buffer.h: Include <stddef.h> instead of
26784         <libc-internal.h>.
26785         (struct scratch_buffer): Use max_align_t instead of
26786         libc_max_align_t.
26788 2015-10-29  Florian Weimer  <fweimer@redhat.com>
26790         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26791         instead of extend_alloca.  Change control flow to avoid a goto.
26792         Remove assert which is trivially always true.
26794 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26796         [BZ #16068]
26797         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26798         (FE_ALL_EXCEPT_X86): New macro.
26799         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26800         FE_ALL_EXCEPT.  Ensure precision control is included in
26801         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26802         handle "denormal operand exception" and clear FZ and DAZ bits.
26803         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26804         (FE_ALL_EXCEPT_X86): New macro.
26805         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26806         FE_ALL_EXCEPT.  Ensure precision control is included in
26807         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26808         handle "denormal operand exception" and clear FZ and DAZ bits.
26809         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26810         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26811         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26812         test-fenv-x87 and test-fenv-sse-2.
26813         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26815         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26816         * math/test-double.h (BUILD_COMPLEX): New macro.
26817         * math/test-float.h (BUILD_COMPLEX): Likewise.
26818         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26820         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26821         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26822         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26824         instead of DBL_DENORM_MIN in comment.
26825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26826         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26827         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26828         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26830         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26832 2015-10-28  Florian Weimer  <fweimer@redhat.com>
26834         [BZ #19048]
26835         * malloc/malloc.c (struct malloc_state): Update comment.  Add
26836         attached_threads member.
26837         (main_arena): Initialize attached_threads.
26838         * malloc/arena.c (list_lock): Update comment.
26839         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26840         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26841         (deattach_arena): New function.
26842         (_int_new_arena): Initialize arena reference count and deattach
26843         replaced arena.
26844         (get_free_list, reused_arena): Update reference count and deattach
26845         replaced arena.
26846         (arena_thread_freeres): Update arena reference count and only put
26847         unreferenced arenas on the free list.
26849 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #19181]
26852         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26853         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26854         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26855         * math/test-fenv-clear-main.c: New file.
26856         * math/test-fenv-clear.c: Likewise.
26857         * math/Makefile (tests): Add test-fenv-clear.
26858         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26860         test-fenv-clear-sse.
26861         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26863         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26864         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26865         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26867 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26869         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26870         static libc.
26872 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26874         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26875         test.
26876         * sysdeps/i386/configure: Regenerated.
26877         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26878         test.
26879         * sysdeps/x86_64/configure: Regenerated.
26880         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26882         memset-avx2 unconditionally instead of conditionally on
26883         [$(config-cflags-avx2) = yes].
26884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26885         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26886         unconditional.
26887         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26888         * sysdeps/x86_64/multiarch/memset_chk.S
26889         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26890         to [IS_IN (libc) && SHARED].
26892 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26894         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26895         configure test.
26896         * sysdeps/arm/configure: Regenerated.
26897         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26898         Define variable if not already defined.
26900         [BZ #17404]
26901         * sysdeps/mips/atomic-machine.h
26902         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26903         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26904         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26906         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26907         unconditional.
26908         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26909         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26910         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26911         unconditional.
26912         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26913         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26914         unconditional.
26915         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26916         * stdlib/setenv.c
26917         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26918         code unconditional.
26919         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26920         Remove conditional code.
26921         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26922         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26923         unconditional.
26924         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26925         code.
26926         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26927         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26928         unconditional.
26929         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26930         code.
26931         * sysdeps/ieee754/ldbl-128/k_tanl.c
26932         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26933         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26934         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26935         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26936         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26937         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26938         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26939         unconditional.
26940         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26941         code.
26942         * sysdeps/ieee754/ldbl-96/k_tanl.c
26943         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26944         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26946         * nptl/tst-initializers1-c11.c: New file.
26947         * nptl/tst-initializers1-gnu11.c: Likewise.
26948         * nptl/Makefile (tests): Add these new tests.
26949         (CFLAGS-tst-initializers1-c11.c): New variable.
26950         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26952         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26953         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26954         instead of -std=gnu99.
26955         * configure.ac (systemtap): Test with -std=gnu11 instead of
26956         -std=gnu99.
26957         * configure: Regenerated.
26958         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26959         in compilation command in comment.
26961         * sysdeps/nptl/configure.ac: Remove file.
26962         * sysdeps/nptl/configure: Remove generated file.
26963         * configure.ac (libc_cv_forced_unwind): Do not substitute.
26964         * configure: Regenerated.
26965         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26966         * config.make.in (have-forced-unwind): Remove variable.
26967         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26968         unconditional.
26969         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26970         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26971         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26972         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26973         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26974         unconditional.
26976 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26978         [BZ #19174]
26979         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26980         .skip_lock_out_of_tbegin_retries.
26981         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26982         (__lll_lock_elision): Likewise, and respect a value of
26983         try_tbegin <= 0.
26985 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26987         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26988         statement.
26990 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26992         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26993         variable.
26994         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26995         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26997         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26998         of -std=c1x -D_ISOC11_SOURCE.
27000         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27001         * configure: Regenerated.
27002         * manual/install.texi (Tools for Compilation): Document
27003         requirement for GCC 4.7 or later.
27004         * INSTALL: Regenerated.
27006 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
27008         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27009         on CNT to a conditional jump to 'puntdata'.
27011 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27013         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27014         (libc_cv_gcc_tls_model_attr): Likewise.
27015         * configure: Regenerated.
27017         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27018         * configure: Regenerated.
27019         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27021 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27023         * configure.ac (old_glibc_headers): Remove configure test.
27024         * configure: Regenerated.
27025         * config.make.in (old-glibc-headers): Remove variable.
27026         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27027         (install): Remove dependency on remove-old-headers.
27028         (headers2_0): Remove variable.
27029         (remove-old-headers): Remove rule.
27031         * configure.ac (libc_cv_dot_text): Remove configure test.
27032         (libc_cv_asm_set_directive): Use .text instead of
27033         ${libc_cv_dot_text} in configure test.
27034         * configure: Regenerated.
27036 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27038         [BZ #19168]
27039         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27041 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27043         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27044         not support static linking.
27045         * configure: Regenerate.
27047 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27049         * math/libm-test.inc (check_float_internal): Do not special-case
27050         errors up to 0.5 ulp.
27052         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27053         log2.
27054         * math/auto-libm-test-out: Regenerated.
27055         * math/libm-test.inc (MAX_EXP): New macro.
27056         (ilogb_test_data): Add more tests.
27057         (isfinite_test_data): Likewise.
27058         (isgreater_test_data): Likewise.
27059         (isgreaterequal_test_data): Likewise.
27060         (isinf_test_data): Likewise.
27061         (isless_test_data): Likewise.
27062         (islessequal_test_data): Likewise.
27063         (islessgreater_test_data): Likewise.
27064         (isnan_test_data): Likewise.
27065         (isnormal_test_data): Likewise.
27066         (issignaling_test_data): Likewise.
27067         (isunordered_test_data): Likewise.
27068         (j0_test_data): Likewise.
27069         (j1_test_data): Likewise.
27070         (jn_test_data): Likewise.
27071         (lgamma_test_data): Likewise.
27072         (log_test_data): Likewise.
27073         (log10_test_data): Likewise.
27074         (log1p_test_data): Likewise.
27075         (log2_test_data): Likewise.
27076         (logb_test_data): Likewise.
27077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27079         [BZ #18611]
27080         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27081         avoid excess range and precision on underflow.
27082         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27083         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27084         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27085         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27086         underflow.
27087         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27088         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27089         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27090         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27091         * math/auto-libm-test-in: Do not allow missing errno setting for
27092         tests of j1 and jn.
27093         * math/auto-libm-test-out: Regenerated.
27095 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27097         [BZ #15491]
27098         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27099         floating-point environment instead of clearing all exceptions.
27100         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27101         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27102         merging in "invalid" exceptions from frndint.
27103         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27104         * math/test-nearbyint-except.c: New file.
27105         * math/Makefile (tests): Add test-nearbyint-except.
27107 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27109         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27111         * sysdeps/tile/libm-test-ulps: Regenerated.
27113 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27116         (__NR_sync_file_range2): Assume it is always defined.
27117         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27118         (__NR_sync_file_range): Assume it is always defined.
27120 2015-10-22  Andreas Schwab  <schwab@suse.de>
27122         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27123         INTERNAL_SYSCALL_ERRNO.
27124         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27125         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27126         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27127         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27128         Likewise.
27129         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27131 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27133         * io/tst-fcntl.c (fd): New static variable.
27134         (do_prepare): Open temporary file here....
27135         (do_test): ...not here.
27137         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27139 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27141         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27142         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27143         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27144         Moved before "#ifdef __ASSEMBLER__".
27146 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27148         [BZ #19156]
27149         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27150         arguments very close to 0.
27152 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27154         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27155         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27157 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27159         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27160         New.  Defined for GCC 5 and above when not compiling for
27161         profiling.
27162         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27164         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27165         Renamed to ...
27166         (CFLAGS-epoll_pwait.o): This.
27167         (CFLAGS-mmap.c): Renamed to ...
27168         (CFLAGS-mmap.o): This.
27169         (CFLAGS-mmap64.c): Renamed to ...
27170         (CFLAGS-mmap64.o): This.
27171         (CFLAGS-epoll_pwait.os): New.
27172         (CFLAGS-mmap.os): Likewise.
27173         (CFLAGS-mmap64.os): Likewise.
27174         (CFLAGS-semtimedop.os): Likewise.
27175         (CFLAGS-semtimedop.c): Renamed to ...
27176         (CFLAGS-semtimedop.o): This.
27178 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27180         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27181         warning message.
27183 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27185         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27186         * Makefile ($(objpfx)c++-types-check.out): Filter out
27187         $(+gccwarn-c) instead of -Wstrict-prototypes.
27189         * io/fts.c (fts_open): Convert to prototype-style function
27190         definition.
27191         * malloc/mcheck.c (mcheck): Likewise.
27192         (mcheck_pedantic): Likewise.
27193         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27194         internal_function.
27195         (re_search_internal): Likewise.
27196         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27197         prototype-style function definition.
27198         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27199         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27200         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27201         (xdr_utmpptr): Likewise.
27202         (xdr_utmparr): Likewise.
27203         (xdr_utmpidle): Likewise.
27204         (xdr_utmpidleptr): Likewise.
27205         (xdr_utmpidlearr): Likewise.
27207         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27208         log, log10 and log2.
27209         * math/auto-libm-test-out: Regenerated.
27210         * math/libm-test.inc (fmod_test_data): Add more tests.
27211         (fpclassify_test_data): Likewise.
27212         (frexp_test_data): Likewise.
27213         (hypot_test_data): Likewise.
27214         (ilogb_test_data): Likewise.
27216 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27218         * debug/fortify_fail.c (__fortify_fail): Convert to
27219         prototype-style function definition.  Use internal_function.
27220         * libio/genops.c (save_for_backup): Convert to prototype-style
27221         function definition.
27222         * libio/wgenops.c (save_for_wbackup): Likewise.
27223         * login/grantpt.c (grantpt): Likewise.
27224         * login/ptsname.c (ptsname): Likewise.
27225         (__ptsname_r): Likewise.
27226         * login/unlockpt.c (unlockpt): Likewise.
27227         * mach/msgserver.c (__mach_msg_server): Likewise.
27228         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27229         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27230         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27231         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27232         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27233         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27234         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27235         Likewise.
27236         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27237         internal_function.
27238         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27239         prototype-style function definition.
27240         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27241         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27242         (__pthread_create_2_0): Likewise.
27243         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27244         * nptl/register-atfork.c (__register_atfork): Likewise.
27245         * posix/glob.c (glob): Likewise.
27246         * posix/regcomp.c (re_comp): Likewise.
27247         * posix/regexec.c (re_exec): Likewise.
27248         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27249         [!__STDC__]: Remove conditional code.
27250         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27251         [!__STDC__]: Remove conditional code.
27252         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27253         [!__STDC__]: Remove conditional code.
27254         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27255         [!__STDC__]: Remove conditional code.
27256         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27257         [!__STDC__]: Remove conditional code.
27258         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27259         [!__STDC__]: Remove conditional code.
27260         * stdlib/mul.c [__STDC__]: Make code unconditional.
27261         [!__STDC__]: Remove conditional code.
27262         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27263         [!__STDC__]: Remove conditional code.
27264         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27265         [!__STDC__]: Remove conditional code.
27266         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27267         function definition.
27268         (STRTOF): Likewise.
27269         * stdlib/strtod_l.c (__STRTOF): Likewise.
27270         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27271         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27272         (__strtol_l): Likewise.
27273         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27274         [!__STDC__]: Remove conditional code.
27275         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27276         definition.
27277         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27278         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27279         type.
27280         (__strcasecmp): Convert to prototype-style function definition.
27281         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27282         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27283         type.
27284         (__strncasecmp): Convert to prototype-style function definition.
27285         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27286         * sunrpc/xdr.c (xdr_union): Likewise.
27287         * sunrpc/xdr_array.c (xdr_array): Likewise.
27288         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27289         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27290         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27291         Likewise.
27292         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27293         Likewise.
27294         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27295         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27296         Likewise.
27297         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27298         (LOCALE_PARAM_PROTO): Likewise.
27299         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27300         argument type.
27301         (ut_argument_spec): Remove macro.
27302         (ut_argument_spec_iso): Rename to ut_argument_spec.
27303         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27304         prototype-style function definition.
27305         (memcpy_uppcase): Likewise.
27306         (__strftime_internal): Likewise.
27307         (my_strftime): Likewise.
27308         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27309         (LOCALE_PARAM_DECL): Likewise.
27310         [_LIBC] (LOCALE_PARAM): Include argument type.
27311         (__strptime_internal): Convert to prototype-style function
27312         definition.
27313         (strptime): Likewise.
27314         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27315         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27316         type.
27317         (__wcscasecmp): Convert to prototype-style function definition.
27318         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27319         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27320         type.
27321         (__wcsncasecmp): Convert to prototype-style function definition.
27323         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27324         function definition.
27325         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27326         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27327         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27328         * elf/dl-minimal.c (_itoa): Likewise.
27329         * hurd/hurdmalloc.c (malloc): Likewise.
27330         (free): Likewise.
27331         (realloc): Likewise.
27332         * inet/inet6_option.c (inet6_option_space): Likewise.
27333         (inet6_option_init): Likewise.
27334         (inet6_option_append): Likewise.
27335         (inet6_option_alloc): Likewise.
27336         (inet6_option_next): Likewise.
27337         (inet6_option_find): Likewise.
27338         * io/ftw.c (FTW_NAME): Likewise.
27339         (NFTW_NAME): Likewise.
27340         (NFTW_NEW_NAME): Likewise.
27341         (NFTW_OLD_NAME): Likewise.
27342         * libio/iofwide.c (_IO_fwide): Likewise.
27343         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27344         (_IO_str_init_static): Likewise.
27345         (_IO_str_init_readonly): Likewise.
27346         (_IO_str_overflow): Likewise.
27347         (_IO_str_underflow): Likewise.
27348         (_IO_str_count): Likewise.
27349         (_IO_str_seekoff): Likewise.
27350         (_IO_str_pbackfail): Likewise.
27351         (_IO_str_finish): Likewise.
27352         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27353         (_IO_wstr_overflow): Likewise.
27354         (_IO_wstr_underflow): Likewise.
27355         (_IO_wstr_count): Likewise.
27356         (_IO_wstr_seekoff): Likewise.
27357         (_IO_wstr_pbackfail): Likewise.
27358         (_IO_wstr_finish): Likewise.
27359         * locale/programs/localedef.c (normalize_codeset): Likewise.
27360         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27361         (add_locales_to_archive): Likewise.
27362         (delete_locales_from_archive): Likewise.
27363         * malloc/malloc.c (__libc_mallinfo): Likewise.
27364         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27365         * misc/tsearch.c (__tfind): Likewise.
27366         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27367         * nptl/pthread_attr_getdetachstate.c
27368         (__pthread_attr_getdetachstate): Likewise.
27369         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27370         Likewise.
27371         * nptl/pthread_attr_getinheritsched.c
27372         (__pthread_attr_getinheritsched): Likewise.
27373         * nptl/pthread_attr_getschedparam.c
27374         (__pthread_attr_getschedparam): Likewise.
27375         * nptl/pthread_attr_getschedpolicy.c
27376         (__pthread_attr_getschedpolicy): Likewise.
27377         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27378         Likewise.
27379         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27380         Likewise.
27381         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27382         Likewise.
27383         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27384         Likewise.
27385         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27386         (__pthread_attr_init_2_0): Likewise.
27387         * nptl/pthread_attr_setdetachstate.c
27388         (__pthread_attr_setdetachstate): Likewise.
27389         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27390         Likewise.
27391         * nptl/pthread_attr_setinheritsched.c
27392         (__pthread_attr_setinheritsched): Likewise.
27393         * nptl/pthread_attr_setschedparam.c
27394         (__pthread_attr_setschedparam): Likewise.
27395         * nptl/pthread_attr_setschedpolicy.c
27396         (__pthread_attr_setschedpolicy): Likewise.
27397         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27398         Likewise.
27399         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27400         Likewise.
27401         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27402         Likewise.
27403         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27404         Likewise.
27405         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27406         Likewise.
27407         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27408         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27409         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27410         use internal_function.
27411         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27412         prototype-style function definition.
27413         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27414         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27415         internal_function.
27416         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27417         Convert to prototype-style function definition.
27418         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27419         Likewise.
27420         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27421         Likewise.
27422         (__pthread_mutex_unlock): Likewise.
27423         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27424         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27425         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27426         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27427         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27428         * nss/makedb.c (process_input): Likewise.
27429         * posix/fnmatch.c (__strchrnul): Likewise.
27430         (__wcschrnul): Likewise.
27431         (fnmatch): Likewise.
27432         * posix/fnmatch_loop.c (FCT): Likewise.
27433         * posix/glob.c (globfree): Likewise.
27434         (__glob_pattern_type): Likewise.
27435         (__glob_pattern_p): Likewise.
27436         * posix/regcomp.c (re_compile_pattern): Likewise.
27437         (re_set_syntax): Likewise.
27438         (re_compile_fastmap): Likewise.
27439         (regcomp): Likewise.
27440         (regerror): Likewise.
27441         (regfree): Likewise.
27442         * posix/regexec.c (regexec): Likewise.
27443         (re_match): Likewise.
27444         (re_search): Likewise.
27445         (re_match_2): Likewise.
27446         (re_search_2): Likewise.
27447         (re_search_stub): Likewise.  Use internal_function
27448         (re_copy_regs): Likewise.
27449         (re_set_registers): Convert to prototype-style function
27450         definition.
27451         (prune_impossible_nodes): Likewise.  Use internal_function.
27452         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27453         prototype-style function definition.
27454         (inet_net_pton_ipv4): Likewise.
27455         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27456         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27457         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27458         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27459         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27460         Make variadic.
27461         * time/strptime_l.c (localtime_r): Convert to prototype-style
27462         function definition.
27463         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27464         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27465         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27466         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27468         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27469         definition.
27470         (_ufc_doit_r): Likewise.
27471         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27472         (_ufc_output_conversion_r): Likewise.
27473         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27474         * inet/rcmd.c (rcmd_af): Likewise.
27475         (rcmd): Likewise.
27476         (ruserok_af): Likewise.
27477         (ruserok): Likewise.
27478         (ruserok2_sa): Likewise.
27479         (ruserok_sa): Likewise.
27480         (iruserok_af): Likewise.
27481         (iruserok): Likewise.
27482         (__ivaliduser): Likewise.
27483         (__validuser2_sa): Likewise.
27484         * inet/rexec.c (rexec_af): Likewise.
27485         (rexec): Likewise.
27486         * inet/ruserpass.c (ruserpass): Likewise.
27487         * locale/programs/xmalloc.c (xcalloc): Likewise.
27488         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27489         * math/w_drem.c (__drem): Likewise.
27490         * math/w_dremf.c (__dremf): Likewise.
27491         * math/w_dreml.c (__dreml): Likewise.
27492         * misc/daemon.c (daemon): Likewise.
27493         * resolv/res_debug.c (p_fqnname): Likewise.
27494         * stdlib/div.c (div): Likewise.
27495         * string/memcmp.c (memcmp_bytes): Likewise.
27496         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27497         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27499         * crypt/cert.c (main): Convert to prototype-style function
27500         definition.
27501         * io/pipe.c (__pipe): Likewise.
27502         * io/pipe2.c (__pipe2): Likewise.
27503         * misc/futimesat.c (futimesat): Likewise.
27504         * misc/utimes.c (__utimes): Likewise.
27505         * posix/execve.c (__execve): Likewise.
27506         * posix/execvp.c (execvp): Likewise.
27507         * posix/execvpe.c (__execvpe): Likewise.
27508         * posix/fexecve.c (fexecve): Likewise.
27509         * socket/socketpair.c (socketpair): Likewise.
27510         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27511         * stdlib/erand48.c (erand48): Likewise.
27512         * stdlib/erand48_r.c (__erand48_r): Likewise.
27513         * stdlib/jrand48.c (jrand48): Likewise.
27514         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27515         * stdlib/lcong48.c (lcong48): Likewise.
27516         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27517         * stdlib/nrand48.c (nrand48): Likewise.
27518         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27519         * stdlib/seed48.c (seed48): Likewise.
27520         * stdlib/seed48_r.c (__seed48_r): Likewise.
27521         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27522         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27523         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27525 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27527         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27528         * configure: Regenerated.
27529         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27530         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27531         unconditional.
27532         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27533         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27534         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27535         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27536         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27537         unconditional.
27538         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27540         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27541         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27543         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27544         function definition.
27545         * crypt/crypt_util.c (__encrypt_r): Likewise.
27546         * libio/genops.c (_IO_no_init): Likewise.
27547         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27548         (_IO_old_fopencookie): Likewise.
27549         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27550         * libio/iogetline.c (_IO_getline): Likewise.
27551         (_IO_getline_info): Likewise.
27552         * libio/iogetwline.c (_IO_getwline): Likewise.
27553         (_IO_getwline_info): Likewise.
27554         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27555         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27556         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27557         (find_entry): Likewise.
27558         (iterate_table): Likewise.
27559         (lookup): Likewise.
27560         * login/forkpty.c (forkpty): Likewise.
27561         * misc/hsearch_r.c (__hsearch_r): Likewise.
27562         * misc/select.c (__select): Likewise.
27563         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27564         Likewise.
27565         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27566         Likewise.
27567         * nptl/old_pthread_cond_timedwait.c
27568         (__pthread_cond_timedwait_2_0): Likewise.
27569         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27570         * nptl/pthread_barrierattr_getpshared.c
27571         (pthread_barrierattr_getpshared): Likewise.
27572         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27573         Likewise.
27574         * nptl/pthread_mutex_setprioceiling.c
27575         (pthread_mutex_setprioceiling): Likewise.
27576         * nptl/pthread_mutexattr_getprioceiling.c
27577         (pthread_mutexattr_getprioceiling): Likewise.
27578         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27579         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27580         Likewise.
27581         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27582         Likewise.
27583         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27584         Likewise.
27585         * socket/recvfrom.c (__recvfrom): Likewise.
27586         * socket/sendto.c (__sendto): Likewise.
27587         * socket/setsockopt.c (__setsockopt): Likewise.
27588         * stdio-common/_itoa.c (_itoa): Likewise.
27589         * stdio-common/_itowa.c (_itowa): Likewise.
27590         * stdio-common/reg-printf.c (__register_printf_specifier):
27591         Likewise.
27592         (__register_printf_function): Likewise.
27593         * stdio-common/tempname.c (__path_search): Likewise.
27594         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27595         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27596         * stdlib/random_r.c (__initstate_r): Likewise.
27597         * stdlib/setenv.c (__add_to_environ): Likewise.
27598         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27599         * streams/getpmsg.c (getpmsg): Likewise.
27600         * streams/putmsg.c (putmsg): Likewise.
27601         * streams/putpmsg.c (putpmsg): Likewise.
27602         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27603         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27604         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27605         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27606         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27607         * sunrpc/svc_udp.c (cache_get): Likewise.
27608         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27609         * sysdeps/mach/hurd/getcwd.c
27610         (__canonicalize_directory_name_internal): Likewise.
27611         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27612         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27613         * sysdeps/mach/hurd/select.c (__select): Likewise.
27614         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27615         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27616         * sysdeps/sparc/nptl/pthread_barrier_init.c
27617         (__pthread_barrier_init): Likewise.
27618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27619         (__pthread_cond_timedwait): Likewise.
27620         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27621         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27622         Likewise.
27623         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27624         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27625         Likewise.
27626         * sysvipc/semtimedop.c (semtimedop): Likewise.
27627         * time/setitimer.c (__setitimer): Likewise.
27628         * time/strftime_l.c (emacs_strftime): Likewise.
27630 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27632         * config.make.in (have-ssp): Delete.
27633         (stack-protector): New variable.
27634         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27635         cache test for -fstack-protector-strong.  Export stack_protector to
27636         the best ssp flag.
27637         * configure: Regenerated.
27638         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27639         * nscd/Makefile (CFLAGS-nscd): Likewise.
27640         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27642 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27644         [BZ #19122]
27645         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27646         attribute_hidden.
27648 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27650         [BZ #18743]
27651         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27652         code to...
27653         (ELIDE_LOCK): ...here.
27654         (__get_new_count): New function with part of the code from
27655         __elide_lock that updates the value of adapt_count after a
27656         transaction abort.
27657         (__elided_trylock): Moved this code to...
27658         (ELIDE_TRYLOCK): ...here.
27660 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27662         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27663         * configure: Regenerate.
27664         * INSTALL: Regenerate.
27665         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27666         and tweak grammar.
27668 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27670         * login/programs/pt_chown.c: Include signal.h
27671         (main): Clear any signal mask from the parent process.
27673 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27675         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27676         * configure: Regenerated.
27677         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27678         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27679         $(gnu89-inline-CFLAGS).
27681         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27682         test.
27683         (libc_cv_asm_weakext_directive): Likewise.
27684         * configure: Regenerated.
27685         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27686         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27687         * include/libc-symbols.h
27688         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27689         #error.
27690         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27691         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27693         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27694         prototype-style function definition.
27695         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27696         * sysdeps/i386/ffs.c (__ffs): Likewise.
27697         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27698         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27699         Likewise.
27700         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27701         Likewise.
27702         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27703         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27704         Likewise.
27705         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27706         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27707         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27708         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27709         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27710         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27711         * sysdeps/mach/hurd/access.c (__access): Likewise.
27712         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27713         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27714         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27715         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27716         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27717         (cthread_getspecific): Likewise.
27718         (cthread_setspecific): Likewise.
27719         (__libc_getspecific): Likewise.
27720         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27721         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27722         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27723         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27724         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27725         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27726         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27727         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27728         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27729         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27730         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27731         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27732         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27733         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27734         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27735         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27736         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27737         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27738         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27739         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27740         * sysdeps/mach/hurd/link.c (__link): Likewise.
27741         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27742         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27743         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27744         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27745         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27746         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27747         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27748         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27749         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27750         * sysdeps/mach/hurd/rename.c (rename): Likewise.
27751         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27752         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27753         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27754         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27755         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27756         * sysdeps/mach/hurd/send.c (__send): Likewise.
27757         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27758         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27759         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27760         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27761         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27762         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27763         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27764         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27765         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27766         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27767         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27768         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27769         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27770         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27771         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27772         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27773         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27774         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27775         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27776         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27777         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27778         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27779         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27780         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27781         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27782         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27783         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27784         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27785         * sysdeps/posix/alarm.c (alarm): Likewise.
27786         * sysdeps/posix/cuserid.c (cuserid): Likewise.
27787         * sysdeps/posix/dirfd.c (dirfd): Likewise.
27788         * sysdeps/posix/dup.c (__dup): Likewise.
27789         * sysdeps/posix/dup2.c (__dup2): Likewise.
27790         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27791         (main): Likewise.
27792         * sysdeps/posix/flock.c (__flock): Likewise.
27793         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27794         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27795         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27796         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27797         * sysdeps/posix/isatty.c (__isatty): Likewise.
27798         * sysdeps/posix/killpg.c (killpg): Likewise.
27799         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27800         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27801         * sysdeps/posix/raise.c (raise): Likewise.
27802         * sysdeps/posix/remove.c (remove): Likewise.
27803         * sysdeps/posix/rename.c (rename): Likewise.
27804         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27805         * sysdeps/posix/seekdir.c (seekdir): Likewise.
27806         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27807         * sysdeps/posix/sigignore.c (sigignore): Likewise.
27808         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27809         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27810         * sysdeps/posix/sigset.c (sigset): Likewise.
27811         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27812         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27813         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27814         * sysdeps/posix/time.c (time): Likewise.
27815         * sysdeps/posix/ttyname.c (getttyname): Likewise.
27816         (ttyname): Likewise.
27817         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27818         * sysdeps/posix/utime.c (utime): Likewise.
27819         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27820         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27821         Likewise.
27822         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27823         (pthread_spin_trylock): Likewise.
27824         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27825         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27826         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27827         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27828         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27829         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27830         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27831         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27832         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27833         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27834         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27835         * sysdeps/s390/ffs.c (__ffs): Likewise.
27836         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27837         Likewise.
27838         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27839         Likewise.
27840         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27841         Likewise.
27842         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27843         (pthread_barrier_destroy): Likewise.
27844         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27845         (__pthread_barrier_wait): Likewise.
27846         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27847         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27848         (__pthread_barrier_wait): Likewise.
27849         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27850         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27851         (memcmp_not_common_alignment): Likewise.
27852         (MEMCMP): Likewise.
27853         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27854         (_wordcopy_fwd_dest_aligned): Likewise.
27855         (_wordcopy_bwd_aligned): Likewise.
27856         (_wordcopy_bwd_dest_aligned): Likewise.
27857         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27858         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27859         * sysdeps/unix/bsd/stty.c (stty): Likewise.
27860         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27861         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27862         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27863         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27864         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27865         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27866         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27867         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27868         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27869         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27870         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27871         * sysdeps/unix/stime.c (stime): Likewise.
27872         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27873         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27874         Likewise.  Use internal_function.
27875         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27876         Convert to prototype-style function definition.
27877         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27878         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27879         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27880         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27881         Likewise.  Use internal_function.
27882         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27883         prototype-style function definition
27884         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27885         Likewise.
27886         (__getlogin_r): Likewise.
27887         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27888         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27889         (__pthread_cond_broadcast): Likewise.
27890         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27891         (__pthread_cond_destroy): Likewise.
27892         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27893         (__pthread_cond_init): Likewise.
27894         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27895         (__pthread_cond_signal): Likewise.
27896         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27897         (__pthread_cond_wait): Likewise.
27898         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27899         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27900         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27901         Likewise.
27902         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27903         Likewise.
27904         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27905         Likewise.
27906         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27907         Likewise.
27908         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27910         (__ftruncate64): Likewise.
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27912         (truncate64): Likewise.
27913         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27914         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27915         (pthread_getcpuclockid): Likewise.
27916         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27917         Likewise.
27918         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27919         Likewise.
27920         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27921         Likewise.
27922         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27923         Likewise.
27924         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27925         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27926         (__libc_sigaction): Likewise.
27927         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27928         Likewise.
27929         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27930         (__sigprocmask): Likewise.
27931         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27932         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27933         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27935         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27936         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27937         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27938         Likewise.
27939         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27940         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27941         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27942         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27944         Likewise.
27945         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27946         (__sigprocmask): Likewise.
27947         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27948         (cfgetispeed): Likewise.
27949         (cfsetospeed): Likewise.
27950         (cfsetispeed): Likewise.
27951         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27952         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27953         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27954         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27955         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27956         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27957         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27958         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27959         Likewise.
27960         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27961         Likewise.
27962         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27963         Likewise.
27964         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27965         Likewise.
27966         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27968 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27970         sunrpc: Rewrite with explicit TLS access using __thread.
27971         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27972         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27973         directly.
27974         (__rpc_thread_variables): Access thread_rpc_vars directly.
27975         Eliminate redundant assignment of the tvp variable.
27977 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27979         malloc: Rewrite with explicit TLS access using __thread.
27980         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27981         (tsd_setspecific, tsd_getspecific): Remove.
27982         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27983         (tsd_setspecific, tsd_getspecific): Likewise.
27984         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27985         (tsd_setspecific, tsd_getspecific): Likewise.
27986         * malloc/arena.c (thread_arena): New TLS variable.
27987         (arena_key): Remove variable.
27988         (arena_get): Use thread_arena.
27989         (arena_lookup): Remove macro.
27990         (malloc_atfork, free_atfork, ptmalloc_lock_all)
27991         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27992         (_int_new_arena, get_free_list, reused_arena)
27993         (arena_thread_freeres): Use thread_arena.
27994         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27995         tsd_getspecific, tsd_setspecific from safety annotations.
27996         (Allocating Cleared Space): Remove arena_lookup from safety
27997         annotations.
27999 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28001         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28002         struct scratch_buffer instead of extend_alloca.
28004 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28006         * sysdeps/unix/sysv/linux/kernel-features.h
28007         (__ASSUME_SOCK_CLOEXEC): Remove.
28008         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28009         (__have_paccept): Remove unused macro.
28010         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28011         * misc/syslog.c (openlog_internal): Remove fallback code for
28012         !__ASSUME_SOCK_CLOEXEC.
28013         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28014         missing SOCK_CLOEXEC.
28015         * nscd/connections.c (have_sock_cloexec): Remove definition.
28016         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28017         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28018         !__ASSUME_SOCK_CLOEXEC.
28019         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28020         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28021         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28022         definition.
28023         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28024         code for !__ASSUME_SOCK_CLOEXEC.
28026 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28028         [BZ #18982]
28029         * manual/stdio.texi (Variable Arguments Output): Add portability
28030         note, explaining that vfprintf clobbers the va_list pointer.
28032 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28034         * math/libm-test.inc (fabs_test_data): Add more tests.
28035         (fdim_test_data): Likewise.
28036         (fma_test_data): Likewise.
28037         (fmax_test_data): Likewise.
28038         (fmin_test_data): Likewise.
28039         (fmod_test_data): Likewise.
28041 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28043         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28044         data.
28046 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28048         * math/libm-test.inc (ceil_test_data): Add more tests and more
28049         expectations for "inexact".
28050         (floor_test_data): Add more tests.
28051         (round_test_data): Likewise.
28052         (trunc_test_data): Likewise.
28054         * crypt/cert.c (good_bye): Convert to prototype-style function
28055         definition.
28056         (get8): Likewise.
28057         (put8): Likewise.
28058         * crypt/crypt-entry.c (crypt): Likewise.
28059         (__fcrypt): Likewise.
28060         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28061         (_ufc_set_bits): Likewise.
28062         (_ufc_clearmem): Likewise.
28063         (__init_des_r): Likewise.
28064         (shuffle_sb): Likewise.
28065         (shuffle_sb): Likewise.
28066         (_ufc_setup_salt_r): Likewise.
28067         (_ufc_mk_keytab_r): Likewise.
28068         (_ufc_dofinalperm_r): Likewise.
28069         (encrypt): Likewise.
28070         (__setkey_r): Likewise.
28071         (setkey): Likewise.
28072         * crypt/md5.c (md5_init_ctx): Likewise.
28073         (md5_read_ctx): Likewise.
28074         (md5_finish_ctx): Likewise.
28075         (md5_stream): Likewise.
28076         (md5_buffer): Likewise.
28077         (md5_process_bytes): Likewise.
28078         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28079         (__sha256_finish_ctx): Likewise.
28080         (__sha256_process_bytes): Likewise.
28081         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28082         (__sha512_finish_ctx): Likewise.
28083         (__sha512_process_bytes): Likewise.
28084         * ctype/isctype.c (__isctype): Likewise.
28085         * debug/backtrace.c (__backtrace): Likewise.
28086         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28087         * debug/fgets_chk.c (__fgets_chk): Likewise.
28088         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28089         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28090         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28091         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28092         * debug/memset_chk.c (__memset_chk): Likewise.
28093         * debug/strcat_chk.c (__strcat_chk): Likewise.
28094         * debug/strncat_chk.c (__strncat_chk): Likewise.
28095         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28096         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28097         * dirent/dirfd.c (dirfd): Likewise.
28098         * dirent/getdents.c (__getdirentries): Likewise.
28099         * dirent/getdents64.c (getdirentries64): Likewise.
28100         * dirent/rewinddir.c (__rewinddir): Likewise.
28101         * dirent/seekdir.c (seekdir): Likewise.
28102         * dirent/telldir.c (telldir): Likewise.
28103         * elf/sln.c (makesymlinks): Likewise.
28104         (makesymlink): Likewise.
28105         * gmon/gmon.c (__moncontrol): Likewise.
28106         (__monstartup): Likewise.
28107         (write_hist): Likewise.
28108         (write_call_graph): Likewise.
28109         (write_bb_counts): Likewise.
28110         * grp/setgroups.c (setgroups): Likewise.
28111         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28112         * inet/inet_net.c (inet_network): Likewise.
28113         * inet/inet_netof.c (inet_netof): Likewise.
28114         * inet/rcmd.c (rresvport_af): Likewise.
28115         (rresvport): Likewise.
28116         * io/access.c (__access): Likewise.
28117         * io/chdir.c (__chdir): Likewise.
28118         * io/chmod.c (__chmod): Likewise.
28119         * io/chown.c (__chown): Likewise.
28120         * io/close.c (__close): Likewise.
28121         * io/creat.c (creat): Likewise.
28122         * io/creat64.c (creat64): Likewise.
28123         * io/dup.c (__dup): Likewise.
28124         * io/dup2.c (__dup2): Likewise.
28125         * io/dup3.c (__dup3): Likewise.
28126         * io/euidaccess.c (__euidaccess): Likewise.
28127         * io/faccessat.c (faccessat): Likewise.
28128         * io/fchmod.c (__fchmod): Likewise.
28129         * io/fchmodat.c (fchmodat): Likewise.
28130         * io/fchown.c (__fchown): Likewise.
28131         * io/fchownat.c (fchownat): Likewise.
28132         * io/fcntl.c (__fcntl): Likewise.
28133         * io/flock.c (__flock): Likewise.
28134         * io/fts.c (fts_load): Likewise.
28135         (fts_close): Likewise.
28136         (fts_read): Likewise.
28137         (fts_set): Likewise.
28138         (fts_children): Likewise.
28139         (fts_build): Likewise.
28140         (fts_stat): Likewise.
28141         (fts_sort): Likewise.
28142         (fts_alloc): Likewise.
28143         (fts_lfree): Likewise.
28144         (fts_palloc): Likewise.
28145         (fts_padjust): Likewise.
28146         (fts_maxarglen): Likewise.
28147         (fts_safe_changedir): Likewise.
28148         * io/getwd.c (getwd): Likewise.
28149         * io/isatty.c (__isatty): Likewise.
28150         * io/lchown.c (__lchown): Likewise.
28151         * io/link.c (__link): Likewise.
28152         * io/linkat.c (linkat): Likewise.
28153         * io/lseek.c (__libc_lseek): Likewise.
28154         * io/mkdir.c (__mkdir): Likewise.
28155         * io/mkdirat.c (mkdirat): Likewise.
28156         * io/mkfifo.c (mkfifo): Likewise.
28157         * io/mkfifoat.c (mkfifoat): Likewise.
28158         * io/open.c (__libc_open): Likewise.
28159         * io/open64.c (__libc_open64): Likewise.
28160         * io/readlink.c (__readlink): Likewise.
28161         * io/readlinkat.c (readlinkat): Likewise.
28162         * io/rmdir.c (__rmdir): Likewise.
28163         * io/symlink.c (__symlink): Likewise.
28164         * io/symlinkat.c (symlinkat): Likewise.
28165         * io/ttyname.c (ttyname): Likewise.
28166         * io/ttyname_r.c (__ttyname_r): Likewise.
28167         * io/umask.c (__umask): Likewise.
28168         * io/unlink.c (__unlink): Likewise.
28169         * io/unlinkat.c (unlinkat): Likewise.
28170         * io/utime.c (utime): Likewise.
28171         * libio/clearerr.c (clearerr): Likewise.
28172         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28173         * libio/feof.c (_IO_feof): Likewise.
28174         * libio/feof_u.c (feof_unlocked): Likewise.
28175         * libio/ferror.c (_IO_ferror): Likewise.
28176         * libio/ferror_u.c (ferror_unlocked): Likewise.
28177         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28178         * libio/fileno.c (__fileno): Likewise.
28179         * libio/fputc.c (fputc): Likewise.
28180         * libio/fputc_u.c (fputc_unlocked): Likewise.
28181         * libio/fputwc.c (fputwc): Likewise.
28182         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28183         * libio/freopen.c (freopen): Likewise.
28184         * libio/freopen64.c (freopen64): Likewise.
28185         * libio/fseek.c (fseek): Likewise.
28186         * libio/fseeko.c (fseeko): Likewise.
28187         * libio/fseeko64.c (fseeko64): Likewise.
28188         * libio/ftello.c (__ftello): Likewise.
28189         * libio/ftello64.c (ftello64): Likewise.
28190         * libio/fwide.c (fwide): Likewise.
28191         * libio/genops.c (_IO_un_link): Likewise.
28192         (_IO_link_in): Likewise.
28193         (_IO_least_marker): Likewise.
28194         (_IO_switch_to_main_get_area): Likewise.
28195         (_IO_switch_to_backup_area): Likewise.
28196         (_IO_switch_to_get_mode): Likewise.
28197         (_IO_free_backup_area): Likewise.
28198         (_IO_switch_to_put_mode): Likewise.
28199         (__overflow): Likewise.
28200         (__underflow): Likewise.
28201         (__uflow): Likewise.
28202         (_IO_setb): Likewise.
28203         (_IO_doallocbuf): Likewise.
28204         (_IO_default_underflow): Likewise.
28205         (_IO_default_uflow): Likewise.
28206         (_IO_default_xsputn): Likewise.
28207         (_IO_sgetn): Likewise.
28208         (_IO_default_xsgetn): Likewise.
28209         (_IO_sync): Likewise.
28210         (_IO_default_setbuf): Likewise.
28211         (_IO_default_seekpos): Likewise.
28212         (_IO_default_doallocate): Likewise.
28213         (_IO_init): Likewise.
28214         (_IO_old_init): Likewise.
28215         (_IO_default_sync): Likewise.
28216         (_IO_default_finish): Likewise.
28217         (_IO_default_seekoff): Likewise.
28218         (_IO_sputbackc): Likewise.
28219         (_IO_sungetc): Likewise.
28220         (_IO_set_column): Likewise.
28221         (_IO_set_column): Likewise.
28222         (_IO_adjust_column): Likewise.
28223         (_IO_get_column): Likewise.
28224         (_IO_init_marker): Likewise.
28225         (_IO_remove_marker): Likewise.
28226         (_IO_marker_difference): Likewise.
28227         (_IO_marker_delta): Likewise.
28228         (_IO_seekmark): Likewise.
28229         (_IO_unsave_markers): Likewise.
28230         (_IO_nobackup_pbackfail): Likewise.
28231         (_IO_default_pbackfail): Likewise.
28232         (_IO_default_seek): Likewise.
28233         (_IO_default_stat): Likewise.
28234         (_IO_default_read): Likewise.
28235         (_IO_default_write): Likewise.
28236         (_IO_default_showmanyc): Likewise.
28237         (_IO_default_imbue): Likewise.
28238         (_IO_iter_next): Likewise.
28239         (_IO_iter_file): Likewise.
28240         * libio/getc.c (_IO_getc): Likewise.
28241         * libio/getwc.c (_IO_getwc): Likewise.
28242         * libio/iofclose.c (_IO_new_fclose): Likewise.
28243         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28244         * libio/iofflush.c (_IO_fflush): Likewise.
28245         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28246         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28247         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28248         * libio/iofgets.c (_IO_fgets): Likewise.
28249         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28250         * libio/iofgetws.c (fgetws): Likewise.
28251         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28252         * libio/iofopen64.c (_IO_fopen64): Likewise.
28253         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28254         (_IO_cookie_write): Likewise.
28255         (_IO_cookie_seek): Likewise.
28256         (_IO_cookie_close): Likewise.
28257         (_IO_cookie_seekoff): Likewise.
28258         (_IO_old_cookie_seek): Likewise.
28259         * libio/iofputs.c (_IO_fputs): Likewise.
28260         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28261         * libio/iofputws.c (fputws): Likewise.
28262         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28263         * libio/iofread.c (_IO_fread): Likewise.
28264         * libio/iofread_u.c (__fread_unlocked): Likewise.
28265         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28266         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28267         * libio/ioftell.c (_IO_ftell): Likewise.
28268         * libio/iofwrite.c (_IO_fwrite): Likewise.
28269         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28270         * libio/iogets.c (_IO_gets): Likewise.
28271         * libio/iopadn.c (_IO_padn): Likewise.
28272         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28273         (_IO_new_popen): Likewise.
28274         (_IO_new_proc_close): Likewise.
28275         * libio/ioputs.c (_IO_puts): Likewise.
28276         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28277         (_IO_seekoff): Likewise.
28278         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28279         (_IO_seekpos): Likewise.
28280         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28281         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28282         * libio/ioungetc.c (_IO_ungetc): Likewise.
28283         * libio/ioungetwc.c (ungetwc): Likewise.
28284         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28285         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28286         * libio/iowpadn.c (_IO_wpadn): Likewise.
28287         * libio/libc_fatal.c (__libc_fatal): Likewise.
28288         * libio/memstream.c (__open_memstream): Likewise.
28289         (_IO_mem_sync): Likewise.
28290         (_IO_mem_finish): Likewise.
28291         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28292         (_IO_old_file_close_it): Likewise.
28293         (_IO_old_file_finish): Likewise.
28294         (_IO_old_file_fopen): Likewise.
28295         (_IO_old_file_attach): Likewise.
28296         (_IO_old_file_setbuf): Likewise.
28297         (_IO_old_do_write): Likewise.
28298         (old_do_write): Likewise.
28299         (_IO_old_file_underflow): Likewise.
28300         (_IO_old_file_overflow): Likewise.
28301         (_IO_old_file_sync): Likewise.
28302         (_IO_old_file_seekoff): Likewise.
28303         (_IO_old_file_write): Likewise.
28304         (_IO_old_file_xsputn): Likewise.
28305         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28306         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28307         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28308         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28309         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28310         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28311         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28312         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28313         (_IO_old_popen): Likewise.
28314         (_IO_old_proc_close): Likewise.
28315         * libio/oldpclose.c (__old_pclose): Likewise.
28316         * libio/pclose.c (__new_pclose): Likewise.
28317         * libio/peekc.c (_IO_peekc_locked): Likewise.
28318         * libio/putc.c (_IO_putc): Likewise.
28319         * libio/putc_u.c (putc_unlocked): Likewise.
28320         * libio/putchar.c (putchar): Likewise.
28321         * libio/putchar_u.c (putchar_unlocked): Likewise.
28322         * libio/putwc.c (putwc): Likewise.
28323         * libio/putwc_u.c (putwc_unlocked): Likewise.
28324         * libio/putwchar.c (putwchar): Likewise.
28325         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28326         * libio/rewind.c (rewind): Likewise.
28327         * libio/setbuf.c (setbuf): Likewise.
28328         * libio/setlinebuf.c (setlinebuf): Likewise.
28329         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28330         * libio/vscanf.c (_IO_vscanf): Likewise.
28331         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28332         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28333         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28334         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28335         (_IO_switch_to_main_wget_area): Likewise.
28336         (_IO_switch_to_wbackup_area): Likewise.
28337         (_IO_wsetb): Likewise.
28338         (_IO_wdefault_pbackfail): Likewise.
28339         (_IO_wdefault_finish): Likewise.
28340         (_IO_wdefault_uflow): Likewise.
28341         (__woverflow): Likewise.
28342         (__wuflow): Likewise.
28343         (__wunderflow): Likewise.
28344         (_IO_wdefault_xsputn): Likewise.
28345         (_IO_wdefault_xsgetn): Likewise.
28346         (_IO_wdoallocbuf): Likewise.
28347         (_IO_wdefault_doallocate): Likewise.
28348         (_IO_switch_to_wget_mode): Likewise.
28349         (_IO_free_wbackup_area): Likewise.
28350         (_IO_switch_to_wput_mode): Likewise.
28351         (_IO_sputbackwc): Likewise.
28352         (_IO_sungetwc): Likewise.
28353         (_IO_adjust_wcolumn): Likewise.
28354         (_IO_init_wmarker): Likewise.
28355         (_IO_wmarker_delta): Likewise.
28356         (_IO_seekwmark): Likewise.
28357         (_IO_unsave_wmarkers): Likewise.
28358         * libio/wmemstream.c (open_wmemstream): Likewise.
28359         (_IO_wmem_sync): Likewise.
28360         (_IO_wmem_finish): Likewise.
28361         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28362         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28363         * locale/programs/simple-hash.c (init_hash): Likewise.
28364         (delete_hash): Likewise.
28365         (insert_entry): Likewise.
28366         (set_entry): Likewise.
28367         (next_prime): Likewise.
28368         (is_prime): Likewise.
28369         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28370         (xmalloc): Likewise.
28371         (xrealloc): Likewise.
28372         * locale/programs/xstrdup.c (xstrdup): Likewise.
28373         * localedata/collate-test.c (xstrcoll): Likewise.
28374         * localedata/xfrm-test.c (xstrcmp): Likewise.
28375         * login/getlogin_r.c (__getlogin_r): Likewise.
28376         * login/getpt.c (__posix_openpt): Likewise.
28377         * login/login_tty.c (login_tty): Likewise.
28378         * login/setlogin.c (setlogin): Likewise.
28379         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28380         (mach_msg_destroy_port): Likewise.
28381         (mach_msg_destroy_memory): Likewise.
28382         * malloc/mcheck.c (flood): Likewise.
28383         * misc/acct.c (acct): Likewise.
28384         * misc/brk.c (__brk): Likewise.
28385         * misc/chflags.c (chflags): Likewise.
28386         * misc/chroot.c (chroot): Likewise.
28387         * misc/fchflags.c (fchflags): Likewise.
28388         * misc/fstab.c (getfsspec): Likewise.
28389         (getfsfile): Likewise.
28390         * misc/fsync.c (fsync): Likewise.
28391         * misc/ftruncate.c (__ftruncate): Likewise.
28392         * misc/ftruncate64.c (__ftruncate64): Likewise.
28393         * misc/getdomain.c (getdomainname): Likewise.
28394         (getdomainname): Likewise.
28395         * misc/gethostname.c (__gethostname): Likewise.
28396         * misc/getpass.c (getpass): Likewise.
28397         * misc/getttyent.c (skip): Likewise.
28398         (value): Likewise.
28399         * misc/gtty.c (gtty): Likewise.
28400         * misc/hsearch.c (hsearch): Likewise.
28401         (hcreate): Likewise.
28402         * misc/hsearch_r.c (__hcreate_r): Likewise.
28403         (__hdestroy_r): Likewise.
28404         * misc/ioctl.c (__ioctl): Likewise.
28405         * misc/mkdtemp.c (mkdtemp): Likewise.
28406         * misc/mkostemp.c (mkostemp): Likewise.
28407         * misc/mkostemp64.c (mkostemp64): Likewise.
28408         * misc/mkostemps.c (mkostemps): Likewise.
28409         * misc/mkostemps64.c (mkostemps64): Likewise.
28410         * misc/mkstemp.c (mkstemp): Likewise.
28411         * misc/mkstemp64.c (mkstemp64): Likewise.
28412         * misc/mkstemps.c (mkstemps): Likewise.
28413         * misc/mkstemps64.c (mkstemps64): Likewise.
28414         * misc/mktemp.c (__mktemp): Likewise.
28415         * misc/preadv.c (preadv): Likewise.
28416         * misc/preadv64.c (preadv64): Likewise.
28417         * misc/pwritev.c (pwritev): Likewise.
28418         * misc/pwritev64.c (pwritev64): Likewise.
28419         * misc/readv.c (__readv): Likewise.
28420         * misc/revoke.c (revoke): Likewise.
28421         * misc/setdomain.c (setdomainname): Likewise.
28422         * misc/setegid.c (setegid): Likewise.
28423         * misc/seteuid.c (seteuid): Likewise.
28424         * misc/sethostid.c (sethostid): Likewise.
28425         * misc/sethostname.c (sethostname): Likewise.
28426         * misc/setregid.c (__setregid): Likewise.
28427         * misc/setreuid.c (__setreuid): Likewise.
28428         * misc/sstk.c (sstk): Likewise.
28429         * misc/stty.c (stty): Likewise.
28430         * misc/syscall.c (syscall): Likewise.
28431         * misc/syslog.c (setlogmask): Likewise.
28432         * misc/truncate.c (__truncate): Likewise.
28433         * misc/truncate64.c (truncate64): Likewise.
28434         * misc/ualarm.c (ualarm): Likewise.
28435         * misc/usleep.c (usleep): Likewise.
28436         * misc/ustat.c (ustat): Likewise.
28437         * misc/writev.c (__writev): Likewise.
28438         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28439         * nptl/old_pthread_cond_broadcast.c
28440         (__pthread_cond_broadcast_2_0): Likewise.
28441         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28442         Likewise.
28443         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28444         Likewise.
28445         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28446         Likewise.
28447         * nptl/pt-raise.c (raise): Likewise.
28448         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28449         Likewise.
28450         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28451         * nptl/pthread_barrierattr_destroy.c
28452         (pthread_barrierattr_destroy): Likewise.
28453         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28454         Likewise.
28455         * nptl/pthread_barrierattr_setpshared.c
28456         (pthread_barrierattr_setpshared): Likewise.
28457         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28458         Likewise.
28459         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28460         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28461         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28462         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28463         Likewise.
28464         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28465         Likewise.
28466         * nptl/pthread_condattr_getpshared.c
28467         (pthread_condattr_getpshared): Likewise.
28468         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28469         Likewise.
28470         * nptl/pthread_condattr_setpshared.c
28471         (pthread_condattr_setpshared): Likewise.
28472         * nptl/pthread_detach.c (pthread_detach): Likewise.
28473         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28474         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28475         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28476         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28477         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28478         Likewise.
28479         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28480         Likewise.
28481         * nptl/pthread_mutex_getprioceiling.c
28482         (pthread_mutex_getprioceiling): Likewise.
28483         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28484         Likewise.
28485         * nptl/pthread_mutexattr_getprotocol.c
28486         (pthread_mutexattr_getprotocol): Likewise.
28487         * nptl/pthread_mutexattr_getpshared.c
28488         (pthread_mutexattr_getpshared): Likewise.
28489         * nptl/pthread_mutexattr_getrobust.c
28490         (pthread_mutexattr_getrobust): Likewise.
28491         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28492         Likewise.
28493         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28494         Likewise.
28495         * nptl/pthread_mutexattr_setprioceiling.c
28496         (pthread_mutexattr_setprioceiling): Likewise.
28497         * nptl/pthread_mutexattr_setprotocol.c
28498         (pthread_mutexattr_setprotocol): Likewise.
28499         * nptl/pthread_mutexattr_setpshared.c
28500         (pthread_mutexattr_setpshared): Likewise.
28501         * nptl/pthread_mutexattr_setrobust.c
28502         (pthread_mutexattr_setrobust): Likewise.
28503         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28504         Likewise.
28505         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28506         Likewise.
28507         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28508         Likewise.
28509         * nptl/pthread_rwlockattr_getkind_np.c
28510         (pthread_rwlockattr_getkind_np): Likewise.
28511         * nptl/pthread_rwlockattr_getpshared.c
28512         (pthread_rwlockattr_getpshared): Likewise.
28513         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28514         Likewise.
28515         * nptl/pthread_rwlockattr_setkind_np.c
28516         (pthread_rwlockattr_setkind_np): Likewise.
28517         * nptl/pthread_rwlockattr_setpshared.c
28518         (pthread_rwlockattr_setpshared): Likewise.
28519         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28520         Likewise.
28521         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28522         Likewise.
28523         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28524         Likewise.
28525         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28526         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28527         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28528         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28529         * nptl/sem_close.c (sem_close): Likewise.
28530         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28531         * nptl/sem_init.c (__old_sem_init): Likewise.
28532         * nptl/sigaction.c (__sigaction): Likewise.
28533         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28534         * posix/_exit.c (_exit): Likewise.
28535         * posix/alarm.c (alarm): Likewise.
28536         * posix/confstr.c (confstr): Likewise.
28537         * posix/fpathconf.c (__fpathconf): Likewise.
28538         * posix/getgroups.c (__getgroups): Likewise.
28539         * posix/getpgid.c (__getpgid): Likewise.
28540         * posix/group_member.c (__group_member): Likewise.
28541         * posix/pathconf.c (__pathconf): Likewise.
28542         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28543         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28544         * posix/setgid.c (__setgid): Likewise.
28545         * posix/setpgid.c (__setpgid): Likewise.
28546         * posix/setuid.c (__setuid): Likewise.
28547         * posix/sleep.c (__sleep): Likewise.
28548         * posix/sysconf.c (__sysconf): Likewise.
28549         * posix/times.c (__times): Likewise.
28550         * posix/uname.c (__uname): Likewise.
28551         * posix/waitid.c (__waitid): Likewise.
28552         * pwd/getpw.c (__getpw): Likewise.
28553         * resolv/base64.c (b64_pton): Likewise.
28554         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28555         * resolv/gethnamaddr.c (Dprintf): Likewise.
28556         (gethostbyname): Likewise.
28557         (gethostbyname2): Likewise.
28558         (gethostbyaddr): Likewise.
28559         (_sethtent): Likewise.
28560         (_gethtbyname): Likewise.
28561         (_gethtbyname2): Likewise.
28562         (_gethtbyaddr): Likewise.
28563         (map_v4v6_address): Likewise.
28564         (map_v4v6_hostent): Likewise.
28565         (addrsort): Likewise.
28566         (ht_sethostent): Likewise.
28567         (ht_gethostbyname): Likewise.
28568         (ht_gethostbyaddr): Likewise.
28569         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28570         (inet_net_ntop_ipv4): Likewise.
28571         * resolv/inet_neta.c (inet_neta): Likewise.
28572         * resolv/inet_ntop.c (inet_ntop): Likewise.
28573         (inet_ntop4): Likewise.
28574         (inet_ntop6): Likewise.
28575         * resolv/inet_pton.c (__inet_pton): Likewise.
28576         (inet_pton4): Likewise.
28577         (inet_pton6): Likewise.
28578         * resolv/res_debug.c (loc_aton): Likewise.
28579         (loc_ntoa): Likewise.
28580         * resource/getpriority.c (__getpriority): Likewise.
28581         * resource/getrusage.c (__getrusage): Likewise.
28582         * resource/nice.c (nice): Likewise.
28583         * resource/setpriority.c (__setpriority): Likewise.
28584         * resource/setrlimit64.c (setrlimit64): Likewise.
28585         * resource/vlimit.c (vlimit): Likewise.
28586         * resource/vtimes.c (vtimes): Likewise.
28587         * rt/aio_error.c (aio_error): Likewise.
28588         * rt/aio_return.c (aio_return): Likewise.
28589         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28590         * signal/kill.c (__kill): Likewise.
28591         * signal/killpg.c (killpg): Likewise.
28592         * signal/raise.c (raise): Likewise.
28593         * signal/sigaction.c (__sigaction): Likewise.
28594         * signal/sigaddset.c (sigaddset): Likewise.
28595         * signal/sigaltstack.c (sigaltstack): Likewise.
28596         * signal/sigandset.c (sigandset): Likewise.
28597         * signal/sigblock.c (__sigblock): Likewise.
28598         * signal/sigdelset.c (sigdelset): Likewise.
28599         * signal/sigempty.c (sigemptyset): Likewise.
28600         * signal/sigfillset.c (sigfillset): Likewise.
28601         * signal/sighold.c (sighold): Likewise.
28602         * signal/sigignore.c (sigignore): Likewise.
28603         * signal/sigintr.c (siginterrupt): Likewise.
28604         * signal/sigisempty.c (sigisemptyset): Likewise.
28605         * signal/sigismem.c (sigismember): Likewise.
28606         * signal/signal.c (signal): Likewise.
28607         * signal/sigorset.c (sigorset): Likewise.
28608         * signal/sigpause.c (__sigpause): Likewise.
28609         * signal/sigpending.c (sigpending): Likewise.
28610         * signal/sigprocmask.c (__sigprocmask): Likewise.
28611         * signal/sigrelse.c (sigrelse): Likewise.
28612         * signal/sigreturn.c (__sigreturn): Likewise.
28613         * signal/sigset.c (sigset): Likewise.
28614         * signal/sigsetmask.c (__sigsetmask): Likewise.
28615         * signal/sigstack.c (sigstack): Likewise.
28616         * signal/sigsuspend.c (__sigsuspend): Likewise.
28617         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28618         * signal/sysv_signal.c (__sysv_signal): Likewise.
28619         * socket/accept.c (accept): Likewise.
28620         * socket/accept4.c (__libc_accept4): Likewise.
28621         * socket/bind.c (__bind): Likewise.
28622         * socket/connect.c (__connect): Likewise.
28623         * socket/getpeername.c (getpeername): Likewise.
28624         * socket/getsockname.c (__getsockname): Likewise.
28625         * socket/getsockopt.c (getsockopt): Likewise.
28626         * socket/listen.c (__listen): Likewise.
28627         * socket/recv.c (__recv): Likewise.
28628         * socket/recvmsg.c (__recvmsg): Likewise.
28629         * socket/send.c (__send): Likewise.
28630         * socket/sendmsg.c (__sendmsg): Likewise.
28631         * socket/shutdown.c (shutdown): Likewise.
28632         * socket/sockatmark.c (sockatmark): Likewise.
28633         * socket/socket.c (__socket): Likewise.
28634         * stdio-common/ctermid.c (ctermid): Likewise.
28635         * stdio-common/cuserid.c (cuserid): Likewise.
28636         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28637         * stdio-common/remove.c (remove): Likewise.
28638         * stdio-common/rename.c (rename): Likewise.
28639         * stdio-common/renameat.c (renameat): Likewise.
28640         * stdio-common/tempname.c (__gen_tempname): Likewise.
28641         * stdio-common/xbug.c (InitBuffer): Likewise.
28642         (AppendToBuffer): Likewise.
28643         (ReadFile): Likewise.
28644         * stdlib/a64l.c (a64l): Likewise.
28645         * stdlib/drand48_r.c (drand48_r): Likewise.
28646         * stdlib/getcontext.c (getcontext): Likewise.
28647         * stdlib/getenv.c (getenv): Likewise.
28648         * stdlib/l64a.c (l64a): Likewise.
28649         * stdlib/llabs.c (llabs): Likewise.
28650         * stdlib/lldiv.c (lldiv): Likewise.
28651         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28652         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28653         * stdlib/putenv.c (putenv): Likewise.
28654         * stdlib/random.c (__srandom): Likewise.
28655         (__initstate): Likewise.
28656         (__setstate): Likewise.
28657         * stdlib/random_r.c (__srandom_r): Likewise.
28658         (__setstate_r): Likewise.
28659         (__random_r): Likewise.
28660         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28661         * stdlib/setcontext.c (setcontext): Likewise.
28662         * stdlib/setenv.c (setenv): Likewise.
28663         (unsetenv): Likewise.
28664         * stdlib/srand48.c (srand48): Likewise.
28665         * stdlib/srand48_r.c (__srand48_r): Likewise.
28666         * stdlib/swapcontext.c (swapcontext): Likewise.
28667         * stdlib/system.c (__libc_system): Likewise.
28668         * stdlib/tst-strtod.c (expand): Likewise.
28669         * stdlib/tst-strtol.c (expand): Likewise.
28670         * stdlib/tst-strtoll.c (expand): Likewise.
28671         * streams/fattach.c (fattach): Likewise.
28672         * streams/fdetach.c (fdetach): Likewise.
28673         * streams/getmsg.c (getmsg): Likewise.
28674         * streams/isastream.c (isastream): Likewise.
28675         * string/ffs.c (__ffs): Likewise.
28676         * string/ffsll.c (ffsll): Likewise.
28677         * string/memcmp.c (memcmp_common_alignment): Likewise.
28678         (memcmp_not_common_alignment): Likewise.
28679         (MEMCMP): Likewise.
28680         * string/memcpy.c (memcpy): Likewise.
28681         * string/memmove.c (MEMMOVE): Likewise.
28682         * string/memset.c (memset): Likewise.
28683         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28684         * string/strchrnul.c (STRCHRNUL): Likewise.
28685         * string/strerror.c (strerror): Likewise.
28686         * string/strndup.c (__strndup): Likewise.
28687         * string/strverscmp.c (__strverscmp): Likewise.
28688         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28689         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28690         (clnttcp_freeres): Likewise.
28691         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28692         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28693         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28694         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28695         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28696         (xdr_callhdr): Likewise.
28697         * sunrpc/rpcinfo.c (udpping): Likewise.
28698         (tcpping): Likewise.
28699         (pstatus): Likewise.
28700         (pmapdump): Likewise.
28701         (brdcst): Likewise.
28702         (deletereg): Likewise.
28703         (getprognum): Likewise.
28704         (getvers): Likewise.
28705         (get_inet_address): Likewise.
28706         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28707         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28708         (svcudp_stat): Likewise.
28709         (svcudp_recv): Likewise.
28710         (svcudp_reply): Likewise.
28711         (svcudp_getargs): Likewise.
28712         (svcudp_freeargs): Likewise.
28713         (svcudp_destroy): Likewise.
28714         * sunrpc/xdr.c (xdr_bytes): Likewise.
28715         (xdr_netobj): Likewise.
28716         (xdr_string): Likewise.
28717         (xdr_wrapstring): Likewise.
28718         * sunrpc/xdr_float.c (xdr_float): Likewise.
28719         (xdr_double): Likewise.
28720         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28721         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28722         * sysvipc/ftok.c (ftok): Likewise.
28723         * sysvipc/msgctl.c (msgctl): Likewise.
28724         * sysvipc/msgget.c (msgget): Likewise.
28725         * sysvipc/msgrcv.c (msgrcv): Likewise.
28726         * sysvipc/msgsnd.c (msgsnd): Likewise.
28727         * sysvipc/semget.c (semget): Likewise.
28728         * sysvipc/semop.c (semop): Likewise.
28729         * sysvipc/shmat.c (shmat): Likewise.
28730         * sysvipc/shmctl.c (shmctl): Likewise.
28731         * sysvipc/shmdt.c (shmdt): Likewise.
28732         * sysvipc/shmget.c (shmget): Likewise.
28733         * termios/cfmakeraw.c (cfmakeraw): Likewise.
28734         * termios/speed.c (cfgetospeed): Likewise.
28735         (cfgetispeed): Likewise.
28736         (cfsetospeed): Likewise.
28737         (cfsetispeed): Likewise.
28738         * termios/tcflow.c (tcflow): Likewise.
28739         * termios/tcflush.c (tcflush): Likewise.
28740         * termios/tcgetattr.c (__tcgetattr): Likewise.
28741         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28742         * termios/tcgetsid.c (tcgetsid): Likewise.
28743         * termios/tcsendbrk.c (tcsendbreak): Likewise.
28744         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28745         * time/adjtime.c (__adjtime): Likewise.
28746         * time/dysize.c (dysize): Likewise.
28747         * time/ftime.c (ftime): Likewise.
28748         * time/getitimer.c (__getitimer): Likewise.
28749         * time/gettimeofday.c (__gettimeofday): Likewise.
28750         * time/gmtime.c (__gmtime_r): Likewise.
28751         (gmtime): Likewise.
28752         * time/localtime.c (__localtime_r): Likewise.
28753         (localtime): Likewise.
28754         * time/offtime.c (__offtime): Likewise.
28755         * time/settimeofday.c (__settimeofday): Likewise.
28756         * time/stime.c (stime): Likewise.
28757         * time/strftime_l.c (tm_diff): Likewise.
28758         (iso_week_days): Likewise.
28759         * time/strptime.c (strptime): Likewise.
28760         * time/time.c (time): Likewise.
28761         * time/timespec_get.c (timespec_get): Likewise.
28762         * time/tzset.c (tzset_internal): Likewise.
28763         (compute_change): Likewise.
28764         (__tz_compute): Likewise.
28765         * wcsmbs/btowc.c (__btowc): Likewise.
28766         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28767         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28768         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28769         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28770         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28771         * wcsmbs/wcscat.c (__wcscat): Likewise.
28772         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28773         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28774         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28775         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28776         * wcsmbs/wcsdup.c (wcsdup): Likewise.
28777         * wcsmbs/wcslen.c (__wcslen): Likewise.
28778         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28779         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28780         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28781         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28782         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28783         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28784         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28785         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28786         * wcsmbs/wcstok.c (wcstok): Likewise.
28787         * wcsmbs/wctob.c (wctob): Likewise.
28788         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28789         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28790         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28791         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28792         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28793         * wcsmbs/wmemset.c (__wmemset): Likewise.
28794         * wctype/wcfuncs.c (__towlower): Likewise.
28795         (__towupper): Likewise.
28797         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28798         (lll_unlock_elision): Add adapt_count parameter.
28800 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28802         * sysdeps/nptl/configure.ac: Do not give errors based on the
28803         results of top-level configure tests.
28804         * sysdeps/nptl/configure: Regenerated.
28806         * configure.ac (libc_cv_Bgroup): Remove configure test.
28807         * configure: Regenerated.
28808         * config.make.in (have-Bgroup): Remove variable.
28810         * configure.ac (sizeof_long_double): Remove configure test.
28811         * configure: Regenerated.
28812         * config.make.in (sizeof-long-double): Remove variable.
28814         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28815         * configure: Regenerated.
28816         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28817         variable.
28818         (exceptions): Likewise.
28819         * sysdeps/arm/configure: Regenerated.
28820         * config.make.in (exceptions): Remove variable.
28821         * Makeconfig (uses-callbacks): Use -fexceptions instead of
28822         $(exceptions).
28823         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28824         (CFLAGS-vdprintf_chk.c): Likewise.
28825         (CFLAGS-printf_chk.c): Likewise.
28826         (CFLAGS-fprintf_chk.c): Likewise.
28827         (CFLAGS-vprintf_chk.c): Likewise.
28828         (CFLAGS-vfprintf_chk.c): Likewise.
28829         (CFLAGS-gets_chk.c): Likewise.
28830         (CFLAGS-fgets_chk.c): Likewise.
28831         (CFLAGS-fgets_u_chk.c): Likewise.
28832         (CFLAGS-fread_chk.c): Likewise.
28833         (CFLAGS-fread_u_chk.c): Likewise.
28834         (CFLAGS-wprintf_chk.c): Likewise.
28835         (CFLAGS-fwprintf_chk.c): Likewise.
28836         (CFLAGS-vwprintf_chk.c): Likewise.
28837         (CFLAGS-vfwprintf_chk.c): Likewise.
28838         (CFLAGS-fgetws_chk.c): Likewise.
28839         (CFLAGS-fgetws_u_chk.c): Likewise.
28840         * libio/Makefile (CFLAGS-fileops.c): Likewise.
28841         (CFLAGS-fputc.c): Likewise.
28842         (CFLAGS-fputwc.c): Likewise.
28843         (CFLAGS-freopen64.c): Likewise.
28844         (CFLAGS-freopen.c): Likewise.
28845         (CFLAGS-fseek.c): Likewise.
28846         (CFLAGS-fseeko64.c): Likewise.
28847         (CFLAGS-fseeko.c): Likewise.
28848         (CFLAGS-ftello64.c): Likewise.
28849         (CFLAGS-ftello.c): Likewise.
28850         (CFLAGS-fwide.c): Likewise.
28851         (CFLAGS-genops.c): Likewise.
28852         (CFLAGS-getc.c): Likewise.
28853         (CFLAGS-getchar.c): Likewise.
28854         (CFLAGS-getwc.c): Likewise.
28855         (CFLAGS-getwchar.c): Likewise.
28856         (CFLAGS-iofclose.c): Likewise.
28857         (CFLAGS-iofflush.c): Likewise.
28858         (CFLAGS-iofgetpos64.c): Likewise.
28859         (CFLAGS-iofgetpos.c): Likewise.
28860         (CFLAGS-iofgets.c): Likewise.
28861         (CFLAGS-iofgetws.c): Likewise.
28862         (CFLAGS-iofputs.c): Likewise.
28863         (CFLAGS-iofputws.c): Likewise.
28864         (CFLAGS-iofread.c): Likewise.
28865         (CFLAGS-iofsetpos64.c): Likewise.
28866         (CFLAGS-iofsetpos.c): Likewise.
28867         (CFLAGS-ioftell.c): Likewise.
28868         (CFLAGS-iofwrite.c): Likewise.
28869         (CFLAGS-iogetdelim.c): Likewise.
28870         (CFLAGS-iogetline.c): Likewise.
28871         (CFLAGS-iogets.c): Likewise.
28872         (CFLAGS-iogetwline.c): Likewise.
28873         (CFLAGS-ioputs.c): Likewise.
28874         (CFLAGS-ioseekoff.c): Likewise.
28875         (CFLAGS-ioseekpos.c): Likewise.
28876         (CFLAGS-iosetbuffer.c): Likewise.
28877         (CFLAGS-iosetvbuf.c): Likewise.
28878         (CFLAGS-ioungetc.c): Likewise.
28879         (CFLAGS-ioungetwc.c): Likewise.
28880         (CFLAGS-oldfileops.c): Likewise.
28881         (CFLAGS-oldiofclose.c): Likewise.
28882         (CFLAGS-oldiofgetpos64.c): Likewise.
28883         (CFLAGS-oldiofgetpos.c): Likewise.
28884         (CFLAGS-oldiofsetpos64.c): Likewise.
28885         (CFLAGS-oldiofsetpos.c): Likewise.
28886         (CFLAGS-peekc.c): Likewise.
28887         (CFLAGS-putc.c): Likewise.
28888         (CFLAGS-putchar.c): Likewise.
28889         (CFLAGS-putwc.c): Likewise.
28890         (CFLAGS-putwchar.c): Likewise.
28891         (CFLAGS-rewind.c): Likewise.
28892         (CFLAGS-wfileops.c): Likewise.
28893         (CFLAGS-wgenops.c): Likewise.
28894         (CFLAGS-oldiofopen.c): Likewise.
28895         (CFLAGS-iofopen.c): Likewise.
28896         (CFLAGS-iofopen64.c): Likewise.
28897         (CFLAGS-oldtmpfile.c): Likewise.
28898         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28899         (CFLAGS-fprintf.c): Likewise.
28900         (CFLAGS-printf.c): Likewise.
28901         (CFLAGS-vfwprintf.c): Likewise.
28902         (CFLAGS-vfscanf.c): Likewise.
28903         (CFLAGS-vfwscanf.c): Likewise.
28904         (CFLAGS-fscanf.c): Likewise.
28905         (CFLAGS-scanf.c): Likewise.
28906         (CFLAGS-isoc99_vfscanf.c): Likewise.
28907         (CFLAGS-isoc99_vscanf.c): Likewise.
28908         (CFLAGS-isoc99_fscanf.c): Likewise.
28909         (CFLAGS-isoc99_scanf.c): Likewise.
28910         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28911         (CFLAGS-isoc99_fwscanf.c): Likewise.
28912         (CFLAGS-isoc99_vwscanf.c): Likewise.
28913         (CFLAGS-isoc99_vfwscanf.c): Likewise.
28915         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28916         after mkstemp64.
28917         * login/tst-utmp.c (do_prepare): Likewise.
28918         * rt/tst-aio.c (do_prepare): Likewise.
28919         * rt/tst-aio64.c (do_prepare): Likewise.
28921 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28923         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28924         (__lll_lock_elision): Remove adapt_count decrement...
28925         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28926         (__lll_trylock_elision): Likewise.
28927         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28928         (__lll_unlock_elision): ... to here. And utilize
28929         new adapt_count parameter.
28930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28931         (__lll_unlock_elision): Update to include adapt_count
28932         parameter.
28933         (lll_unlock_elision): Pass pointer to adapt_count
28934         variable.
28936 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28938         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28939         Add elision adapt_count parameter to list of arguments.
28940         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28941         (lll_unlock_elision): Update with new parameter list
28942         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28943         (lll_unlock_elision): Likewise.
28944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28945         (lll_unlock_elision): Likewise.
28947 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28949         [BZ #19122]
28950         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28951         attribute_hidden.
28953         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28954         attribute_hidden.
28955         [IS_IN (rtld)] (__strdup): Likewise.
28956         [IS_IN (rtld)] (__strerror_r): Likewise.
28957         [IS_IN (rtld)] (__strsep_g): Likewise.
28958         [IS_IN (rtld)] (memchr): Likewise.
28959         [IS_IN (rtld)] (memcmp): Likewise.
28960         [IS_IN (rtld)] (memcpy): Likewise.
28961         [IS_IN (rtld)] (memmove): Likewise.
28962         [IS_IN (rtld)] (memset): Likewise.
28963         [IS_IN (rtld)] (rawmemchr): Likewise.
28964         [IS_IN (rtld)] (stpcpy): Likewise.
28965         [IS_IN (rtld)] (strchr): Likewise.
28966         [IS_IN (rtld)] (strcmp): Likewise.
28967         [IS_IN (rtld)] (strlen): Likewise.
28968         [IS_IN (rtld)] (strnlen): Likewise.
28969         [IS_IN (rtld)] (strsep): Likewise.
28971         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28972         attribute_hidden.
28973         [IS_IN (rtld)] (__strtoul_internal): Likewise.
28975         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28976         attribute_hidden.
28977         [IS_IN (rtld)] (__libc_sigaction): Likewise.
28979         * include/setjmp.h (__longjmp): Add attribute_hidden.
28980         [IS_IN (rtld)] (__sigsetjmp): Likewise.
28982         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28983         Add attribute_hidden.
28985         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28986         [IS_IN (rtld)] (__open): Likewise.
28987         [IS_IN (rtld)] (__fcntl): Likewise.
28989         * include/dirent.h (__opendirat): Add attribute_hidden.
28990         (__getdents): Likewise.
28991         (__getdents64): Likewise.
28992         (__alloc_dir): Likewise.
28993         [IS_IN (rtld)] (__closedir): Likewise.
28994         [IS_IN (rtld)] (__fdopendir): Likewise.
28995         [IS_IN (rtld)] (__readdir): Likewise.
28996         [IS_IN (rtld)] (__readdir64): Likewise.
28997         [IS_IN (rtld)] (__rewinddir): Likewise.
28999         * include/dlfcn.h (_dl_catch_error): Moved to ...
29000         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29001         attribute_hidden.
29003         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29004         (_itoa_word): Likewise.
29006         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29007         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29008         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29009         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29010         (_dl_higher_prime_number): Likewise.
29011         (_dl_debug_printf_c): Likewise.
29012         (_dl_signal_cerror): Likewise.
29013         (_dl_receive_error): Likewise.
29014         (_dl_reloc_bad_type): Likewise.
29015         (_dl_resolve_conflicts): Likewise.
29016         (_dl_check_all_versions): Likewise.
29017         (_dl_check_map_versions): Likewise.
29018         (_dl_sort_fini): Likewise.
29019         (_dl_debug_initialize): Likewise.
29020         (_dl_init_paths): Likewise.
29021         (_dl_show_auxv): Likewise.
29022         (_dl_next_ld_env_entry): Likewise.
29023         (_dl_important_hwcaps): Likewise.
29024         (_dl_load_cache_lookup): Likewise.
29025         (_dl_update_slotinfo): Likewise.
29026         (_dl_show_scope): Likewise.
29028         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29029         attribute_hidden.
29030         (_wordcopy_fwd_dest_aligned): Likewise.
29031         (_wordcopy_bwd_aligned): Likewise.
29032         (_wordcopy_bwd_dest_aligned): Likewise.
29034         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29035         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29036         Likewise.
29037         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29038         Likewise.
29039         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29041 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29043         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29044         GCC 5 requirement.
29046 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29048         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29049         test.
29050         * sysdeps/i386/configure: Regenerated.
29051         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29052         code unconditional.
29054         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29055         test.
29056         (libc_cv_asm_popsection_directive): Likewise.
29057         * configure: Regenerated.
29058         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29059         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29060         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29061         (__make_section_unallocated): Make definition unconditional.
29062         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29063         Remove conditional definition.
29064         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29065         (__make_section_unallocated): Likewise.
29067         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29068         * configure: Regenerated.
29069         * config.make.in (static-libgcc): Remove variable.
29070         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29071         $(static-libgcc).
29072         (build-module-helper): Likewise.
29074         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29075         * configure: Regenerated.
29077 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29079         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29080         (struct char_buffer): New type.
29081         (char_buffer_start, char_buffer_size, char_buffer_error)
29082         (char_buffer_rewind, char_buffer_add): New functions.
29083         (ADDW): Remove macro, replaced by the char_buffer_add function.
29084         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29085         of extend_alloca.  Make control flow more explicit.
29087 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29089         [BZ #19137]
29090         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29091         Add -fomit-frame-pointer.
29092         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29094 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29096         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29097         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29099         only if !__GNUC_PREREQ (5,0).
29100         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29101         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29102         (INTERNAL_SYSCALL_NCS): Likewise.
29103         (LOADREGS_0): New macro for GCC 5.
29104         (ASMARGS_0): Likewise.
29105         (LOADREGS_1): Likewise.
29106         (ASMARGS_1): Likewise.
29107         (LOADREGS_2): Likewise.
29108         (ASMARGS_2): Likewise.
29109         (LOADREGS_3): Likewise.
29110         (ASMARGS_3): Likewise.
29111         (LOADREGS_4): Likewise.
29112         (ASMARGS_4): Likewise.
29113         (LOADREGS_5): Likewise.
29114         (ASMARGS_5): Likewise.
29115         (LOADREGS_6): Likewise.
29116         (ASMARGS_6): Likewise.
29118 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29120         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29121         -fomit-frame-pointer.
29122         (CFLAGS-mmap64.c): Likewise.
29123         (CFLAGS-semtimedop.c): Likewise.
29124         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29125         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29126         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29127         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29129 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29131         [BZ #18928]
29132         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29133         _dl_pointer_guard member.
29134         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29135         initializer.
29136         (security_init): Always set up pointer guard.
29137         (process_envvars): Do not process LD_POINTER_GUARD.
29139 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29141         [BZ #19134]
29142         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29143         (.LC2): Likewise.
29144         (.LC3): Likewise.
29145         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29147 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29149         [BZ #19129]
29150         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29151         r0 and r1.
29153 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29155         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29157 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29159         * include/stap-probe.h: Fix macro definition formatting.
29161 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29163         [BZ #19074]
29164         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29165         load and store num_ifs.
29167 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29169         [BZ #18822]
29170         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29171         (__sched_getaffinity_new): Add libc_hidden_proto and
29172         libc_hidden_def.
29174 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29176         [BZ #19007]
29177         * scripts/localplt.awk: Also allow GOT references.
29178         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29179         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29180         with "+ REL R_386_GLOB_DAT".
29181         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29182         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29184 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29186         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29187         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29188         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29189         Likewise.
29190         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29191         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29192         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29193         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29194         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29195         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29196         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29197         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29198         Likewise.
29199         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29201 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29203         [BZ #19125]
29204         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29205         <math_private.h> and <stdint.h>.
29206         (__llround): Avoid conversions to and from long long int, and
29207         subtractions, where those might raise spurious exceptions.
29208         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29209         <math_private.h> and <stdint.h>.
29210         (__llroundf): Avoid conversions to and from long long int, and
29211         subtractions, where those might raise spurious exceptions.
29213 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29215         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29216         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29217         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29218         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29219         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29220         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29221         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29222         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29223         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29224         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29225         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29226         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29227         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29228         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29229         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29230         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29231         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29232         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29233         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29234         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29235         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29236         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29237         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29238         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29239         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29240         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29241         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29242         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29243         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29244         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29245         (__xstat64_conv): Likewise.
29246         (__xstat32_conv): Likewise.
29248 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29250         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29251         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29252         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29253         <sysdeps/unix/sysv/linux/sysdep.h>.
29254         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29255         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29256         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29257         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29258         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29259         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29260         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29261         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29262         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29265         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29267         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29270         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29271         (sysdep-dl-routines): Add sysdep.
29272         [$(subdir) == nptl] (libpthread-routines): Likewise.
29273         [$(subdir) == rt] (librt-routines): Likewise.
29274         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29275         PIC when branching to SYSCALL_ERROR_LABEL.
29276         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29278         <sysdeps/unix/sysv/linux/sysdep.h>.
29279         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29280         (SYSCALL_ERROR_ERRNO): Removed.
29281         (SYSCALL_ERROR_HANDLER): Changed to empty.
29282         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29283         (__syscall_error): New prototype.
29284         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29285         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29287 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29289         [BZ #19124]
29290         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29291         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29292         _dl_runtime_resolve_avx.
29293         (_dl_runtime_profile_avx512): Make it a hidden alias of
29294         _dl_runtime_profile_avx.
29296 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29298         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29299         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29300         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29301         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29303         [BZ #16422]
29304         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29305         New configure test.
29306         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29307         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29308         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29309         <math_private.h> and <stdint.h>.
29310         (__llrint): Avoid conversions to long long int where those might
29311         raise spurious exceptions.
29312         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29313         <math_private.h> and <stdint.h>.
29314         (__llrintf): Avoid conversions to long long int where those might
29315         raise spurious exceptions.
29317 2015-10-12  Andreas Schwab  <schwab@suse.de>
29319         [BZ #18969]
29320         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29321         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29322         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29323         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29324         $(gen-locales).
29325         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29326         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29327         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29328         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29329         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29330         $(gen-locales).
29331         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29332         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29333         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29334         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29335         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29336         ($(objpfx)tst-ftell-active-handler.out)
29337         ($(objpfx)tst-ftell-append.out)
29338         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29339         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29340         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29341         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29342         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29343         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29344         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29345         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29346         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29347         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29348         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29349         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29350         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29351         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29352         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29353         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29354         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29355         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29356         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29357         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29358         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29359         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29360         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29361         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29362         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29363         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29364         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29365         $(gen-locales).
29366         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29367         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29368         $(gen-locales).
29369         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29370         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29371         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29372         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29373         $(gen-locales).
29374         * libio/tst_wprintf2.c (main): Use explicit locale.
29375         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29377 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29379         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29380         __msg_sig_post.
29381         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29383 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29385         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29386         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29388         * sysdeps/arm/libm-test-ulps: Regenerated.
29390         [BZ #15470]
29391         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29393         [BZ #16399]
29394         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29395         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29396         and <fix-fp-int-convert-overflow.h>.
29397         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29398         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29399         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29400         and <fix-fp-int-convert-overflow.h>.
29401         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29402         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29403         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29404         <fix-fp-int-convert-overflow.h>.
29405         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29406         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29407         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29408         <fix-fp-int-convert-overflow.h>.
29409         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29410         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29411         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29412         and <fix-fp-int-convert-overflow.h>.
29413         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29414         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29415         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29416         <limits.h> and <fix-fp-int-convert-overflow.h>.
29417         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29418         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29419         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29420         and <fix-fp-int-convert-overflow.h>.
29421         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29422         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29423         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29424         and <fix-fp-int-convert-overflow.h>.
29425         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29426         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29427         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29429 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29431         [BZ #18589]
29432         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29433         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29434         $(gen-locales).
29436 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29437             Phil Blundell <pb@pbcl.net>
29439         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29440         * nptl/tst-cancel26.c: New file.
29441         * nptl/tst-cancel27.c: Likewise.
29443 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29445         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29446         __ILP32__ isn't defined.
29447         (lrint): Likewise.
29448         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29449         (lrintf): Likewise.
29450         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29451         (lrintl): Likewise.
29452         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29453         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29454         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29456 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29459         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29462         file.
29463         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29464         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29466 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29468         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29469         configure test.
29470         * sysdeps/i386/configure: Regenerated.
29471         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29472         configure test.
29473         * sysdeps/x86_64/configure: Regenerated.
29474         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29475         Make code unconditional.
29477         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29478         test.
29479         * sysdeps/i386/configure: Regenerated.
29480         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29481         test.
29482         * sysdeps/x86_64/configure: Regenerated.
29483         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29484         Make code unconditional.
29485         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29486         Likewise.
29487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29488         Likewise.
29489         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29490         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29491         code unconditional.
29492         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29493         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29494         code unconditional.
29495         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29496         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29497         code unconditional.
29498         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29499         code unconditional.
29500         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29501         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29502         code unconditional.
29503         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29504         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29505         code unconditional.
29506         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29507         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29508         code unconditional.
29509         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29510         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29511         code unconditional.
29512         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29513         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29515         [BZ #19095]
29516         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29517         mantissa to long int before shifting left.
29519 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29521         [BZ #19094]
29522         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29523         <limits.h>.
29524         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29525         when result overflows but exception would not result from cast.
29526         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29527         <limits.h>.
29528         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29529         when result overflows but exception would not result from cast.
29530         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29531         <limits.h>.
29532         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29533         when result overflows but exception would not result from cast.
29534         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29535         <limits.h>.
29536         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29537         when result overflows but exception would not result from cast.
29538         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29539         <limits.h>.
29540         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29541         when result overflows but exception would not result from cast.
29542         * math/libm-test.inc (lrint_test_data): Add more tests.
29543         (llrint_test_data): Likewise.
29545 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29547         [BZ #18872]
29548         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29549         Move out from under [$(run-built-tests) = yes] conditional.
29550         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29551         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29553 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29555         [BZ #18589]
29556         * string/Makefile (tests): Add bug-strcoll2.
29557         (LOCALES): Add cs_CZ.UTF-8.
29558         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29560         [BZ #18589]
29561         * string/bug-strcoll2.c: New file.
29562         * locale/categories.def: Revert commit
29563         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29564         * locale/langinfo.h: Likewise.
29565         * locale/localeinfo.h: Likewise.
29566         * locale/C-collate.c: Likewise.
29567         * locale/programs/ld-collate.c (collate_output): Likewise.
29568         * string/strcoll_l.c (STRDIFF): Likewise.
29569         (STRCOLL): Likewise.
29570         * wcsmbs/wcscoll_l.c: Likewise.
29572 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29574         * math/libm-test.inc (lround_test_data): Do not expect the absence
29575         of "inexact" for some tests with non-integer arguments.
29576         (llround_test_data): Likewise.
29578         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29579         test.
29580         (libc_cv_cc_sse2avx): Likewise.
29581         * sysdeps/i386/configure: Regenerated.
29582         * sysdeps/i386/i686/multiarch/Makefile
29583         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29584         [$(subdir) = math].
29585         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29586         code unconditional.
29587         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29588         Likewise.
29589         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29590         Likewise.
29591         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29592         Likewise.
29593         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29594         test.
29595         (libc_cv_cc_sse2avx): Likewise.
29596         * sysdeps/x86_64/configure: Regenerated.
29597         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29598         unconditional.
29599         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29600         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29601         unconditional.
29602         (_dl_runtime_profile)
29603         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29604         conditional code.
29605         * sysdeps/x86_64/fpu/multiarch/Makefile
29606         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29608         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29609         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29611         * sysdeps/x86_64/fpu/multiarch/e_log.c
29612         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29613         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29614         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29615         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29616         Likewise.
29617         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29618         Likewise.
29619         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29620         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29621         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29622         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29623         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29624         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29625         (HAVE_SSE2AVX_SUPPORT): Likewise.
29627 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29629         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29630         instead of #pragma optimize.
29632 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29634         [BZ #17195]
29635         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29636         as is similarly done in systrim and _int_free already.
29638 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29640         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29642 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29644         [BZ #19088]
29645         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29646         <limits.h>.
29647         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29648         overflows but exception would not result from cast.
29649         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29650         and <limits.h>.
29651         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29652         overflows but exception would not result from cast.
29653         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29654         <limits.h>.
29655         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29656         overflows but exception would not result from cast.
29657         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29658         <limits.h>.
29659         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29660         overflows but exception would not result from cast.
29661         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29662         <limits.h>.
29663         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29664         overflows but exception would not result from cast.
29665         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29666         <limits.h>.
29667         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29668         overflows but exception would not result from cast.
29669         * math/libm-test.inc (lround_test_data): Add more tests.
29670         (llround_test_data): Likewise.
29672 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29674         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29675         (CFLAGS-ialloc.c): Ditto.
29676         (CFLAGS-scheck.c): Ditto.
29678 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29680         [BZ #19086]
29681         * manual/filesys.texi (Storage Allocation): Fix argument order for
29682         posix_fallocate64.
29684 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #19085]
29687         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29688         exponent below 48 inside case for non-overflowing exponent.
29689         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29691 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29693         * iconvdata/cp737.h (from_idx): Add const.
29694         * iconvdata/cp775.h (from_idx): Likewise.
29696 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29698         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29699         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29700         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29702         [BZ #19079]
29703         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29704         file, conditioned on [!_LP64].
29705         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29706         [!_LP64] (__lround): Do not define as function or alias.
29707         [!_LP64] (lround): Likewise.
29708         [!_LP64] (__lroundl): Likewise.
29709         [!_LP64] (lroundl): Likewise.
29710         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29711         macro.
29712         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29713         Likewise.
29715 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29717         * math/libm-test.inc (lrint_test_data): Add more tests.
29718         (llrint_test_data): Likewise.
29719         (lround_test_data): Likewise.
29720         (llround_test_data): Likewise.
29722         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29723         (llrint_test_data): Add tests used for lrint.
29725         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29726         test.
29727         * sysdeps/i386/configure: Regenerated.
29728         * sysdeps/i386/i686/multiarch/Makefile
29729         [$(config-cflags-sse4) = yes]: Make code unconditional.
29730         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29731         Likewise.
29732         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29733         Likewise.
29734         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29735         test.
29736         * sysdeps/x86_64/configure: Regenerated.
29737         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29738         Make code unconditional.
29739         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29740         Likewise.
29741         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29742         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29744         * scripts/rpm2dynsym.sh: Remove file.
29746 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29748         * configure.ac (libc_cv_cxx_thread_local): Define.
29749         * configure: Regenerate.
29750         * config.make.in (have-cxx-thread_local): Define.
29751         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29752         (LDLIBS-tst-thread_local1): Define.
29753         (tests): Add tst-thread_local1.
29754         [have-cxx-thread_local != yes] (tests-unsupported): Add
29755         tst-thread_local1.
29756         * nptl/tst-thread_local1.cc: New file.
29758 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29760         [BZ #19078]
29761         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29762         (u_thres): Likewise.
29763         (__expl): Determine whether to call __kernel_standard_l based on
29764         value of result, not argument.
29766         * math/libm-test.inc (scalb_test_data): Add more expectations for
29767         the "inexact" exception.
29769         [BZ #19077]
29770         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29771         0.0L for argument 1.0L.
29773         [BZ #19076]
29774         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29775         constant 0.0L when computing infinite result.
29777 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29779         [BZ #10432]
29780         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29781         malloc_usable_size.
29783 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29785         [BZ #19018]
29786         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29787         Mangle function pointer before storing it.
29788         (__call_tls_dtors): Demangle function pointer before calling it.
29790 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29792         [BZ #19012]
29793         * iconv/gconv_db.c (gen_steps): Check for additional errors.
29794         Clean up on failure.
29796 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
29798         [BZ #19071]
29799         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29800         long int variable to store possibly incremented high part of
29801         mantissa.
29802         * math/libm-test.inc (lround_test_data): Add tests used for
29803         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
29804         for tests requiring 64-bit long.  Do not condition tests on
29805         [TEST_FLOAT] unnecessarily.
29806         (llround_test_data): Add tests used for lround.  Add another
29807         expectation for the "inexact" exception.  Do not condition tests
29808         on [TEST_FLOAT] unnecessarily.
29810         [BZ #887]
29811         [BZ #19049]
29812         [BZ #19050]
29813         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29814         * sysdeps/ieee754/dbl-64/e_log10.c: Include
29815         <fix-int-fp-convert-zero.h>.
29816         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29817         * sysdeps/ieee754/dbl-64/e_log2.c: Include
29818         <fix-int-fp-convert-zero.h>.
29819         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29820         * sysdeps/ieee754/dbl-64/s_erf.c: Include
29821         <fix-int-fp-convert-zero.h>.
29822         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29823         * sysdeps/ieee754/dbl-64/s_logb.c: Include
29824         <fix-int-fp-convert-zero.h>.
29825         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29826         * sysdeps/ieee754/flt-32/e_log10f.c: Include
29827         <fix-int-fp-convert-zero.h>.
29828         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29829         * sysdeps/ieee754/flt-32/e_log2f.c: Include
29830         <fix-int-fp-convert-zero.h>.
29831         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29832         * sysdeps/ieee754/flt-32/s_erff.c: Include
29833         <fix-int-fp-convert-zero.h>.
29834         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29835         * sysdeps/ieee754/flt-32/s_logbf.c: Include
29836         <fix-int-fp-convert-zero.h>.
29837         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29839         <fix-int-fp-convert-zero.h>.
29840         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29842         <fix-int-fp-convert-zero.h>.
29843         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29844         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29845         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29846         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29847         file.
29848         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29850 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
29852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29854 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
29856         [BZ #19059]
29857         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29858         overflowing computation.
29859         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29860         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29861         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29862         Likewise.
29863         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29864         Likewise.
29865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29866         Likewise.
29867         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29868         Likewise.
29869         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29870         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29871         Likewise.
29872         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29873         Likewise.
29874         * math/libm-test.inc (nexttoward_test_data): Add more tests.
29876         * nss/rewrite_field.c (__nss_rewrite_field): Use
29877         internal_function.
29878         * nss/valid_field.c (__nss_valid_field): Likewise.
29879         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29881 2015-10-02  Florian Weimer  <fweimer@redhat.com>
29883         [BZ #18724]
29884         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29885         (__nss_invalid_field_characters, __nss_valid_field)
29886         (__nss_valid_list_field, __nss_rewrite_field): Declare.
29887         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29888         tst-field.c: New file.
29889         * nss/Makefile (routines): Add valid_field, rewrite_field.
29890         (tests-static): Define unconditionally.
29891         (tests): Include tests-static.
29892         [build-static-nss] (tests-static): Use append.
29893         [build-static-nss] (tests): Remove modification.
29894         * nss/getent.c (print_group): Call putgrent.  Report error.
29895         (print_gshadow): Call putsgent.  Report error.
29896         (print_passwd): Call putpwent.  Report error.
29897         (print_shadow): Call putspent.  Report error.
29898         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29899         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29900         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
29901         name, password, directory, shell fields for valid syntax.  Rewrite
29902         GECOS field to match syntax.
29903         * pwd/Makefile (tests): Add tst-putpwent.
29904         * pwd/tst-putpwent.c: New file.
29905         * grp/putgrent.c (putgrent): Convert to ISO function definition.
29906         Check grName, grpasswd, gr_mem fields for valid syntax.
29907         Change loop variable i to size_t.
29908         * grp/Makefile (tests): Add tst-putgrent.
29909         * grp/tst-putgrent.c: New file.
29910         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29911         valid syntax.
29912         * shadow/Makefile (tests): Add tst-putspent.
29913         * shadow/tst-putspent.c: New file.
29914         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29915         sg_mem fields for valid syntax.
29916         * gshadow/Makefile (tests): Add tst-putsgent.
29917         * gshadow/tst-putsgent.c: New file.
29919 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29921         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29922         assembly instructions.
29924 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29926         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29927         prefix from operands.
29929 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #16347]
29932         [BZ #19046]
29933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29934         <libc-internal.h>.
29935         (MAXLGM): Do not use diagnostic control macros.
29936         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29937         threshold for ldbl-128ibm.
29938         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29939         instead of multiplying by log then subtracting.
29940         * math/auto-libm-test-in: Add more tests of lgamma.
29941         * math/auto-libm-test-out: Regenerated.
29943         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29944         (TYPE_HEX_DIG): Likewise.
29945         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29946         precisions when printing floating-point numbers.
29947         (check_float_internal): Likewise.
29949 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29951         [BZ #16620]
29952         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29953         of log (10) rounded downward to 48 bits.
29954         (log10_low): Use corresponding low part of log (10).
29956         [BZ #19032]
29957         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29958         compute result as (x - x) / (x - x) not as 0 / 0.
29959         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29960         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29962         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29963         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29964         and expm1.
29965         * math/auto-libm-test-out: Regenerated.
29966         * math/libm-test.inc (acos_test_data): Add more tests.
29967         (asin_test_data): Likewise.
29968         (asinh_test_data): Likewise.
29969         (atan_test_data): Likewise.
29970         (atanh_test_data): Likewise.
29971         (atan2_test_data): Likewise.
29972         (cbrt_test_data): Likewise.
29973         (ceil_test_data): Likewise.
29974         (copysign_test_data): Likewise.
29975         (cos_test_data): Likewise.
29976         (cosh_test_data): Likewise.
29977         (erf_test_data): Likewise.
29978         (erfc_test_data): Likewise.
29979         (exp_test_data): Likewise.
29980         (exp10_test_data): Likewise.
29981         (exp2_test_data): Likewise.
29982         (expm1_test_data): Likewise.
29983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29985 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
29987         [BZ #19006]
29988         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29989         to ...
29990         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29991         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29992         to ...
29993         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29994         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29995         to ...
29996         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29997         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29998         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29999         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30000         to ...
30001         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30002         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30003         Moved to ...
30004         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30005         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30006         Moved to ...
30007         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30008         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30009         to ...
30010         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30011         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30012         Moved to ...
30013         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30014         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30015         to ...
30016         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30017         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30018         Removed.
30019         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30020         Likewise.
30021         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30022         Likewise.
30023         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30024         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30025         Likewise.
30026         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30027         Likewise.
30028         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30029         Likewise.
30030         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30031         Likewise.
30032         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30033         Likewise.
30034         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30035         Likewise.
30036         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30037         Likewise.
30038         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30039         Likewise.
30040         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30041         Likewise.
30042         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30043         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30044         Likewise.
30045         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30046         Likewise.
30047         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30048         Likewise.
30049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30050         Likewise.
30051         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30052         Likewise.
30053         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30054         Replace ../i486/pthread_cond_timedwait.S with
30055         ../pthread_cond_timedwait.S.
30057 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30059         * math/libm-test.inc (acos_test_data): Refine expectations for
30060         errno and "inexact" exceptions.
30061         (acosh_test_data): Likewise.
30062         (asin_test_data): Likewise.
30063         (asinh_test_data): Likewise.
30064         (atan_test_data): Likewise.
30065         (atanh_test_data): Likewise.
30066         (atan2_test_data): Likewise.
30067         (cbrt_test_data): Likewise.
30068         (ceil_test_data): Likewise.
30069         (copysign_test_data): Likewise.
30070         (cosh_test_data): Likewise.
30071         (erf_test_data): Likewise.
30072         (erfc_test_data): Likewise.
30073         (exp_test_data): Likewise.
30074         (exp10_test_data): Likewise.
30075         (exp2_test_data): Likewise.
30076         (expm1_test_data): Likewise.
30077         (fabs_test_data): Likewise.
30078         (floor_test_data): Likewise.
30079         (fma_test_data): Likewise.
30080         (fmax_test_data): Likewise.
30081         (fmin_test_data): Likewise.
30082         (fmod_test_data): Likewise.
30083         (fpclassify_test_data): Likewise.
30084         (frexp_test_data): Likewise.
30085         (hypot_test_data): Likewise.
30086         (ilogb_test_data): Likewise.
30087         (isgreater_test_data): Likewise.
30088         (isgreaterequal_test_data): Likewise.
30089         (isinf_test_data): Likewise.
30090         (isless_test_data): Likewise.
30091         (islessequal_test_data): Likewise.
30092         (islessgreater_test_data): Likewise.
30093         (isnan_test_data): Likewise.
30094         (isnormal_test_data): Likewise.
30095         (issignaling_test_data): Likewise.
30096         (isunordered_test_data): Likewise.
30097         (j0_test_data): Likewise.
30098         (j1_test_data): Likewise.
30099         (jn_test_data): Likewise.
30100         (lgamma_test_data): Likewise.
30101         (lrint_test_data): Likewise.
30102         (llrint_test_data): Likewise.
30103         (log_test_data): Likewise.
30104         (log10_test_data): Likewise.
30105         (log1p_test_data): Likewise.
30106         (log2_test_data): Likewise.
30107         (logb_test_data): Likewise.
30108         (lround_test_data): Likewise.
30109         (llround_test_data): Likewise.
30110         (modf_test_data): Likewise.
30111         (nearbyint_test_data): Likewise.
30112         (nextafter_test_data): Likewise.
30113         (nexttoward_test_data): Likewise.
30114         (pow_test_data): Likewise.
30115         (remainder_test_data): Likewise.
30116         (remquo_test_data): Likewise.
30117         (rint_test_data): Likewise.
30118         (round_test_data): Likewise.
30119         (signbit_test_data): Likewise.
30120         (sinh_test_data): Likewise.
30121         (sqrt_test_data): Likewise.
30122         (tanh_test_data): Likewise.
30123         (tgamma_test_data): Likewise.
30124         (trunc_test_data): Likewise.
30125         (y0_test_data): Likewise.
30126         (y1_test_data): Likewise.
30127         (yn_test_data): Likewise.
30128         (significand_test_data): Likewise.
30130 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30132         * manual/filesys.texi (Storage Allocation): Document that
30133         posix_fallocate emulation fails when fd is open with O_WRONLY.
30135 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30137         [BZ #19016]
30138         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30139         allow more cases with X^2 + Y^2 >= 0.5.
30140         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30141         normal element in sum instead of special-casing based on values of
30142         arguments.
30143         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30144         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30145         -1 as normal element in sum instead of special-casing based on
30146         values of arguments.
30147         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30148         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30149         (__x2y2m1): Update comment.
30150         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30151         as normal element in sum instead of special-casing based on values
30152         of arguments.
30153         * math/s_clog.c (__clog): Handle more cases using log1p without
30154         hypot.
30155         * math/s_clog10.c (__clog10): Likewise.
30156         * math/s_clog10f.c (__clog10f): Likewise.
30157         * math/s_clog10l.c (__clog10l): Likewise.
30158         * math/s_clogf.c (__clogf): Likewise.
30159         * math/s_clogl.c (__clogl): Likewise.
30160         * math/auto-libm-test-in: Add more tests of clog and clog10.
30161         * math/auto-libm-test-out: Regenerated.
30162         * sysdeps/i386/fpu/libm-test-ulps: Update.
30163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30165 2015-09-28  Martin Sebor  <msebor@redhat.com>
30167         [BZ #18969]
30168         * string/Makefile (LOCALES): Define.
30169         (gen-locales.mk): Include.
30170         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30171         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30172         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30173         on setlocale failure.
30175 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30177         [BZ #18985]
30178         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30179         (__strftime_internal): Likewise.
30180         * time/tst-strftime.c (do_bz18985): New test.
30181         (do_test): Call it.
30183 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30185         [BZ #18956]
30186         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30187         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30188         extracting high part.
30189         * math/auto-libm-test-in: Add another test of pow.
30190         * math/auto-libm-test-out: Regenerated.
30191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30193 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30195         [BZ #18825]
30196         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30197         New macro.
30198         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30199         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30200         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30201         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30202         DBL_NARROW_EVAL, reloading the PIC register as needed.
30203         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30204         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30205         FLT_NARROW_EVAL.  Use separate return path for case when first
30206         argument is NaN.
30207         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30208         DEFINE_LDBL_MIN.
30209         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30210         PIC register.
30211         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30212         math_check_force_underflow_nonneg.
30213         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30214         underflow for subnormal result.
30215         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30217         math_check_force_underflow_nonneg.
30218         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30219         math_check_force_underflow.
30220         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30221         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30222         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30223         DEFINE_LDBL_MIN.
30224         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30225         * math/auto-libm-test-in: Add more tests of pow.
30226         * math/auto-libm-test-out: Regenerated.
30228 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30230         * nss/bug17079.c (init_test_items): Add diagnostic for
30231         inconsistent entries.
30232         (test_buffer_size): Skip inconsistent entries.
30234 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30236         [BZ #13304]
30237         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30238         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30239         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30241         [BZ #13304]
30242         * sysdeps/microblaze/s_fma.c: New file.
30243         * sysdeps/microblaze/s_fmaf.c: Likewise.
30244         * sysdeps/microblaze/sfp-machine.h: Likewise.
30246 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30248         [BZ #17250]
30249         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30250         member.
30252 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30254         [BZ #18803]
30255         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30256         (MO): New macro.
30257         (__ieee754_hypot) [PIC]: Load PIC register.
30258         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30259         DBL_NARROW_EVAL.
30260         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30261         math_check_force_underflow_nonneg in case where result might be
30262         tiny.
30263         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30264         Likewise.
30265         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30266         Likewise.
30267         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30268         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30269         * math/auto-libm-test-in: Add more tests of hypot.
30270         * math/auto-libm-test-out: Regenerated.
30272 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30274         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30276 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30278         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30279         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30280         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30281         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30282         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30283         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30284         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30286         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30287         LOAD_PIC_REG.
30289         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30290         (FLT_CHECK_FORCE_UFLOW): Likewise.
30291         (DBL_CHECK_FORCE_UFLOW): Likewise.
30292         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30293         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30294         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30295         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30296         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30297         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30298         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30299         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30300         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30301         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30302         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30303         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30304         (flt_min): Replace with use of DEFINE_FLT_MIN.
30305         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30306         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30307         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30308         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30309         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30310         (flt_min): Replace with use of DEFINE_FLT_MIN.
30311         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30312         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30313         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30314         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30315         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30316         (flt_min): Replace with use of DEFINE_FLT_MIN.
30317         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30318         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30319         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30320         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30321         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30322         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30323         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30324         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30325         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30326         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30327         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30328         (flt_min): Replace with use of DEFINE_FLT_MIN.
30329         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30330         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30331         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30332         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30333         main computation.
30334         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30335         (flt_min): Replace with use of DEFINE_FLT_MIN.
30336         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30337         main computation.
30338         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30339         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30340         (MO): New macro.
30341         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30342         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30343         (flt_min): Replace with use of DEFINE_FLT_MIN.
30344         (MO): New macro.
30345         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30346         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30347         (__log1pl): Use MO.
30349         [BZ #19003]
30350         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30351         $(config-cflags-nofma).
30353 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30355         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30357 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30359         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30360         (TWO127): Likewise.
30362         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30363         (min_of_type): Likewise.
30364         (math_check_force_underflow): Likewise.
30365         (math_check_force_underflow_nonneg): Likewise.
30366         (math_check_force_underflow_complex): Likewise.
30367         * math/e_exp2l.c (__ieee754_exp2l): Use
30368         math_check_force_underflow_nonneg.
30369         * math/k_casinh.c (__kernel_casinh): Likewise.
30370         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30371         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30372         * math/s_catan.c (__catan): Use
30373         math_check_force_underflow_complex.
30374         * math/s_catanf.c (__catanf): Likewise.
30375         * math/s_catanh.c (__catanh): Likewise.
30376         * math/s_catanhf.c (__catanhf): Likewise.
30377         * math/s_catanhl.c (__catanhl): Likewise.
30378         * math/s_catanl.c (__catanl): Likewise.
30379         * math/s_ccosh.c (__ccosh): Likewise.
30380         * math/s_ccoshf.c (__ccoshf): Likewise.
30381         * math/s_ccoshl.c (__ccoshl): Likewise.
30382         * math/s_cexp.c (__cexp): Likewise.
30383         * math/s_cexpf.c (__cexpf): Likewise.
30384         * math/s_cexpl.c (__cexpl): Likewise.
30385         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30386         * math/s_clog10.c (__clog10): Likewise.
30387         * math/s_clog10f.c (__clog10f): Likewise.
30388         * math/s_clog10l.c (__clog10l): Likewise.
30389         * math/s_clogf.c (__clogf): Likewise.
30390         * math/s_clogl.c (__clogl): Likewise.
30391         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30392         * math/s_csinf.c (__csinf): Likewise.
30393         * math/s_csinh.c (__csinh): Likewise.
30394         * math/s_csinhf.c (__csinhf): Likewise.
30395         * math/s_csinhl.c (__csinhl): Likewise.
30396         * math/s_csinl.c (__csinl): Likewise.
30397         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30398         * math/s_csqrtf.c (__csqrtf): Likewise.
30399         * math/s_csqrtl.c (__csqrtl): Likewise.
30400         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30401         * math/s_ctanf.c (__ctanf): Likewise.
30402         * math/s_ctanh.c (__ctanh): Likewise.
30403         * math/s_ctanhf.c (__ctanhf): Likewise.
30404         * math/s_ctanhl.c (__ctanhl): Likewise.
30405         * math/s_ctanl.c (__ctanl): Likewise.
30406         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30407         instead of volatile.
30408         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30409         math_check_force_underflow.
30410         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30411         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30412         volatile when forcing underflow.
30413         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30414         math_check_force_underflow_nonneg.
30415         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30416         Likewise.
30417         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30418         math_check_force_underflow.
30419         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30420         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30421         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30422         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30423         math_check_force_underflow_nonneg.
30424         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30425         math_check_force_underflow.
30426         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30428         instead of volatile.
30429         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30430         math_check_force_underflow.
30431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30432         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30433         math_check_force_underflow_nonneg.
30434         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30435         math_check_force_underflow.
30436         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30437         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30438         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30439         math_check_force_underflow_nonneg.
30440         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30441         Likewise.
30442         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30443         math_check_force_underflow.
30444         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30445         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30446         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30447         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30448         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30449         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30450         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30451         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30452         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30453         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30454         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30455         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30456         Likewise.
30457         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30458         math_check_force_underflow_nonneg.
30459         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30460         Likewise.
30461         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30462         math_check_force_underflow.
30463         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30464         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30465         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30466         Likewise.
30467         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30468         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30469         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30470         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30471         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30472         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30474         instead of volatile.
30475         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30476         math_check_force_underflow.
30477         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30479         math_check_force_underflow.
30480         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30481         Likewise.
30482         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30483         Use math_check_force_underflow_nonneg.
30484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30485         math_check_force_underflow.
30486         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30487         Likewise.
30488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30489         Likewise.
30490         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30491         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30493         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30495         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30496         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30497         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30498         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30499         math_check_force_underflow_nonneg.
30500         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30501         math_check_force_underflow.
30502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30503         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30504         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30505         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30506         math_check_force_underflow_nonneg.
30507         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30508         math_check_force_underflow.
30509         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30510         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30511         instead of volatile.
30512         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30513         math_check_force_underflow.
30515         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30516         * stdlib/strtod_l.c: Include <math_private.h>.
30517         (overflow_value): Use math_narrow_eval.
30518         (underflow_value): Likewise.
30519         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30520         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30521         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30522         (__ieee754_gamma_r): Likewise.
30523         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30524         Likewise.
30525         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30526         Likewise.
30527         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30528         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30529         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30530         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30531         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30532         (__ieee754_gammaf_r): Likewise.
30533         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30534         Likewise.
30535         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30536         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30537         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30538         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30539         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30540         volatile.
30541         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30542         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30543         math_narrow_eval.
30544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30545         Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30547         Likewise.
30548         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30549         Likewise.
30550         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30551         volatile.
30552         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30553         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30554         math_narrow_eval.
30555         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30556         Likewise.
30557         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30558         Likewise.
30560 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30562         * nptl/Versions: Remove ignored symbols.
30564 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30566         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30567         * nss/Makefile (tests): Update.
30569 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30571         * nss/bug18287.c: New file.
30572         * nss/Makefile (tests): Add bug18287.
30574 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30576         * mach/Versions (__mach_host_self_): Add symbol.
30578 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30580         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30581         vm_page_size.
30583 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30585         Really fix sysdeps/i386/fpu/s_scalbn.S build
30587         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30588         (libc: GLIBC_2_22): Remove unused version set.
30590 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30592         * config.make.in (enable-timezone-tools): New variable.
30593         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30594         (enable_timezone_tools): Export to generated files.
30595         * configure: Regenerate.
30596         * INSTALL: Regenerate.
30597         * manual/install.texi (--disable-timezone-tools): Document new flag.
30598         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30599         ifeq ($(enable-timezone-tools),yes) check.
30601 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30603         * timezone/Makefile: Revert previous change.
30605         [BZ #18980]
30606         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30607         (DEFINE_DBL_MIN): Likewise.
30608         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30609         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30610         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30611         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30612         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30613         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30614         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30615         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30616         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30617         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30618         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30619         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30620         (flt_min): Replace with use of DEFINE_FLT_MIN.
30621         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30622         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30623         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30624         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30625         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30626         (flt_min): Replace with use of DEFINE_FLT_MIN.
30627         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30628         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30629         (flt_min): Replace with use of DEFINE_FLT_MIN.
30630         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30631         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30632         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30633         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30634         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30635         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30636         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30637         (__ieee754_pow): Use DBL_NARROW_EVAL.
30638         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30639         (__ieee754_powf): Use FLT_NARROW_EVAL.
30640         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30641         (__ieee754_expf_sse2): Convert double-precision result to single
30642         precision.
30643         * sysdeps/i386/fpu/libm-test-ulps: Update.
30645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30647         * timezone/Makefile: Ignore unused variable errors due to private.h
30648         (time_t_min) and (time_t_max).
30649         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30650         Likewise.
30652 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30654         [BZ #18981]
30655         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30656         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30657         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30658         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30659         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30660         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30661         (__scalbn): Use DBL_NARROW_EVAL.
30662         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30663         (__scalbnf): Use FLT_NARROW_EVAL.
30665 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30667         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30668         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30669         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30670         * stdio-common/printf_fp.c (___printf_fp):
30671         Use signbit to get the sign. Use isinf macro to allow inlining.
30672         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30673         * stdio-common/printf_size.c (__printf_size): Likewise.
30675 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30677         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30679 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30681         [BZ #18980]
30682         * sysdeps/generic/math_private.h: Include <float.h>.
30683         (math_narrow_eval): New macro.
30684         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30685         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30686         math_narrow_eval on overflowing return value.
30687         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30688         Likewise.
30689         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30690         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30691         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30692         Likewise.
30693         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30697         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30698         * math/Makefile: Remove isinf_ns.c.
30699         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30700         * math/multc3.c (__multc3): Likewise.
30701         * math/s_casin.c (__casin): Likewise.
30702         * math/s_casinf.c (__casinf): Likewise.
30703         * math/s_casinl.c (__casinl): Likewise.
30704         * math/s_cproj.c (__cproj): Likewise.
30705         * math/s_cprojf.c (__cprojf): Likewise.
30706         * math/s_cprojl.c (__cprofl): Likewise.
30707         * math/s_ctan.c (__ctan): Likewise.
30708         * math/s_ctanf.c (__ctanf): Likewise.
30709         * math/s_ctanh.c (__ctanh): Likewise.
30710         * math/s_ctanhf.c (__ctanhf): Likewise.
30711         * math/s_ctanhl.c (__ctanhl): Likewise.
30712         * math/s_ctanl.c (__ctanl): Likewise.
30713         * math/w_fmod.c (__fmod): Likewise.
30714         * math/w_fmodf.c (__fmodf): Likewise.
30715         * math/w_fmodl.c (_fmodl): Likewise.
30716         * math/w_remainder.c (__remainder): Likewise.
30717         * math/w_remainderf.c (__remainderf): Likewise.
30718         * math/w_remainderl.c (__remainderl): Likewise.
30719         * math/w_scalb.c (__scalb): Likewise.
30720         * math/w_scalbf.c (__scalbf): Likewise.
30721         * math/w_scalbl.c (__scalbl): Likewise.
30722         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30723         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30724         with isinf.
30725         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30726         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30727         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30728         __isinf_nsf with isinf.
30729         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30730         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30731         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30732         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30733         with isinf.
30734         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30735         __isinf_nsl with isinf.
30736         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30737         with isinf.
30738         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30739         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30740         __isinf_nsl with isinf.
30741         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30742         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30743         with isinf.
30745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30747         * resolv/base64.c (rcsid): Remove unused static.
30748         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30749         static.  (tqpi1): Likewise.
30750         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30751         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30752         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30753         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30754         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30755         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30756         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30757         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
30758         Likewise.
30760 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
30762         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30763         <nptl/pthreadP.h>.
30764         (_longjmp_unwind): Use __libc_ptf_call.
30765         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30767 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
30769         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30770         * sysdeps/arm/__longjmp.S: Likewise.
30772 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30774         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30775         Use __builtin_signbit.
30776         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30777         Use __builtin_signbitf.
30778         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30779         Use __builtin_signbitl.
30780         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30781         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30783 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30785         [BZ #15367]
30786         [BZ #17441]
30788         * math/Makefile: Build test-snan.c with -fsignaling-nans.
30789         * math/math.h (fpclassify): Use __builtin_fpclassify when
30790         available.  (signbit): Use __builtin_signbit(f/l).
30791         (isfinite): Use__builtin_isfinite.  (isnormal): Use
30792         __builtin_isnormal.  (isnan): Use __builtin_isnan.
30793         (isinf): Use __builtin_isinf_sign.
30795 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30797         * benchtests/Makefile: Add bench-math-inlines, link with libm.
30798         * benchtests/bench-math-inlines.c: New benchmark.
30799         * benchtests/bench-util.h: New file.
30800         * benchtests/bench-util.c: New file.
30801         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30803 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
30805         * elf/tst-dlmopen1.c: Define TEST_SO.
30806         (do_test): Use TEST_SO.
30808         * elf/dl-load.c: Include libc-internal.h.
30809         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30811 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30813         [BZ #17887]
30814         * time/strptime_l.c (__strptime_internal): Make %z accept
30815         [+-]HH:MM time zones.
30817 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30819         [BZ #17886]
30820         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30821         valid time zone.
30823 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
30825         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30826         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30827         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30828         (__ASSUME_FDATASYNC): Delete.
30830 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30832         * conform/linknamespace.pl: Require weak undefined symbols to be
30833         in the standard namespace.
30834         (%strong_syms): Rename to %seen_syms.
30835         (%strong_seen): Rename to %seen_where.
30837 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
30839         [BZ #18970]
30840         * misc/error.c (error): Replace pthread_setcancelstate with
30841         __pthread_setcancelstate.
30842         (error_at_line): Likewise.
30843         * posix/wordexp.c (parse_comm): Likewise.
30844         * stdlib/fmtmsg.c (fmtmsg): Likewise.
30845         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30846         (__pthread_setcancelstate): This.
30847         (pthread_setcancelstate): Add an alias.
30848         * nptl/nptl-init.c (pthread_functions): Replace
30849         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30850         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30851         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30852         hidden_proto.
30853         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30854         it with hidden_def.
30855         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30856         (pthread_setcancelstate): Renamed to ...
30857         (__pthread_setcancelstate): This.
30858         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30859         __libc_ptf_call with __pthread_setcancelstate.
30861 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30862             Andreas Schwab  <schwab@suse.de>
30864         [BZ #17118]
30865         * math/s_ctan.c (__ctan): Determine sign of zero real part of
30866         result when imaginary part of argument is infinite using sine and
30867         cosine.
30868         * math/s_ctanf.c (__ctanf): Likewise.
30869         * math/s_ctanl.c (__ctanl): Likewise.
30870         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30871         of result when real part of argument is infinite using sine and
30872         cosine.
30873         * math/s_ctanhf.c (__ctanhf): Likewise.
30874         * math/s_ctanhl.c (__ctanhl): Likewise.
30875         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30876         (ctanh_test_data): Add more tests of ctanh.
30878 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30880         [BZ #15384]
30881         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30882         bit-mask as in subtraction.
30883         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30884         Likewise.
30885         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30886         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30887         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30889         [BZ #18951]
30890         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30891         underflow exception for small results.
30892         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30893         Likewise.
30894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30895         Likewise.
30896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30897         Likewise.
30898         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30899         Likewise.
30900         * math/auto-libm-test-in: Add more tests of tgamma.
30901         * math/auto-libm-test-out: Regenerated.
30903 2015-09-17  Andreas Schwab  <schwab@suse.de>
30905         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30907 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30909         [BZ #18977]
30910         * math/bits/mathcalls.h
30911         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30912         not declare.
30913         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30914         Likewise.
30915         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30916         Likewise.
30917         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30918         Likewise.
30919         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30920         Likewise.
30921         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30922         Likewise.
30923         * conform/data/math.h-data
30924         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30925         function.
30926         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30927         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30928         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30929         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30930         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30931         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30932         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30933         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30934         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30935         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30936         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30938         [BZ #6803]
30939         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30940         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30941         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30942         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30943         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30944         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30945         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30946         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30947         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30949         Likewise.
30950         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30951         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30952         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30953         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30954         long_double_symbol calls.
30955         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30956         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30957         strong alias of __ldexpl.
30958         (scalbnl): Define using long_double_symbol.
30959         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30960         Remove alias.
30961         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30962         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30963         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30964         (scalbln_test_data): Add more errno expectations.
30966 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
30968         Cache the host port like we cache the task port.  This way we do not
30969         need to call the kernel just to get the port.  Furthermore, we no
30970         longer increase the reference count on every invocation of
30971         `mach_host_self'.
30973         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30974         Protect declarations against the macro expansion.
30975         * mach/mach_init.c (__mach_host_self_): New variable.
30976         (mach_init): Initialize `__mach_host_self_'.
30977         * mach/mach_init.h (__mach_host_self_): New declaration.
30978         (__mach_host_self, mach_host_self): New macros.
30979         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30980         Release reference.
30982 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30984         [BZ #4404]
30985         * po/de.po: Update from Translation Project.
30987         [BZ #16415]
30988         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30989         (__expm1l): Remove code to handle positive infinity and overflow.
30990         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30991         variable.
30992         (__expm1l): Remove code to handle positive infinity and overflow.
30994 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
30995             Paul Pluzhnikov  <ppluzhnikov@google.com>
30997         [BZ #18872]
30998         * stdio-common/Makefile (tst-printf-bz18872): New test.
30999         (tst-printf-bz18872-mem.out): Likewise.
31000         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31001         * stdio-common/vfprintf.c: Fix memory leaks.
31003 2015-09-16  Andreas Schwab  <schwab@suse.de>
31005         [BZ #17244]
31006         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31007         Remove extra va_start/va_end calls.
31009         [BZ #17243]
31010         * posix/execl.c (execl): Add missing va_end.
31011         * posix/execle.c (execle): Likewise.
31012         * posix/execlp.c (execlp): Likewise.
31014 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31016         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31017         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31019 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31021         [BZ #18967]
31022         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31023         undefine around includes of <bits/mathcalls.h>.
31024         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31025         not declare function.
31026         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31027         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31028         (scalb): Likewise.
31029         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31030         not define macro.
31031         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31032         variable.
31033         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31034         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31035         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31037         [BZ #18857]
31038         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31039         return non-finite argument without doing ordered comparisons on
31040         it.
31042         [BZ #16296]
31043         * math/fenv.h (fegetround): Use __attribute_pure__.
31044         * include/fenv.h (__fegetround): Likewise.
31046         [BZ #18595]
31047         * math/s_ctan.c (__ctan): Force underflow exception for results
31048         whose real or imaginary part has small absolute value.
31049         * math/s_ctanf.c (__ctanf): Likewise.
31050         * math/s_ctanh.c (__ctanh): Likewise.
31051         * math/s_ctanhf.c (__ctanhf): Likewise.
31052         * math/s_ctanhl.c (__ctanhl): Likewise.
31053         * math/s_ctanl.c (__ctanl): Likewise.
31054         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31055         and ctanh.  Add more tests of ctan and ctanh.
31057         [BZ #15918]
31058         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31059         handling of cases where one argument is an infinity.
31061         [BZ #18875]
31062         [BZ #18966]
31063         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31064         (MO): New macro.
31065         (__ieee754_exp10): For small results, force underflow exception
31066         and remove excess range and precision from return value.
31067         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31068         (MO): New macro.
31069         (__ieee754_exp10f): For small results, force underflow exception
31070         and remove excess range and precision from return value.
31071         * math/auto-libm-test-in: Add more tests of exp10.
31072         * math/auto-libm-test-out: Regenerated.
31074 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31076         [BZ #18875]
31077         [BZ #18961]
31078         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31079         (MO): New macro.
31080         (__ieee754_exp): For small results, force underflow exception and
31081         remove excess range and precision from return value.
31082         (__exp_finite): Likewise.
31083         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31084         (MO): New macro.
31085         (__ieee754_expf): For small results, force underflow exception and
31086         remove excess range and precision from return value.
31087         (__expf_finite): Likewise.
31088         * math/auto-libm-test-in: Add more tests of exp.
31089         * math/auto-libm-test-out: Regenerated.
31091         [BZ #16521]
31092         [BZ #18875]
31093         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31094         small results.
31095         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31096         (MO): New macro.
31097         (__ieee754_exp2): For small results, force underflow exception and
31098         remove excess range and precision from return value.
31099         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31100         (MO): New macro.
31101         (__ieee754_exp2f): For small results, force underflow exception
31102         and remove excess range and precision from return value.
31103         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31104         (MO): New macro.
31105         (__ieee754_exp2l): Force underflow exception for small results.
31106         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31107         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31108         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31109         (MO): New macro.
31110         (__ieee754_exp2l): Force underflow exception for small results.
31111         * math/auto-libm-test-in: Add more tests or exp2.
31112         * math/auto-libm-test-out: Regenerated.
31114 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31116         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31118         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31119         /dev/null.
31121 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31123         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31124         io fs process)): Drop spurious backslash.
31126 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31128         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31129         Use sysinfo system call instead of parsing /proc/meminfo.
31130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31131         Likewise.
31133 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31135         [BZ #16985]
31136         * programs/localedef.c (main): Display argv[remaining] when
31137         output_path is NULL.
31139 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31141         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31142         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31143         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31144         tanh.
31145         * math/auto-libm-test-out: Regenerated.
31146         * sysdeps/i386/fpu/libm-test-ulps: Update.
31147         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31148         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31151 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31153         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31154         Use 'override' keyword to freeze the value here, preventing
31155         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31157 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31159         [BZ #14912]
31160         * sysdeps/aarch64/bits/atomic.h: Move to ...
31161         * sysdeps/aarch64/atomic-machine.h: ...here.
31162         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31163         _AARCH64_ATOMIC_MACHINE_H.
31164         * sysdeps/alpha/bits/atomic.h: Move to ...
31165         * sysdeps/alpha/atomic-machine.h: ...here.
31166         * sysdeps/arm/bits/atomic.h: Move to ...
31167         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31168         * bits/atomic.h: Move to ...
31169         * sysdeps/generic/atomic-machine.h: ...here.
31170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31171         * sysdeps/i386/bits/atomic.h: Move to ...
31172         * sysdeps/i386/atomic-machine.h: ...here.
31173         * sysdeps/ia64/bits/atomic.h: Move to ...
31174         * sysdeps/ia64/atomic-machine.h: ...here.
31175         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31176         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31177         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31178         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31179         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31180         * sysdeps/microblaze/bits/atomic.h: Move to ...
31181         * sysdeps/microblaze/atomic-machine.h: ...here.
31182         * sysdeps/mips/bits/atomic.h: Move to ...
31183         * sysdeps/mips/atomic-machine.h: ...here.
31184         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31185         * sysdeps/powerpc/bits/atomic.h: Move to ...
31186         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31187         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31188         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31189         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31190         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31191         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31192         <atomic-machine.h> instead of <bits/atomic.h>.
31193         * sysdeps/s390/bits/atomic.h: Move to ...
31194         * sysdeps/s390/atomic-machine.h: ...here.
31195         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31196         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31197         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31198         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31199         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31200         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31201         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31202         * sysdeps/tile/bits/atomic.h: Move to ...
31203         * sysdeps/tile/atomic-machine.h: ...here.
31204         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31205         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31206         <sysdeps/tile/atomic-machine.h> instead of
31207         <sysdeps/tile/bits/atomic.h>.
31208         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31209         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31210         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31211         <sysdeps/tile/atomic-machine.h> instead of
31212         <sysdeps/tile/bits/atomic.h>.
31213         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31214         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31215         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31216         <sysdeps/arm/atomic-machine.h> instead of
31217         <sysdeps/arm/bits/atomic.h>.
31218         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31219         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31220         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31221         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31222         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31223         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31224         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31225         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31226         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31227         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31228         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31229         * sysdeps/x86_64/bits/atomic.h: Move to ...
31230         * sysdeps/x86_64/atomic-machine.h: ...here.
31231         * include/atomic.h: Include <atomic-machine.h> instead of
31232         <bits/atomic.h>.
31234         * sysdeps/mips/mips32/libm-test-ulps: Update.
31235         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31237         [BZ #18952]
31238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31239         not convert non-integer negative arguments to int to determine the
31240         value of signgam.
31241         * math/auto-libm-test-in: Add more tests of lgamma.
31242         * math/auto-libm-test-out: Regenerated.
31244         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31245         cosh, csqrt, erfc, expm1 and lgamma.
31246         * math/auto-libm-test-out: Regenerated.
31247         * sysdeps/i386/fpu/libm-test-ulps: Update.
31248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31250 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31252         [BZ #2542]
31253         [BZ #2543]
31254         [BZ #2558]
31255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31256         __lgamma_neg for arguments from -28.0 to -2.0.
31257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31258         __lgamma_negf for arguments from -15.0 to -2.0.
31259         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31260         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31262         Call __lgamma_negl for arguments from -33.0 to -2.0.
31263         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31264         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31265         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31266         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31267         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31268         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31269         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31270         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31271         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31272         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31273         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31274         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31275         (__lgamma_neg): Likewise.
31276         (__lgamma_negl): Likewise.
31277         (__lgamma_product): Likewise.
31278         (__lgamma_productl): Likewise.
31279         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31280         * math/auto-libm-test-in: Add more tests of lgamma.
31281         * math/auto-libm-test-out: Regenerated.
31282         * sysdeps/i386/fpu/libm-test-ulps: Update.
31283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31285 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31287         [BZ #18675]
31288         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31290 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31292         [BZ #14912]
31293         * bits/libc-lock.h: Move to ...
31294         * sysdeps/generic/libc-lock.h: ...here.
31295         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31296         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31297         * sysdeps/mach/hurd/libc-lock.h: ...here.
31298         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31299         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31300         * sysdeps/mach/bits/libc-lock.h: Move to ...
31301         * sysdeps/mach/libc-lock.h: ...here.
31302         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31303         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31304         * sysdeps/nptl/libc-lock.h: ...here.
31305         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31306         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31307         * sysdeps/nptl/libc-lockP.h: ...here.
31308         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31309         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31310         <bits/libc-lock.h>.
31311         * dirent/scandir-tail.c: Likewise.
31312         * dlfcn/dlerror.c: Likewise.
31313         * elf/dl-close.c: Likewise.
31314         * elf/dl-iteratephdr.c: Likewise.
31315         * elf/dl-lookup.c: Likewise.
31316         * elf/dl-open.c: Likewise.
31317         * elf/dl-support.c: Likewise.
31318         * elf/dl-writev.h: Likewise.
31319         * elf/rtld.c: Likewise.
31320         * grp/fgetgrent.c: Likewise.
31321         * gshadow/fgetsgent.c: Likewise.
31322         * gshadow/sgetsgent.c: Likewise.
31323         * iconv/gconv_conf.c: Likewise.
31324         * iconv/gconv_db.c: Likewise.
31325         * iconv/gconv_dl.c: Likewise.
31326         * iconv/gconv_int.h: Likewise.
31327         * iconv/gconv_trans.c: Likewise.
31328         * include/link.h: Likewise.
31329         * inet/getnameinfo.c: Likewise.
31330         * inet/getnetgrent.c: Likewise.
31331         * inet/getnetgrent_r.c: Likewise.
31332         * intl/bindtextdom.c: Likewise.
31333         * intl/dcigettext.c: Likewise.
31334         * intl/finddomain.c: Likewise.
31335         * intl/gettextP.h: Likewise.
31336         * intl/loadmsgcat.c: Likewise.
31337         * intl/localealias.c: Likewise.
31338         * intl/textdomain.c: Likewise.
31339         * libidn/idn-stub.c: Likewise.
31340         * libio/libioP.h: Likewise.
31341         * locale/duplocale.c: Likewise.
31342         * locale/freelocale.c: Likewise.
31343         * locale/newlocale.c: Likewise.
31344         * locale/setlocale.c: Likewise.
31345         * login/getutent_r.c: Likewise.
31346         * login/getutid_r.c: Likewise.
31347         * login/getutline_r.c: Likewise.
31348         * login/utmp-private.h: Likewise.
31349         * login/utmpname.c: Likewise.
31350         * malloc/mtrace.c: Likewise.
31351         * misc/efgcvt.c: Likewise.
31352         * misc/error.c: Likewise.
31353         * misc/fstab.c: Likewise.
31354         * misc/getpass.c: Likewise.
31355         * misc/mntent.c: Likewise.
31356         * misc/syslog.c: Likewise.
31357         * nis/nis_call.c: Likewise.
31358         * nis/nis_callback.c: Likewise.
31359         * nis/nss-default.c: Likewise.
31360         * nis/nss_compat/compat-grp.c: Likewise.
31361         * nis/nss_compat/compat-initgroups.c: Likewise.
31362         * nis/nss_compat/compat-pwd.c: Likewise.
31363         * nis/nss_compat/compat-spwd.c: Likewise.
31364         * nis/nss_nis/nis-alias.c: Likewise.
31365         * nis/nss_nis/nis-ethers.c: Likewise.
31366         * nis/nss_nis/nis-grp.c: Likewise.
31367         * nis/nss_nis/nis-hosts.c: Likewise.
31368         * nis/nss_nis/nis-network.c: Likewise.
31369         * nis/nss_nis/nis-proto.c: Likewise.
31370         * nis/nss_nis/nis-pwd.c: Likewise.
31371         * nis/nss_nis/nis-rpc.c: Likewise.
31372         * nis/nss_nis/nis-service.c: Likewise.
31373         * nis/nss_nis/nis-spwd.c: Likewise.
31374         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31375         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31376         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31377         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31378         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31379         * nis/nss_nisplus/nisplus-network.c: Likewise.
31380         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31381         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31382         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31383         * nis/nss_nisplus/nisplus-service.c: Likewise.
31384         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31385         * nis/ypclnt.c: Likewise.
31386         * nptl/libc_pthread_init.c: Likewise.
31387         * nss/getXXbyYY.c: Likewise.
31388         * nss/getXXent.c: Likewise.
31389         * nss/getXXent_r.c: Likewise.
31390         * nss/nss_db/db-XXX.c: Likewise.
31391         * nss/nss_db/db-netgrp.c: Likewise.
31392         * nss/nss_db/nss_db.h: Likewise.
31393         * nss/nss_files/files-XXX.c: Likewise.
31394         * nss/nss_files/files-alias.c: Likewise.
31395         * nss/nsswitch.c: Likewise.
31396         * posix/regex_internal.h: Likewise.
31397         * posix/wordexp.c: Likewise.
31398         * pwd/fgetpwent.c: Likewise.
31399         * resolv/res_hconf.c: Likewise.
31400         * resolv/res_libc.c: Likewise.
31401         * shadow/fgetspent.c: Likewise.
31402         * shadow/lckpwdf.c: Likewise.
31403         * shadow/sgetspent.c: Likewise.
31404         * socket/opensock.c: Likewise.
31405         * stdio-common/reg-modifier.c: Likewise.
31406         * stdio-common/reg-printf.c: Likewise.
31407         * stdio-common/reg-type.c: Likewise.
31408         * stdio-common/vfprintf.c: Likewise.
31409         * stdio-common/vfscanf.c: Likewise.
31410         * stdlib/abort.c: Likewise.
31411         * stdlib/cxa_atexit.c: Likewise.
31412         * stdlib/fmtmsg.c: Likewise.
31413         * stdlib/random.c: Likewise.
31414         * stdlib/setenv.c: Likewise.
31415         * string/strsignal.c: Likewise.
31416         * sunrpc/auth_none.c: Likewise.
31417         * sunrpc/bindrsvprt.c: Likewise.
31418         * sunrpc/create_xid.c: Likewise.
31419         * sunrpc/key_call.c: Likewise.
31420         * sunrpc/rpc_thread.c: Likewise.
31421         * sysdeps/arm/backtrace.c: Likewise.
31422         * sysdeps/generic/ldsodefs.h: Likewise.
31423         * sysdeps/generic/stdio-lock.h: Likewise.
31424         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31425         * sysdeps/i386/backtrace.c: Likewise.
31426         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31427         * sysdeps/m68k/backtrace.c: Likewise.
31428         * sysdeps/mach/hurd/cthreads.c: Likewise.
31429         * sysdeps/mach/hurd/dirstream.h: Likewise.
31430         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31431         * sysdeps/nptl/malloc-machine.h: Likewise.
31432         * sysdeps/nptl/stdio-lock.h: Likewise.
31433         * sysdeps/posix/dirstream.h: Likewise.
31434         * sysdeps/posix/getaddrinfo.c: Likewise.
31435         * sysdeps/posix/system.c: Likewise.
31436         * sysdeps/pthread/aio_suspend.c: Likewise.
31437         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31438         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31439         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31440         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31441         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31442         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31443         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31444         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31445         * sysdeps/unix/sysv/linux/system.c: Likewise.
31446         * sysdeps/x86_64/backtrace.c: Likewise.
31447         * time/alt_digit.c: Likewise.
31448         * time/era.c: Likewise.
31449         * time/tzset.c: Likewise.
31450         * wcsmbs/wcsmbsload.c: Likewise.
31451         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31452         instead of <bits/libc-lock.h> in comment.
31454 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31456         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31457         Only use .set mips2 if the current ISA is below mips2.
31458         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31459         Likewise.
31460         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31461         mips32r2 if the current ISA is below mips32r2.
31462         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31463         (TLS_IE): Updated to use the TLD_RDHWR macro.
31464         (TLS_LE): Likewise.
31465         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31466         __ASSEMBLER__ condition.
31468 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31470         Fix parallel build of before-compile targets.
31472         * sysdeps/mach/Makefile ($(patsubst
31473         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31474         mach-before-compile target.
31475         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31476         io fs process)): Move rule to dedicated hurd-before-compile target.
31478 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31480         Fix rules generating headers in hurd/ and mach/ when initial make call
31481         has subdir= explicitly set.
31483         * sysdeps/mach/Makefile ($(patsubst
31484         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31485         calling $(MAKE).
31486         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31487         io fs process)): Force subdir to hurd when calling $(MAKE).
31488         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31489         subdir to mach when calling $(MAKE).
31491 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31493         Check sysheaders when looking for Mach and Hurd headers
31495         * sysdeps/mach/configure.ac: Add sysheaders check.
31496         * sysdeps/mach/configure: Regenerate.
31497         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31498         * sysdeps/mach/hurd/configure: Regenerate.
31500 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31502         [BZ #18921]
31503         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31504         Fix inverted sense of test of 'o_directory_works' value.
31505         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31506         Bernhard Voelker <mail@bernhard-voelker.de>.
31508 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31510         [BZ #14912]
31511         * bits/linkmap.h: Move to ...
31512         * sysdeps/generic/linkmap.h: ...here.
31513         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31514         * sysdeps/aarch64/linkmap.h: ...here.
31515         * sysdeps/arm/bits/linkmap.h: Move to ...
31516         * sysdeps/arm/linkmap.h: ...here.
31517         * sysdeps/hppa/bits/linkmap.h: Move to ...
31518         * sysdeps/hppa/linkmap.h: ...here.
31519         * sysdeps/ia64/bits/linkmap.h: Move to ...
31520         * sysdeps/ia64/linkmap.h: ...here.
31521         * sysdeps/mips/bits/linkmap.h: Move to ...
31522         * sysdeps/mips/linkmap.h: ...here.
31523         * sysdeps/s390/bits/linkmap.h: Move to ...
31524         * sysdeps/s390/linkmap.h: ...here.
31525         * sysdeps/sh/bits/linkmap.h: Move to ...
31526         * sysdeps/sh/linkmap.h: ...here.
31527         * sysdeps/x86/bits/linkmap.h: Move to ...
31528         * sysdeps/x86/linkmap.h: ...here.
31529         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31531 2015-09-04  Andreas Schwab  <schwab@suse.de>
31533         [BZ #18635]
31534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31535         (__makecontext): Terminate FDE before return label.
31536         (__novec_makecontext): Likewise.
31538 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31540         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31541         first member of struct sv in syscall macro.
31543 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31545         [BZ #14912]
31546         * bits/stdio-lock.h: Move to ...
31547         * sysdeps/generic/stdio-lock.h: ...here.
31548         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31549         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31550         * sysdeps/nptl/stdio-lock.h: ...here.
31551         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31552         * include/libio.h: Include <stdio-lock.h> instead of
31553         <bits/stdio-lock.h>.
31554         * sysdeps/nptl/fork.c: Likewise.
31555         * sysdeps/pthread/flockfile.c: Likewise.
31556         * sysdeps/pthread/ftrylockfile.c: Likewise.
31557         * sysdeps/pthread/funlockfile.c: Likewise.
31559         [BZ #14912]
31560         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31561         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31562         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31563         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31564         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31565         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31566         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31568 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31570         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31571         (test-xfail-tst-protected1b): New variable.
31573 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31575         [BZ #14912]
31576         * bits/libc-tsd.h: Move to ...
31577         * sysdeps/generic/libc-tsd.h: ...here.
31578         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31579         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31580         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31581         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31582         * include/ctype.h: Include <libc-tsd.h> instead of
31583         <bits/libc-tsd.h>.
31584         * include/rpc/rpc.h: Likewise.
31585         * locale/localeinfo.h: Likewise.
31586         * sunrpc/rpc_thread.c: Likewise.
31587         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31588         * sysdeps/nptl/malloc-machine.h: Likewise.
31590         * Makefile (headers): Remove bits/libc-lock.h.
31591         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31593         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31594         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31595         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31596         <bits/stdio-lock.h>.
31597         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31598         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31600 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31602         [BZ #18757]
31603         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31604         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31605         BZ #18757.
31607 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31609         * malloc/mtrace.pl: Filter out NULL entries.
31611 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31613         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31614         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31615         macro.
31617         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31618         (TCP_CC_INFO): Likewise.
31619         (TCP_SAVE_SYN): Likewise.
31620         (TCP_SAVED_SYN): Likewise.
31622 2015-08-31  Brett Neumeier <brett@neumeier.us>
31624         [BZ #18870]
31625         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31627 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31629         [BZ #18873]
31630         Fix broken overflow check in posix_fallocate
31631         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31632         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31633         Fix parenthesization typo.
31635 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31637         [BZ #18887]
31638         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31639         tst-mntent-blank-passno.
31640         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31641         * misc/tst-mntent-blank-corrupt.c: New test.
31642         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31643         * misc/tst-mntent.c (do_test): ... here.
31645 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31647         [BZ #4404]
31648         * po/de.po: Fix SIGALRM typo.
31650 2015-08-28  James Perkins  <james@loowit.net>
31652         * time/tst-strptime2.c (tests): Replace short list of test
31653         strings for strptime %z specifier with code which exhaustively
31654         tests every combination of sign and 0 to 5 digits. Tests for
31655         rejection of invalid strings.
31657 2015-08-28  James Perkins  <james@loowit.net>
31659         [BZ #16141]
31660         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31661         calculation, removing incorrect decimal time rounding, so that
31662         all minute values result in a valid seconds value.
31663         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31664         offset range limits to UTC-99:59 through UTC+99:59 to parse
31665         current and historical use cases.
31666         * time/tst-strptime2.c (tests): Modify and add tests for the
31667         strptime %z input field descriptor, specifically conversion of
31668         minutes to seconds and validating an offset range of -9959 to
31669         +9959.
31671 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31672             Dmitry V. Levin  <ldv@altlinux.org>
31674         [BZ #18877]
31675         * posix/Makefile (tests): Add tst-mmap-offset.
31676         * posix/tst-mmap.c: New file.
31677         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31678         offset calculation for negative values.
31680 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31682         * sysdeps/i386/init-arch.h: New file.
31683         * sysdeps/i386/i586/init-arch.h: Likewise.
31684         * sysdeps/i386/i686/init-arch.h: Likewise.
31685         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31686         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31687         * sysdeps/x86/cpu-features.h (bit_I586): New.
31688         (bit_I686): Likewise.
31689         (bit_CX8): Likewise.
31690         (bit_CMOV): Likewise.
31691         (index_CX8): Likewise.
31692         (index_CMOV): Likewise.
31693         (index_I586): Likewise.
31694         (index_I686): Likewise.
31695         (reg_CX8): Likewise.
31696         (reg_CMOV): Likewise.
31697         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31698         available at compile-time.
31699         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31700         available at compile-time.
31701         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31702         (USE_I686): Likewise.
31704 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31706         * sysdeps/i386/bcopy.S: New file.
31707         * sysdeps/i386/bzero.S: Likewise.
31708         * sysdeps/i386/memcpy.S: Likewise.
31709         * sysdeps/i386/memmove.S: Likewise.
31710         * sysdeps/i386/mempcpy.S: Likewise.
31711         * sysdeps/i386/memset.S: Likewise.
31712         * sysdeps/i386/bzero.c: Removed.
31713         * sysdeps/i386/memset.c: Likewise.
31714         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31715         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31716         * sysdeps/i386/i586/memset_chk.S: Likewise.
31717         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31718         * sysdeps/i386/memcpy_chk.S: Here.
31719         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31720         * sysdeps/i386/memmove_chk.S: Here.
31721         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31722         * sysdeps/i386/mempcpy_chk.S: Likewise.
31723         * sysdeps/i386/i686/memset_chk.S: Moved to ...
31724         * sysdeps/i386/memset_chk.S: Likewise.
31726 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
31728         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31729         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31730         file, move DIAG_POP_NEEDS_COMMENT to end of file.
31731         * soft-fp/fmadf4.c: Ditto.
31732         * soft-fp/fmatf4.c: Ditto.
31734 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31736         * sysdeps/i386/i586/Implies: Removed.
31737         * sysdeps/i386/i686/Implies: Likewise.
31739 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31741         * sysdeps/i386/i486/strlen.S: Moved to ...
31742         * sysdeps/i386/strlen.S: Here.
31744 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31746         * sysdeps/i386/i486/strcat.S: Moved to ...
31747         * sysdeps/i386/strcat.S: Here.
31749 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31751         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31752         * sysdeps/i386/pthread_spin_trylock.S: Here.
31753         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31754         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31758         * sysdeps/i386/i486/string-inlines.c: Moved to ...
31759         * sysdeps/i386/string-inlines.c: Here.
31761 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31763         * sysdeps/i386/i486/htonl.S: Moved ...
31764         * sysdeps/i386/htonl.S: here.
31766 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31768         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31769         * sysdeps/i386/bits/atomic.h: Here.
31771 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31773         * sysdeps/i386/i486/Versions: Removed.
31775 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31777         [BZ #2898]
31778         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31779         Based on patch by Aurelien Jarno.
31781 2015-08-26  Stan Shebs  <stanshebs@google.com>
31783         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31784         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31786 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31788         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31789         * sysdeps/powerpc/dl-procinfo.c:
31790         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31791         feature so it shows when LD_SHOW_AUXV=1.
31793 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31795         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31796         (__arch_compare_and_exchange_val_32_acq): Remove and use common
31797         definition.  ISA 2.07B no longer requires full sync.
31799 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
31801         [BZ #18863]
31802         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31803         (si_call_addr): Define.
31804         (si_syscall): Define.
31805         (si_arch): Define.
31807 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31809         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31810         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31811         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31812         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31813         (__memset_zero_constant_len_parameter): New.
31814         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31815         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31816         (__memset_zero_constant_len_parameter): Don't define if
31817         __memset_chk or USE_AS_BZERO are defined.
31819         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31820         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31821         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31823         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31824         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31825         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31826         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
31827         comments.
31828         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31829         -mno-mmx for $(all-rtld-routines).
31830         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31831         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
31832         i386.
31834 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31836         * sysdeps/generic/unwind.h
31837         (_Unwind_Word): Use __mode__(__unwind_word__)
31838         instead of __mode__(__word__).
31839         (_Unwind_Sword): Likewise.
31841         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31842         (MAX_NEEDED_INPUT): New define.
31843         (MAX_NEEDED_OUTPUT): New define.
31845         * NEWS: New item for IBM z13 string optimizations.
31847         * sysdeps/s390/multiarch/memrchr-c.c: New File.
31848         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31849         * sysdeps/s390/multiarch/memrchr.c: Likewise.
31850         * sysdeps/s390/multiarch/Makefile
31851         (sysdep_routines): Add memrchr functions.
31852         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31853         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31855         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31856         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31857         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31858         * sysdeps/s390/multiarch/Makefile
31859         (sysdep_routines): Add wmemcmp functions.
31860         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31861         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31862         * benchtests/bench-wmemcmp.c: New File.
31863         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31865         * sysdeps/s390/multiarch/wmemset-c.c: New File.
31866         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31867         * sysdeps/s390/multiarch/wmemset.c: Likewise.
31868         * sysdeps/s390/multiarch/Makefile
31869         (sysdep_routines): Add wmemset functions.
31870         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31871         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31872         * wcsmbs/wmemset.c: Use WMEMSET if defined.
31873         * string/test-memset.c: Add wmemset support.
31874         * wcsmbs/test-wmemset.c: New File.
31875         * wcsmbs/Makefile (strop-tests): Add wmemset.
31876         * benchtests/bench-memset.c: Add wmemset support.
31877         * benchtests/bench-wmemset.c: New File.
31878         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31880         * sysdeps/s390/multiarch/memccpy-c.c: New File.
31881         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31882         * sysdeps/s390/multiarch/memccpy.c: Likewise.
31883         * sysdeps/s390/multiarch/Makefile
31884         (sysdep_routines): Add memccpy functions.
31885         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31886         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31887         * string/memccpy.c: Use MEMCCPY if defined.
31889         * sysdeps/s390/multiarch/memchr-vx.S: New File.
31890         * sysdeps/s390/multiarch/memchr.c: Likewise.
31891         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31892         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31893         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31894         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31895         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31896         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31897         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31898         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31899         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31900         and rawmemchr functions.
31901         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31902         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31903         and wmemchr.
31904         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31905         * string/test-memchr.c: Add wmemchr support.
31906         * wcsmbs/test-wmemchr.c: New File.
31907         * wcsmbs/Makefile (strop-tests): Add wmemchr.
31908         * benchtests/bench-memchr.c: Add wmemchr support.
31909         * benchtests/bench-wmemchr.c: New File.
31910         * benchtests/Makefile (wcsmbs-bench): wmemchr.
31912         * sysdeps/s390/multiarch/strcspn-c.c: New File.
31913         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31914         * sysdeps/s390/multiarch/strcspn.c: Likewise.
31915         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31916         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31917         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31918         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31919         wcscspn functions.
31920         * sysdeps/s390/multiarch/ifunc-impl-list.c
31921         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31922         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31923         * string/test-strcspn.c: Add wcscspn support.
31924         * wcsmbs/test-wcscspn.c: New File.
31925         * wcsmbs/Makefile (strop-tests): Add wcscspn.
31926         * benchtests/bench-strcspn.c: Add wcscspn support.
31927         * benchtests/bench-wcscspn.c: New File.
31928         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31930         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31931         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31932         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31933         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31934         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31935         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31937         wcspbrk functions.
31938         * sysdeps/s390/multiarch/ifunc-impl-list.c
31939         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31940         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31941         * string/test-strpbrk.c: Add wcspbrk support.
31942         * wcsmbs/test-wcspbrk.c: New File.
31943         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31944         * benchtests/bench-strpbrk.c: Add wcspbrk support.
31945         * benchtests/bench-wcspbrk.c: New File.
31946         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31948         * sysdeps/s390/multiarch/strspn-c.c: New File.
31949         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31950         * sysdeps/s390/multiarch/strspn.c: Likewise.
31951         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31952         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31953         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31954         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31955         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31956         wcsspn functions.
31957         * sysdeps/s390/multiarch/ifunc-impl-list.c
31958         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31959         * string/test-strspn.c: Add wcsspn support.
31960         * wcsmbs/test-wcsspn.c: New File.
31961         * wcsmbs/Makefile (strop-tests): Add wcsspn.
31962         * benchtests/bench-strspn.c: Add wcsspn support.
31963         * benchtests/bench-wcsspn.c: New File.
31964         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31966         * sysdeps/s390/multiarch/strrchr-c.c: New File.
31967         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31968         * sysdeps/s390/multiarch/strrchr.c: Likewise.
31969         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31970         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31971         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31973         wcsrchr functions.
31974         * sysdeps/s390/multiarch/ifunc-impl-list.c
31975         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31976         * benchtests/bench-wcsrchr.c: New File.
31977         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31979         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31980         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31981         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31982         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31983         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31984         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31986         wcschrnul functions.
31987         * sysdeps/s390/multiarch/ifunc-impl-list.c
31988         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31989         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31990         * string/test-strchr.c: Add wcschrnul support.
31991         * wcsmbs/test-wcschrnul.c: New File.
31992         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31993         * benchtests/bench-strchr.c: Add wcschrnul support.
31994         * benchtests/bench-wcschrnul.c: New File.
31995         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31997         * sysdeps/s390/multiarch/strchr-c.c: New File.
31998         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31999         * sysdeps/s390/multiarch/strchr.c: Likewise.
32000         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32001         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32002         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32004         wcschr functions.
32005         * sysdeps/s390/multiarch/ifunc-impl-list.c
32006         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32007         * string/strchr.c (STRCHR): Define and use macro.
32008         * benchtests/bench-wcschr.c: New File.
32009         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32011         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32012         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32013         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32014         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32015         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32016         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32018         wcsncmp functions.
32019         * sysdeps/s390/multiarch/ifunc-impl-list.c
32020         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32021         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32022         * benchtests/bench-strncmp.c: Add wcsncmp support.
32023         * benchtests/bench-wcsncmp.c: New File.
32024         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32026         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32027         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32028         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32029         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32030         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32031         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32032         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32034         wcscmp functions.
32035         * sysdeps/s390/multiarch/ifunc-impl-list.c
32036         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32037         * string/strcmp.c (STRCMP): Define and use macro.
32038         * benchtests/bench-wcscmp.c: New File.
32039         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32040         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32041         instead of _HAVE_STRING_ARCH_memchr.
32043         * sysdeps/s390/multiarch/strncat-c.c: New File.
32044         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32045         * sysdeps/s390/multiarch/strncat.c: Likewise.
32046         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32047         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32048         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32050         wcsncat functions.
32051         * sysdeps/s390/multiarch/ifunc-impl-list.c
32052         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32053         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32054         * string/test-strncat.c: Add wcsncat support.
32055         * wcsmbs/test-wcsncat.c: New File.
32056         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32057         * benchtests/bench-strncat.c: Add wcsncat support.
32058         * benchtests/bench-wcsncat.c: New File.
32059         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32061         * sysdeps/s390/multiarch/strcat-c.c: New File.
32062         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32063         * sysdeps/s390/multiarch/strcat.c: Likewise.
32064         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32065         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32066         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32068         wcscat functions.
32069         * sysdeps/s390/multiarch/ifunc-impl-list.c
32070         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32071         * string/strcat.c (STRCAT): Define and use macro.
32072         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32073         * string/test-strcat.c: Add wcscat support.
32074         * wcsmbs/test-wcscat.c: New File.
32075         * wcsmbs/Makefile (strop-tests): Add wcscat.
32076         * benchtests/bench-strcat.c: Add wcscat support.
32077         * benchtests/bench-wcscat.c: New File.
32078         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32080         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32081         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32082         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32083         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32084         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32085         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32087         wcpncpy functions.
32088         * sysdeps/s390/multiarch/ifunc-impl-list.c
32089         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32090         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32091         * string/test-stpncpy.c: Add wcpncpy support.
32092         * wcsmbs/test-wcpncpy.c: New File.
32093         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32094         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32095         * benchtests/bench-wcpncpy.c: New File.
32096         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32098         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32099         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32100         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32101         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32102         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32103         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32104         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32106         wcsncpy functions.
32107         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32108         * sysdeps/s390/multiarch/ifunc-impl-list.c
32109         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32110         * string/test-strncpy.c: Add wcsncpy support.
32111         * wcsmbs/test-wcsncpy.c: New File.
32112         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32113         * benchtests/bench-strncpy.c: Add wcsncpy support.
32114         * benchtests/bench-wcsncpy.c: New File.
32115         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32117         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32118         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32119         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32120         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32121         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32122         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32124         wcpcpy functions.
32125         * string/stpcpy.c: Use STPCPY if defined.
32126         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32127         * sysdeps/s390/multiarch/ifunc-impl-list.c
32128         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32129         * string/test-stpcpy.c: Add wcpcpy support.
32130         * wcsmbs/test-wcpcpy.c: New File.
32131         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32132         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32133         * benchtests/bench-wcpcpy.c: New File.
32134         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32136         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32137         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32138         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32139         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32140         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32141         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32142         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32144         wcscpy functions.
32145         * sysdeps/s390/multiarch/ifunc-impl-list.c
32146         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32147         * benchtests/bench-wcscpy.c: New File.
32148         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32150         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32151         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32152         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32153         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32154         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32155         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32156         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32157         wcsnlen functions.
32158         * sysdeps/s390/multiarch/ifunc-impl-list.c
32159         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32160         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32161         * string/test-strnlen.c: Add wcsnlen support.
32162         * wcsmbs/test-wcsnlen.c: New File.
32163         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32164         * benchtests/bench-strnlen.c: Add wcsnlen support.
32165         * benchtests/bench-wcsnlen.c: New File.
32166         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32168         * sysdeps/s390/multiarch/Makefile: New File.
32169         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32170         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32171         * sysdeps/s390/multiarch/strlen.c: Likewise.
32172         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32173         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32174         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32175         * string/strlen.c (STRLEN): Define and use macro.
32176         * sysdeps/s390/multiarch/ifunc-impl-list.c
32177         (IFUNC_VX_IMPL): New macro function.
32178         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32179         * benchtests/Makefile (wcsmbs-bench): New variable.
32180         (string-bench-all): Added wcsmbs-bench.
32181         * benchtests/bench-wcslen.c: New File.
32183         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32184         s390_vx_libc_ifunc2): New macro function.
32186         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32187         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32188         assembler support.
32189         * sysdeps/s390/configure: Regenerated.
32191         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32192         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32194         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32195         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32196         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32198         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32199         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32200         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32201         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32202         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32203         (memcmp, bcmp): Use __memcmp_default as alias source.
32204         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32205         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32206         Rename to __memcmp_default.
32207         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32208         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32209         (memcpy): Use __memcpy_default as alias source.
32210         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32211         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32212         Rename to __memcpy_default.
32213         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32214         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32215         (memset): Use __memset_default as alias source.
32216         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32217         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32218         Rename to __memset_default.
32219         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32220         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32221         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32222         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32223         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32224         (memcmp, bcmp): Use __memcmp_default as alias source.
32225         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32226         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32227         Rename to __memcmp_default.
32228         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32229         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32230         (memcpy): Use __memcpy_default as alias source.
32231         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32232         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32233         Rename to __memcpy_default.
32234         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32235         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32236         (memset): Use __memset_default as alias source.
32237         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32238         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32239         Rename to __memset_default.
32240         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32241         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32243         [BZ #18610]
32244         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32245         __ieee_instruction_pointer to __unused.
32246         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32247         __ieee_instruction_pointer.
32248         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32249         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32250         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32251         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32252         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32253         Mark dxc-field as reserved.
32255 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32257         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32258         if the weak reference is not null.
32260 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32262         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32264         [BZ #11214]
32265         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32267 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32269         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32270         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32271         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32272         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32273         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32274         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32275         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32276         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32277         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32278         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32279         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32280         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32281         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32282         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32283         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32284         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32285         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32286         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32288 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32290         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32291         register other than r0 for tabort, it has special meaning.
32292         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32293         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32294         transaction before starting syscall.
32296 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32298         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32300 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32302         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32304         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32305         * sysdeps/x86_64/rtld-memset.S: Likewise.
32306         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32307         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32308         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32309         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32311         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32313 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32315         * debug/strcpy_chk.c: Improve performance.
32316         * debug/stpcpy_chk.c: Likewise.
32317         * sysdeps/x86_64/strcpy_chk.S: Remove.
32318         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32320         [BZ #18240]
32321         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32323 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32325         [BZ #15128]
32326         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32327         ifuncmain8.
32328         (modules-names): Add ifuncmod8.
32329         ($(objpfx)ifuncmain8): New rule.
32330         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32331         <cpuid.h>.
32332         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32333         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32334         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32335         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32336         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32337         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32338         * sysdeps/x86_64/ifuncmain8.c: New file.
32339         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32340         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32341         Removed.
32342         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32343         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32344         Change rtld_savespace_sse to __glibc_unused2.
32345         (RTLD_CHECK_FOREIGN_CALL): Removed.
32346         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32347         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32348         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32350 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32352         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32354 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32356         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32357         Unconditionally set __fpcr to avoid uninialized warning.
32358         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32360 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32362         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32363         is corrupt.
32365         * malloc/arena.c (arena_get2): Drop unused argument.
32366         (arena_lock): Adjust.
32367         (arena_get_retry): Likewise.
32369 2015-08-24  Andreas Schwab  <schwab@suse.de>
32371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32372         Don't define.
32373         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32374         (__ASSUME_IPC64): Don't undef.
32375         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32376         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32377         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32378         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32379         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32380         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32381         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32382         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32383         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32384         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32385         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32386         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32387         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32388         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32389         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32390         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32391         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32392         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32393         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32394         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32395         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32397 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32399         * manual/Makefile (install): Only build manual when perl is available.
32401 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32403         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32404         '#undef memcpy' by '#undef memchr'.
32406 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32408         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32409         memchr not point to the internal __GI_memchr implementation.
32411 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32413         * timezone/Makefile (CFLAGS-zdump.c): Remove
32414         -Wno-strict-prototypes.
32415         (CFLAGS-zic.c): Likewise.
32416         (CFLAGS-ialloc.c): Likewise.
32417         (CFLAGS-scheck.c): Likewise.
32419         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32420         -Wno-error=undef.
32422 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32424         * i386/i686/multiarch/strcasestr-c.c: Removed.
32425         * x86_64/multiarch/strcasestr.c: Likewise.
32426         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32427         Remove strcasestr.
32429 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32431         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32433         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32434         variables for high and low parts before possibly modifying them.
32436 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32438         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32439         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32440         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32441         of "multiarch/init-arch.h".
32442         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32443         * sysdeps/x86/init-arch.h: This.
32445 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32447         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32448         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32450 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
32452         [BZ #17787]
32453         * manual/macros.texi: Add twoexp macro.
32454         * manual/filesys.texi: Fix exponents.
32455         * manual/llio.texi: Likewise.
32456         * manual/stdio.texi: Likewise.
32458 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32460         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32461         incorrect use.
32463 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32465         [BZ #18370]
32466         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32467         whose real or imaginary part has small absolute value.
32468         * math/s_csqrtf.c (__csqrtf): Likewise.
32469         * math/s_csqrtl.c (__csqrtl): Likewise.
32470         * math/auto-libm-test-in: Add more tests of csqrt.
32471         * math/auto-libm-test-out: Regenerated.
32472         * sysdeps/i386/fpu/libm-test-ulps: Update.
32474 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32476         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32477         __ppc_set_ppr_very_low): New functions.
32478         * manual/platform.texi: Add documentation about
32479         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32481 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32483         * string/stpncpy.c (stpncpy): Improve performance using
32484         __strnlen/memcpy/memset.
32486 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32488         [BZ #18796]
32489         * scripts/test-installation.pl: Don't add -lmvec to build options if
32490         libmvec wasn't built.
32492 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32494         [BZ #14341]
32495         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32496         case when there is a gap between DT_REL and DT_JMPREL sections.
32497         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32498         (LDFLAGS-tst-split-dynreloc): New.
32499         (tst-split-dynreloc-ENV): Likewise.
32500         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32501         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32503 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32505         [BZ #18822]
32506         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32507         attribute_hidden.
32508         (__xstat64_conv): Likewise.
32509         (__xstat32_conv): Likewise.
32511 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32513         [BZ #18822]
32514         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32515         Don't load %ebx when calling __setcontext.  Call __setcontext
32516         with HIDDEN_JUMPTARGET.
32517         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32518         libc_hidden_def.
32520 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32522         * sysdeps/i386/i686/Makefile
32523         [$(subdir) == string] (sysdep_routines): Moved to ...
32524         * sysdeps/i386/Makefile: Here.
32525         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32526         * sysdeps/i386/cacheinfo.c: Here.
32527         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32528         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32529         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32530         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32532 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32534         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32535         __i586__ is defined.
32536         (HAS_I686): Defined to 1 if __i686__ is defined.
32538 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32540         * elf/Makefile [$(have-z-execstack) = yes]
32541         (CPPFLAGS-tst-execstack.c): New variable.
32543         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32544         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32545         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32546         UTMPX || _HAVE_UT_TV].
32547         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32548         UTMPX || _HAVE_UT_TV - 0].
32550 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32552         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32553         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32554         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32556 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32558         * sysdeps/powerpc/dl-procinfo.c:
32559         (_dl_powerpc_cap_flags): Added missing strings for some
32560         hwcap features.
32561         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32563 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32565         Port the 0x7efe...feff pattern to GCC 6.
32566         See Steve Ellcey's bug report in:
32567         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32568         * string/memrchr.c (MEMRCHR):
32569         * string/rawmemchr.c (RAWMEMCHR):
32570         * string/strchr.c (strchr):
32571         * string/strchrnul.c (STRCHRNUL):
32572         Rewrite code to avoid issues with signed shift overflow.
32574 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32576         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32577         whether cpuid is available only if HAS_CPUID is 0.
32578         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32579         (HAS_I586): Likewise.
32580         (HAS_I686): Likewise.
32582 2015-08-18  Zack Weinberg  <zackw@panix.com>
32584         * misc/Versions (libc): Add GLIBC_2.23.
32586 2015-08-18  Alan Modra  <amodra@gmail.com>
32588         [BZ #18421]
32589         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32590         .Lp__global.
32591         (_start): Load %dp via .Lp__global.
32592         [!SHARED]: Use .section .rodata.
32594 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32596         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32597         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32599 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32601         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32602         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32604 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32606         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32607         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32609 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32611         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32612         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32614 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32616         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32617         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32619 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32621         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32622         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32624 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32626         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32628 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32630         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32631         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32632         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32633         (__ASSUME_LWS_CAS): Delete.
32635 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32637         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32638         * sysdeps/hppa/configure: Regenerated.
32639         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32640         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32641         * sysdeps/hppa/nptl/tls.h: Likewise.
32643 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32645         [BZ #18823]
32646         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32647         for scaling up small arguments.
32648         * math/s_csqrtf.c (__csqrtf): Likewise.
32649         * math/s_csqrtl.c (__csqrtl): Likewise.
32650         * math/auto-libm-test-in: Add more tests of csqrt.
32651         * math/auto-libm-test-out: Regenerated.
32653 2015-08-17  Andreas Schwab  <schwab@suse.de>
32655         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32656         version set GLIBC_2.19.
32658 2015-08-16  Zack Weinberg  <zackw@panix.com>
32660         [BZ #18681]
32661         * misc/regexp.h: This interface is no longer supported.
32662         Remove all contents, leaving only an #error directive.
32663         * misc/regexp.c (loc1, loc2, locs, step, advance):
32664         Demote to compatibility symbols.
32666 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32668         [BZ #18084]
32669         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32670         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32671         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32672         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32673         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32674         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32675         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32676         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32677         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32679 2015-08-15  Zack Weinberg  <zackw@panix.com>
32681         [BZ #18795]
32682         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32683         buffer length is known to be too large, not if it's known to be
32684         small enough.
32685         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32686         overflow at runtime, involving a length parameter, twice: once
32687         with a compile-time constant length parameter, once without.
32689 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32691         [BZ #18824]
32692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32693         scaling x * y up instead of down.
32694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32696         * math/auto-libm-test-in: Add more tests of fma.
32697         * math/auto-libm-test-out: Regenerated.
32699 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32703 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32705         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32706         unnecessary movq.
32707         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32708         Likewise.
32710 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
32712         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32713         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32714         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32715         and tgamma.
32716         * math/auto-libm-test-out: Regenerated.
32717         * sysdeps/i386/fpu/libm-test-ulps: Update.
32718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32720         [BZ #16520]
32721         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32722         (__tanh): Force underflow exception for arguments with small
32723         absolute value.
32724         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32725         (__tanhf): Force underflow exception for arguments with small
32726         absolute value.
32727         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32728         (__tanhl): Force underflow exception for arguments with small
32729         absolute value.
32730         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32731         (__tanhl): Force underflow exception for arguments with small
32732         absolute value.
32733         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32734         (__tanhl): Force underflow exception for arguments with small
32735         absolute value.
32736         * math/auto-libm-test-in: Add more tests of tanh.
32737         * math/auto-libm-test-out: Regenerated.
32738         * sysdeps/i386/fpu/libm-test-ulps: Update.
32740 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32742         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32743         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32745 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32747         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32748         <cpuid.h>.
32750 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32752         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32753         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32755 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32757         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32758         Remove $(objpfx)init-arch.o.
32759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32760         init-arch.
32761         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32762         (INIT_ARCH_EXT): Defined as empty.
32763         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32764         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32765         __init_cpu_features call.  Replace HAS_XXX with
32766         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32767         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32768         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32769         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32770         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32771         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32772         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32773         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32774         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32777         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32778         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32779         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32780         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32782         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32783         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32784         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32785         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32786         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32787         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32788         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32789         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32792         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32793         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32794         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32795         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32796         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32797         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32798         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32803 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32805         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32806         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32807         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32808         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32809         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32810         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32811         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32812         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32813         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32814         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32815         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32816         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
32817         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32818         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32819         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32820         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32821         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32822         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32823         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32824         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32825         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32826         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32827         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32828         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32829         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32830         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32832         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32833         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32834         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32835         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32836         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32837         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32838         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32839         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32840         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32841         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32842         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32843         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32844         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32845         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32846         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32847         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32849 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32851         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32852         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32855         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32856         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32858         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32859         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32860         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32861         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32862         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32863         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32864         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32865         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32866         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32867         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32868         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32869         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32870         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32872         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32873         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32874         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32875         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32876         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32877         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32878         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
32879         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32880         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32881         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32882         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32883         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32884         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32885         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32886         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32887         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32888         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32889         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32890         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32891         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32892         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32893         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32895 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32897         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32898         (dl_platform_init): Call init_cpu_features.
32899         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32900         * sysdeps/i386/i686/cacheinfo.c
32901         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32902         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32903         * sysdeps/i386/i686/multiarch/Versions: Removed.
32904         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32905         Removed.
32906         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32907         * sysdeps/unix/sysv/linux/x86/Makefile
32908         (libpthread-sysdep_routines): Remove init-arch.
32909         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32910         <sysdeps/x86_64/dl-procinfo.c> instead of
32911         sysdeps/generic/dl-procinfo.c>.
32912         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32913         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32914         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32915         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32916         [$(subdir) == elf] (tests-static): Add
32917         tst-get-cpu-features-static.
32918         * sysdeps/x86/Versions: New file.
32919         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32920         * sysdeps/x86/cpu-features.c: Likewise.
32921         * sysdeps/x86/cpu-features.h: Likewise.
32922         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32923         * sysdeps/x86/libc-start.c: Likewise.
32924         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32925         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32926         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32927         * sysdeps/x86_64/dl-procinfo.c: Likewise.
32928         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32929         Assume USE_MULTIARCH is defined and don't check it.
32930         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32931         (is_amd): Likewise.
32932         (max_cpuid): Likewise.
32933         (intel_check_word): Likewise.
32934         (__cache_sysconf): Don't call __init_cpu_features.
32935         (__x86_preferred_memory_instruction): Removed.
32936         (init_cacheinfo): Don't call __init_cpu_features. Replace
32937         __cpu_features with GLRO(dl_x86_cpu_features).
32938         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32939         (dl_platform_init): Call init_cpu_features.
32940         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32941         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32942         * sysdeps/x86_64/multiarch/Versions: Removed.
32943         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32944         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32945         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32946         Removed.
32947         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32949 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32951         [BZ #18820]
32952         * libio/Makefile (test-fmemopen-mem): New test.
32953         * libio/test-fmemopen.c (do_bz18820): New test.
32954         * libio/fmemopen.c (__fmemopen): Fix memory leak.
32955         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32957 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32959         [BZ #16734]
32960         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32961         (FREE_BUF): Delete.
32962         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32963         * libio/genops.c (_IO_setb): Use malloc and free directly.
32964         (_IO_default_doallocate, _IO_default_finish): Likewise.
32965         ( _IO_unbuffer_all): Likewise.
32966         ( libc_freeres_fn): Likewise.
32967         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32968         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32969         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32970         (_IO_wdefault_doallocate): Likewise.
32972 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32974         [BZ #18086]
32975         * sysdeps/posix/nice.c (nice): Restore old errno.
32976         * posix/tst-nice.c (do_test): Add test for BZ #18086.
32978 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
32980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32982 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32984         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32985         __bcopy and add a weak_alias to bcopy.
32986         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32987         for static build.
32989         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32990         cleanup macro usage.
32991         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32992         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32993         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32994         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32995         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32996         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32997         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32998         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32999         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33000         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33001         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33002         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33003         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33004         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33006         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33007         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33008         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33009         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33011         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33012         libc_hidden_def.
33013         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33015         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33016         (sysdep_routines): Add strstr-ppc64.
33017         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33019 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33021         [BZ #18778]
33022         * elf/Makefile (tests): Add Add tst-nodelete2.
33023         (modules-names): Add tst-nodelete2mod.
33024         (tst-nodelete2mod.so-no-z-defs): New.
33025         ($(objpfx)tst-nodelete2): Likewise.
33026         ($(objpfx)tst-nodelete2.out): Likewise.
33027         (LDFLAGS-tst-nodelete2): Likewise.
33028         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33029         out of loop through all loaded libraries.
33030         * elf/tst-nodelete2.c: New file.
33031         * elf/tst-nodelete2mod.c: Likewise.
33032         * elf/tst-znodelete-zlib.cc: Delete.
33034 2015-08-11  Andreas Schwab  <schwab@suse.de>
33036         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33037         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33038         (__openat64_nocancel): Likewise.
33040 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33042         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33043         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33044         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33045         * math/auto-libm-test-out: Regenerated.
33046         * sysdeps/i386/fpu/libm-test-ulps: Update.
33047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33049 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33051         [BZ #18790]
33052         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33053         threshold for returning +/- 1.
33054         * math/auto-libm-test-in: Add more tests of tanh.
33055         * math/auto-libm-test-out: Regenerated.
33056         * sysdeps/i386/fpu/libm-test-ulps: Update.
33058 2015-08-10  Andreas Schwab  <schwab@suse.de>
33060         [BZ #18781]
33061         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33062         MORE_OFLAGS to oflag.
33063         * io/test-lfs.c (do_test): Test openat64.
33065 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33067         [BZ #18789]
33068         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33069         smaller threshold for returning the argument.
33070         * math/auto-libm-test-in: Add more tests of sinh.
33071         * math/auto-libm-test-out: Regenerated.
33072         * sysdeps/i386/fpu/libm-test-ulps: Update.
33074 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33076         [BZ #18674]
33077         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33078         break.
33080 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33082         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33083         (generated): Don't add $(addprefix z.,$(tzfiles)).
33085 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33087         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33088         * scripts/sysd-rules.awk: Likewise.
33090 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33092         * iconvdata/tst-tables.sh: Change echo -n to printf.
33093         * nss/db-Makefile: Likewise.
33094         * posix/tst-getconf.sh: Likewise.
33095         * stdio-common/tst-unbputc.sh: Likewise.
33097 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33099         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33100         MADV_*_PAGES defines behind this feature check.
33102 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33104         [BZ #18480]
33105         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33106         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33107         Define.
33108         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33109         LOAD_REGS_5, LOAD_REGS_6): Update.
33110         (INTERNAL_SYSCALL): Update using new LOAD defines.
33111         (INTERNAL_SYSCALL_NCS): Likewise.
33112         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33114 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33116         [BZ #16734]
33117         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33119 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33121         [BZ #17905]
33122         * catgets/Makefile (tst-catgets-mem): New test.
33123         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33124         * catgets/open_catalog.c (__open_catalog): Likewise.
33125         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33127 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33129         [BZ #18787]
33130         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33131         clobber registers.
33132         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33133         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33134         Cast return to __typeof (oldval).
33136 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33138         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33139         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33140         and delete sys/syscall.h include.
33142 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33144         [BZ #16517]
33145         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33146         (tan): Force underflow exception for arguments with small absolute
33147         value.
33148         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33149         (__kernel_tanf): Force underflow exception for arguments with
33150         small absolute value.
33151         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33152         (__kernel_tanl): Force underflow exception for arguments with
33153         small absolute value.
33154         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33155         (__kernel_tanl): Force underflow exception for arguments with
33156         small absolute value.
33157         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33158         (__kernel_tanl): Force underflow exception for arguments with
33159         small absolute value.
33160         * math/auto-libm-test-in: Add more tests of tan.
33161         * math/auto-libm-test-out: Regenerated.
33163 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33165         Fix sysdeps/i386/fpu/s_scalbn.S build
33167         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33169 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33171         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33173 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33175         Fix gcrt0.o compilation
33177         When static-start-installed-name is different from
33178         start-installed-name, we must not use the shared objects.
33180         * csu/Makefile
33181         (extra-objs): Add gmon-start.o when building shared library and
33182         $(static-start-installed-name) is different from
33183         $(start-installed-name).
33184         $(objpfx)g$(static-start-installed-name): When building shared
33185         library and $(static-start-installed-name) is different from
33186         $(static-start-installed-name), revert to non-shared rule,
33187         i.e. using $(objpfx)% and gmon-start.o.
33189 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33191         [BZ #16519]
33192         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33193         (__ieee754_sinh): Force underflow exception for arguments with
33194         small absolute value.
33195         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33196         (__ieee754_sinhf): Force underflow exception for arguments with
33197         small absolute value.
33198         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33199         (__ieee754_sinhl): Force underflow exception for arguments with
33200         small absolute value.
33201         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33202         (__ieee754_sinhl): Force underflow exception for arguments with
33203         small absolute value.
33204         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33205         (__ieee754_sinhl): Force underflow exception for arguments with
33206         small absolute value.
33207         * math/auto-libm-test-in: Add more tests of sinh.
33208         * math/auto-libm-test-out: Regenerated.
33209         * sysdeps/i386/fpu/libm-test-ulps: Update.
33211 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33213         * libio/oldfileops.c: Include unistd.h.
33215 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33217         * stdlib/isomac.c: Include ctype.h.
33219 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33221         * dirent/tst-seekdir.c (main): Converted to ...
33222         (do_test): ... this.
33223         (TEST_FUNCTION): New macro.
33224         Include test-skeleton.c.
33225         * elf/tst-dlmodcount.c (main): Converted to ...
33226         (do_test): ... this.
33227         (TEST_FUNCTION): New macro.
33228         Include test-skeleton.c.
33229         * elf/tst-order-main.c (main): Converted to ...
33230         (do_test): ... this.
33231         (TEST_FUNCTION): New macro.
33232         Include test-skeleton.c.
33233         * elf/tst-pie2.c (main): Converted to ...
33234         (do_test): ... this.
33235         (TEST_FUNCTION): New macro.
33236         Include test-skeleton.c.
33237         * inet/tst-ether_aton.c (main): Converted to ...
33238         (do_test): ... this.
33239         (TEST_FUNCTION): New macro.
33240         Include test-skeleton.c.
33241         * misc/tst-mntent.c (main): Converted to ...
33242         (do_test): ... this.
33243         (TEST_FUNCTION): New macro.
33244         Include test-skeleton.c.
33245         * misc/tst-tsearch.c (main): Converted to ...
33246         (do_test): ... this.
33247         (TEST_FUNCTION): New macro.
33248         Include test-skeleton.c.
33249         * posix/tst-regexloc.c (main): Converted to ...
33250         (do_test): ... this.
33251         (TEST_FUNCTION): New macro.
33252         Include test-skeleton.c.
33253         * resolv/tst-aton.c (main): Converted to ...
33254         (do_test): ... this.
33255         (TEST_FUNCTION): New macro.
33256         Include test-skeleton.c.
33257         * stdio-common/test-fwrite.c (main): Converted to ...
33258         (do_test): ... this.
33259         (TEST_FUNCTION): New macro.
33260         Include test-skeleton.c.
33261         * stdio-common/tst-ferror.c (main): Converted to ...
33262         (do_test): ... this.
33263         (TEST_FUNCTION): New macro.
33264         Include test-skeleton.c.
33265         * stdio-common/tst-printf.c (main): Converted to ...
33266         (do_test): ... this.
33267         (TEST_FUNCTION): New macro.
33268         Include test-skeleton.c.
33269         * stdio-common/tst-printfsz.c (main): Converted to ...
33270         (do_test): ... this.
33271         (TEST_FUNCTION): New macro.
33272         Include test-skeleton.c.
33273         * stdlib/tst-strtod.c (main): Converted to ...
33274         (do_test): ... this.
33275         (TEST_FUNCTION): New macro.
33276         Include test-skeleton.c.
33277         * string/tst-strlen.c (main): Converted to ...
33278         (do_test): ... this.
33279         (TEST_FUNCTION): New macro.
33280         Include test-skeleton.c.
33281         * string/tst-svc.c (main): Converted to ...
33282         (do_test): ... this.
33283         (TEST_FUNCTION): New macro.
33284         Include test-skeleton.c.
33285         * time/tst-strptime.c (main): Converted to ...
33286         (do_test): ... this.
33287         (TEST_FUNCTION): New macro.
33288         Include test-skeleton.c.
33289         * timezone/tst-timezone.c (main): Converted to ...
33290         (do_test): ... this.
33291         (TEST_FUNCTION): New macro.
33292         Include test-skeleton.c.
33294 2015-08-05  Zack Weinberg  <zackw@panix.com>
33296         * misc/regexp.h: Update comments.
33298 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33300         [BZ #18635]
33301         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33302         before return label.
33304 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33306         [BZ #18661]
33307         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33308         when calling __errno_location.
33309         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33310         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33312 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33314         [BZ #18661]
33315         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33316         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33317         __gettimeofday.
33319 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33321         [BZ #18661]
33322         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33323         (__start_context): Don't use pop to restore %rdi so that stack
33324         is aligned to 16 bytes when calling __setcontext.
33326 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33328         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33329         only for libc.
33330         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33332 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33334         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33335         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33336         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33338 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33340         * string/memccpy.c (memccpy):
33341         Improve performance by using memchr/memcpy/__mempcpy.
33343 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33345         * string/strncpy.c (strncpy):
33346         Improve performance by using __strnlen/memcpy.
33348 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33350         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33351         Optimize to avoid an unnecessary FPCR read.
33353 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33355         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33356         Optimize to reduce FPCR/FPSR accesses.
33358 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33360         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33361         dead->data[category] != NULL.
33363 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33365         [BZ #18647]
33366         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33367         and |x| close to 1, use absolute value of x when computing log.
33368         * math/auto-libm-test-in: Add more tests of pow.
33369         * math/auto-libm-test-out: Regenerated.
33371 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33373         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33374         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33375         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33377 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33379         [BZ #18525]
33380         * locales/km_KH: Remove timezone definition.
33381         * locales/lo_LA: Likewise.
33382         * locales/my_MM: Likewise.
33383         * locales/nan_TW@latin: Likewise.
33384         * locales/th_TH: Likewise.
33385         * locales/uk_UA: Likewise.
33387 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33389         [BZ #18265]
33390         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33391         (wcsncat): Likewise.
33392         (wcscmp): Likewise.
33393         (wcsncmp): Likewise.
33395 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33397         * test-skeleton.c (usage): New function.
33398         (main): Call usage when opt is '?'.
33400 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33402         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33403         before first use.
33405 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33407         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33408         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33409         in there too.
33411 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33413         * version.h (RELEASE): Set to "development".
33414         (VERSION): Set to "2.22.90"
33416         * version.h (RELEASE): Set to "stable".
33417         (VERSION): Set to "2.22"
33418         * include/features.h (__GLIBC_MINOR__): Set to 22.
33420 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33422         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33423         Restructure macro to avoid "value computed is not used" warning.
33424         (atomic_compare_and_exchange_val_acq): Likewise.
33426 2015-08-04  Andreas Schwab  <schwab@suse.de>
33428         [BZ #18635]
33429         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33430         ret.
33431         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33433 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33435         * po/pl.po: Updated translation.
33436         * po/uk.po: Likewise.
33437         * po/fi.po: Likewise.
33438         * po/ko.po: Likewise.
33439         * po/ru.po: Likewise.
33440         * po/vi.po: Likewise.
33442 2015-07-31  Zack Weinberg  <zackw@panix.com>
33444         [BZ #18681]
33445         * regexp.h: Add unconditional #warning stating that this header
33446         will be removed soon.  Revise banner comment to match.
33447         (compile): Consistently use ERROR instead of RETURN to report
33448         errors (partial fix for BZ #18681).
33449         * regexp.c: Don't include regexp.h. Remove some unnecessary
33450         declarations.
33452 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33454         * po/libc.pot: Regenerated.
33456 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33458         [BZ #18740]
33459         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33460         float-vlen4-arch-ext-cflags): Removed.
33461         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33462         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33464 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33466         [BZ #14113]
33467         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33468         aligned to __aligned__.
33469         (pthread_cond_t, pthread_rwlock_t): Likewise.
33471 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33473         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33475 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33477         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33478         (struct sigaction): Change sa_flags from a long to an int, and add
33479         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33481 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33483         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33484         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33485         sysdeps/generic/sysdep.h include.
33486         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33487         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33488         sysdeps/hppa/sysdep.h.
33489         (ENTRY, PSEUDO): Undefine before defining.
33491 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33493         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33494         from scratch to use INTERNAL_SYSCALL.
33496 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33498         [BZ #18078]
33499         * scripts/check-localplt.awk: Support alternate relocations.
33500         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33501         sections.
33502         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33503         malloc entries with + REL R_386_GLOB_DAT.
33504         * sysdeps/x86_64/localplt.data: New file.
33506 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33508         [BZ #18731]
33509         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33510         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33511         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33513 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33515         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33517 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33519         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33520         directly in terms of __sync_fetch_and_add and delete (int) cast.
33522 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33524         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33525         the -D_ASM_IA64_CURRENT_H flag.
33527 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33529         [BZ #18641]
33530         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33532 2015-07-27  Andreas Schwab  <schwab@suse.de>
33534         * conform/conformtest.pl (checknamespace): Filter out string
33535         literals while tokenizing.
33537 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33539         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33540         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33541         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33543 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33545         * nptl/tst-join7mod.c: Add #include <string.h>.
33547 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33549         * sysdeps/nios2/libm-test-ulps: Update.
33551 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33553         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33554         Fix order of arguments to the rt_sigprocmask syscall.
33555         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33556         Likewise.
33558 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33560         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33562 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33564         [BZ #18457]
33565         * nptl/Makefile (tests): New test case tst-join7.
33566         (modules-names): New test case module tst-join7mod.
33567         * nptl/tst-join7.c: New file.
33568         * nptl/tst-join7mod.c: New file.
33569         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33570         all translation units in libc.so, libpthread.so and rtld.
33572 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33576 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33579         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33580         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33583         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33586         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33590         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33591         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33592         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33593         implementation.
33595 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33597         [BZ #17711]
33598         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33599         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33600         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33601         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33602         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33603         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33605 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33607         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33608         instead of just saying load lock in the comments.
33610 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33612         * sysdeps/unix/Subdirs: Moved ...
33613         * sysdeps/posix/Subdirs: ... here.
33614         * login/pty.h (struct termios, struct winsize): Add forward decls.
33615         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33616         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33617         * sysdeps/arm/nacl/libc.abilist: Updated.
33618         * sysdeps/nacl/libutil.abilist: New file.
33620         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33621         (SIGWINCH): New macro.
33623         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33624         * sysdeps/arm/nacl/libc.abilist: Add it.
33626 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33628         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33630 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33632         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33633         Swap __glibc_reserved0 and sa_flags order.
33635 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33637         [BZ #18657]
33638         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33639         are pending TLS destructor calls.
33640         * include/link.h (struct link_map): Add concurrency note for
33641         L_TLS_DTOR_COUNT.
33642         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33643         Don't touch the link map flag.  Atomically increment
33644         l_tls_dtor_count.
33645         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33646         Avoid taking the load lock and don't touch the link map flag.
33647         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33648         * stdlib/Makefile (tests): Use it.
33649         * stdlib/tst-tls-atexit.c (do_test): dlopen
33650         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33651         to allow tst-tls-atexit-nodelete test case to use it.
33653 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33655         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33656         to bits/types.h.
33657         (msgqnum_t): New typedef.
33658         (msglen_t): Likewise.
33659         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33660         and msg_qbytes type to msglen_t.
33662 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33664         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33665         pad0 to __glibc_reserved0.
33666         (struct stat64): Likewise.
33668 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33670         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33671         Change sa_flags from a long to an int and add __glibc_reserved0 before
33672         it for padding.
33674 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33676         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33677         anonymous by deleting "siginfo" name.
33679 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33681         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33682         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33683         rather than __nacl_irt_filename.
33684         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33686         * NEWS: New item for arm-nacl port.
33687         * sysdeps/arm/nacl/libc.abilist: New file.
33688         * sysdeps/nacl/ld.abilist: New file.
33689         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33690         * sysdeps/nacl/libanl.abilist: New file.
33691         * sysdeps/nacl/libcrypt.abilist: New file.
33692         * sysdeps/nacl/libdl.abilist: New file.
33693         * sysdeps/nacl/libm.abilist: New file.
33694         * sysdeps/nacl/libpthread.abilist: New file.
33695         * sysdeps/nacl/libresolv.abilist: New file.
33696         * sysdeps/nacl/librt.abilist: New file.
33698 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33700         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33701         __startcontext to initialize the new context.
33702         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33703         up CFI directive to forbid further backtracing.
33705 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33707         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33708         reference.
33709         * charmaps/ANSI_X3.4-1968: Likewise.
33710         * charmaps/BS_4730: Likewise.
33711         * charmaps/BS_VIEWDATA: Likewise.
33712         * charmaps/CP1250: Likewise.
33713         * charmaps/CP1251: Likewise.
33714         * charmaps/CP1252: Likewise.
33715         * charmaps/CP1253: Likewise.
33716         * charmaps/CP1254: Likewise.
33717         * charmaps/CP1255: Likewise.
33718         * charmaps/CP1256: Likewise.
33719         * charmaps/CSN_369103: Likewise.
33720         * charmaps/EBCDIC-DK-NO: Likewise.
33721         * charmaps/GB_1988-80: Likewise.
33722         * charmaps/GREEK-CCITT: Likewise.
33723         * charmaps/GREEK7: Likewise.
33724         * charmaps/INIS-8: Likewise.
33725         * charmaps/ISIRI-3342: Likewise.
33726         * charmaps/ISO_2033-1983: Likewise.
33727         * charmaps/ISO_5427-EXT: Likewise.
33728         * locales/POSIX: Likewise.
33729         * locales/ar_SA: Likewise.
33730         * locales/be_BY: Likewise.
33731         * locales/be_BY@latin: Likewise.
33732         * locales/ca_ES: Likewise.
33733         * locales/cs_CZ: Likewise.
33734         * locales/da_DK: Likewise.
33735         * locales/de_BE: Likewise.
33736         * locales/de_CH: Likewise.
33737         * locales/de_LU: Likewise.
33738         * locales/en_AU: Likewise.
33739         * locales/en_BW: Likewise.
33740         * locales/en_CA: Likewise.
33741         * locales/en_DK: Likewise.
33742         * locales/en_GB: Likewise.
33743         * locales/en_IE: Likewise.
33744         * locales/en_NZ: Likewise.
33745         * locales/en_ZA: Likewise.
33746         * locales/en_ZW: Likewise.
33747         * locales/es_AR: Likewise.
33748         * locales/es_BO: Likewise.
33749         * locales/es_CL: Likewise.
33750         * locales/es_CO: Likewise.
33751         * locales/es_DO: Likewise.
33752         * locales/es_EC: Likewise.
33753         * locales/es_ES: Likewise.
33754         * locales/es_HN: Likewise.
33755         * locales/es_MX: Likewise.
33756         * locales/es_PA: Likewise.
33757         * locales/es_PE: Likewise.
33758         * locales/es_PY: Likewise.
33759         * locales/es_SV: Likewise.
33760         * locales/es_US: Likewise.
33761         * locales/es_UY: Likewise.
33762         * locales/es_VE: Likewise.
33763         * locales/et_EE: Likewise.
33764         * locales/fa_IR: Likewise.
33765         * locales/fo_FO: Likewise.
33766         * locales/fr_CA: Likewise.
33767         * locales/fr_CH: Likewise.
33768         * locales/gv_GB: Likewise.
33769         * locales/he_IL: Likewise.
33770         * locales/hr_HR: Likewise.
33771         * locales/id_ID: Likewise.
33772         * locales/is_IS: Likewise.
33773         * locales/it_CH: Likewise.
33774         * locales/iw_IL: Likewise.
33775         * locales/kl_GL: Likewise.
33776         * locales/ko_KR: Likewise.
33777         * locales/kw_GB: Likewise.
33778         * locales/lg_UG: Likewise.
33779         * locales/lt_LT: Likewise.
33780         * locales/lv_LV: Likewise.
33781         * locales/mi_NZ: Likewise.
33782         * locales/nhn_MX: Likewise.
33783         * locales/nl_BE: Likewise.
33784         * locales/pl_PL: Likewise.
33785         * locales/sk_SK: Likewise.
33786         * locales/sl_SI: Likewise.
33787         * locales/sv_FI: Likewise.
33788         * locales/tl_PH: Likewise.
33789         * locales/tr_TR: Likewise.
33790         * locales/vi_VN: Likewise.
33792 2015-07-21  Khem Raj  <raj.khem@gmail.com>
33794         [BZ #17475]
33795         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33796         of tu_IN and bh_IN.
33798 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
33800         [BZ #18694]
33801         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33802         bits/wordsize.h.
33803         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33805 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33807         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33808         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33809         (spawn_thread): New function.
33810         (load): Rename to reg_dtor_and_close.  Move dlopen to...
33811         (do_test): ... here.  Use IS_LOADED to test for its
33812         availability.
33814 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
33816         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33818 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
33820         [BZ #18696]
33821         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33822         si_addr_bnd.
33823         (si_lower): New.
33824         (si_upper): Likewise.
33826 2015-07-16  David S. Miller  <davem@davemloft.net>
33828         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33830 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33832         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33833         buffer.
33834         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33835         fail output information.
33837 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33840         and strstr-ppc64..
33841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33842         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33843         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33844         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33845         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33847 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33849         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33850         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33851         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33852         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33854 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33856         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33857         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33858         rtld_hidden_proto.
33859         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33861 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33863         * tst-nodelete-opened.c (do_test): Add comment to clarify how
33864         the test can fail.
33866         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33868         [BZ #18676]
33869         * elf/tst-nodelete-opened.c: New test case.
33870         * elf/tst-nodelete-opened-lib.c: New test case module.
33871         * elf/Makefile (tests, modules-names): Use them.
33872         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33873         early.
33875 2015-07-15  David S. Miller  <davem@davemloft.net>
33877         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33878         futex-intenal.h
33879         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33880         * sysdeps/sparc/sparc64/Makefile: Likewise.
33881         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33882         Remove space from macro define.
33883         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33885 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
33887         [BZ #17475]
33888         * locale/iso-639.def: Update Bhili and Tulu language codes as
33889         per iso639-3.
33891 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
33893         * elf/tst-leaks1.c (main): Converted to ...
33894         (do_test): ... this.
33895         (TEST_FUNCTION): New macro.
33896         Include test-skeleton.c.
33897         * localedata/tst-langinfo.c (main): Converted to ...
33898         (do_test): ... this.
33899         (TEST_FUNCTION): New macro.
33900         Include test-skeleton.c.
33901         * math/test-fpucw.c (main): Converted to ...
33902         (do_test): ... this.
33903         (TEST_FUNCTION): New macro.
33904         Include test-skeleton.c.
33905         * math/test-tgmath.c (main): Converted to ...
33906         (do_test): ... this.
33907         (TEST_FUNCTION): New macro.
33908         Include test-skeleton.c.
33909         * math/test-tgmath2.c (main): Converted to ...
33910         (do_test): ... this.
33911         (TEST_FUNCTION): New macro.
33912         Include test-skeleton.c.
33913         * setjmp/tst-setjmp.c (main): Converted to ...
33914         (do_test): ... this.
33915         (TEST_FUNCTION): New macro.
33916         Include test-skeleton.c.
33917         * stdio-common/tst-sscanf.c (main): Converted to ...
33918         (do_test): ... this.
33919         (TEST_FUNCTION): New macro.
33920         Include test-skeleton.c.
33921         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33922         (do_test): ... this.
33923         (TEST_FUNCTION): New macro.
33924         Include test-skeleton.c.
33926         * elf/tst-audit9.c (main): Converted to ...
33927         (do_test): ... this.
33928         (TEST_FUNCTION): New macro.
33929         Include test-skeleton.c.
33931 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
33933         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33935 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33937         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33938         New variable.
33940 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33942         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33944 2015-07-14  Roland McGrath  <roland@hack.frob.com>
33946         * sysdeps/generic/dl-fileid.h: New file.
33947         * sysdeps/posix/dl-fileid.h: New file.
33948         * sysdeps/nacl/dl-fileid.h: New file.
33949         * include/link.h: Include <dl-fileid.h>.
33950         (struct link_map): Replace l_dev and l_ino with l_file_id.
33951         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33952         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
33953         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
33955 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33957         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33959 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33961         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33962         Add iff $CXX is set.
33963         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33964         Likewise.
33965         (tst-nodelete-zmodiff): Likewise.
33966         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33968 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33970         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33972 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33974         * sysdeps/aarch64/fpu/math_private.h
33975         (define math_opt_barrier): Add AArch64 version.
33976         (math_force_eval): Likewise.
33978 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33980         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33982 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
33984         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33985         %ld with %jd and cast to intmax_t.
33986         (do_test_length_zero): Likewise.
33988 2015-07-10  Roland McGrath  <roland@hack.frob.com>
33990         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33992 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
33994         * sysdeps/tile/libm-test-ulps: Regenerated.
33996         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33997         Comment out the whole function, not just its body.
33999 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34001         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34002         locks.
34004         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34006 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34008         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34009         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34011 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34013         * sysdeps/nptl/futex-internal.h: New file.
34014         * sysdeps/nacl/futex-internal.h: New file.
34015         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34016         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34017         error checking.
34018         (setxid_unmark_thread): Likewise.
34019         (__nptl_setxid): Likewise.
34020         (__wait_lookup_done): Likewise.
34021         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34022         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34023         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34024         * nptl/pthread_once.c (clear_once_control): Likewise.
34025         (__pthread_once_slow): Likewise.
34026         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34027         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34028         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34029         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34030         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34031         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34032         Likewise.
34033         (__pthread_rwlock_rdlock): Likewise.
34034         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34035         Likewise.
34036         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34037         Likewise.
34038         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34039         Likewise.
34040         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34041         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34042         Likewise.
34043         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34044         __ASSUME_PRIVATE_FUTEX check.
34045         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34046         Check that shared futexes are supported.
34047         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34048         wrappers with error checking.
34049         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34050         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34051         * nptl/pthread_barrierattr_setpshared.c
34052         (pthread_barrierattr_setpshared): Check that shared futexes are
34053         supported.
34054         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34055         Likewise.
34056         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34057         Likewise.
34058         * nptl/sem_init.c (futex_private_if_supported): Remove.
34059         (__new_sem_init): Adapt and check that shared futexes are supported.
34060         * nptl/sem_open.c (sem_open): Likewise.
34061         * nptl/sem_post.c (futex_wake): Remove.
34062         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34063         (do_futex_wait): Use futex wrappers with error checking.
34064         * nptl/sem_wait.c: Include lowlevellock.h.
34065         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34066         Use futex_supports_pshared.
34067         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34068         Use futex wrappers with error checking.
34069         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34070         Likewise.
34071         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34072         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34073         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34074         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34075         (futex_wake): Likewise.
34076         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34077         (do_futex_wait): Use futex wrappers with error checking.
34078         (__new_sem_wait_slow): Update EINTR handling.
34079         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34081 2015-07-09  Martin Sebor  <msebor@redhat.com>
34083         [BZ #18435]
34084         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34085         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34086         * nptl/Makefile (test-xfail-tst-once5): Define.
34088 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34090         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34091         * elf/dl-minimal.c: For readability, reorder some definitions and
34092         introduce more page breaks.  Include <stdio.h>.
34093         (__libc_fatal): New function.
34095         * include/unistd.h: Add rtld_hidden_proto for _exit.
34096         * posix/_exit.c: Add rtld_hidden_def.
34097         * sysdeps/mach/hurd/_exit.c: Likewise.
34098         * sysdeps/nacl/_exit.c: Likewise.
34099         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34100         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34102 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34105         bndmov encoding with zero displacement.
34107 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34108             H.J. Lu  <hongjiu.lu@intel.com>
34110         [BZ #18134]
34111         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34112         * sysdeps/i386/configure: Regenerated.
34113         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34114         (_dl_runtime_profile): Save and restore Intel MPX return bound
34115         registers when calling _dl_call_pltexit.  Add
34116         PRESERVE_BND_REGS_PREFIX before return.
34117         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34118         (LRV_BND1_OFFSET): Likewise.
34119         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34120         lrv_bnd1.
34121         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34122         typo in bndmov encoding.
34123         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34124         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34125         branch instructions to preserve bounds.
34127 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34130         [GLIBC_2.22]: Add fmemopen.
34132 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34134         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34135         returns an error, also try to use host port from __mach_host_self for
34136         the __vm_wire call.
34137         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34139 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34141         [BZ #18400]
34142         [BZ #18648]
34143         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34144         Fix pr_uid and pr_gid members.
34145         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34146         definition to elf_greg_t.
34148 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34150         [BZ #18383]
34151         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34152         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34153         * sysdeps/arm/configure: Regenerated.
34154         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34155         (test-xfail-tst-tlsalign-static): Variable removed.
34157         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34158         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34159         rather than explicit 'ln -s'.
34161         * resolv/rpc/netdb.h: New file.
34162         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34164 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34166         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34167         length buffers.
34168         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34169         test-skeleton.c.
34171         [BZ #6544]
34172         [BZ #11216]
34173         [BZ #12836]
34174         [BZ #13151]
34175         [BZ #13152]
34176         [BZ #14292]
34177         * include/stdio.h (fmemopen): Remove hidden prototype.
34178         (__fmemopen): Add new hidden prototype.
34179         * libio/Makefile: Add oldfmemopen object.
34180         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34181         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34182         compliance.
34183         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34184         symbol compatibility.
34185         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34186         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34187         fmemopen.
34188         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34189         on append and read mode.
34190         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34191         fmemopen.
34192         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34193         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34194         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34195         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34196         Likewise.
34197         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34198         [GLIBC_2.22]: Likewise.
34199         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34200         Likewise.
34201         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34202         Likewise.
34203         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34204         [GLIBC_2.22]: Likewise.
34205         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34206         [GLIBC_2.22]: Likewise.
34207         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34208         [GLIBC_2.22]: Likewise.
34209         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34210         [GLIBC_2.22]: Likewise.
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34212         [GLIBC_2.22]: Likewise.
34213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34214         [GLIBC_2.22]: Likewise.
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34216         [GLIBC_2.22]: Likewise.
34217         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34218         Likewise.
34219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34220         Likewise.
34221         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34222         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34223         [GLIBC_2.22]: Likewise.
34224         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34225         [GLIBC_2.22]: Likewise.
34226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34227         [GLIBC_2.22]: Likewise.
34228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34229         [GLIBC_2.22]: Likewise.
34230         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34231         Likewise.
34232         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34233         Likewise.
34234         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34235         Likewise.
34236         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34237         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34239 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34241         [BZ #18643]
34242         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34243         IPV6_PATHMTU, and IPV6_DONTFRAG.
34245 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34247         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34248         and _IO_UNBUFFERED.
34249         * libio/oldfileops.c: Likewise.
34250         * libio/wfileops.c: Likewise.
34252 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34254         * nscd/selinux.c: Delete selinux/flask.h include.
34256 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34258         [BZ #18641]
34259         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34260         (putpwent): Likewise.
34261         (getpwnam): Likewise.
34262         (getpwent_r): Likewise.
34263         (getpwuid_r): Likewise.
34264         (getpwnam_r): Likewise.
34265         (fgetpwent_r): Likewise.
34267 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34269         [BZ #18557]
34270         * inet/rcmd.c (__validuser2_sa): Check user first to
34271         short-circuit host check.
34273 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34274             Mikhail Ilin  <m.ilin@samsung.com>
34276         [BZ #17833]
34277         * elf/Makefile (tests): Add tst-nodelete.
34278         (modules-names): Add tst-nodelete-uniquemod.
34279         (tst-nodelete-uniquemod.so-no-z-defs): New.
34280         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34281         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34282         ($(objpfx)tst-nodelete): Likewise.
34283         ($(objpfx)tst-nodelete.out): Likewise.
34284         (LDFLAGS-tst-nodelete): Likewise.
34285         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34286         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34287         implement forced object deletion.
34288         (_dl_close): Pass false to _dl_close_worker.
34289         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34290         * elf/tst-nodelete.cc: New file.
34291         * elf/tst-nodeletelib.cc: Likewise.
34292         * elf/tst-znodeletelib.cc: Likewise.
34293         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34295 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34297         [BZ #18508]
34298         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34299         Depend on $(libdl).
34300         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34301         is not called infinitely times.
34302         (backtrace_helper): New function.
34303         (trace_arg): New struct.
34304         (st1): Enlarge stack size.
34305         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34306         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34307         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34308         Likewise.
34310 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34312         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34314 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34316         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34317         Include sys/types.h instead of bits/types.h.
34318         Remove inclusion of bits/wordsize.h.
34320 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34322         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34323         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34324         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34325         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34326         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34327         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34329 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34331         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34332         link-defines.sym.
34333         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34334         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34335         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34336         and LR_SIZE.
34337         * sysdeps/i386/link-defines.sym: New file.
34339 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34341         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34342         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34343         ($(objpfx)tst-audit3): New rule.
34344         ($(objpfx)tst-audit3.out): Likewise.
34345         * sysdeps/i386/tst-audit3.c: New file.
34346         * sysdeps/i386/tst-audit3.h: Likewise.
34347         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34348         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34350 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34352         [BZ #18633]
34353         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34354         pointer in C code.
34355         (__strcat_c): Likewise.
34356         (__strcat_g): Likewise.
34358 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34360         [BZ #18592]
34361         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34363 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34365         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34366         New function.  (__ieee754_sqrtf): New function.
34367         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34368         New function.
34369         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34370         New function.
34372 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34374         * sysdeps/ieee754/support.c: Remove unused file.
34376 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34378         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34379         registers instead of d ones so the layout is kernel abi compatible.
34380         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34381         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34382         Likewise.
34384 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34386         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34388 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34390         [BZ #18619]
34391         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34392         and return argument in case of subnormal argument.
34394 2015-07-01  Martin Sebor  <msebor@redhat.com>
34396         [BZ #18435]
34397         * nptl/Makefile: Add tst-once5.cc.
34398         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34399         Remove macro redefinitions.
34400         * nptl/tst-once5.cc: New test.
34402 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34404         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34406         * sysdeps/arm/libm-test-ulps: Regenerated.
34408         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34409         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34411 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34413         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34414         lll_lock_wait_private and lll_futex_wake probes.
34416         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34418         Likewise.
34419         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34420         atomic_spin_nop.
34421         * sysdeps/x86_64/bits/atomic.h: Likewise.
34422         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34423         to atomic_spin_nop and move ...
34424         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34425         ... here and ...
34426         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34427         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34428         atomic_spin_nop instead of BUSY_WAIT_NOP.
34429         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34430         Likewise.
34431         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34432         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34433         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34434         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34435         instead of atomic_delay.
34437 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #18613]
34440         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34441         X_ADJ not X when adjusting exponent.
34442         (__ieee754_gamma_r): Do intermediate computations in
34443         round-to-nearest then adjust overflowing and underflowing results
34444         as needed.
34445         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34446         of X_ADJ not X when adjusting exponent.
34447         (__ieee754_gammaf_r): Do intermediate computations in
34448         round-to-nearest then adjust overflowing and underflowing results
34449         as needed.
34450         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34451         log of X_ADJ not X when adjusting exponent.
34452         (__ieee754_gammal_r): Do intermediate computations in
34453         round-to-nearest then adjust overflowing and underflowing results
34454         as needed.  Use 1.0L not 1.0f as numerator of division.
34455         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34456         log of X_ADJ not X when adjusting exponent.
34457         (__ieee754_gammal_r): Do intermediate computations in
34458         round-to-nearest then adjust overflowing and underflowing results
34459         as needed.  Use 1.0L not 1.0f as numerator of division.
34460         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34461         of X_ADJ not X when adjusting exponent.
34462         (__ieee754_gammal_r): Do intermediate computations in
34463         round-to-nearest then adjust overflowing and underflowing results
34464         as needed.  Use 1.0L not 1.0f as numerator of division.
34465         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34466         to auto-libm-test-in.
34467         (tgamma_test): Use ALL_RM_TEST.
34468         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34469         tests of tgamma with spurious-overflow.
34470         * math/auto-libm-test-out: Regenerated.
34471         * math/gen-libm-have-vector-test.sh: Do not check for START.
34472         * sysdeps/i386/fpu/libm-test-ulps: Update.
34473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475         [BZ #18612]
34476         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34477         arguments, just return 0.5 times the argument, with underflow
34478         forced as needed.
34479         * math/auto-libm-test-in: Add more tests of j1.
34480         * math/auto-libm-test-out: Regenerated.
34482         [BZ #16559]
34483         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34484         (__ieee754_j1): Force underflow exception for small results.
34485         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34486         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34487         (__ieee754_j1f): Force underflow exception for small results.
34488         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34489         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34491         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34492         (__ieee754_j1l): Force underflow exception for small results.
34493         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34494         * math/auto-libm-test-in: Add more tests of j1 and jn.
34495         * math/auto-libm-test-out: Regenerated.
34497         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34498         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34499         (PF_MPLS): Likewise.
34500         (AF_IB): Likewise.
34501         (AF_MPLS): Likewise.
34502         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34503         value and macro.
34504         (MS_RMT_MASK): Include MS_LAZYTIME.
34506 2015-06-26  Mel Gorman  <mgorman@suse.de>
34508         [BZ #18502]
34509         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34510         already minimal.
34512 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34514         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34515         (DT_MIPS_NUM): Update.
34516         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34517         DT_MIPS_RLD_MAP_REL.
34519 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34521         [BZ #16559]
34522         [BZ #18602]
34523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34524         round-to-nearest internally then recompute results that
34525         underflowed to zero in the original rounding mode.
34526         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34527         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34529         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34530         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34531         * sysdeps/i386/fpu/libm-test-ulps: Update.
34532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34534 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34536         * NEWS: Fixed description of link with vector math library.
34538 2015-06-25  Andreas Schwab  <schwab@suse.de>
34540         [BZ #18549]
34541         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34542         * libio/test-fmemopen.c (do_test): Add test for it.
34544 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34546         [BZ #17841]
34547         * Makeconfig (no-pie-ldflag): New.
34548         (+link): Set to $(+link-pie) if default to PIE.
34549         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34550         * config.make.in (build-pie-default): New.
34551         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34552         is default.  AC_SUBST.
34553         * configure: Regenerated.
34554         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34556 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34558         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34559         to 'unsigned int'.
34561         * resolv/gai_misc.h (struct waitlist): Change type of field
34562         counterp to 'volatile unsigned int *'.
34563         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34564         FUTEXADDR and OLDVAL.
34565         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34566         Give local variable TOTAL type 'volatile unsigned int'.
34567         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34568         * resolv/gai_suspend.c (gai_suspend):
34569         Give local variable CNTR type 'unsigned int'.
34571         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34572         counterp to 'volatile unsigned int *'.
34573         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34574         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34575         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34576         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34577         Give local variable TOTAL type 'volatile unsigned int'.
34578         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34580 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34582         [BZ #18383]
34583         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34584         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34585         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34586         comment for i386/x86-64.
34587         (test-xfail-tst-tlsalign-extern-static): Removed.
34589 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34591         * math/test-double.h: New file.
34592         * math/test-float.h: Likewise.
34593         * math/test-ldouble.h: Likewise.
34594         * math/test-math-inline.h: Likewise.
34595         * math/test-math-no-inline.h: Likewise.
34596         * math/test-math-scalar.h: Likewise.
34597         * math/test-math-vector.h: Likewise.
34598         * math/test-vec-loop.h: Remove file.  Contents moved into
34599         test-math-vector.h.
34600         * math/libm-test.inc (MATHCONST): Do not document macro.
34601         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34602         and test-math-scalar.h.
34603         (FUNC): Remove macro.
34604         (FUNC_TEST): Likewise.
34605         (FLOAT): Likewise.
34606         (MATHCONST): Likewise.
34607         (PRINTF_EXPR): Likewise.
34608         (PRINTF_XEXPR): Likewise.
34609         (PRINTF_NEXPR): Likewise.
34610         (TEST_DOUBLE): Likewise.
34611         (TEST_MATHVEC): Likewise.
34612         (__NO_MATH_INLINES): Likewise.
34613         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34614         and test-math-scalar.h.
34615         (FUNC): Remove macro.
34616         (FUNC_TEST): Likewise.
34617         (FLOAT): Likewise.
34618         (MATHCONST): Likewise.
34619         (PRINTF_EXPR): Likewise.
34620         (PRINTF_XEXPR): Likewise.
34621         (PRINTF_NEXPR): Likewise.
34622         (TEST_FLOAT): Likewise.
34623         (TEST_MATHVEC): Likewise.
34624         (__NO_MATH_INLINES): Likewise.
34625         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34626         and test-math-scalar.h.
34627         (FUNC): Remove macro.
34628         (FUNC_TEST): Likewise.
34629         (FLOAT): Likewise.
34630         (MATHCONST): Likewise.
34631         (PRINTF_EXPR): Likewise.
34632         (PRINTF_XEXPR): Likewise.
34633         (PRINTF_NEXPR): Likewise.
34634         (TEST_DOUBLE): Likewise.
34635         (TEST_MATHVEC): Likewise.
34636         (TEST_INLINE): Likewise.
34637         (__NO_MATH_INLINES): Likewise.
34638         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34639         test-math-scalar.h.
34640         (FUNC): Remove macro.
34641         (FUNC_TEST): Likewise.
34642         (FLOAT): Likewise.
34643         (MATHCONST): Likewise.
34644         (PRINTF_EXPR): Likewise.
34645         (PRINTF_XEXPR): Likewise.
34646         (PRINTF_NEXPR): Likewise.
34647         (TEST_FLOAT): Likewise.
34648         (TEST_MATHVEC): Likewise.
34649         (TEST_INLINE): Likewise.
34650         (__NO_MATH_INLINES): Likewise.
34651         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34652         and test-math-scalar.h.
34653         (FUNC): Remove macro.
34654         (FUNC_TEST): Likewise.
34655         (FLOAT): Likewise.
34656         (MATHCONST): Likewise.
34657         (PRINTF_EXPR): Likewise.
34658         (PRINTF_XEXPR): Likewise.
34659         (PRINTF_NEXPR): Likewise.
34660         (TEST_LDOUBLE): Likewise.
34661         (TEST_MATHVEC): Likewise.
34662         (TEST_INLINE): Likewise.
34663         (__NO_MATH_INLINES): Likewise.
34664         * math/test-ldouble.c: Include test-ldouble.h,
34665         test-math-no-inline.h and test-math-scalar.h.
34666         (FUNC): Remove macro.
34667         (FUNC_TEST): Likewise.
34668         (FLOAT): Likewise.
34669         (MATHCONST): Likewise.
34670         (PRINTF_EXPR): Likewise.
34671         (PRINTF_XEXPR): Likewise.
34672         (PRINTF_NEXPR): Likewise.
34673         (TEST_LDOUBLE): Likewise.
34674         (TEST_MATHVEC): Likewise.
34675         (__NO_MATH_INLINES): Likewise.
34676         * math/test-double-vlen2.h: Include test-double.h,
34677         test-math-no-inline.h and test-math-vector.h.
34678         (FLOAT): Remove macro.
34679         (FUNC): Likewise.
34680         (MATHCONST): Likewise.
34681         (PRINTF_EXPR): Likewise.
34682         (PRINTF_XEXPR): Likewise.
34683         (PRINTF_NEXPR): Likewise.
34684         (TEST_DOUBLE): Likewise.
34685         (TEST_MATHVEC): Likewise.
34686         (__NO_MATH_INLINES): Likewise.
34687         (CNCT): Likewise.
34688         (CONCAT): Likewise.
34689         (WRAPPER_NAME): Likewise.
34690         (WRAPPER_DECL): Likewise.
34691         (WRAPPER_DECL_ff): Likewise.
34692         (WRAPPER_DECL_fFF): Likewise.
34693         (VECTOR_WRAPPER): Likewise.
34694         (VECTOR_WRAPPER_ff): Likewise.
34695         (VECTOR_WRAPPER_fFF): Likewise.
34696         (VEC_LEN): New macro.
34697         * math/test-double-vlen4.h: Include test-double.h,
34698         test-math-no-inline.h and test-math-vector.h.
34699         (FLOAT): Remove macro.
34700         (FUNC): Likewise.
34701         (MATHCONST): Likewise.
34702         (PRINTF_EXPR): Likewise.
34703         (PRINTF_XEXPR): Likewise.
34704         (PRINTF_NEXPR): Likewise.
34705         (TEST_DOUBLE): Likewise.
34706         (TEST_MATHVEC): Likewise.
34707         (__NO_MATH_INLINES): Likewise.
34708         (CNCT): Likewise.
34709         (CONCAT): Likewise.
34710         (WRAPPER_NAME): Likewise.
34711         (WRAPPER_DECL): Likewise.
34712         (WRAPPER_DECL_ff): Likewise.
34713         (WRAPPER_DECL_fFF): Likewise.
34714         (VECTOR_WRAPPER): Likewise.
34715         (VECTOR_WRAPPER_ff): Likewise.
34716         (VECTOR_WRAPPER_fFF): Likewise.
34717         (VEC_LEN): New macro.
34718         * math/test-double-vlen8.h: Include test-double.h,
34719         test-math-no-inline.h and test-math-vector.h.
34720         (FLOAT): Remove macro.
34721         (FUNC): Likewise.
34722         (MATHCONST): Likewise.
34723         (PRINTF_EXPR): Likewise.
34724         (PRINTF_XEXPR): Likewise.
34725         (PRINTF_NEXPR): Likewise.
34726         (TEST_DOUBLE): Likewise.
34727         (TEST_MATHVEC): Likewise.
34728         (__NO_MATH_INLINES): Likewise.
34729         (CNCT): Likewise.
34730         (CONCAT): Likewise.
34731         (WRAPPER_NAME): Likewise.
34732         (WRAPPER_DECL): Likewise.
34733         (WRAPPER_DECL_ff): Likewise.
34734         (WRAPPER_DECL_fFF): Likewise.
34735         (VECTOR_WRAPPER): Likewise.
34736         (VECTOR_WRAPPER_ff): Likewise.
34737         (VECTOR_WRAPPER_fFF): Likewise.
34738         (VEC_LEN): New macro.
34739         * math/test-float-vlen4.h: Include test-float.h,
34740         test-math-no-inline.h and test-math-vector.h.
34741         (FLOAT): Remove macro.
34742         (FUNC): Likewise.
34743         (MATHCONST): Likewise.
34744         (PRINTF_EXPR): Likewise.
34745         (PRINTF_XEXPR): Likewise.
34746         (PRINTF_NEXPR): Likewise.
34747         (TEST_FLOAT): Likewise.
34748         (TEST_MATHVEC): Likewise.
34749         (__NO_MATH_INLINES): Likewise.
34750         (CNCT): Likewise.
34751         (CONCAT): Likewise.
34752         (WRAPPER_NAME): Likewise.
34753         (WRAPPER_DECL): Likewise.
34754         (WRAPPER_DECL_ff): Likewise.
34755         (WRAPPER_DECL_fFF): Likewise.
34756         (VECTOR_WRAPPER): Likewise.
34757         (VECTOR_WRAPPER_ff): Likewise.
34758         (VECTOR_WRAPPER_fFF): Likewise.
34759         (VEC_LEN): New macro.
34760         * math/test-float-vlen8.h: Include test-float.h,
34761         test-math-no-inline.h and test-math-vector.h.
34762         (FLOAT): Remove macro.
34763         (FUNC): Likewise.
34764         (MATHCONST): Likewise.
34765         (PRINTF_EXPR): Likewise.
34766         (PRINTF_XEXPR): Likewise.
34767         (PRINTF_NEXPR): Likewise.
34768         (TEST_FLOAT): Likewise.
34769         (TEST_MATHVEC): Likewise.
34770         (__NO_MATH_INLINES): Likewise.
34771         (CNCT): Likewise.
34772         (CONCAT): Likewise.
34773         (WRAPPER_NAME): Likewise.
34774         (WRAPPER_DECL): Likewise.
34775         (WRAPPER_DECL_ff): Likewise.
34776         (WRAPPER_DECL_fFF): Likewise.
34777         (VECTOR_WRAPPER): Likewise.
34778         (VECTOR_WRAPPER_ff): Likewise.
34779         (VECTOR_WRAPPER_fFF): Likewise.
34780         (VEC_LEN): New macro.
34781         * math/test-float-vlen16.h: Include test-float.h,
34782         test-math-no-inline.h and test-math-vector.h.
34783         (FLOAT): Remove macro.
34784         (FUNC): Likewise.
34785         (MATHCONST): Likewise.
34786         (PRINTF_EXPR): Likewise.
34787         (PRINTF_XEXPR): Likewise.
34788         (PRINTF_NEXPR): Likewise.
34789         (TEST_FLOAT): Likewise.
34790         (TEST_MATHVEC): Likewise.
34791         (__NO_MATH_INLINES): Likewise.
34792         (CNCT): Likewise.
34793         (CONCAT): Likewise.
34794         (WRAPPER_NAME): Likewise.
34795         (WRAPPER_DECL): Likewise.
34796         (WRAPPER_DECL_ff): Likewise.
34797         (WRAPPER_DECL_fFF): Likewise.
34798         (VECTOR_WRAPPER): Likewise.
34799         (VECTOR_WRAPPER_ff): Likewise.
34800         (VECTOR_WRAPPER_fFF): Likewise.
34801         (VEC_LEN): New macro.
34802         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34803         test-vec-loop.h.
34804         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34805         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34806         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34807         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34808         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34809         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34810         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34812 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34814         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34815         (__getlogin_r): ... this.
34817 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34819         [BZ #18594]
34820         * math/s_ccosh.c (__ccosh): Compare with least normal value
34821         instead of comparing class with FP_SUBNORMAL.
34822         * math/s_ccoshf.c (__ccoshf): Likewise.
34823         * math/s_ccoshl.c (__ccoshl): Likewise.
34824         * math/s_cexp.c (__cexp): Likewise.
34825         * math/s_cexpf.c (__cexpf): Likewise.
34826         * math/s_cexpl.c (__cexpl): Likewise.
34827         * math/s_csin.c (__csin): Likewise.
34828         * math/s_csinf.c (__csinf): Likewise.
34829         * math/s_csinh.c (__csinh): Likewise.
34830         * math/s_csinhf.c (__csinhf): Likewise.
34831         * math/s_csinhl.c (__csinhl): Likewise.
34832         * math/s_csinl.c (__csinl): Likewise.
34833         * math/s_ctan.c (__ctan): Likewise.
34834         * math/s_ctanf.c (__ctanf): Likewise.
34835         * math/s_ctanh.c (__ctanh): Likewise.
34836         * math/s_ctanhf.c (__ctanhf): Likewise.
34837         * math/s_ctanhl.c (__ctanhl): Likewise.
34838         * math/s_ctanl.c (__ctanl): Likewise.
34839         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34840         csin, csinh, ctan and ctanh.
34841         * math/auto-libm-test-out: Regenerated.
34842         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34843         * sysdeps/i386/fpu/libm-test-ulps: Update.
34844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34846 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34848         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34849         return value is wrong, print the expected value too.
34851 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34853         [BZ #18585]
34854         * elf/readlib.c (is_gdb_python_file): New.
34855         (process_file): Don't issue errors on filenames with -gdb.py
34856         suffix.
34858 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34860         * math/auto-libm-test-in: Add more tests of csin and csinh.
34861         * math/auto-libm-test-out: Regenerated.
34862         * math/libm-test.inc (csin_test_data): Remove tests moved to
34863         auto-libm-test-in.
34864         (csinh_test_data): Likewise.
34866         [BZ #18593]
34867         * math/s_csin.c (__csin): Negate before rather than after possibly
34868         overflowing multiplication.
34869         * math/s_csinf.c (__csinf): Likewise.
34870         * math/s_csinh.c (__csinh): Likewise.
34871         * math/s_csinhf.c (__csinhf): Likewise.
34872         * math/s_csinhl.c (__csinhl): Likewise.
34873         * math/s_csinl.c (__csinl): Likewise.
34874         * math/auto-libm-test-in: Add some tests of csin and csinh.
34875         * math/auto-libm-test-out: Regenerated.
34876         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34877         (csinh_test_data): Likewise.
34878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34880         [BZ #18586]
34881         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34882         underflow exception for small results.
34884 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34886         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34888         variable and included header.
34889         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34890         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34891         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34892         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34893         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34894         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34895         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34896         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34897         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34898         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34899         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34900         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34901         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34902         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34903         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34904         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34906 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34908         [BZ #16526]
34909         [BZ #16538]
34910         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34911         (__sin): Force underflow exception for arguments with small
34912         absolute value.
34913         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34914         (__kernel_sinf): Force underflow exception for arguments with
34915         small absolute value.
34916         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34917         (__kernel_sincosl): Force underflow exception for arguments with
34918         small absolute value.
34919         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34920         (__kernel_sinl): Force underflow exception for arguments with
34921         small absolute value.
34922         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34923         (__kernel_sincosl): Force underflow exception for arguments with
34924         small absolute value.
34925         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34926         (__kernel_sinl): Force underflow exception for arguments with
34927         small absolute value.
34928         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34929         (__kernel_sinl): Force underflow exception for arguments with
34930         small absolute value.
34931         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34932         (__kernel_sinf): Force underflow exception for arguments with
34933         small absolute value.
34934         * math/auto-libm-test-in: Add more tests of sin and sincos.
34935         * math/auto-libm-test-out: Regenerated.
34937         [BZ #18245]
34938         [BZ #18583]
34939         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34940         (__kernel_standard_l): Use feholdexcept and fesetenv around
34941         conversion to double instead of special-casing overflow and
34942         underflow.
34943         * math/libm-test.inc (fmod_test_data): Add more tests.
34944         (remainder_test_data): Likewise.
34945         (sqrt_test_data): Likewise.
34947 2015-06-23  Torvald Riegel  <triegel@redhat.com>
34949         [BZ #17403]
34950         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34951         atomic_read_barrier, atomic_write_barrier): Define.
34952         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34953         atomic_read_barrier, atomic_write_barrier): Define.
34955 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34957         * math/Makefile [$(PERL) != no]
34958         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34959         dependency on libm-test.stmp below the inclusion of Rules.
34961 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
34963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34964         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34965         and included header.
34966         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34967         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34969         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34971         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34973         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34974         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34975         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34976         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34977         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34978         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34979         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34980         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34981         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34982         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34983         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34984         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34986 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34988         [BZ #18371]
34989         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34990         intermediate but not final result might underflow.
34991         * math/s_csqrtf.c (__csqrtf): Likewise.
34992         * math/s_csqrtl.c (__csqrtl): Likewise.
34993         * math/auto-libm-test-in: Add more tests of csqrt.
34994         * math/auto-libm-test-out: Regenerated.
34995         * sysdeps/i386/fpu/libm-test-ulps: Update.
34997         [BZ #18219]
34998         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34999         threshold on absolute value of exponent for which scaling is used.
35000         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35001         * math/auto-libm-test-in: Add more tests of exp2.
35002         * math/auto-libm-test-out: Regenerated.
35004 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35006         [BZ #17977]
35007         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35008         when initializing interface list, based on the bug analysis
35009         and the patch proposed by Eric Newton.
35010         * resolv/tst-res_hconf_reorder.c: New test.
35011         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35012         tst-res_hconf_reorder.
35013         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35014         and $(shared-thread-library).
35015         (tst-res_hconf_reorder-ENV): New variable.
35017         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35018         in comment.
35020 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35022         [BZ #16353]
35023         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35024         (__expm1): Force underflow exception for arguments with small
35025         absolute value.
35026         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35027         (__expm1f): Force underflow exception for arguments with small
35028         absolute value.
35029         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35030         (__expm1): Force underflow exception for arguments with small
35031         absolute value.
35032         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35033         (__expm1f): Force underflow exception for arguments with small
35034         absolute value.
35035         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35036         Check for small arguments before calling __expm1.
35037         * math/auto-libm-test-in: Do not mark underflow exceptions as
35038         possibly missing for bug 16353.
35039         * math/auto-libm-test-out: Regenerated.
35041 2015-06-22  Andreas Schwab  <schwab@suse.de>
35043         [BZ #18513]
35044         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35045         PTR queries.
35047 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35049         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35051         * string/strcoll_l.c: Remove unused struct element idxnow.
35053 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #18569]
35056         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35057         underflow and return argument in case of subnormal argument.
35058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35059         Likewise.
35060         * math/auto-libm-test-in: Add more tests of expm1.
35061         * math/auto-libm-test-out: Regenerated.
35063         [BZ #16361]
35064         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35065         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35066         tiny results.
35067         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35068         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35069         tiny results.
35070         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35071         mark underflow exceptions as possibly missing for bug 16361.
35072         * math/auto-libm-test-out: Regenerated.
35074 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35076         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35077         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35078         Remove variable.
35079         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35080         (test-xfail-XOPEN2K8/utmpx.h/conform).
35082         * conform/conformtest.pl ($xerrors): New variable.
35083         (note_error): New function.
35084         (compiletest): New argument $xfail.  Use not_error.
35085         (runtest): Likewise.
35086         (top level): Handle xfail- lines.  Update calls to compiletest and
35087         runtest.  Handle xfail- and optional- in headers listed with
35088         allow-header.
35089         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35090         (O_EXEC): Likewise.
35091         (O_SEARCH): Likewise.
35092         * conform/data/stropts.h-data (ioctl): Likewise.
35093         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35094         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35095         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35096         (msghdr.msg_controllen): Likewise.
35097         (cmsghdr.cmsg_len): Likewise.
35098         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35099         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35100         variable.
35101         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35102         (test-xfail-XPG4/stropts.h/conform): Likewise.
35103         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35104         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35105         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35106         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35107         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35108         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35109         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35110         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35111         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35112         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35113         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35114         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35115         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35116         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35117         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35118         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35119         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35120         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35121         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35123 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35125         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35126         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35127         definitions for proper unfolding of __MATHDECL_VEC.
35129 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35131         * benchtests/bench-strcoll.c:
35132         Include string.h.
35133         (main): Remove unused variable res.
35135 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35137         * timezone/Makefile (%/UTC %/Universal):
35138         Generate test-result files for UTC and Universal.
35140 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35142         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35144 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35146         [BZ #16350]
35147         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35148         for arguments with small absolute value.
35149         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35150         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35151         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35152         (__asinh): Force underflow exception for arguments with small
35153         absolute value.
35154         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35155         (__asinhf): Force underflow exception for arguments with small
35156         absolute value.
35157         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35158         (__asinhl): Force underflow exception for arguments with small
35159         absolute value.
35160         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35161         (__asinhl): Force underflow exception for arguments with small
35162         absolute value.
35163         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35164         (__asinhl): Force underflow exception for arguments with small
35165         absolute value.
35166         * math/auto-libm-test-in: Do not mark underflow exceptions as
35167         possibly missing for bug 16350.
35168         * math/auto-libm-test-out: Regenerated.
35170         * include/bits/ipc.h: Remove file.
35171         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35172         variable.
35173         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35174         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35175         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35176         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35177         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35178         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35179         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35180         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35181         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35183         * math/auto-libm-test-in: Remove spurious underflow allowance for
35184         tests of cexp.
35185         * math/auto-libm-test-out: Regenerated.
35187         [BZ #18558]
35188         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35189         unconditional definition.
35190         (MCAST_BLOCK_SOURCE): Likewise.
35191         (MCAST_UNBLOCK_SOURCE): Likewise.
35192         (MCAST_LEAVE_GROUP): Likewise.
35193         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35194         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35195         (MCAST_MSFILTER): Likewise.
35196         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35197         Remove variable.
35198         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35199         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35200         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35201         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35202         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35204 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35206         * NEWS: Mention addition of x86_64 vector sincosf.
35207         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35208         * math/test-float-vlen4.h: Likewise.
35209         * math/test-float-vlen8.h: Likewise.
35210         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35211         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35213         * sysdeps/x86_64/fpu/Versions: New versions added.
35214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35216         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35221         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35222         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35223         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35224         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35225         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35226         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35227         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35228         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35229         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35230         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35231         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35232         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35233         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35234         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35235         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35236         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35237         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35239         * NEWS: Mention addition of x86_64 vector sincos.
35240         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35241         * math/math.h (__MATHDECL_VEC): New macro.
35242         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35243         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35244         declaration under condition.
35245         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35246         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35247         TEST_VEC_LOOP change.
35248         * math/test-double-vlen4.h: Likewise.
35249         * math/test-double-vlen8.h: Likewise.
35250         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35251         * math/test-float-vlen4.h: Likewise.
35252         * math/test-float-vlen8.h: Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35254         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35256         * sysdeps/x86_64/fpu/Versions: New versions added.
35257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35266         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35267         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35268         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35269         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35270         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35271         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35272         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35273         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35274         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35275         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35276         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35277         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35278         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35279         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35280         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35282         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35283         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35284         redirections for powf.
35285         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35286         * sysdeps/x86_64/fpu/Versions: New versions added.
35287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35288         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35289         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35290         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35291         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35292         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35295         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35296         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35297         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35298         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35299         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35300         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35301         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35302         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35303         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35304         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35305         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35306         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35307         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35308         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35309         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35310         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35311         * math/test-float-vlen16.h: Fixed 2 argument macro.
35312         * math/test-float-vlen4.h: Likewise.
35313         * math/test-float-vlen8.h: Likewise.
35314         * NEWS: Mention addition of x86_64 vector powf.
35316 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35318         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35319         and redefine.
35320         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35321         and redefine.
35322         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35324         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35326         [BZ #18553]
35327         * resource/getpriority.c (getpriority): Rename to __getpriority
35328         and define as weak alias of __getpriority.
35329         * resource/setpriority.c (setpriority): Rename to __setpriority
35330         and define as weak alias of __setpriority.
35331         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35332         __getpriority and define as weak alias of __getpriority.
35333         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35334         __setpriority and define as weak alias of __setpriority.
35335         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35336         strong name.
35337         (setpriority): Use __setpriority as strong name.
35338         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35339         __getpriority and define as weak alias of __getpriority.
35340         * include/sys/resource.h (__getpriority): Declare.  Use
35341         libc_hidden_proto.
35342         (__setpriority): Likewise.
35343         (getpriority): Don't use libc_hidden_proto.
35344         (setpriority): Likewise.
35345         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35346         getpriority.  Call __setpriority instead of setpriority.
35347         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35348         Remove variable.
35350         [BZ #18547]
35351         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35352         as weak alias of __getttynam.  Use prototype function definition.
35353         Call __setttyent, __getttyent and __endttyent instead of
35354         setttyent, getttyent and endttyent.
35355         (getttyent): Rename to __getttyent and define as weak alias of
35356         __getttyent.  Call __setttyent instead of setttyent.  Call
35357         __fgets_unlocked instead of fgets_unlocked.
35358         (setttyent): Rename to __setttyent and define as weak alias of
35359         __setttyent.
35360         (endttyent): Rename to __endttyent and define as weak alias of
35361         __endttyent.
35362         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35363         (__setttyent): Likewise.
35364         (__endttyent): Likewise.
35365         (getttyent): Don't use libc_hidden_proto.
35366         (setttyent): Likewise.
35367         (endttyent): Likewise.
35368         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35369         __endttyent instead of setttyent, getttyent and endttyent.
35370         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35371         Remove variable.
35373         [BZ #18546]
35374         * socket/recv.c (__recv): Use libc_hidden_def.
35375         * socket/socket.c (__socket): Likewise.
35376         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35377         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35378         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35379         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35380         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35381         libc_hidden_def.
35382         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35383         libc_hidden_weak.
35384         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35385         Use libc_hidden_proto.
35386         (__recv): Likewise.
35387         * socket/Versions (libc): Export __recv and __socket at version
35388         GLIBC_PRIVATE.
35389         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35390         instead of recv.
35391         (init_mq_netlink): Call __socket instead of socket.
35392         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35393         Remove variable.
35395         [BZ #18545]
35396         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35397         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35398         hidden_weak.
35399         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35400         define as alias of __mq_timedsend.  Use hidden_weak.
35401         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35402         __mq_timedsend as strong name.
35403         (mq_timedreceive): Use __mq_timedreceive as strong name.
35404         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35405         (__mq_timedreceive): Likewise.
35406         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35407         __mq_timedreceive instead of mq_timedreceive.
35408         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35409         instead of mq_timedsend.
35410         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35411         Remove variable.
35413         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35414         hidden_def and hidden_weak instead of libc_hidden_def and
35415         libc_hidden_weak.
35416         (top level): Refer to hidden_def in comment.
35417         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35418         macro.  Use it instead of libc_hidden_def.
35419         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35420         specify __GI_* name explicitly.
35421         (mq_timedreceive): Likewise.
35422         (mq_setattr): Likewise.
35424         [BZ #18544]
35425         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35426         __pthread_barrier_init and define as weak alias of
35427         __pthread_barrier_init.
35428         * sysdeps/sparc/nptl/pthread_barrier_init.c
35429         (pthread_barrier_init): Likewise.
35430         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35431         __pthread_barrier_wait and define as weak alias of
35432         __pthread_barrier_wait.
35433         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35434         (pthread_barrier_wait): Likewise.
35435         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35436         (pthread_barrier_wait): Likewise.
35437         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35438         (pthread_barrier_wait): Likewise.
35439         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35440         (pthread_barrier_wait): Likewise.
35441         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35442         __pthread_barrier_wait at version GLIBC_PRIVATE.
35443         * include/pthread.h (__pthread_barrier_init): Declare.
35444         (__pthread_barrier_wait): Likewise.
35445         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35446         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35447         (helper_thread): Likewise.
35448         (init_mq_netlink): Call __pthread_barrier_init instead of
35449         pthread_barrier_init.
35451         [BZ #18542]
35452         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35453         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35454         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35455         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35456         vswscanf.
35457         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35458         Remove variable.
35460         [BZ #18540]
35461         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35462         strong alias of _IO_fflush.  Use libc_hidden_def.
35463         * libio/iofflush_u.c (fflush_unlocked): Rename to
35464         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35465         Use libc_hidden_weak.
35466         * include/stdio.h (__fflush_unlocked): Declare.  Use
35467         libc_hidden_proto.
35468         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35469         fflush_unlocked.
35470         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35471         Remove variable.
35473         [BZ #18539]
35474         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35475         define as weak alias of __addseverity.
35476         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35477         Remove variable.
35478         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35479         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35480         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35482         [BZ #18536]
35483         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35484         (__tfind): Likewise.
35485         (__tdelete): Likewise.
35486         (__twalk): Likewise.
35487         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35488         __twalk to GLIBC_PRIVATE.
35489         * include/search.h (__tsearch): Use libc_hidden_proto.
35490         (__tfind): Likewise.
35491         (__tdelete): Likewise.
35492         (__twalk): Likewise.
35493         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35494         Call __tdelete instead of tdelete.
35495         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35496         tfind.  Call __tsearch instead of tsearch.
35497         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35498         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35499         Remove variable.
35500         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35502         [BZ #18534]
35503         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35504         (dprintf): Define as a weak alias of __dprintf, not a strong
35505         alias.
35506         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35507         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35508         dprintf.
35509         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35510         Remove variable.
35511         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35512         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35514         [BZ #18533]
35515         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35516         not a strong alias.
35517         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35518         Remove variable.
35520         [BZ #18532]
35521         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35522         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35523         (in6addr_loopback): Rename to __in6addr_loopback and define as
35524         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35525         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35526         libc_hidden_proto.
35527         (__in6addr_any): Likewise.
35528         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35529         in6addr_any.
35530         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35531         variable.
35532         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35534 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35536         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35537         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35538         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35539         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35540         redirections for pow.
35541         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35542         * sysdeps/x86_64/fpu/Versions: New versions added.
35543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35545         build of SSE, AVX2 and AVX512 IFUNC versions.
35546         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35548         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35549         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35550         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35551         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35552         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35553         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35554         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35555         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35556         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35557         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35558         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35559         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35560         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35561         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35562         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35563         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35564         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35565         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35566         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35567         * NEWS: Mention addition of x86_64 vector pow.
35569         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35570         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35571         redirections for expf.
35572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35573         * sysdeps/x86_64/fpu/Versions: New versions added.
35574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35575         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35576         build of SSE, AVX2 and AVX512 IFUNC versions.
35577         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35578         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35579         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35581         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35582         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35583         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35584         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35585         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35586         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35587         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35588         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35589         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35590         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35591         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35592         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35595         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35596         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35597         * NEWS: Mention addition of x86_64 vector expf.
35599         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35600         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35602         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35603         redirections for exp.
35604         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35605         * sysdeps/x86_64/fpu/Versions: New versions added.
35606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35607         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35608         build of SSE, AVX2 and AVX512 IFUNC versions.
35609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35610         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35612         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35613         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35614         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35615         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35616         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35617         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35618         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35619         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35620         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35622         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35626         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35629         * NEWS: Mention addition of x86_64 vector exp.
35631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35632         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35633         redirections for logf.
35634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35635         * sysdeps/x86_64/fpu/Versions: New versions added.
35636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35638         build of SSE, AVX2 and AVX512 IFUNC versions.
35639         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35640         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35643         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35645         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35646         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35647         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35648         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35649         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35650         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35659         * NEWS: Mention addition of x86_64 vector logf.
35661         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35662         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35663         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35664         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35665         redirections for log.
35666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35667         * sysdeps/x86_64/fpu/Versions: New versions added.
35668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35669         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35670         build of SSE, AVX2 and AVX512 IFUNC versions.
35671         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35672         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35673         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35674         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35675         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35676         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35677         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35678         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35679         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35680         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35681         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35682         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35684         test.
35685         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35687         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35688         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35689         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35690         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35691         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35692         * NEWS: Mention addition of x86_64 vector log.
35694 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35696         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35697         cfi_adjust_cfa_offset argument.
35698         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35699         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35701         [BZ #18034]
35702         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35703         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35704         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35705         ordering using ldar.
35706         (_dl_tlsdesc_dynamic): Likewise.
35707         (_dl_tlsdesc_return_lazy): Likewise.
35708         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35709         relaxed atomics instead of volatile and synchronize with release store.
35710         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35711         volatile.
35712         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35714 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
35716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35717         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
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/multiarch/svml_s_sinf16_core.S: New file.
35724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35725         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35727         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35729         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35730         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35731         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35732         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35733         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35734         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35735         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35736         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35737         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35738         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35739         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35740         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35741         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35742         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35743         * NEWS: Mention addition of x86_64 vector sinf.
35745 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
35747         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35748         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35749         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35750         Remove variable.
35751         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35752         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35754 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35756         [BZ #18530]
35757         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35758         strong alias of _IO_fputs.  Use libc_hidden_def.
35759         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35760         and define as weak alias of __fputs_unlocked.  Use
35761         libc_hidden_weak.
35762         * include/stdio.h (__fputs_unlocked): Declare.  Use
35763         libc_hidden_proto.
35764         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35765         fputs_unlocked.
35767         [BZ #18529]
35768         * resolv/netdb.h [__USE_POSIX]: Change condition to
35769         [__USE_XOPEN2K].
35770         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35771         not expect.
35772         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35773         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35774         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35775         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35776         [XPG4 || UNIX98] (AI_ALL): Likewise.
35777         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35778         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35779         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35780         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35781         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35782         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35783         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35784         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35785         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35786         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35787         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35788         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35789         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35790         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35791         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35792         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35793         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35794         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35795         [XPG4 || UNIX98] (gai_strerror): Likewise.
35796         [XPG4 || UNIX98] (getaddrinfo): Likewise.
35797         [XPG4 || UNIX98] (getnameinfo): Likewise.
35799         [BZ #18528]
35800         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35801         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35802         __USE_XOPEN2K8].
35803         (getgrent): Likewise.
35804         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35805         expect.
35806         [XPG3 || POSIX2008] (endgrent): Likewise.
35807         [XPG3] (setgrent): Likewise.
35808         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35809         variable.
35810         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35812         [BZ #18527]
35813         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35814         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
35815         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35816         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35817         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35818         * include/unistd.h (__getlogin_r): Declare.  Use
35819         libc_hidden_proto.
35820         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35821         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35822         variable.
35823         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35824         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35825         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35827 2015-06-12  Martin Sebor  <msebor@redhat.com>
35829         [BZ #18512]
35830         * Makerules (check-install-supported): New target.
35831         (install): Add check-install-supported as a dependency.
35832         * manual/install.texi (Installing the C Library): Document
35833         that overriding prefix and exec_prefix is not supported.
35834         Mention DESTDIR.
35835         * INSTALL: Regenerate from the above.
35837 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35839         [BZ #18519]
35840         * posix/Versions (libc): Export __libc_pread at version
35841         GLIBC_PRIVATE.
35842         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35843         instead of pread.
35844         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35845         variable.
35847         [BZ #18522]
35848         * misc/efgcvt_r.c
35849         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35850         (cvt_symbol): Use weak_alias instead of strong_alias.
35851         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35852         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35853         Remove variable.
35854         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35855         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35857         [BZ #18520]
35858         * inet/herrno.c (h_errno): Rename to __h_errno.
35859         (__libc_h_errno): Define as alias of __h_errno not h_errno.
35860         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35861         to __h_errno instead of h_errno.
35862         * nptl/herrno.c (h_errno): Rename to __h_errno.
35863         (__h_errno_location): Refer to __h_errno not h_errno.
35864         * resolv/Versions (h_errno): Rename to __h_errno.
35865         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35866         Remove variable.
35867         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35869 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
35871         * configure.ac: More strict check for AVX512 assembler support.
35872         * configure: Regenerated.
35874         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35875         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35876         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35877         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35879         * sysdeps/x86_64/fpu/Versions: New versions added.
35880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35882         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35886         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35888         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35889         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35890         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35891         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35892         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35893         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35894         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35895         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35896         test.
35897         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35904         * NEWS: Mention addition of x86_64 vector sin.
35906 2015-06-11  Florian Weimer  <fweimer@redhat.com>
35908         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35909         comment.
35911 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
35913         [BZ #18479]
35914         * nptl/pt-interp.c: New file.
35915         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35916         Add pt-interp.
35917         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35918         $(common-objpfx)runtime-linker.h.
35920 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
35922         * Makeconfig (+interp): Remove unused variable.
35923         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35924         only.  Depend on $(common-objpfx)runtime-linker.h instead of
35925         $(elf-objpfx)runtime-linker.h.
35926         ($(elf-objpfx)runtime-linker.h): Rename to
35927         $(common-objpfx)runtime-linker.h and move ...
35928         * Makerules [$(build-shared) = yes]: ... here.
35929         * elf/interp.c: Include <runtime-linker.h> instead of
35930         <elf/runtime-linker.h>.
35932 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35934         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35935         (__gettimeofday_syscall): Remove vsyscall fallback.
35936         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35937         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35938         Add syscall fallback function.
35939         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35940         if vDSO is not present.
35941         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35942         fallback function.
35943         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35944         present.
35945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35946         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35948 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
35950         [BZ #18497]
35951         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35952         of wcscmp.
35953         (wcscmp): Define as weak alias of WCSCMP.
35954         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35955         wcscoll.
35956         (USE_HIDDEN_DEF): Define.
35957         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35958         __wcscoll.  Don't use libc_hidden_weak.
35959         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35960         wcscmp.
35961         * sysdeps/i386/i686/multiarch/wcscmp-c.c
35962         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35963         __GI_wcscmp.
35964         (weak_alias): Undefine and redefine.
35965         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35966         __wcscmp and define as weak alias of __wcscmp.
35967         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35968         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
35969         (__wcscoll): Likewise.
35970         (wcscmp): Don't use libc_hidden_proto.
35971         (wcscoll): Likewise.
35972         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35973         wcscoll.
35974         * posix/regexec.c (check_node_accept_bytes): Likewise.
35975         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35976         variable.
35977         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35978         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35980         [BZ #18507]
35981         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35982         __fstatvfs and define as weak alias of __fstatvfs.  Use
35983         libc_hidden_weak.
35984         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35985         and define as weak alias of __statvfs.  Use libc_hidden_weak.
35986         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35987         Define as alias of __fstatvfs, not fstatvfs.
35988         (fstatvfs64): Likewise.
35989         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35990         Define as alias of __statvfs, not statvfs.
35991         (statvfs64): Likewise.
35992         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35993         Remove variable.
35995 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35998         (HAVE_GETCPU_VSYSCALL): Define.
35999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36000         (HAVE_GETCPU_VSYSCALL): Likewise.
36001         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36002         * sysdeps/unix/sysv/linux/sched_getcpu.c
36003         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36004         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36005         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36006         prototype.
36007         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36008         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36009         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36011         Define.
36012         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36013         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36014         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36017 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36019         * sysdeps/x86_64/fpu/Makefile: New file.
36020         * sysdeps/x86_64/fpu/Versions: New file.
36021         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36022         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36023         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36024         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36025         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36026         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36027         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36029         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36032         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36033         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36034         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36035         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36036         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36037         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36038         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36039         * sysdeps/x86_64/configure: Regenerated.
36040         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36041         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36042         * manual/install.texi (Configuring and compiling): Document
36043         --disable-mathvec.
36044         * INSTALL: Regenerated.
36045         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36047         * math/Makefile: Added rules for vector tests.
36048         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36049         declaration under condition.
36050         * math/test-double-vlen2.h: New file.
36051         * math/test-double-vlen4.h: New file.
36052         * math/test-double-vlen8.h: New file.
36053         * math/test-vec-loop.h: Added initialization macro.
36054         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36056         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36057         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36058         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36060         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36061         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36062         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36063         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36064         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36067         * sysdeps/x86_64/fpu/Versions: New versions added.
36068         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36070         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36071         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36072         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36073         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36075         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36077         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36078         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36079         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36080         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36081         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36082         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36083         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36084         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36085         * NEWS: Mention addition of x86_64 vector cosf.
36087         * math/Makefile: Added CFLAGS for new tests.
36088         * math/test-float-vlen16.h: New file.
36089         * math/test-float-vlen4.h: New file.
36090         * math/test-float-vlen8.h: New file.
36091         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36092         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36094         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36095         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36096         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36097         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36098         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36100         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36101         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36103 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36105         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36106         * locale/programs/ld-ctype.c: Likewise.
36108 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36110         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36111         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36112         bit_ZMM16_31_state): New macro.
36113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36114         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36116 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36118         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36120 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36122         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36124 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36126         [BZ #18498]
36127         * libio/memstream.c (open_memstream): Rename to __open_memstream
36128         and define as weak alias of __open_memstream.
36129         * include/stdio.h (__open_memstream): Declare.  Use
36130         libc_hidden_proto.
36131         (open_memstream): Don't use libc_hidden_proto.
36132         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36133         open_memstream.
36134         * posix/getopt.c (_getopt_internal_r): Likewise.
36135         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36136         variable.
36137         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36138         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36139         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36141         [BZ #18496]
36142         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36143         instead of wcrtomb.
36145         [BZ #18483]
36146         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36147         [__USE_XOPEN2K8].  Remove redundant #endif.
36148         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36149         Remove redundant #if.
36150         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36151         Remove variable.
36152         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36153         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36155         [BZ #18495]
36156         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36157         (__iswlower): Likewise.
36158         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36159         (__iswlower): Likewise.
36160         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36161         instead of towlower.
36162         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36163         instead of iswlower.  Call __towupper instead of towupper.
36164         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36165         instead of iswalnum.
36167 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36169         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36170         errors to stderr.
36172 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36174         [BZ #15661]
36175         [BZ #17322]
36176         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36177         Check for overflow properly.  Check for O_APPEND.  Ignore large
36178         file system block sizes.  Add comments about problems.
36179         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36180         * manual/filesys.texi (Storage Allocation): New node.
36182 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36184         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36185         cancellable syscalls.
36186         (SYS_ify): Add guard to no redefine it.
36187         (INLINE_SYSCALL): Likewise.
36188         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36189         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36190         SYSCALL_CANCEL instead.
36191         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36192         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36193         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36194         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36195         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36196         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36197         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36198         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36199         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36200         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36201         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36202         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36203         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36204         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36205         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36207         Likewise.
36208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36209         (__libc_pread64): Likewise.
36210         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36211         (__libc_preadv): Likewise.
36212         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36213         (__libc_readv64): Likewise.
36214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36215         (__libc_pwrite): Likewise.
36216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36217         (__libc_pwrite64): Likewise.
36218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36219         (__libc_pwritev): Likewise.
36220         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36221         (__libc_pwritev64): Likewise.
36222         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36223         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36224         (sync_file_range): Likewise.
36225         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36226         Likewise.
36227         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36228         Likewise.
36229         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36230         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36231         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36232         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36233         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36234         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36235         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36236         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36238         Likewise.
36239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36240         (__libc_read64): Likewise.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36242         Likewise.
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36244         Likewise.
36245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36246         Likewise.
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36248         Likewise.
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36250         (__libc_pread64): Likewise.
36251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36252         Likewise.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36254         (__libc_pwrite64): Likewise.
36255         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36256         (sync_file_range): Likewise.
36257         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36258         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36259         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36260         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36261         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36262         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36263         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36264         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36265         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36266         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36267         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36268         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36269         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36270         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36271         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36272         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36273         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36274         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36275         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36276         Likewise.
36277         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36278         Likewise.
36279         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36280         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36281         Likewise.
36282         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36283         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36284         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36285         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36286         Likewise.
36287         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36288         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36289         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36290         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36291         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36293 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36295         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36296         Include dl-vdso.
36297         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36298         Use VDSO routines for gettimeofday, clock_gettime if
36299         available.
36300         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36301         Declare VDSO symbols.
36302         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36303         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36304         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36305         * sysdeps/unix/sysv/linux/arm/Versions: Add
36306         __vdso_clock_gettime.
36308 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36310         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36311         be an inline implementation regardless of library is built within.
36312         (open_not_cancel_2): Likewise.
36313         (__read_nocancel): Likewise.
36314         (__write_nocancel): Likewise.
36315         (openat_not_cancel): Likewise.
36316         (openat_not_cancel_3): Likewise.
36317         (openat64_not_cancel): Likewise.
36318         (openat64_not_cancel_3): Likewise.
36319         (__close_nocancel): Likewise.
36320         (pause_not_cancel): Likewise.
36321         (nanosleep_not_cancel): Likewise.
36322         (sigsuspend_not_cancel): Likewise.
36324 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36326         [BZ #14958]
36327         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36328         wake-up.
36329         (__pthread_rwlock_rdlock_slow): Likewise.
36330         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36331         Likewise.
36332         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36333         Likewise.
36334         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36335         * nptl/tst-rwlock16.c: New file.
36336         * nptl/Makefile (tests): Add new test.
36338 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36340         [BZ #18324]
36341         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36342         missing wake-up of readers.
36343         * nptl/tst-rwlock15.c: New file.
36344         * nptl/Makefile (tests): Add new test.
36346 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36348         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36349         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36350         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36351         and __nacl_supply_interface_rtld.
36352         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36353         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36354         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36355         Add __nacl_supply_interface_rtld.
36356         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36358 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36360         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36361         isfinite.
36362         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36363         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36365 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36367         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36368         __signbit* with standard C99 macros.
36369         * math/e_exp10l.c: Likewise.
36370         * math/e_exp2l.c: Likewise.
36371         * math/e_scalb.c: Likewise.
36372         * math/e_scalbf.c: Likewise.
36373         * math/e_scalbl.c: Likewise.
36374         * math/s_ldexp.c: Likewise.
36375         * math/s_ldexpf.c: Likewise.
36376         * math/s_ldexpl.c: Likewise.
36377         * math/w_atan2.c: Likewise.
36378         * math/w_atan2f.c: Likewise.
36379         * math/w_atan2l.c: Likewise.
36380         * math/w_cosh.c: Likewise.
36381         * math/w_coshf.c: Likewise.
36382         * math/w_coshl.c: Likewise.
36383         * math/w_exp10.c: Likewise.
36384         * math/w_exp10f.c: Likewise.
36385         * math/w_exp10l.c: Likewise.
36386         * math/w_exp2.c: Likewise.
36387         * math/w_exp2f.c: Likewise.
36388         * math/w_exp2l.c: Likewise.
36389         * math/w_fmod.c: Likewise.
36390         * math/w_fmodf.c: Likewise.
36391         * math/w_fmodl.c: Likewise.
36392         * math/w_hypot.c: Likewise.
36393         * math/w_hypotf.c: Likewise.
36394         * math/w_hypotl.c: Likewise.
36395         * math/w_jnl.c: Likewise.
36396         * math/w_lgamma.c: Likewise.
36397         * math/w_lgamma_r.c: Likewise.
36398         * math/w_lgammaf.c: Likewise.
36399         * math/w_lgammaf_r.c: Likewise.
36400         * math/w_lgammal.c: Likewise.
36401         * math/w_lgammal_r.c: Likewise.
36402         * math/w_pow.c: Likewise.
36403         * math/w_powf.c: Likewise.
36404         * math/w_powl.c: Likewise.
36405         * math/w_remainder.c: Likewise.
36406         * math/w_remainderf.c: Likewise.
36407         * math/w_remainderl.c: Likewise.
36408         * math/w_scalb.c: Likewise.
36409         * math/w_scalbf.c: Likewise.
36410         * math/w_scalbl.c: Likewise.
36411         * math/w_scalbln.c: Likewise.
36412         * math/w_scalblnf.c: Likewise.
36413         * math/w_scalblnl.c: Likewise.
36414         * math/w_sinh.c: Likewise.
36415         * math/w_sinhf.c: Likewise.
36416         * math/w_sinhl.c: Likewise.
36417         * math/w_tgamma.c: Likewise.
36418         * math/w_tgammaf.c: Likewise.
36419         * math/w_tgammal.c: Likewise.
36420         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36421         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36422         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36423         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36424         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36426         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36427         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36428         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36429         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36430         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36431         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36432         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36433         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36434         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36435         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36436         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36437         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36438         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36441         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36444         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36445         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36446         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36447         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36449         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36450         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36451         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36452         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36453         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36454         * stdio-common/printf_fp.c: Likewise.
36455         * stdio-common/printf_fphex.c: Likewise.
36456         * stdio-common/printf_size.c: Likewise.
36458 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36460         [BZ #18470]
36461         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36462         strnlen.
36463         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36464         Remove variable.
36465         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36466         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36467         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36468         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36469         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36470         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36471         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36472         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36473         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36474         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36476         [BZ #18468]
36477         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36478         weak alias of __wmemchr.  Use libc_hidden_weak.
36479         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36480         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36481         instead of wmemchr.
36483 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36485         [BZ #18383]
36486         * elf/tst-tlsalign-extern.c: New file.
36487         * elf/tst-tlsalign-extern-static.c: New file.
36488         * elf/tst-tlsalign-vars.c: New file.
36489         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36490         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36491         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36492         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36493         (test-xfail-tst-tlsalign-extern-static): New variable.
36495 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36497         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36498         Use variable name _sc_err instead of err.
36499         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36500         instead of ret.
36501         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36502         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36503         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36504         (INLINE_SYSCALL): Likewise.
36506         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36507         * include/string.h (__strnlen): Use libc_hidden_proto.
36508         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36509         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36510         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36511         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36512         (libc_hidden_def): Undefine and redefine.
36513         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36514         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36515         __GI_strnlen.
36516         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36517         libc_hidden_def.
36518         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36520         [BZ #18469]
36521         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36522         weak alias of __towlower.  Use libc_hidden_weak.
36523         (towupper): Rename to __towupper and define as weak alias of
36524         __towupper.  Use libc_hidden_weak.
36525         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36526         (__towupper): Likewise.
36527         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36528         __towlower instead of towlower.
36530 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36532         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36533         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36535 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36537         * sysdeps/aarch64/libm-test-ulps: Update.
36539 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36541         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36542         Define.
36543         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36545         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36546         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36547         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36548         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36549         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36551 2015-06-01  Martin Sebor  <msebor@redhat.com>
36553         [BZ #18116]
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36555         (__setcontext): Use extended four-operand version of mtsf whenever
36556         possible.
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36558         (__novec_swapcontext): Likewise.
36560 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36562         * benchtests/scripts/compare_bench.py: New file.
36563         * benchtests/scripts/import_bench.py (mean): New function.
36564         (split_list): Likewise.
36565         (do_for_all_timings): Likewise.
36566         (compress_timings): Likewise.
36568         * benchtests/scripts/import_bench.py: New file.
36569         * benchtests/scripts/validate_benchout.py: Import import_bench
36570         instead of jsonschema.
36571         (validate_bench): Remove function.
36572         (main): Use import_bench.
36574 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36576         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36577         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36579 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36583 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36585         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36586         set THREAD_SELF->tid to a magic value and futex-wake it.
36587         Pass its address to the thread_exit system call.
36588         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36589         bit is clear.
36590         * sysdeps/nacl/lowlevellock.h: New file.
36591         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36593         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36594         Add TIMEOUT to current time, don't subtract it.
36596 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36598         [BZ #2981]
36599         [BZ #18422]
36600         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36601         ($(objpfx)tst-audit2.out): Also depend on
36602         $(objpfx)tst-auditmod9b.so.
36603         * elf/tst-audit2.c: Include <dlfcn.h>.
36604         (calloc_called): New.
36605         (calloc): Allow to be called more than once.
36606         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36608 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36610         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36611         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36613 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36615         * stdlib/monetary.h: Fix comment.
36617 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36619         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36620         Avoid using variables in #defines that might cause shadowing.
36621         (INTERNAL_VSYSCALL_CALL): Likewise.
36623 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36625         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36627         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36628         * nptl/lll_timedlock_wait.c: ... to this new file.
36629         * nptl/Makefile (libpthread-routines): Add it.
36630         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36631         * nptl/lll_timedwait_tid.c: ... to this new file.
36632         * nptl/Makefile (libpthread-routines): Add it.
36633         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36634         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36635         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36636         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36637         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36638         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36639         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36640         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36641         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36642         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36644 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36646         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36647         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36648         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36650         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36652         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36654         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36655         * sysdeps/unix/sysv/linux/tile/sysdep.h
36656         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36657         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36658         using vDSO syscall macro.
36660 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36662         [BZ #17293]
36663         * uk_UA: Fix sorting order for Ukrainian locale
36665 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36667         * stdlib/monetary.h: Fix comment.
36669 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36671         [BZ #18234]
36672         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36673         st_mtim and st_ctim members.
36674         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36675         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36676         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36677         (struct stat64): Likewise.
36678         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36679         (struct stat64): Likewise.
36680         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36681         (struct stat64): Likewise.
36683 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36685         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36686         Define and include sysdep-vdso.h.
36687         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36688         Likewise.
36689         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36690         Likewise.
36691         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36692         Define with VDSO_SYMBOL and use PTR_MANGLE.
36693         (__vdso_clock_gettime): Likewise.
36694         (__vdso_clock_getres): Likewise.
36695         (_libc_vdso_platform_setup): Likewise.
36696         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36697         Likewise.
36698         (_libc_vdso_platform_setup): Likewise.
36699         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36700         Likewise.
36701         (__vdso_clock_gettime): Likewise.
36702         (__vdso_clock_getres): Likewise.
36703         (__vdso_get_tbfreq): Likewise.
36704         (__vdso_getcpu): Likewise.
36705         (__vdso_time): Likewise.
36706         (__vdso_sigtramp_rt64): Likewise.
36707         (__vdso_signtramp32): Likewise.
36708         (__vdso_sigtramp_rt32): Likewise.
36709         (_libc_vdso_platform_setup): Likewise.
36710         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36711         Likewise.
36712         (__vdso_clock_gettime): Likewise.
36713         (__vdso_clock_getres): Likewise.
36714         (_libc_vdso_platform_setup): Likewise.
36715         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36716         Likewise.
36717         (__vdso_clock_gettime): Likewise.
36718         (_libc_vdso_platform_setup): Likewise.
36719         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36720         Likewise.
36721         (__vdso_getcpu): Likewise.
36722         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36723         Use VDSO_SYMBOL macro to define.
36724         (__vdso_clock_gettime): Likewise.
36725         (__vdso_clock_getres): Likewise.
36726         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36727         Likewise.
36728         (__vdso_clock_gettime): Likewise.
36729         (__vdso_clock_getres): Likewise.
36730         (__vdso_get_tbfreq): Likewise.
36731         (__vdso_getcpu): Likewise.
36732         (__vdso_time): Likewise.
36733         (__vdso_sigtramp_rt64): Likewise.
36734         (__vdso_signtramp32): Likewise.
36735         (__vdso_sigtramp_rt32): Likewise.
36736         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36737         Likewise.
36738         (__vdso_clock_gettime): Likewise.
36739         (__vdso_clock_getres): Likewise.
36740         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36741         Likewise.
36742         (__vdso_clock_gettime): Likewise.
36743         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36744         Likewise.
36745         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
36746         macro.
36747         (INTERNAL_VSYSCALL): Likewise.
36748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36749         Remove macro.
36750         (INTERNAL_VSYSCALL): Likewise.
36751         (INTERNAL_VSYSCALL_NCS): Likewise.
36752         (INTERNAL_VSYSCALL_CALL): New macro.
36753         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36755         Likewise.
36756         (INTERNAL_VSYSCALL): Likewise.
36757         (INTERNAL_VSYSCALL_NCS): Likewise.
36758         (INTERNAL_VSYSCALL_CALL): New macro.
36759         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36761         (INLINE_VSYSCALL): Remove macro.
36762         (INTERNAL_VSYSCALL): Remove macro.
36763         (INTERNAL_VSYSCALL_NCS): Remove macro.
36764         (INTERNAL_VSYSCALL_CALL): New macro.
36765         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36766         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36767         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36768         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36769         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36771         (INLINE_VSYSCALL): Remove macro.
36772         (INTERNAL_VSYSCALL): Likewise.
36773         (INTERNAL_VSYSCALL_NCS): Likewise.
36774         (INTERNAL_VSYSCALL_CALL): New macro.
36775         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36776         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36777         PTR_DEMANGLE on vDSO pointer.
36778         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36779         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36780         macro.
36781         (INTERNAL_SYSCALL): Likewise.
36782         (INTERNAL_VSYSCALL_NCS): Remove macro.
36783         (INTERNAL_VSYSCALL_CALL): New macro.
36784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36785         Remove macro.
36786         (INTERNAL_VSYSCALL): Likewise.
36787         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36788         sysdep-vdso.h instead of libc-vdso.h.
36789         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36790         definition.
36791         (INLINE_VSYSCALL): Likewise.
36792         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36793         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36794         definition.
36795         (INLINE_VSYSCALL): Likewise.
36796         (INTERNAL_VSYSCALL): Likewise.
36797         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36798         * sysdeps/unix/sysv/linux/timespec_get.c
36799         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36800         (timespec_get): Use ANSI prototype.
36801         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36802         and definition for Linux.
36804 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
36806         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36807         * include/libc-symbols.h: libmvec_hidden_* macro series added.
36809 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36811         [BZ #2981]
36812         [BZ #18410]
36813         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36814         for missing DT_PLTRELSZ.
36816 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36818         Remove obsolete aliases that broke 'locale -a'
36819         [BZ #18412]
36820         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36821         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36822         breaking some applications that use 'locale -a' output.
36823         Change the encoding of this file from Latin-1 to ASCII to avoid
36824         other potential problems with people grepping this file.
36826 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36828         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36829         -fasynchronous-unwind-tables.
36830         (CFLAGS-sendto.c): Likewise.
36831         (CFLAGS-sendmsg.c): Likewise.
36832         (CFLAGS-connect.c): Likewise.
36833         (CFLAGS-recvmsg.c): Likewise.
36834         (CFLAGS-recvfrom.c): Likewise.
36835         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36836         (SOCKETCALL): New macro: non-cancellable socketcall.
36837         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36838         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36839         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36840         * sysdeps/unix/sysv/linux/accept.c: New file.
36841         * sysdeps/unix/sysv/linux/bind.c: Likewise.
36842         * sysdeps/unix/sysv/linux/connect.c: Likewise.
36843         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36844         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36845         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36846         * sysdeps/unix/sysv/linux/listen.c: Likewise.
36847         * sysdeps/unix/sysv/linux/recv.c: Likewise.
36848         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36849         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36850         * sysdeps/unix/sysv/linux/send.c: Likewise.
36851         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36852         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36853         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36854         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36855         * sysdeps/unix/sysv/linux/socket.c: Likewise.
36856         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36857         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36858         prototype.
36859         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36860         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36861         instead of __internal_xxx function.
36862         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36863         prototype.
36864         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36865         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36866         instead of __internal_xxx function.
36867         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36868         prototype.
36869         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36870         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36871         instead of __internal_xxx function.
36872         * sysdeps/unix/sysv/linux/accept.S: Remove file.
36873         * sysdeps/unix/sysv/linux/bind.S: Likewise.
36874         * sysdeps/unix/sysv/linux/connect.S: Likewise.
36875         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36876         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36877         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36878         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36879         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36880         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36881         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36882         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36883         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36884         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36885         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36886         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36887         * sysdeps/unix/sysv/linux/listen.S: Likewise.
36888         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36889         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36890         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36891         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36894         * sysdeps/unix/sysv/linux/recv.S: Likewise.
36895         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36896         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36897         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36898         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36899         * sysdeps/unix/sysv/linux/send.S: Likewise.
36900         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36901         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36902         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36903         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36904         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36905         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36906         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36907         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36908         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36909         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36910         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36911         socketcall is implemented in GLIBC.
36913 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36915         * soft-fp/fmadf4.c: Include <libc-internal.h>.
36916         (__fma): Ignore uninitialized warnings around packing.
36917         * soft-fp/fmasf4.c: Include <libc-internal.h>.
36918         (__fmaf): Ignore uninitialized warnings around packing.
36919         * soft-fp/fmatf4.c: Include <libc-internal.h>.
36920         (__fmal): Ignore uninitialized warnings around packing.
36922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36923         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36924         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36925         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36927         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36928         switch statement into default case.
36929         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36931         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36932         a conditional in forcing "inexact".
36933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36934         Likewise.
36936 2015-05-22  Roland McGrath  <roland@hack.frob.com>
36938         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36939         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36940         for each INTERNAL_SYSCALL use.
36942 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36944         [BZ #438]
36945         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36946         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36947         variable.
36949         [BZ #18444]
36950         * string/basename.c (basename): Rename to __basename and define as
36951         weak alias of __basename.  Use libc_hidden_weak.
36952         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
36953         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36954         __basename instead of basename.
36955         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36956         Remove variable.
36957         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36959 2015-05-18  Florian Weimer  <fweimer@redhat.com>
36961         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36962         (_IO_JUMPS_FILE_plus): New.
36963         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36964         _IO_CAST_FIELD_ACCESS.
36965         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36966         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36967         * libio/freopen.c (freopen): Likewise.
36968         * libio/freopen64.c (freopen64): Likewise.
36969         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36970         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36971         * libio/iofwide.c (_IO_fwide): Likewise.
36972         * libio/memstream.c (open_memstream): Likewise.
36973         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36974         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36975         * libio/oldiopopen.c (_IO_old_popen): Likewise.
36977 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
36979         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36980         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36981         NADJ.
36982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36983         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36984         NADJ.
36985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36986         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36987         NADJ.
36989         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36990         (p == 4) case.
36992         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36993         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36994         Remove variable.
36995         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36996         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36997         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36999 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37001         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37002         Adjust jump table label generation macros.
37004 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37006         * stdio-common/vfprintf.c (vfprintf): Move local variables
37007         args_malloced, specs, specs_malloced, and the code after
37008         do_positional to the printf_positional function.
37009         (printf_positional): New function.
37011 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37013         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37014         function.
37015         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37016         STEP4_TABLE, process_arg): Move macro definitions
37017         out of the vfprintf function.  (Cosmetic change only.)
37019 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37021         * benchtests/Makefile (stdio-common-bench): Define.
37022         (benchset): Add stdio-common-bench.
37023         * sprintf-inputs: New file.
37024         * sprintf-source.c: New file.
37026 2015-05-21  Andreas Schwab  <schwab@suse.de>
37028         [BZ #13028]
37029         [BZ #17053]
37030         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37031         of struct __res_state.
37032         * resolv/res_send.c (__libc_res_nsend): Likewise.
37033         (get_nsaddr): New function.
37034         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37035         statp directly.
37037 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37039         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37040         -D_POSIX_C_SOURCE=199506L.
37042         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37044         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37045         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37046         Do not mention otherwise.
37047         [POSIX] (_XOPEN_VERSION): Do not expect.
37048         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37049         [POSIX] (_POSIX2_C_BIND): Likewise.
37050         [POSIX] (_POSIX2_VERSION): Likewise.
37051         [POSIX] (_XOPEN_XPG2): Likewise.
37052         [POSIX] (_XOPEN_XPG3): Likewise.
37053         [POSIX] (_XOPEN_XPG4): Likewise.
37054         [POSIX] (_XOPEN_UNIX): Likewise.
37055         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37056         [POSIX] (_POSIX_BARRIERS): Likewise.
37057         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37058         [POSIX] (_POSIX_CPUTIME): Likewise.
37059         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37060         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37061         [POSIX] (_POSIX_SHELL): Likewise.
37062         [POSIX] (_POSIX_SPAWN): Likewise.
37063         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37064         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37065         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37066         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37067         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37068         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37069         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37070         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37071         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37072         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37073         [POSIX] (_POSIX2_PBS): Likewise.
37074         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37075         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37076         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37077         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37078         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37079         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37080         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37081         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37082         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37083         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37084         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37085         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37086         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37087         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37088         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37089         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37090         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37091         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37092         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37093         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37094         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37095         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37096         [POSIX] (_SC_2_C_BIND): Likewise.
37097         [POSIX] (_SC_2_C_VERSION): Likewise.
37098         [POSIX] (_SC_2_PBS): Likewise.
37099         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37100         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37101         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37102         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37103         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37104         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37105         [POSIX] (_SC_BARRIERS): Likewise.
37106         [POSIX] (_SC_BASE): Likewise.
37107         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37108         [POSIX] (_SC_DEVICE_IO): Likewise.
37109         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37110         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37111         [POSIX] (_SC_FD_MGMT): Likewise.
37112         [POSIX] (_SC_FIFO): Likewise.
37113         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37114         [POSIX] (_SC_FILE_LOCKING): Likewise.
37115         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37116         [POSIX] (_SC_IOV_MAX): Likewise.
37117         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37118         [POSIX] (_SC_NETWORKING): Likewise.
37119         [POSIX] (_SC_PAGE_SIZE): Likewise.
37120         [POSIX] (_SC_PASS_MAX): Likewise.
37121         [POSIX] (_SC_PIPE): Likewise.
37122         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37123         [POSIX] (_SC_REGEXP): Likewise.
37124         [POSIX] (_SC_SHELL): Likewise.
37125         [POSIX] (_SC_SIGNALS): Likewise.
37126         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37127         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37128         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37129         [POSIX] (_SC_USER_GROUPS): Likewise.
37130         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37131         [POSIX] (_SC_STREAMS): Likewise.
37132         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37133         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37134         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37135         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37136         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37137         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37138         [POSIX] (_PC_FILESIZEBITS): Likewise.
37139         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37140         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37141         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37142         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37143         [POSIX] (uid_t): Likewise.
37144         [POSIX] (gid_t): Likewise.
37145         [POSIX] (off_t): Likewise.
37146         [POSIX] (pid_t): Likewise.
37147         [POSIX] (cuserid): Allow.
37148         (_SC_2_CHAR_TERM): Require constant.
37149         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37150         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37151         variable.
37153 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37155         * sysdeps/nacl/pthread-pids.h: New file.
37156         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37157         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37159         * nptl/pthread-pids.h: New file.
37160         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37161         * nptl/nptl-init.c: Include <pthread-pids.h>.
37162         (__pthread_initialize_minimal_internal):
37163         Call __pthread_initialize_pids instead of set_tid_address syscall.
37165         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37166         * sysdeps/posix/usleep.c: ... here.
37168 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37170         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37171         call_pselect6 object.
37172         [$(subdir) = io]: Remove call_sync_file_range object.
37173         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37174         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37175         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37176         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37178 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37180         * math/s_cproj.c: Add include "math_private.h".
37181         * math/s_cprojf.c: Likewise.
37182         * math/s_cprojl.c: Likewise.
37184 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37186         [BZ #18244]
37187         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37188         high mantissa bit when testing whether P is a NaN.
37189         * math/libm-test.inc (remainder_test_data): Add more tests.
37190         (remquo_test_data): Likewise.
37192         [BZ #18049]
37193         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37194         below -32, return the argument, with underflow if subnormal.
37195         * math/auto-libm-test-in: Add more tests of atanh.
37196         * math/auto-libm-test-out: Regenerated.
37198 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37200         [BZ #18434]
37201         * nptl/tst-sem15.c: New file.
37202         * nptl/Makefile (tests): Add it.
37203         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37204         s/<</>>/ to fix typo in EOVERFLOW check.
37205         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37207 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37209         * manual/strings.texi (envz_remove): Fix typo in safety
37210         annotations.
37212 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37213             Steve Ellcey  <sellcey@imgtec.com>
37215         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37216         in order to avoid strict alias warnings.
37217         (iruserok_af): Ditto for ra.
37219 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37221         [BZ #17581]
37222         * malloc/hooks.c
37223         (magicbyte): Convert to a function and avoid returning 0x01.
37224         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37225         (mem2chunk_check): Fix unsigned comparisons to zero.
37226         Hoist defs of sz and magic.
37228 2015-05-19  Richard Henderson  <rth@redhat.com>
37230         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37232         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37234 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37236         [BZ #16159]
37237         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37238         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37239         (reused_arena): Find a non-corrupt arena.
37240         (heap_trim): Pass arena to unlink.
37241         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37242         malloc_printerr.
37243         (top_check): Likewise.
37244         (free_check): Likewise.
37245         (realloc_check): Likewise.
37246         * malloc/malloc.c (malloc_printerr): Add arena argument.
37247         (unlink): Likewise.
37248         (munmap_chunk): Adjust.
37249         (ARENA_CORRUPTION_BIT): New macro.
37250         (arena_is_corrupt): Likewise.
37251         (set_arena_corrupt): Likewise.
37252         (sysmalloc): Use mmap if there are no usable arenas.
37253         (_int_malloc): Likewise.
37254         (__libc_malloc): Don't fail if arena_get returns NULL.
37255         (_mid_memalign): Likewise.
37256         (__libc_calloc): Likewise.
37257         (__libc_realloc): Adjust for additional argument to
37258         malloc_printerr.
37259         (_int_free): Likewise.
37260         (malloc_consolidate): Likewise.
37261         (_int_realloc): Likewise.
37262         (_int_memalign): Don't touch corrupt arenas.
37263         * malloc/tst-malloc-backtrace.c: New test case.
37265         * Makefile (summarize-tests): Fix return value on success.
37267         * manual/string.texi (Envz Functions): Add envz_remove.
37269 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37271         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37272         (invalid_name): New function, broken out of ...
37273         (__opendirat): ... here.  Call it.
37274         (need_isdir_precheck): New function, broken out of ...
37275         (__opendirat): ... here.  Call it.
37276         Use __fxstatat64, not __xstatat64.
37277         (opendir_oflags): New function, broken out of ...
37278         (__opendirat): ... here.  Call it.
37279         (opendir_tail): New function, broken out of ...
37280         (__opendirat): ... here.  Call it.
37281         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37282         opendir_tail, rather than punting to __opendirat.
37283         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37285 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37287         * .gitignore: Ignore generated *.pyc.
37289 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37291         * include/stdio.h: Define __need_wint_t.
37292         * test-skeleton.c: Avoid `for' loop initial declaration.
37293         * nptl/tst-initializers1.c: Use test-skeleton.c.
37295 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37297         [BZ #18418]
37298         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37300 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37302         [BZ #16352]
37303         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37304         (__ieee754_atanh): Force underflow exception for results with
37305         small absolute value.
37306         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37307         (__ieee754_atanhf): Force underflow exception for results with
37308         small absolute value.
37309         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37310         (__ieee754_atanh): Force underflow exception for results with
37311         small absolute value.
37312         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37313         (__ieee754_atanhf): Force underflow exception for results with
37314         small absolute value.
37315         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37316         (__ieee754_atanhl): Force underflow exception for results with
37317         small absolute value.
37318         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37319         (__ieee754_atanhl): Force underflow exception for results with
37320         small absolute value.
37321         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37322         (__ieee754_atanhl): Force underflow exception for results with
37323         small absolute value.
37324         * math/auto-libm-test-in: Do not allow missing underflow
37325         exceptions from atanh.
37326         * math/auto-libm-test-out: Regenerated.
37328         [BZ #18221]
37329         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37330         2**-28 as threshold for returning x or +/- 1/x.
37331         * math/auto-libm-test-in: Add more tests of tan.
37332         * math/auto-libm-test-out: Regenerated.
37334         [BZ #18220]
37335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37336         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37337         * math/auto-libm-test-in: Add another test of lgamma.
37338         * math/auto-libm-test-out: Regenerated.
37340 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37342         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37343         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37344         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37345         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37346         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37347         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37348         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37349         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37351         (log1): Use fabs.  (my_log2): Use fabs.
37352         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37353         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37355         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37356         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37357         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37358         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37359         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37360         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37361         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37362         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37364 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37366         [BZ #18217]
37367         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37368         as threshold for returning 1 - x.
37369         * math/auto-libm-test-in: Add more tests of erfc.
37370         * math/auto-libm-test-out: Regenerated.
37372 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37374         [BZ #18196]
37375         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37376         threshold for large arguments.
37377         * math/auto-libm-test-in: Add another test of atan.
37378         * math/auto-libm-test-out: Regenerated.
37380         [BZ #16339]
37381         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37382         (__log1p): Force underflow exception for results with small
37383         absolute value.
37384         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37385         (__log1pf): Force underflow exception for results with small
37386         absolute value.
37387         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37388         (__log1p): Force underflow exception for results with small
37389         absolute value.
37390         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37391         (__log1pf): Force underflow exception for results with small
37392         absolute value.
37393         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37394         (__log1pl): Force underflow exception for results with small
37395         absolute value.
37396         * math/auto-libm-test-in: Do not allow missing underflow
37397         exceptions from log1p.
37398         * math/auto-libm-test-out: Regenerated.
37400 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37401             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37403         [BZ #16704]
37404         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37406 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37408         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37409         (libmvec): New variable.
37410         * configure.ac: Added option for mathvec build.
37411         * configure: Regenerated.
37412         * mathvec/Depend: New file.
37413         * mathvec/Makefile: New file.
37414         * shlib-versions: Added libmvec.
37415         * math/Makefile: Added rule for libm.so installation.
37417         * bits/math-vector.h: New file.
37418         * bits/libm-simd-decl-stubs.h: New header.
37419         * math/Makefile (headers): Added new header
37420         libm-simd-decl-stubs.h.
37421         * math/math.h (__MATHCALL_VEC): New macro.
37423         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37424         for conditions in testing functions.
37425         * math/Makefile: Added call of libm-have-vector-test.sh.
37426         * math/libm-test.inc (HAVE_VECTOR): New macros.
37428         * math/libm-test.inc: START refactored.
37429         * math/test-double.c (TEST_MATHVEC): Add define.
37430         * math/test-float.c: Likewise.
37431         * math/test-idouble.c: Likewise.
37432         * math/test-ifloat.c: Likewise.
37433         * math/test-ildoubl.c: Likewise.
37434         * math/test-ldouble.c: Likewise.
37435         * sysdeps/generic/math-tests-arch.h
37436         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37437         architecture check.
37439         * math/test-double.c (FUNC_TEST): New macro.
37440         * math/test-float.c: Likewise.
37441         * math/test-idouble.c: Likewise.
37442         * math/test-ifloat.c: Likewise.
37443         * math/test-ildoubl.c: Likewise.
37444         * math/test-ldouble.c: Likewise.
37445         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37447 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37449         * sysdeps/nacl/fdopendir.c: New file.
37451         * dirent/scandir-tail.c: New file.
37452         * dirent/scandir64-tail.c: New file.
37453         * dirent/Makefile (routines): Add them.
37454         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37455         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37456         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37457         [!SCANDIR] (SCANDIR_TAIL): New macro.
37458         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37459         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37460         (SCANDIRAT): Macro removed.
37461         (SCANDIR_TAIL): New macro.
37462         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37463         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37464         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37465         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37466         (READDIR): Macro removed.
37467         (SCANDIR_TAIL): New macro.
37468         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37469         (SCANDIR_TAIL): New macro.
37471         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37472         * dirent/scandir-cancel.c: ... to this new file.
37473         * dirent/Makefile (routines): Add it.
37474         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37475         * sysdeps/unix/sysv/linux/i386/scandir64.c
37476         (SKIP_SCANDIR_CANCEL): Macro removed.
37477         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37479         * dirent/tst-scandir.c: New file.
37480         * dirent/tst-scandir64.c: New file.
37481         * dirent/Makefile (tests): Add them.
37483 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37485         [BZ #18409]
37486         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37488 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37490         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37491         list.
37493 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37495         * benchtests/bench-strcoll.c: New benchmark.
37496         * benchtests/Makefile: Generate locales and run benchmark.
37497         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37498         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37499         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37500         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37501         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37502         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37503         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37504         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37505         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37506         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37507         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37508         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37509         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37510         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37511         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37512         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37513         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37514         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37515         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37516         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37517         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37518         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37519         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37520         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37522 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
37524         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37525         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37527 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37529         * posix/uname-values.h: New file.
37530         * posix/uname.c: Include that instead of <config-name.h>.
37531         * sysdeps/nacl/uname-values.h: New file.
37532         * sysdeps/arm/nacl/uname-values.h: New file.
37534 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37536         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37537         splitting into fields.
37539 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37541         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37542         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37543         * locale/localeinfo.h: Add enum collation_encoding_type.
37544         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37545         * programs/ld-collate.c (collate_output): Add encoding type info.
37546         * string/strcoll_l.c (STRDIFF): New function.
37547         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37548         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37550 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #18397]
37553         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37554         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37555         <fpu_control.h> instead of <math/fpu_control.c>.
37556         * sysdeps/mips/mips32/fpu/Makefile: New file.
37558 2015-05-11  Andreas Schwab  <schwab@suse.de>
37560         [BZ #18007]
37561         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37562         nss_endgrent.
37563         (_nss_compat_endgrent): Call nss_endgrent.
37564         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37565         nss_endpwent.
37566         (_nss_compat_endpwent): Call nss_endpwent.
37567         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37568         needent, call nss_setspent only if non-zero.
37569         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37570         (internal_endspent): Don't call nss_endspent.
37571         (_nss_compat_endspent): Call nss_endspent.
37572         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37573         Remove.  All uses removed.
37574         (internal_setent): Remove parameter stayopen, add parameter
37575         stream.  Use it instead of global variable.
37576         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37577         (internal_endent, internal_getent): Add parameter stream.  Use it
37578         instead of global variable.
37579         (CONCAT(_nss_files_end,ENTNAME))
37580         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37581         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37582         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37583         uses removed.
37584         (internal_setent, internal_endent): Add parameter stream.  Use it
37585         instead of global variable.
37586         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37587         stream.
37588         (get_next_alias): Add parameter stream.
37589         (_nss_files_getaliasent_r): Pass global stream.
37590         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37591         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37592         (_nss_files_gethostbyname4_r): Pass local stream to
37593         internal_setent, internal_getent and internal_endent.  Remove
37594         locking.
37596 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37598         * tst-strfmon1.c (tests): Update expected currency symbol.
37600 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37602         * sysdeps/nacl/gethostname.c: New file.
37604 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37606         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37607         and sinh.
37608         * math/auto-libm-test-out: Regenerated.
37609         * sysdeps/i386/fpu/libm-test-ulps: Update.
37610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37612 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37614         [BZ #18125]
37615         * stdlib/tst-setcontext3.c: New file.
37616         * stdlib/tst-setcontext3.sh: New file.
37617         * stdlib/Makefile (tests): Add tst-setcontext3.
37618         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37619         to verify test program created output file.
37620         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37621         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37622         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37623         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37625 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37627         [BZ #18383]
37628         * elf/tst-tlsalign.c: New file.
37629         * elf/tst-tlsalign-static.c: New file.
37630         * elf/tst-tlsalign-lib.c: New file.
37631         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37632         (tests-static): Add tst-tlsalign-static.
37633         (modules-names): Add tst-tlsalign-lib.
37634         (test-xfail-tst-tlsalign): New variable.
37635         (test-xfail-tst-tlsalign-static): New variable.
37637         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37638         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37640 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37642         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37643         csqrt, erfc, sin and sincos.
37644         * math/auto-libm-test-out: Regenerated.
37645         * sysdeps/i386/fpu/libm-test-ulps: Update.
37646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37648 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37650         * sysdeps/aarch64/libm-test-ulps: Update.
37652 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37654         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37655         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37656         * math/auto-libm-test-out: Regenerated.
37657         * sysdeps/i386/fpu/libm-test-ulps: Update.
37658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37660 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
37662         [BZ #18265]
37663         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37664         (wcsncpy): Likewise.
37666 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37668         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37669         Assume __ASSUME_FALLOCATE is always true.
37670         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37671         (__posix_fallocate64_l64): Likewise.
37672         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37673         (posix_fallocate): Likewise.
37674         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37675         (__posix_fallocate64_l64): Likewise.
37676         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37677         [!__ASSUME_FALLOCATE]: Add comment.
37679 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37681         * sysdeps/unix/sysv/linux/i386/Makefile
37682         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37683         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37684         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37685         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37686         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37687         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37688         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37690 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37692         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37693         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37694         tgamma.
37695         * math/auto-libm-test-out: Regenerated.
37696         * sysdeps/i386/fpu/libm-test-ulps: Update.
37697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37699 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37701         * math/auto-libm-test-in: Add more tests of tgamma.
37702         * math/auto-libm-test-out: Regenerated.
37703         * sysdeps/i386/fpu/libm-test-ulps: Update.
37704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37706         * math/auto-libm-test-in: Add more tests of tanh.
37707         * math/auto-libm-test-out: Regenerated.
37708         * sysdeps/i386/fpu/libm-test-ulps: Update.
37709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37711         * math/auto-libm-test-in: Add more tests of tan.
37712         * math/auto-libm-test-out: Regenerated.
37713         * sysdeps/i386/fpu/libm-test-ulps: Update.
37714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37716         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37717         * math/auto-libm-test-out: Regenerated.
37718         * sysdeps/i386/fpu/libm-test-ulps: Update.
37719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37721         * math/auto-libm-test-in: Add another test of pow.
37722         * math/auto-libm-test-out: Regenerated.
37723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37725         * math/auto-libm-test-in: Add more tests of lgamma.
37726         * math/auto-libm-test-out: Regenerated.
37727         * sysdeps/i386/fpu/libm-test-ulps: Update.
37728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37730         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37731         log1p.
37732         * math/auto-libm-test-out: Regenerated.
37733         * sysdeps/i386/fpu/libm-test-ulps: Update.
37734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37736 2015-05-01  Mark Wielaard  <mjw@redhat.com>
37738         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37739         Elf64_Chdr structs and ELFCOMPRESS constants.
37741 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37743         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37744         expm1.
37745         * math/auto-libm-test-out: Regenerated.
37746         * sysdeps/i386/fpu/libm-test-ulps: Update.
37747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37749         * math/auto-libm-test-in: Add more tests of erf and erfc.
37750         * math/auto-libm-test-out: Regenerated.
37751         * sysdeps/i386/fpu/libm-test-ulps: Update.
37752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37754 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37756         * config.h.in (HAVE_AARCH64_BE): Add.
37758 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
37760         * math/auto-libm-test-in: Add more tests of csqrt.
37761         * math/auto-libm-test-out: Regenerated.
37762         * sysdeps/i386/fpu/libm-test-ulps: Update.
37763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37765         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37766         * math/auto-libm-test-out: Regenerated.
37767         * sysdeps/i386/fpu/libm-test-ulps: Update.
37768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37770         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37772 2015-04-29  Roland McGrath  <roland@hack.frob.com>
37774         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37775         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37777         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37778         (euidaccess, eaccess): Define as weak aliases.
37780         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37781         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
37782         but __suseconds_t is often 'long int' so some sources assume that
37783         type is being used (e.g. they use %ld to print tv_usec).
37785 2015-04-29  Florian Weimer  <fweimer@redhat.com>
37787         [BZ #18007]
37788         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37789         (CVE-2014-8121)
37790         * nss/tst-nss-getpwent.c: New file.
37791         * nss/Makefile (tests): Add new test.
37793 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
37795         [BZ #18346]
37796         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37797         exponents less than 48 as cases where high part of mantissa needs
37798         examining to determine whether argument is integral.
37799         * math/libm-test.inc (round_test_data): Add more tests.
37801 2015-04-28  Mark Wielaard  <mjw@redhat.com>
37803         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37805 2015-04-27  David S. Miller  <davem@davemloft.net>
37807         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37808         __tls_get_addr.
37809         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37811 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
37813         [BZ #18333]
37814         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37816 2015-04-27  Florian Weimer  <fweimer@redhat.com>
37818         [BZ #18333]
37819         * time/tzset.c (parse_tzname): Return error on memory allocation
37820         failure.
37821         * test-skeleton.c (struct temp_name_list): Change type of name
37822         member to non-const.
37823         (add_temp_file): Create a copy of the file name.
37824         (delete_temp_files): Deallocate memory.
37825         (create_temp_file): Add comment.
37827 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37829         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37830         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37832 2015-04-24  Roland McGrath  <roland@hack.frob.com>
37834         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37835         * sysdeps/arm/configure: Regenerated.
37837 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37839         [BZ #17715]
37840         * time/tzfile.c (__tzfile_read): Check for large values of
37841         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
37842         * time/tzset.c (__tzstring_len): New function, based on the old
37843         __tzstring function.
37844         (__tzstring): Call __tzstring_len.
37845         (parse_tzname): New helper function extracted from
37846         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
37847         the input string.
37848         (parse_offset): New helper function extracted from
37849         __tzset_parse_tz.  Replace switch with fallthrough with
37850         initialization before sscanf.
37851         (parse_rule): Likewise.
37852         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
37853         new-style function definition.
37854         * timezone/Makefile (tests): Add tst-tzset.
37855         (tst-tzset.out): Dependencies on time zone files.
37856         (tst-tzset-ENV): Set TZDIR.
37857         (testdata/XT%): Copy crafted time zone files.
37858         * timezone/README: Mention crafted time zone files.
37859         * timezone/testdata/XT1, timezone/testdata/XT2,
37860         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37861         files.
37862         * timezone/tst-tzset.c: New test.
37864 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37866         * Makeconfig (+gccwarn): Remove -Winline.
37868 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37870         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37872 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37874         * NEWS: Mention sysconf() cache information support for s390.
37875         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37877 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
37879         * math/k_casinh.c (__kernel_casinh): Use __copysign.
37880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37881         (__nearbyint): Likewise.
37882         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37883         (copysignl): Likewise.
37885 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
37887         [BZ #18287]
37888         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37889         based on padding.  (CVE-2015-1781)
37891 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37893         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37894         libc-vdso.h.
37895         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37896         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37897         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37898         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37899         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37900         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37901         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37904         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37905         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37906         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37907         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37908         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37909         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37910         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37911         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37912         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37913         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37914         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37915         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37916         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37917         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37919 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
37921         * stdlib/setenv.c (__add_to_environ):
37922         Dump core quickly if setenv (..., NULL, ...) is called.
37923         This time, do it the right way, and pacify GCC with a pragma.
37925 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37927         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37928         IMAP->l_prev cannot be null, and #if out the code for the contrary
37929         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37930         believe that NS (&_dl_ns[NSID]) could point outside the array.
37932         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37933         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37934         before using NSID as an index.
37936 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
37938         [BZ #17825]
37939         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37940         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37941         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37943 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37945         Add preliminary port to Google Native Client on ARM.
37946         * abi-tags (.*-.*-nacl.*): New entry.
37947         * sysdeps/arm/nacl: New directory.
37948         * sysdeps/nacl: New directory.
37950 2015-04-16  David S. Miller  <davem@davemloft.net>
37952         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37953         lowlevellock-futex.h
37955 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
37957         * sysdeps/tile/configure.ac: New file.
37958         * sysdeps/tile/configure: Regenerated.
37960 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37962         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
37963         conditionals for weak_alias and libc_hidden_weak.
37964         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37965         libc_hidden_weak and weak_alias.
37966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37967         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37968         and weak_alias for static one.
37970 2015-04-15  David S. Miller  <davem@davemloft.net>
37972         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37974 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37976         [BZ #18206]
37977         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37978           Use signed comparision instead of substraction to avoid
37979           overflow bug.
37980         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37981           Take the sign of ret.
37982         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37983           Do not expect precise return values. Only the sign matters.
37984         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37985         * wcsmbs/test-wcsncmp.c: New File.
37986         * string/test-strncmp.c: Add wcsncmp support.
37988 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37990         [BZ #6792]
37991         * math/w_log1p.c: New file.
37992         * math/w_log1pf.c: Likewise.
37993         * math/w_log1pl.c: Likewise.
37994         * math/Makefile (libm-calls): Add w_log1p.
37995         * math/s_log1pl.c (log1pl): Remove weak_alias.
37996         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37997         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37998         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37999         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38000         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38001         [NO_LONG_DOUBLE] (log1pl): Likewise.
38002         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38004         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38005         (log1p): Remove long_double_symbol.
38006         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38007         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38008         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38009         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38010         remove weak_alias for corresponding log1p function.
38011         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38012         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38013         * sysdeps/ia64/fpu/w_log1p.c: New file.
38014         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38015         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38016         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38018 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38020         [BZ #18247]
38021         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38022         decimal exponent by 1.
38023         * stdlib/tst-strtod-round-data: Add more tests.
38024         * stdlib/tst-strtod-round.c (tests): Regenerated.
38026 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38028         * math/auto-libm-test-in: Add more tests of clog and clog10.
38029         * math/auto-libm-test-out: Regenerated.
38030         * sysdeps/i386/fpu/libm-test-ulps: Update.
38031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38033 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38035         * Makeconfig (module-cppflags): Exclude all .v.i files.
38036         (skip-module-cppflags): Variable removed.
38038         * configure.ac (libc_config_ok): Initialize before reading
38039         preconfigure scripts, not after.
38040         * configure: Regenerated.
38042         * test-skeleton.c (TIMEOUT): Move #define to top level.
38043         (main): Grok environment variable TEST_DIRECT.  If set, print
38044         test expectation details into that file and then behave as if
38045         given --direct.
38047 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38049         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38050         warning on 32-bit.
38052 2015-04-08  David S. Miller  <davem@davemloft.net>
38054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38056 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38058         * math/auto-libm-test-in: Add more tests of atanh.
38059         * math/auto-libm-test-out: Regenerated.
38060         * sysdeps/i386/fpu/libm-test-ulps: Update.
38061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38063         * math/auto-libm-test-in: Add more tests of atan.
38064         * math/auto-libm-test-out: Regenerated.
38065         * sysdeps/i386/fpu/libm-test-ulps: Update.
38066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38068 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38070         * elf/pldd.c (main): Rewrite to use struct
38071         scratch_buffer instead of extend_alloca.
38072         * elf/pldd-xx.c (find_maps): Likewise.
38073         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38074         <alloca.h>.
38075         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38076         scratch_buffer instead of extend_alloca.
38077         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38078         grp/compat-initgroups.c.
38079         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38080         Rewrite to use struct scratch_buffer instead of extend_alloca.
38081         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38082         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38084 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38086         * math/auto-libm-test-in: Add more tests of cbrt.
38087         * math/auto-libm-test-out: Regenerated.
38088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38090         * math/auto-libm-test-in: Add more tests of cabs.
38091         * math/auto-libm-test-out: Regenerated.
38092         * sysdeps/i386/fpu/libm-test-ulps: Update.
38093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38095         [BZ #18210]
38096         [BZ #18211]
38097         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38098         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38099         computations.
38100         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38101         clog10.
38102         * math/auto-libm-test-out: Regenerated.
38103         * sysdeps/i386/fpu/libm-test-ulps: Update.
38104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38106         [BZ #18197]
38107         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38108         (atan): Set FE_TONEAREST mode for internal computations.
38109         * math/auto-libm-test-in: Add more tests of atan.
38110         * math/auto-libm-test-out: Regenerated.
38112 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38114         [BZ #17930]
38115         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38117 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38119         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38121 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38123         * include/scratch_buffer.h: New file.
38124         * malloc/scratch_buffer_grow.c: Likewise.
38125         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38126         * malloc/scratch_buffer_set_array_size.c: Likewise.
38127         * malloc/tst-scratch_buffer.c: Likewise.
38128         * malloc/Makefile (routines): Add scratch_buffer_grow.
38129         (tests): Add test case.
38130         * malloc/Versions (GLIBC_PRIVATE): Export
38131         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38132         __libc_scratch_buffer_set_array_size.
38134 2015-04-06  Richard Henderson  <rth@redhat.com>
38136         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38137         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38139         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38140         unsigned int before printing.
38142 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38144         [BZ #17596]
38145         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38146         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38148 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38150         * include/libc-internal.h (libc_max_align_t): Define.
38152 2015-04-02  Andreas Schwab  <schwab@suse.de>
38154         [BZ #16850]
38155         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38157 2015-04-02  Mel Gorman  <mgorman@suse.de>
38159         [BZ #17195]
38160         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38161         as well as the main arena.
38163 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38165         [BZ #18185]
38166         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38167         sharing L2 cache to 2 for Silvermont/Knights Landing.
38169 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38171         [BZ #17711]
38172         * config.make.in (have-protected-data): New.
38173         * configure.ac: Check linker support for protected data symbol.
38174         * configure: Regenerated.
38175         * elf/Makefile (modules-names): Add tst-protected1moda and
38176         tst-protected1modb if $(have-protected-data) is yes.
38177         (tests): Add tst-protected1a and tst-protected1b if
38178         $(have-protected-data) is yes.
38179         ($(objpfx)tst-protected1a): New.
38180         ($(objpfx)tst-protected1b): Likewise.
38181         (tst-protected1modb.so-no-z-defs): Likewise.
38182         * elf/tst-protected1a.c: New file.
38183         * elf/tst-protected1b.c: Likewise.
38184         * elf/tst-protected1mod.h: Likewise.
38185         * elf/tst-protected1moda.c: Likewise.
38186         * elf/tst-protected1modb.c: Likewise.
38188 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38190         [BZ #17711]
38191         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38192         indicates it is called from do_lookup_x on relocation against
38193         protected data, skip the data definion in the executable from
38194         copy reloc.
38195         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38196         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38197         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38198         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38199         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38200         otherwise to 0.
38201         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38202         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38203         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38204         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38205         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38206         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38208 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38210         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38211         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38213 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38215         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38216         THREAD_SETMEM_NC.
38217         * sysdeps/x86_64/nptl/tls.h: Ditto.
38219 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38221         * dlfcn/tststatic.c (main): Converted to ...
38222         (do_test): ... this.
38223         (TEST_FUNCTION): New macro.
38224         Include test-skeleton.c.
38226 2015-03-26  Alan Modra  <amodra@gmail.com>
38228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38229         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38230         zero for undefined weak.
38231         (elf_machine_plt_conflict): Similarly.
38233 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38235         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38236         atanh.
38237         * math/auto-libm-test-out: Regenerated.
38238         * sysdeps/i386/fpu/libm-test-ulps: Update.
38239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38241         * math/auto-libm-test-in: Add another test of asin.
38242         * math/auto-libm-test-out: Regenerated.
38243         * sysdeps/i386/fpu/libm-test-ulps: Update.
38244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38247         Remove macro.
38248         (LLL_EBX_REG): Likewise.
38249         (LLL_ENTER_KERNEL): Likewise.
38251         * math/auto-libm-test-in: Add more tests of asin.
38252         * math/auto-libm-test-out: Regenerated.
38253         * sysdeps/i386/fpu/libm-test-ulps: Update.
38254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38256         [BZ #18138]
38257         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38258         libc_do_syscall_args): New structure.
38259         (INTERNAL_SYSCALL_MAIN_0): New macro.
38260         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38261         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38262         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38263         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38264         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38265         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38266         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38267         Replace conditional definitions by conditional definitions of ....
38268         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38269         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38270         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38271         (libpthread-sysdep_routines): Add libc-do-syscall.
38272         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38274         to __NR_futex not 240.
38276 2015-03-25  Alan Modra  <amodra@gmail.com>
38278         * NEWS: Advertise TLS optimization.
38279         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38280         (DT_PPC_NUM): Increment.
38281         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38282         (CHECK_STATIC_TLS): Use here.
38283         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38284         TLS descriptors.
38285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38286         * sysdeps/powerpc/dl-tls.c: New file.
38287         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38288         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38289         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38290         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38295 2015-03-25  Alan Modra  <amodra@gmail.com>
38297         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38298         for overlapping .opd entries" to "support...".
38299         * sysdeps/powerpc/powerpc64/configure: Regenerate
38301 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38303         * math/auto-libm-test-in: Add more tests of acos.
38304         * math/auto-libm-test-out: Regenerated.
38305         * sysdeps/i386/fpu/libm-test-ulps: Update.
38306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38308         * math/auto-libm-test-in: Add more tests of expm1.
38309         * math/auto-libm-test-out: Regenerated.
38310         * sysdeps/i386/fpu/libm-test-ulps: Update.
38311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38313 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38315         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38316         * math/auto-libm-test-out: Regenerated.
38317         * sysdeps/i386/fpu/libm-test-ulps: Update.
38318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38320         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38323         * math/auto-libm-test-in: Add more tests of log2.
38324         * math/auto-libm-test-out: Regenerated.
38325         * sysdeps/i386/fpu/libm-test-ulps: Update.
38326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38328 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38330         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38331         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38332         _IO_IS_APPENDING bit in READ_WRITE instead.
38334 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38336         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38337         (__determine_cpumask_size): Replace extend_alloca with a
38338         variable-length array.  Do not treat res == 0 as an error.
38340 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38342         [BZ #18100]
38343         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38344         and integer overflow.
38345         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38346         (main): Add integer overflow tests.
38347         * manual/pattern.texi (Calling Wordexp): Document additional use
38348         for WRDE_SYNTAX.
38350 2015-03-23  Alan Modra  <amodra@gmail.com>
38352         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38353         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38354         and false branch of conditional.
38355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38356         Likewise.
38358 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38360         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38361         libc-modules.h
38362         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38363         unused declaration of _hurd_intr_rpc_msg_in_trap.
38364         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38365         defined instead of whether it is non-zero.
38366         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38367         input constraint instead of both input and output constraint.  Use ecx
38368         clobber instead of %ecx.
38369         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38370         mutex_unlock): Use a statement expression instead of an expression list.
38371         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38372         type to vm_size_t instead of vm_address_t.
38373         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38374         defined instead of whether it is non-zero.
38375         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38376         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38377         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38378         comparisons with mapaddr.
38379         * nscd/nscd-client.h: Include <time.h>.
38380         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38381         9th parameter to __vm_region instead of int.
38382         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38383         * scripts/check-local-headers.sh (exclude): Add device/,
38384         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38385         cthreads.h.
38387 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38389         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38390         to account for alignment padding.
38391         * sysdeps/arm/memmove.S: Likewise.
38393 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38395         * sysdeps/unix/sysv/linux/generic/README: New file.
38397 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38399         [BZ #18138]
38400         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38401         (futex_abstimed_wait)
38402         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38403         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38404         of lll_futex_timed_wait.
38406 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38408         [BZ #17542]
38409         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38411 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38413         [BZ #17090]
38414         [BZ #17620]
38415         [BZ #17621]
38416         [BZ #17628]
38417         * NEWS: Update.
38418         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38419         entries with Static TLS too.  Skip entries past the end of the
38420         allocated DTV, from Alan Modra.
38421         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38422         Static TLS DTV entry set up from...
38423         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38424         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38425         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38426         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38427         for Static TLS.
38428         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38429         that the slot we find is associated with the given map before
38430         using its generation count.
38431         * nptl_db/db_info.c: Include ldsodefs.h.
38432         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38433         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38434         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38435         (link_map::l_tls_offset): New struct field.
38436         (dtv_t::counter): Likewise.
38437         (rtld_global): New struct.
38438         (_rtld_global): New rtld variable.
38439         (dl_tls_dtv_slotinfo_list): New rtld global field.
38440         (dtv_slotinfo_list): New struct.
38441         (dtv_slotinfo): Likewise.
38442         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38443         (td_lookup): Rename to...
38444         (td_mod_lookup): ... this.  Use new mod parameter instead of
38445         LIBPTHREAD_SO.
38446         * nptl_db/td_thr_tlsbase.c: Include link.h.
38447         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38448         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38449         addresses even if the DTV is out of date or missing them.
38450         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38451         index zero-length arrays.
38452         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38453         (td_lookup): Make it a macro implemented in terms of...
38454         (td_mod_lookup): ... this declaration.
38455         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38456         (DB_MAIN_VARIABLE): Likewise.
38458 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38460         [BZ #18134]
38461         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38463 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38465         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38467 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38469         [BZ #18128]
38470         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38471         (atomic_add, atomic_increment_and_test)
38472         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38474 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38476         * stdlib/setenv.c (__add_to_environ):
38477         Dump core quickly if setenv (..., NULL, ...) is called.
38479 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38481         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38482         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38483         all the necessary asm magic in one place.
38484         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38485         using those.
38487 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38489         [BZ #14906]
38490         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38491         traced file mtime. Use consistent log message.
38492         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38493         (register_traced_file): Call install_watches. Always set mtime.
38494         (invalidate_cache): Iterate over all trace files. Call install_watches.
38495         (inotify_check_files): Don't inline. Handle watching parent
38496         directories and configuration file movement in and out.
38497         (handle_inotify_events): New function.
38498         (main_loop_poll): Call handle_inotify_events.
38499         (main_loop_epoll): Likewise.
38500         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38501         (struct traced_file): Use array of inotify fds. Add parent directory,
38502         and basename.
38503         (struct database_dyn): Remove unused file_mtime.
38504         (init_traced_file): New inline function.
38505         (define_traced_file): New macro.
38506         * nss/nss_db/db-init.c: Use define_traced_file.
38507         (_nss_db_init): Use init_traced_file.
38508         * nss/nss_files/files-init.c: Use define_traced_file.
38509         (_nss_files_init): Use init_traced_file.
38511 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38513         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38514         [_LIBC]: Do not include <stdlib.h>.
38515         [!_LIBC] (abort): Remove declaration.
38516         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38517         _FP_STATIC_ASSERT instead of conditionally calling abort.
38518         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38519         (_FP_EXTEND_CNAN): Likewise.
38520         (FP_TRUNC): Likewise.
38521         (__FP_CLZ): Likewise.
38522         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38524 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38526         * manual/string.texi (XPG basename): Fix prototype.
38528 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38530         [BZ #18080]
38531         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38532         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38533         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38534         (__setcontext): Likewise.
38535         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38536         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38537         Call rt_sigprocmask syscall one time to set new signal mask
38538         and retrieve the current signal mask instead of two calls.
38539         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38540         (__swapcontext): Likewise.
38541         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38542         * stdlib/tst-setcontext2.c: New file.
38544 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38546         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38548 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38550         [BZ #18093]
38551         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38552         the wrong size.
38554 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38556         [BZ #18043]
38557         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38559 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38561         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38562         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38563         Remove define.
38564         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38565         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38566         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38567         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38568         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38569         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38570         define.
38571         * nptl_db/td_symbol_list.c (td_lookup): Remove
38572         HAVE_ASM_GLOBAL_DOT_NAME code.
38573         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38574         HAVE_ASM_GLOBAL_DOT_NAME check.
38575         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38576         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38577         (DOT_LABEL): Remove define.
38578         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38579         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38580         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38581         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38582         (__TLS_GET_ADDR): Likewise.
38583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38584         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38586 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38588         [BZ #18111]
38589         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38590         (_FPU_SETCW): Initialize cw from fpsr before storing.
38591         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38592         (fesetexceptflag): Rewrite using fpu_control.h.
38593         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38595 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38597         [BZ #18110]
38598         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38599         asms.
38600         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38602 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38604         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38605         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38606         abort.
38607         (_FP_FMA): Likewise.
38608         (_FP_DIV): Likewise.
38610 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38612         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38613         with 0 in that case.
38614         * Makefile (summarize-tests): New canned sequence, factored out of
38615         commands for targets tests and xtests.  Display summary lines that
38616         don't start with PASS: or XFAIL: rather than ones that do start with
38617         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38618         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38619         do start with ERROR: or FAIL:.
38620         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38621         (except for [$(build-shared) = yes]).
38622         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38623         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38624         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38625         * nptl/Makefile: Revert 2015-03-04 changes.
38626         [$(CXX) empty] (tests-unsupported): New variable.
38627         * debug/Makefile: Likewise.
38629         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38630         gnulib file.  Replace __attribute with __attribute__ throughout.
38632 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38634         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38636 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38638         [BZ #18104]
38639         * math/auto-libm-test-in: Add another test of pow.
38640         * math/auto-libm-test-out: Regenerated.
38642 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38644         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38645         $(config-cflags-nofma).
38647 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38649         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38650         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38651         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38652         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38653         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38654         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38655         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38656         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38657         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38658         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38659         Add comment on closing #endif.
38661 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38663         * posix/wordexp.c (CHAR_IN_SET): New macro.
38664         (parse_param): Use it.
38666 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38668         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38670 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38672         [BZ #18043]
38673         * posix/wordexp.c (parse_param): Fix buffer overflow.
38674         * posix/wordexp-test.c (test_case): Add test case.
38676 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38678         [BZ #18042]
38679         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38680         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38682 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38684         [BZ #18043]
38685         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38686         (do_bz18043): Delete.
38687         (at_page_end): New.
38688         (testit): Refactor to have words at the edge of unreadable page.
38690 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38692         [BZ #16734]
38693         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38694         Cleanup read-only streams as well.
38695         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38697 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38699         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38700         <bits/libc-lockP.h>
38702 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38704         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38705         on [__KERNEL__].
38706         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38707         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38708         * soft-fp/op-common.h (_FP_DECL): Likewise.
38710 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
38712         * elf/ifuncdep2.c (global): Replace
38713         __attribute__((visibility("protected"))) with
38714         asm (".protected global").
38715         * elf/ifuncmod1.c (global): Likewise.
38716         * elf/ifuncmod5.c (global): Likewise.
38718 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
38720         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38721         <asm/sfp-machine.h> instead of <sfp-machine.h>.
38723 2015-03-06  Roland McGrath  <roland@hack.frob.com>
38725         * manual/install.texi (Configuring and compiling):
38726         Document test-wrapper-env-only.
38727         * INSTALL: Regenerated.
38729 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38731         [BZ #18043]
38732         * posix/wordexp.c (parse_param): Fix buffer overflow.
38733         * posix/wordexp-test.c (do_bz18043): Add test case.
38735 2015-03-06  Vincent Bernat  <vincent@bernat.im>
38737         * time/tst-strptime2.c (do_test): Ensure failing tests are
38738         reported correctly.
38739         * time/tst-strptime3.c (do_test): Likewise.
38741 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
38743         Fix aio_error thread-safety.
38744         * sysdeps/pthread/aio_error.c: New file
38745         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38746         synchronization.
38748 2015-03-06  Florian Weimer  <fweimer@redhat.com>
38750         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38751         (group_number, vfprintf): Use it.
38752         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38753         (JUMP, REF): Use it.
38754         (WORK_BUFFER_SIZE): New enum constant.
38755         (process_arg, vfprintf): Use it.
38757 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
38759         * manual/errno.texi (Error Messages): Complete example function
38760         by adding missing #define.
38761         (program_invocation_name): Add statement indicating GNU
38762         extension and reference which header file declares the variable.
38763         (program_invocation_short_name): Likewise.
38765 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
38767         * manual/errno.texi (Error Messages): Delete strerror ISO C89
38768         compatibility note.
38770 2015-03-05  Roland McGrath  <roland@hack.frob.com>
38772         * Makeconfig (test-wrapper-env-only): New variable.
38773         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38774         then use that with $(test-wrapper-env-only) rather than using
38775         $(test-wrapper-env) $(run-program-env) $($*-ENV).
38777 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38779         [BZ #18082]
38780         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38781         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38782         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38783         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38784         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38785         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38786         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38787         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38788         Likewise.
38789         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38790         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38791         Likewise.
38792         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38793         Likewise.
38794         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38795         Likewise.
38796         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38797         Likewise.
38798         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38800         Likewise.
38801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38802         Likewise.
38803         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38804         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38806 2015-03-04  Roland McGrath  <roland@hack.frob.com>
38808         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38809         (ETH_ALEN): New macro.
38810         (struct ether_addr): Use it for length of ether_addr_octet.
38812         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38813         (setdb): Don't call __nss_configure_lookup for "rpc".
38814         (do_test): Don't call test_rpc.
38815         (output_rpcent, test_rpc): Functions moved ...
38816         * sunrpc/test-rpcent.c: ... to this new file.
38817         * sunrpc/Makefile (tests): Add it.
38819         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38820         __xpg_sigpause.
38821         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38822         * nptl/tst-signal6.c: Likewise.
38823         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38824         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38826         * configure.ac (libc_cv_cxx_link_ok): New check.
38827         Reset CXX to empty if it fails to link.
38828         * configure: Regenerated.
38829         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38830         bug-atexit3-lib only if $(CXX) is nonempty.
38831         * nptl/Makefile (tests): Likewise for tst-cancel24.
38832         (tests, tests-static): Likewise for tst-cancel24-static.
38833         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38834         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38835         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38836         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38838 2015-03-04  Andreas Schwab  <schwab@suse.de>
38840         [BZ #17631]
38841         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38842         for non-GCC compilers.
38843         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38844         Likewise.
38846 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38848         [BZ #17776]
38849         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38850         integer before bitwise and assembly operations.
38851         (feclearexcept): Likewise.
38852         * math/test-fenvinline.c: New file.
38853         * math/Makefile: Add test-fenvinline test.
38855 2015-03-03  Alan Modra  <amodra@gmail.com>
38857         [BZ #16512]
38858         * scripts/localplt.awk: Strip off symbol version.
38859         * NEWS: Mention bug fix.
38861 2015-03-02  Roland McGrath  <roland@hack.frob.com>
38863         * sysdeps/pthread/timer_routines.c
38864         (timer_free_list, thread_free_list, thread_active_list): Make static.
38866 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
38868         [BZ #17779]
38869         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38870         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38871         Undefine.
38872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38873         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38874         Likewise.
38875         * sysdeps/unix/sysv/linux/sh/kernel-features.h
38876         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38877         Likewise.
38879 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38881         [BZ #18036]
38882         * posix/fnmatch_loop.c (END): Detect invalid pattern.
38883         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38885 2015-03-02  Andreas Schwab  <schwab@suse.de>
38887         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38888         variable name.
38890 2015-03-02  Florian Weimer  <fweimer@redhat.com>
38892         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38893         Return error status.
38895 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
38897         [BZ #15969]
38898         * locale/findlocale.c (_nl_find_locale): Introduce const
38899         version of loc_name and drop unsafe type casts.
38901 2015-02-27  Roland McGrath  <roland@hack.frob.com>
38903         * dlfcn/tststatic2.c (main): Converted to ...
38904         (do_test): ... this.
38905         (TEST_FUNCTION): New macro.
38906         Include test-skeleton.c.
38908 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
38910         [BZ #17711]
38911         * elf/Makefile (tests): Add vismain only if PIE is enabled.
38912         (tests-pie): Add vismain.
38913         (CFLAGS-vismain.c): New.
38914         * elf/vismain.c: Add comments for PIE requirement.
38916 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38918         [BZ #18046]
38919         [BZ #18047]
38920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38921         0x1p-56L as threshold for just returning the argument.
38922         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38923         0x1p-32L as threshold for just returning the argument.
38924         * math/auto-libm-test-in: Add more tests of atanh.
38925         * math/auto-libm-test-out: Regenerated.
38926         * sysdeps/i386/fpu/libm-test-ulps: Update.
38927         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38929 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38931         * string/bcopy.c (bcopy): Call memmove for performance.
38933 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38935         * string/bzero.c (__bzero): Call memset for performance.
38937 2015-02-27  John David Anglin  <dave.anglin@bell.net>
38939         [BZ #18068]
38940         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38941         to 00100000.
38943 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38945         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38947 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38949         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38950         (__kernel_standard): Use CSTR macro when setting exc.name.
38951         * sysdeps/ieee754/Makefile [$(subdir) = math]
38952         (CFLAGS-k_standard.c): Remove variable.
38954         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38955         setting p and q from "else if" to "else".
38956         (qzero): Likewise.
38957         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38958         (qone): Likewise.
38959         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38960         (qzerof): Likewise.
38961         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38962         (qonef): Likewise.
38963         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38964         (qzero): Likewise.
38965         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38966         (qone): Likewise.
38968         [BZ #18038]
38969         [BZ #18039]
38970         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38971         return pi/2 for arguments below 0x1p-113L.
38972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38973         return pi/2 for arguments below 0x1p-106L.
38974         * math/auto-libm-test-in: Add more tests of acos.
38975         * math/auto-libm-test-out: Regenerated.
38977         [BZ #16351]
38978         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38979         (MO): New macro.
38980         (__ieee754_asin): Force underflow exception for results with small
38981         absolute value.
38982         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38983         (MO): New macro.
38984         (__ieee754_asinf): Force underflow exception for results with
38985         small absolute value.
38986         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38987         (__ieee754_asin): Force underflow exception for results with small
38988         absolute value.
38989         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38990         (__ieee754_asinf): Force underflow exception for results with
38991         small absolute value.
38992         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38993         (__ieee754_asinl): Force underflow exception for results with
38994         small absolute value.
38995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38996         (__ieee754_asinl): Force underflow exception for results with
38997         small absolute value.
38998         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38999         (__ieee754_asinl): Force underflow exception for results with
39000         small absolute value.
39001         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39002         Include <math.h>.
39003         * math/auto-libm-test-in: Do not mark underflow exceptions as
39004         possibly missing for bug 16351.
39005         * math/auto-libm-test-out: Regenerated.
39007         [BZ #18030]
39008         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39009         of power of 2 down when low part has opposite sign.
39010         * math/libm-test.inc (logb_test_data): Add more tests.
39012 2015-02-26  Andreas Schwab  <schwab@suse.de>
39014         [BZ #18032]
39015         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39016         over collating symbol inside a bracket expression.  Minor cleanup.
39017         * posix/tst-fnmatch3.c (do_test): Add test case.
39019 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39021         [BZ #18029]
39022         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39023         Adjust exponent of power of 2 down when low part has opposite
39024         sign.
39025         * math/libm-test.inc (ilogb_test_data): Add more tests.
39027 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39029         [BZ #15969]
39030         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39031         the previous change.
39033         [BZ #15969]
39034         * locale/findlocale.c (_nl_find_locale): Retry archive search
39035         after alias expansion.
39037 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39039         * iconv/tst-iconv3.c (main): Converted to ...
39040         (do_test): ... this.
39041         (TEST_FUNCTION): New macro.
39042         Include test-skeleton.c.
39044         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39045         (convert): Make function static.
39046         (test_unalign): Likewise.  Add const to argument pointee types.
39047         (main): Replace with static function do_test.
39048         Print "Succeeded." only if RET is zero.
39049         (TEST_FUNCTION): New macro.
39050         Include test-skeleton.c.
39052         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39053         returns a null pointer.
39055 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39057         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39058         to __memcpy_ppc only for static builds.
39060 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39062         [BZ #18020]
39063         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39064         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39065         * math/auto-libm-test-in: Add more tests of asinh.
39066         * math/auto-libm-test-out: Regenerated.
39067         * sysdeps/i386/fpu/libm-test-ulps: Update.
39068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39070 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39072         [BZ #15850]
39073         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39074         and ip6_mtuinfo definitions here.
39075         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39076         in this define too.  Update comment.
39078 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39080         * elf/sprof.c (load_shobj): Tweak error message to match others.
39082 2015-02-24  Kevin Easton  <kevin@guarana.org>
39084         [BZ #16145] (partial fix)
39085         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39086         to reduce lock contention.
39088 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39090         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39091         (struct timex): Update time comment.
39092         (ADJ_SETOFFSET): Define.
39094 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39096         [BZ #18019]
39097         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39098         2**56 not 2**28 as threshold for log (2x) formula.
39099         * math/auto-libm-test-in: Add more tests of acosh.
39100         * math/auto-libm-test-out: Regenerated.
39101         * sysdeps/i386/fpu/libm-test-ulps: Update.
39102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39104 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39106         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39107         parenthesis around the buf assignment.
39108         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39110 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39112         [BZ #16783]
39113         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39114         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39115         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39116         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39117         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39118         * math/libm-test.inc (scalb_test_data): Add more tests.
39120 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39122         [BZ #17916]
39123         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39124         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39126 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39128         [BZ #17523]
39129         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39130         * io/bits/fcntl2.h (open): Use it.
39131         (openat): Likewise.
39132         * io/open.c (__libc_open): Likewise.
39133         * io/open64.c (__libc_open64): Likewise.
39134         * io/open64_2.c (__open64_2): Likewise.
39135         * io/open_2.c (__open_2): Likewise.
39136         * io/openat.c (__openat): Likewise.
39137         * io/openat64.c (__openat64): Likewise.
39138         * io/openat64_2.c (__openat64_2): Likewise.
39139         * io/openat_2.c (__openat_2): Likewise.
39140         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39141         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39142         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39143         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39144         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39145         (__open_nocancel): Likewise.
39146         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39147         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39148         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39150 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39152         [BZ #14841]
39153         * resolv/gethnamaddr.c (getanswer): Skip logging if
39154         RES_USE_DNSSEC is set.
39155         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39157 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39159         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39161 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39163         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39164         201304L, for Unicode 7.
39166 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39168         [BZ #17836]
39169         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39170         shared library.  Add gmon-start.os otherwise.
39171         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39172         $(objpfx)gmon-start.os if builing shared library.
39173         ($(objpfx)g$(static-start-installed-name)): Likewise.
39175 2015-02-23  Andreas Schwab  <schwab@suse.de>
39177         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39179 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39181         [BZ #17269]
39182         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39183         (enlarge_userbuf): Likewise.
39185 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39187         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39188         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39189         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39190         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39192 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39194         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39195         expression inside statement expression.
39197 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39199         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39200         <sysdeps/nptl/lowlevellock.h> and remove macros and
39201         functions that are now defined there.
39202         (SYS_futex): Remove.
39203         (lll_compare_and_swap): Remove.
39204         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39206 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39208         [BZ #17999]
39209         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39210         instead of scandirat.
39211         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39212         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39213         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39214         __scandirat.
39215         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39216         (__scandirat): Declare.  Use libc_hidden_proto.
39217         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39218         Remove variable.
39219         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39221 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39223         [BZ #15319]
39224         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39225         (MO): New macro.
39226         (__ieee754_atan2): For results with small absolute value, force
39227         underflow exception and remove excess range and precision from
39228         return value.
39229         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39230         (MO): New macro.
39231         (__ieee754_atan2f): For results with small absolute value, force
39232         underflow exception and remove excess range and precision from
39233         return value.
39234         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39235         (MO): New macro.
39236         (__atan): For results with small absolute value, force underflow
39237         exception and remove excess range and precision from return value.
39238         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39239         (MO): New macro.
39240         (__atanf): For results with small absolute value, force underflow
39241         exception and remove excess range and precision from return value.
39242         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39243         <math.h>.
39244         (__ieee754_atan2): Force underflow exception for results with
39245         small absolute value.
39246         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39247         <math_private.h>.
39248         (atan): Force underflow exception for results with small absolute
39249         value.
39250         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39251         (__atanf): Force underflow exception for results with small
39252         absolute value.
39253         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39254         <math.h>.
39255         (__atanl): Force underflow exception for results with small
39256         absolute value.
39257         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39258         (__atanl): Force underflow exception for results with small
39259         absolute value.
39260         * sysdeps/x86/fpu/bits/mathinline.h
39261         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39262         (__ieee754_atan2): Only define inline for long double.
39263         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39264         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39265         * math/auto-libm-test-in: Do not mark underflow exceptions as
39266         possibly missing for bug 15319.  Add more tests of atan2.
39267         * math/auto-libm-test-out: Regenerated.
39268         * math/libm-test.inc (casin_test_data): Do not mark underflow
39269         exceptions as possibly missing for bug 15319.
39270         (casinh_test_data): Likewise.
39271         * sysdeps/i386/fpu/libm-test-ulps: Update.
39273 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39275         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39276         * sysdeps/mips/bits/endian.h: Fix comments.
39278 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39280         [BZ #17996]
39281         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39282         (hdestroy_r): Likewise.
39283         (hsearch_r): Likewise.
39284         (__hcreate_r): Declare and use libc_hidden_proto.
39285         (__hdestroy_r): Likewise.
39286         (__hsearch_r): Likewise.
39287         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39288         (hcreate): Call __hcreate_r instead of hcreate_r.
39289         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39290         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39291         as weak alias of __hcreate_r.
39292         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39293         __hdestroy_r.
39294         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39295         __hsearch_r.
39296         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39297         Remove variable.
39298         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39299         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39300         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39301         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39303 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39305         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39306         arena_lock into a single arena_get.
39308 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39310         * dl-reloc.c: Inlucde libc-internal.h.
39311         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39312         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39313         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39314         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39315         (grow_heap): Likewise.
39316         * malloc/malloc.c: Include libc-internal.h.
39317         (do_check_malloc): Call powerof2.
39318         (sysmalloc): Use pagesize. Call ALIGN_UP.
39319         (systrim): Use pagesize.
39320         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39321         (__libc_valloc): Use pagesize.
39322         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39324 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39326         [BZ #17991]
39327         * include/sys/resource.h (__getrlimit64): Declare.  Use
39328         libc_hidden_proto.
39329         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39330         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39331         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39332         getrlimit64.
39333         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39334         __getrlimit64.
39335         [!getrlimit64] (getrlimit64): Define as weak alias of
39336         __getrlimit64.  Use libc_hidden_weak.
39337         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39338         using __getrlimit64 not __new_getrlimit64.
39339         (__GI_getrlimit64): Likewise.
39340         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39341         Likewise.
39342         (__GI_getrlimit64): Likewise.
39343         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39345         (getrlimit): Add __getrlimit64 alias.
39346         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39347         Likewise.
39348         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39349         Remove variable.
39350         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39351         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39353 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39355         * libio/fileops.c: Add missing sys/mman.h
39356         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39358 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39360         * manual/math.texi (Errors in Math Functions): Clarify goals
39361         regarding inexact and underflow exceptions.
39363 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39365         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39366         * sysdeps/mips/memset.S: Ditto.
39368 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39370         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39372 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39374         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39375         (__v1longjmp): Remove versioned symbol.
39376         (__v1siglongjmp): Remove alias and versioned symbol.
39377         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39378         (__v2siglongjmp): Likewise.
39380 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39382         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39384 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39386         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39388 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39390         [BZ #17987]
39391         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39392         zero result does not depend on the sign resulting from
39393         subtraction.
39394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39395         Likewise.
39396         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39397         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39398         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39399         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39400         * math/libm-test.inc (remquo_test_data): Add more tests.
39402 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39404         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39405         Problem reported by J William Piggott.
39407 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39409         [BZ #17978]
39410         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39411         products 4 * y and 2 * y where those would overflow.
39412         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39413         Likewise.
39414         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39415         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39416         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39417         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39418         * math/libm-test.inc (remquo_test_data): Add more tests.
39420         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39422         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39423         [defined _COMPILING_NEWLIB].
39424         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39425         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39427         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39428         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39430 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39432         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39433         acquired.
39435 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39437         [BZ #17792]
39438         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39439         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39440         HOST_STACK_END_ADDR): Likewise.
39442 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39444         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39445         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39446         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39448 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39450         * sysdeps/generic/c++-types.data: New file.
39451         * sysdeps/generic/ld.abilist: New file.
39452         * sysdeps/generic/libBrokenLocale.abilist: New file.
39453         * sysdeps/generic/libanl.abilist: New file.
39454         * sysdeps/generic/libc.abilist: New file.
39455         * sysdeps/generic/libcrypt.abilist: New file.
39456         * sysdeps/generic/libdl.abilist: New file.
39457         * sysdeps/generic/libm.abilist: New file.
39458         * sysdeps/generic/libpthread.abilist: New file.
39459         * sysdeps/generic/libresolv.abilist: New file.
39460         * sysdeps/generic/librt.abilist: New file.
39462 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39464         [BZ #17569]
39465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39466         Compute absolute value of x as modified by fmod, not original
39467         value of x.
39468         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39469         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39470         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39471         RUN_TEST_ffI_f1_mod8.
39472         (remquo_test_data): Add more tests.
39474 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39476         * sysdeps/init_array/pt-crti.S: New file.
39478 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39480         [BZ #17967]
39481         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39482         __builtin_fmaf instead of relying on contraction of a * b + c.
39484 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39486         [BZ #17969]
39487         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39488         node.
39490 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39492         [BZ #17964]
39493         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39494         __builtin_fma instead of relying on contraction of a * b + c.
39496 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39498         * Makeconfig (ASFLAGS): Add -Werror=undef.
39499         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39500         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39501         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39503         * Makeconfig (after-link): New variable.
39504         (+link-pie, +link-pie-tests): Use it.
39505         (+link-static, +link-static-tests): Likewise.
39506         (+link, +link-tests): Likewise.
39507         * Makerules (build-module, build-module-asneeded): Likewise.
39508         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39509         Likewise.
39510         * elf/Makefile ($(objpfx)ld.so): Likewise.
39512 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
39514         [BZ #17965]
39515         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39516         both struct timeval and struct timespec.
39518 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39520         [BZ #16560]
39521         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39522         and redefine.
39523         (__ieee754_exp2l): Do not multiply small fractional parts by
39524         M_LN2l.
39525         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39526         small argument.
39527         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39528         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39529         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39530         * math/auto-libm-test-in: Add more tests of exp2.
39531         * math/auto-libm-test-out: Regenerated.
39533 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39535         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39536         unaligned path.
39538 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39540         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39541         little endian.
39543 2015-02-12  Andreas Schwab  <schwab@suse.de>
39545         [BZ #15790]
39546         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39547         Filter out elision flags from value returned in kind.
39548         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39549         * nptl/tst-pthread-mutexattr.c: New file.
39551 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39553         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39554         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39555         into gnu-gnu, and update comment to refer to abi-tags.
39557 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39559         [BZ #15467]
39560         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39561         (__sincos): Set errno to EDOM for infinite argument.
39562         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39563         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39564         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39565         (__sincosl): Set errno to EDOM for infinite argument.
39566         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39567         (__sincosl): Set errno to EDOM for infinite argument.
39568         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39569         (__sincosl): Set errno to EDOM for infinite argument.
39570         * math/libm-test.inc (sincos_test_data): Test errno setting.
39572 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39574         * string/strxfrm_l.c: Remove #define STRCMP.
39575         * string/strcoll_l.c: Remove #define STRLEN.
39576         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39577         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39579 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39581         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39582         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39583         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39584         * sysdeps/mips/mips64/Makefile: ... here.
39585         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39586         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39587         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39588         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39589         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39590         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39591         * sysdeps/mips/mips64/n64/Implies: Likewise.
39593 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39595         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39596         <sys/time.h>, <string.h>, and <errno.h>.
39597         (dest_offset, dest_address, value, zero): Remove unused variables.
39598         (ldouble): Remove typedef.
39599         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39600         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39601         1).  Fix code style.
39602         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39603         (check): Function removed.
39604         (CHECK): New macro.
39605         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39606         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39607         Don't call set_sigaction_FP and remove_sigaction_FP here.
39608         (ldouble_test): Just use 'long double' as macro argument, no need for
39609         the 'ldouble' typedef.
39610         (do_test): Set up SIGFPE handler at start, using plain signal rather
39611         than sigaction.  Fix code style.
39613 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39615         [BZ #17949]
39616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39617         jump label.
39619 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39621         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39622         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39624         * sysdeps/powerpc/configure.ac: Remove file.
39625         * sysdeps/powerpc/configure: Likewise.
39627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39628         [sysdep_routines]: Remove wordcopy-power6 object.
39629         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39630         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39631         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39632         (__memmove_ppc32): Likewise.
39633         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39634         file.
39635         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39636         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39637         Remove preprocessor.
39639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39640         [sysdep_routines]: Remove wide chars objects.
39641         [wcsmbs]: New rule for wide char objects.
39643         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39644         Remove wordcopy-power6 obejct.
39645         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39646         Use local call for wordcopy and memcpy symbols.
39647         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39648         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39649         implementation for loader.
39650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39652         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39653         Remove wordcopy-power7 object.
39654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39656         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39657         (_wordcopy_fwd_dest_aligned): Likewise.
39658         (_wordcopy_bwd_aligned): Likewise.
39659         (_wordcopy_bwd_dest_aligned): Likewise.
39661         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39662         Rewrite to call __memmove_ppc instead of include default
39663         implementation.
39665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39666         Remove wide chars objects.
39667         [wcsmbs]: New rule for wide char objects.
39669 2015-02-09  Andreas Schwab  <schwab@suse.de>
39671         [BZ #17912]
39672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39673         in terms of __O_DIRECTORY.
39675 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39677         * time/getdate.c: Include <stdbool.h>.
39678         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39679         call PTR_MANGLE.
39680         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39681         PTR_DEMANGLE.
39683 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39685         Add ersatz _Static_assert on older C hosts
39686         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39687         pre-C11 C platform that is not known to support _Static_assert.
39689 2015-02-07  Richard Braun  <rbraun@sceen.net>
39691         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39692         sigstate.
39693         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39695 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39697         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39698         priority against unexistent AIO_PRIO_DELTA_MAX.
39699         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39700         instead of int.
39701         * misc/fchflags.c (fchflags): Likewise.
39702         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39703         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39704         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39705         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39706         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39707         Declare macros.
39708         [__USE_MISC] (chflags, fchflags): Declare functions.
39709         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39710         EINVAL when nfds is greater than FD_SETSIZE.
39711         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39712         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39713         45.
39714         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39715         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39716         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39717         MACH_RCV_TIMED_OUT.
39718         * hurd/hurd/signal.h (_hurd_self_sigstate,
39719         _hurd_critical_section_lock, _hurd_critical_section_unlock):
39720         Explicit casts from void *.
39721         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39722         * abi-tags: Rename gnu-gnu os into gnu.
39724         [BZ #4719]
39725         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39726         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39727         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39728         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39729         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39730         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39732         [BZ #17944]
39733         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39734         duplicates ADDR->sun_path with sockaddr LEN limitation.
39735         * sysdeps/mach/hurd/connect.c: Include <string.h>
39736         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39737         * sysdeps/mach/hurd/sendmsg.c: Likewise.
39738         * sysdeps/mach/hurd/sendto.c: Likewise.
39739         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39740         implementing it by hand.
39742 2015-02-06  Roland McGrath  <roland@hack.frob.com>
39744         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39745         Use sfi_breg on ldr.
39746         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39747         Likewise.
39749         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39750         it's defined.
39751         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39752         Test SIGSETXID only if it's defined.
39754         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39756         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39757         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
39759         * nptl/tst-align2.c: Moved ...
39760         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39761         * nptl/Makefile (tests): Remove tst-align2.
39762         * sysdeps/unix/sysv/linux/Makefile
39763         [$(subdir) = nptl] (tests): Add tst-align-clone.
39764         * nptl/tst-getpid1.c: Moved ...
39765         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39766         * nptl/tst-getpid2.c: Moved ...
39767         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39768         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39769         * sysdeps/unix/sysv/linux/Makefile
39770         [$(subdir) = nptl] (tests): ... here.
39771         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39772         * sysdeps/unix/sysv/linux/Makefile
39773         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39775         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39776         Drop trailing \n from perror argument.  Use return rather than exit.
39778         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39779         on [SA_SIGINFO].
39780         * nptl/tst-cancel21.c (do_test): Likewise.
39781         * debug/tst-backtrace6.c: Include <signal.h> first thing.
39782         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39783         [!SA_SIGINFO]: Make it a stub test.
39785         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39786         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39788         * posix/tst-getlogin.c: Move to ...
39789         * login/tst-getlogin.c: ... here.
39790         * posix/Makefile (tests): Move tst-getlogin to ...
39791         * login/Makefile (tests): ... here.
39793         * libio/tst-atime.c (do_test): Move local variables SV and E
39794         inside [ST_NOATIME] conditional.
39796         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39798         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39800         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39801         (wait_code): New function replaces macro.
39802         Call nanosleep rather than syscall.
39804         * nptl/pt-system.c: Rewritten.  Put everything under
39805         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39806         Use IFUNC to redirect when possible.
39808         * nptl/pt-longjmp.c: Rewritten.  Put everything under
39809         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39810         Use IFUNC to redirect when possible.
39812         * nptl/pt-fork.c: Rewritten.  Put everything under
39813         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39814         Use IFUNC to redirect when possible.
39815         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39817         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39818         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39819         unconditionally nowadays.  This included the only reference to
39820         __vdso_clock_gettime that appears outside libc proper.
39821         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39822         Remove version set (containing only __vdso_clock_gettime).
39823         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39824         Add attribute_hidden.
39825         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39826         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39827         libc_hidden_data_def.
39828         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39829         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39831         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39832         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39833         setrpcent, and getrpcport to ...
39834         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39835         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39836         getrpcbynumber_r, and getrpcent_r to ...
39837         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39838         * inet/getrpcbyname.c: Moved ...
39839         * sunrpc/getrpcbyname.c: ... here.
39840         * inet/getrpcbyname_r.c: Moved ...
39841         * sunrpc/getrpcbyname_r.c: ... here.
39842         * inet/getrpcbynumber.c: Moved ...
39843         * sunrpc/getrpcbynumber.c: ... here.
39844         * inet/getrpcbynumber_r.c: Moved ...
39845         * sunrpc/getrpcbynumber_r.c: ... here.
39846         * inet/getrpcent.c: Moved ...
39847         * sunrpc/getrpcent.c: ... here.
39848         * inet/getrpcent_r.c: Moved ...
39849         * sunrpc/getrpcent_r.c: ... here.
39850         * inet/Makefile (routines): Move those to ...
39851         * sunrpc/Makefile (routines): ... here.
39852         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39853         the $(subdirs) list.
39854         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
39855         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39856         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39857         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39859         * elf/Makefile (routines): Include $(all-dl-routines), not just
39860         $(dl-routines).
39861         (rtld-routines): Likewise.  Use = rather than :=.
39862         * sysdeps/aarch64/Makefile [$(subdir) = elf]
39863         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39864         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39865         * sysdeps/arm/Makefile: Likewise.
39866         * sysdeps/i386/Makefile: Likewise.
39867         * sysdeps/x86_64/Makefile: Likewise.
39868         * sysdeps/hppa/Makefile [$(subdir) = elf]
39869         (sysdep_routines, sysdep-rtld-routines): Don't add
39870         $(sysdep-dl-routines) to these.
39871         * sysdeps/ia64/Makefile: Likewise.
39872         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39873         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39874         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39875         Don't add dl-static to these; sysdep-dl-routines alone is enough.
39876         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39877         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39878         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39879         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39880         * sysdeps/powerpc/Makefile [$(subdir) = elf]
39881         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39882         these; sysdep-dl-routines alone is enough.
39884 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
39886         [BZ #17932]
39887         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39888         where multiplication results in zero and third argument is finite
39889         and nonzero.
39890         * math/auto-libm-test-in: Add more tests of fma.
39891         * math/auto-libm-test-out: Regenerated.
39893         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39894         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39895         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39896         (_FP_CMP_EQ): Likewise.
39897         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39899         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39900         extra argument CHECK_NAN.  Redefine as wrapper around
39901         _FP_EXTEND_CNAN.
39903 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
39905         * version.h (RELEASE): Set to "stable".
39906         (VERSION): Set to "2.21"
39907         * include/features.h (__GLIBC_MINOR__): Set to 21.
39909         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39911 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39912             Paul Eggert  <eggert@cs.ucla.edu>
39914         [BZ #16618]
39915         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39917         size in bytes. Store needed elements in wpmax. Use needed size
39918         in bytes for extend_alloca.
39920 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
39922         * manual/install.texi: Latest tested versions are GCC 4.9.2,
39923         binutls 2.25, and texinfo 5.2.
39924         * INSTALL: Regenerate.
39925         * sysdeps/nios2/configure: Regenerate.
39926         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39927         * manual/contrib.texi: Update.
39928         * po/be.po: Update.
39929         * po/bg.po: Update.
39930         * po/ca.po: Update.
39931         * po/cs.po: Update.
39932         * po/da.po: Update.
39933         * po/de.po: Update.
39934         * po/el.po: Update.
39935         * po/eo.po: Update.
39936         * po/es.po: Update.
39937         * po/fi.po: Update.
39938         * po/fr.po: Update.
39939         * po/gl.po: Update.
39940         * po/hr.po: Update.
39941         * po/hu.po: Update.
39942         * po/ia.po: Update.
39943         * po/id.po: Update.
39944         * po/it.po: Update.
39945         * po/ja.po: Update.
39946         * po/ko.po: Update.
39947         * po/lt.po: Update.
39948         * po/nb.po: Update.
39949         * po/nl.po: Update.
39950         * po/pl.po: Update.
39951         * po/pt_BR.po: Update.
39952         * po/ru.po: Update.
39953         * po/rw.po: Update.
39954         * po/sk.po: Update.
39955         * po/sl.po: Update.
39956         * po/sv.po: Update.
39957         * po/tr.po: Update.
39958         * po/uk.po: Update.
39959         * po/vi.po: Update.
39960         * po/zh_CN.po: Update.
39961         * po/zh_TW.po: Update.
39963         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39964         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39965         * sysdeps/hppa/dl-irel.h: Remove #warning.
39966         * sysdeps/hppa/entry.h: Provide prototype for
39967         __canonicalize_funcptr_for_compare and cast argument.
39968         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39969         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39970         * sysdeps/hppa/sotruss-lib.c: New file.
39971         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39972         (atomic_compare_and_exchange_val_acq): Use __typeof__.
39973         (atomic_compare_and_exchange_bool_acq): Likewise.
39974         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39975         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39977         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39978         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39979         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39981 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
39983         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39984         called function in non-PIC case.
39986 2015-01-31  David S. Miller  <davem@davemloft.net>
39988         * sysdeps/sparc/sparc32/bits/atomic.h
39989         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39990         unlock not after it.
39991         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39992         volatile register usage warnings from the compiler.
39994         * sysdeps/sparc/nptl/sem_init.c: Delete.
39995         * sysdeps/sparc/nptl/sem_post.c: Delete.
39996         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39997         * sysdeps/sparc/nptl/sem_wait.c: Delete.
39998         * sysdeps/sparc/sparc32/sem_init.c: New file.
39999         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40000         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40001         padding explicitly initialized.
40002         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40003         padding for in-semaphore spinlock.
40004         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40005         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40006         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40007         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40008         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40009         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40010         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40011         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40012         version.
40013         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40014         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40016 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40018         [BZ #17801]
40019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40020         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40021         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40022         New.
40023         (index_AVX_Fast_Unaligned_Load): Likewise.
40024         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40025         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40026         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40027         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40028         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40029         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40030         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40031         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40032         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40034 2015-01-29  Andreas Schwab  <schwab@suse.de>
40036         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40038 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40040         [BZ #17892]
40041         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40043 2015-01-28  Martin Sebor  <msebor@redhat.com>
40045         * math/README.libm-test: Clarify. Add "How to read the test output."
40047 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40049         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40050         Define to 0.
40052 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40054         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40055         (__HAVE_64B_ATOMICS): Define to 0.
40057 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40059         [BZ #17885]
40060         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40061         value to set as new flag.
40063         [BZ #16576]
40064         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40065         and use _ARCH_PPCSQ instead.
40066         (__ieee754_sqrt): Likewise.
40067         (__ieee754_sqrtf): Likewise.
40068         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40069         _ARCH_PPCSQ is defined.
40070         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40071         fsqrt instruction.
40072         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40073         _ARCH_PPCSQ is defined.
40074         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40075         fsqrts instruction.
40076         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40078 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40080         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40081         bug (GCC BZ #64739).
40083 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40085         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40086         Mark _retval as used.
40087         (lll_futex_wake_unlock): Likewise.
40088         (lll_futex_timed_wait_requeue_pi): Likewise.
40090         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40091         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40092         register variables.
40094         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40095         libm_hidden_def.
40097         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40098         (__bswap_64): Mark as __always_inline.
40100 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40102         [BZ #15378]
40103         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40104         when none of the search directories exist.
40106 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40108         [BZ #17869]
40109         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40110         power8 in .machine directive.
40112         [BZ #17868]
40113         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40114         set dependency from opd value.
40116 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40119         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40120         architecture.
40122 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40124         [BZ #17870]
40125         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40126         with uint64_t.
40127         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40128         (uint64_t) 1.
40129         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40130         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40131         Replace 1UL with (uint64_t) 1.
40132         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40133         int with uint64_t.
40135 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40137         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40138         (if_freenameindex): Likewise.
40140         * resource/getrlimit64.c: Add missing libc_hidden_def.
40142 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40144         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40145         __label__.
40146         (_FP_FMA): Likewise.
40147         (_FP_TO_INT_ROUND): Likewise.
40148         (_FP_FROM_INT): Likewise.
40150 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40152         [BZ #16418]
40153         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40154         Make code racy and cancel safe.
40156 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40158         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40159         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40160         attribution.
40162         * pwd/tst-getpw.c: Rewrite.
40164         [BZ #17702]
40165         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40166         (modules-names): Add moddummy1 and moddummy2.
40167         ($(objpfx)tst-rec-dlopen): Define.
40168         * dlfcn/moddummy1.c: New file.
40169         * dlfcn/moddummy2.c: New file.
40170         * dlfcn/tst-rec-dlopen.c: New file.
40171         * elf/dl-cache.c (_dl_load_cache_lookup):
40172         Return char*. Copy result with alloca/strcpy/strdup.
40173         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40174         returns char*. Free cached. If not saving realname
40175         free cached.
40176         * elf/dl-open.c (dl_open_worker): Do not assert that
40177         _r_debug->r_state is RT_CONSISTENT.
40178         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40179         returns char*.
40181 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40182             Carlos O'Donell  <carlos@redhat.com>
40184         [BZ #12674]
40185         * nptl/sem_waitcommon.c: New file.
40186         * nptl/sem_wait.c: Include sem_waitcommon.c.
40187         (__sem_wait_cleanup, do_futex_wait): Remove.
40188         (__new_sem_wait): Adapt.
40189         (__new_sem_trywait): New function.
40190         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40191         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40192         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40193         (sem_timedwait): Adapt.
40194         * nptl/sem_post.c (__new_sem_post): Adapt.
40195         (futex_wake): New function.
40196         (__old_sem_post): Add release MO fence.
40197         * nptl/sem_open.c (sem_open): Adapt.
40198         * nptl/sem_init.c (__new_sem_init): Adapt.
40199         (futex_private_if_supported): New function.
40200         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40201         (__old_sem_getvalue): Add using previous code.
40202         * sysdeps/nptl/internaltypes.h: Adapt.
40203         * nptl/tst-sem13.c (do_test): Adapt.
40204         * nptl/tst-sem11.c (main): Adapt.
40205         * nptl/sem_trywait.c: Remove.
40206         * nptl/DESIGN-sem.txt: Remove.
40207         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40208         (gen-as-const-headers): Remove structsem.sym.
40209         * nptl/structsem.sym: Remove.
40210         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40211         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40212         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40213         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40214         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40215         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40216         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40217         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40218         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40219         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40220         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40221         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40222         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40223         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40224         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40225         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40226         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40227         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40228         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40229         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40230         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40231         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40233 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40235         * INSTALL: Regenerated.
40237         * po/libc.pot: Regenerated.
40239 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40240             Sandra Loosemore  <sandra@codesourcery.com>
40241             Andrew Jenner  <andrew@codesourcery.com>
40242             Joseph Myers  <joseph@codesourcery.com>
40243             Nathan Sidwell  <nathan@codesourcery.com>
40245         * NEWS: Mention new Nios II port.
40246         * sysdeps/nios2/Implies: New file.
40247         * sysdeps/nios2/Makefile: New file.
40248         * sysdeps/nios2/Subdirs: New file.
40249         * sysdeps/nios2/Versions: New file.
40250         * sysdeps/nios2/__longjmp.S: New file.
40251         * sysdeps/nios2/abort-instr.h: New file.
40252         * sysdeps/nios2/backtrace.c: New file.
40253         * sysdeps/nios2/bits/endian.h: New file.
40254         * sysdeps/nios2/bits/fenv.h: New file.
40255         * sysdeps/nios2/bits/link.h: New file.
40256         * sysdeps/nios2/bits/setjmp.h: New file.
40257         * sysdeps/nios2/bsd-_setjmp.S: New file.
40258         * sysdeps/nios2/bsd-setjmp.S: New file.
40259         * sysdeps/nios2/configure: New generated file.
40260         * sysdeps/nios2/configure.ac: New file.
40261         * sysdeps/nios2/crti.S: New file.
40262         * sysdeps/nios2/crtn.S: New file.
40263         * sysdeps/nios2/dl-init.c: New file.
40264         * sysdeps/nios2/dl-machine.h: New file.
40265         * sysdeps/nios2/dl-sysdep.h: New file.
40266         * sysdeps/nios2/dl-tls.h: New file.
40267         * sysdeps/nios2/dl-trampoline.S: New file.
40268         * sysdeps/nios2/gccframe.h: New file.
40269         * sysdeps/nios2/gmp-mparam.h: New file.
40270         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40271         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40272         * sysdeps/nios2/ldsodefs.h: New file.
40273         * sysdeps/nios2/libc-tls.c: New file.
40274         * sysdeps/nios2/libm-test-ulps: New file.
40275         * sysdeps/nios2/machine-gmon.h: New file.
40276         * sysdeps/nios2/math-tests.h: New file.
40277         * sysdeps/nios2/math_private.h: New file.
40278         * sysdeps/nios2/memusage.h: New file.
40279         * sysdeps/nios2/nptl/Makefile: New file.
40280         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40281         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40282         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40283         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40284         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40285         * sysdeps/nios2/nptl/tls.h: New file.
40286         * sysdeps/nios2/preconfigure: New file.
40287         * sysdeps/nios2/s_fma.c: New file.
40288         * sysdeps/nios2/s_fmaf.c: New file.
40289         * sysdeps/nios2/setjmp.S: New file.
40290         * sysdeps/nios2/sfp-machine.h: New file.
40291         * sysdeps/nios2/sotruss-lib.c: New file.
40292         * sysdeps/nios2/stackguard-macros.h: New file.
40293         * sysdeps/nios2/stackinfo.h: New file.
40294         * sysdeps/nios2/start.S: New file.
40295         * sysdeps/nios2/sysdep.h: New file.
40296         * sysdeps/nios2/tls-macros.h: New file.
40297         * sysdeps/nios2/tst-audit.h: New file.
40298         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40299         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40300         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40301         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40302         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40303         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40304         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40305         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40306         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40307         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40308         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40309         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40310         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40311         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40312         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40313         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40314         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40315         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40316         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40317         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40318         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40319         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40320         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40321         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40322         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40323         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40324         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40325         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40326         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40327         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40328         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40329         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40330         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40331         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40332         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40333         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40334         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40335         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40336         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40337         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40338         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40339         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40340         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40341         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40343 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40345         [BZ #17844]
40346         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40347         (getutent): Use weak_alias in non SHARED case
40348         and default_symbol_version in SHARED case.
40349         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40350         (getutent_r, pututline): Likewise.
40351         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40352         (getutid): Likewise.
40353         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40354         (getutid_r): Likewise.
40355         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40356         (getutline): Likewise.
40357         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40358         (getutline_r): Likewise.
40359         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40360         (updwtmp): Likewise.
40362 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40364         [BZ #17848]
40365         * sysdeps/s390/s390-32/memcmp.S
40366         (memcmp_g5): Rename to __memcmp_g5.
40367         * sysdeps/s390/s390-32/memcpy.S
40368         (memcpy_g5): Rename to __memcpy_g5.
40369         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40370         (memcpy_mvcle) Rename to __memcpy_mvcle.
40371         * sysdeps/s390/s390-32/memset.S
40372         (memset_g5): Rename to __memset_g5.
40373         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40374         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40375         and use prefixed functions.
40376         * sysdeps/s390/s390-32/multiarch/memcmp.S
40377         (memcmp_z196): Rename to __memcmp_z196.
40378         (memcmp_z10): Rename to __memcmp_z10.
40379         (memcmp): Set alias to __memcmp_g5.
40380         (bcmp): Set alias to __memcmp_g5.
40381         * sysdeps/s390/s390-32/multiarch/memcpy.S
40382         (memcpy_z196): Rename to __memcpy_z196.
40383         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40384         (memcpy_z10): Rename to __memcpy_z10.
40385         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40386         (memcpy): Set alias to __memcpy_g5.
40387         * sysdeps/s390/s390-32/multiarch/memset.S
40388         (memset_z196): Rename to __memset_z196.
40389         Jump to __memset_mvcle instead of memset_mvcle.
40390         (memset_z10): Rename to __memset_z10.
40391         Jump to __memset_mvcle instead of memset_mvcle.
40392         (memset_mvcle) Rename to __memset_mvcle.
40393         (memset): Set alias to __memset_g5.
40394         * sysdeps/s390/s390-64/memcmp.S
40395         (memcmp_z900): Rename to __memcmp_z900.
40396         * sysdeps/s390/s390-64/memcpy.S
40397         (memcpy_z900): Rename to __memcpy_z900.
40398         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40399         (memcpy_mvcle) Rename to __memcpy_mvcle.
40400         * sysdeps/s390/s390-64/memset.S
40401         (memset_z900): Rename to __memset_z900.
40402         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40403         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40404         and use prefixed functions.
40405         * sysdeps/s390/s390-64/multiarch/memcmp.S
40406         (memcmp_z196): Rename to __memcmp_z196.
40407         (memcmp_z10): Rename to __memcmp_z10.
40408         (memcmp): Set alias to __memcmp_z900.
40409         (bcmp): Set alias to __memcmp_z900.
40410         * sysdeps/s390/s390-64/multiarch/memcpy.S
40411         (memcpy_z196): Rename to __memcpy_z196.
40412         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40413         (memcpy_z10): Rename to __memcpy_z10.
40414         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40415         (memcpy): Set alias to __memcpy_z900.
40416         * sysdeps/s390/s390-64/multiarch/memset.S
40417         (memset_z196): Rename to __memset_z196.
40418         Jump to __memset_mvcle instead of memset_mvcle.
40419         (memset_z10): Rename to __memset_z10.
40420         Jump to __memset_mvcle instead of memset_mvcle.
40421         (memset_mvcle) Rename to __memset_mvcle.
40422         (memset): Set alias to __memset_z900.
40424 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40426         [BZ #17748]
40427         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40428         __fesetenv instead of fesetenv.
40430 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40432         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40433         macro.
40435 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40437         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40438         regression on LE.
40440         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40441         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40442         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40443         strncmp-power8 object.
40444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40445         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40446         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40447         * NEWS: Update.
40449 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40450             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40452         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40453         trailing byte check.
40455 2015-01-13  David S. Miller  <davem@davemloft.net>
40457         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40459 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40461         * login/logout.c (logout): Use memset rather than bzero.
40462         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40463         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40464         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40465         (_gethtbyaddr): Likewise.
40466         * locale/programs/simple-hash.c (bcopy): Macro removed.
40468 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40470         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40471         Add strcmp-power8 object.
40472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40473         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40474         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40475         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40476         __strcmp_power8 implementation.
40477         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40478         * NEWS: Update.
40480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40481         Add strncpy-power8 and stpncpy-power8 objects.
40482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40483         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40484         implementations.
40485         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40486         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40487         __stpncpy_power8 implementation.
40488         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40489         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40490         __strncpy_power8 implementation.
40491         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40492         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40493         * NEWS: Update.
40495         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40496         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40497         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40499         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40500         strncat-power8 object.
40501         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40502         __strcat_power8 implementation.
40503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40504         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40505         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40506         optimized strcat for power8.
40508         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40509         strcpy-power8 and stpcpy-power8 objects.
40510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40511         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40512         implementations.
40513         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40514         multiarch stpcpy implementation for POWER8.
40515         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40516         multiarch strcpy implementation for POWER8.
40517         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40518         __strcpy_power8 function.
40519         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40520         stpcpy for POWER8.
40521         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40522         strcpy for POWER8.
40523         * NEWS: Update.
40525 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40527         [BZ #16009]
40528         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40529         weights and rules. Use do_xfrm_cached if data fits in cache,
40530         do_xfrm otherwise.  Moved former main loop to...
40531         * (do_xfrm_cached): New function.
40532         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40533         find_idx, find_position and stack_push.
40534         * (find_idx): New function.
40535         * (find_position): Likewise.
40536         * localedata/sort-test.sh: Added test run for do_xfrm.
40537         * localedata/xfrm-test.c (main): Added command line option
40538         -nocache to run the test with strings that are too large for
40539         the STRXFRM cache.
40541 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40543         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40544         variable to lll_futex_wake call, not the value itself.
40546 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40548         [BZ #17803]
40549         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40550         twom64.  Adjust value to 0x1p-64L.
40551         (__scalblnl): Only return standard underflowing result for K <=
40552         -64 not K <= -63; adjust exponent for underflowing result by 64
40553         not 63.
40554         * math/libm-test.inc (scalbn_test_data): Add more tests.
40555         (scalbln_test_data): Likewise.
40557         [BZ #17834]
40558         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40559         0x1p63L.
40560         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40561         not HX.
40562         * math/libm-test.inc (scalbn_test_data): Add more tests.
40563         (scalbln_test_data): Likewise.
40565 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40566             Stefani Seibold  <stefani@seibold.net>
40568         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40569         (sysdep_routines): Add dl-vdso here, ...
40570         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40571         (sysdep_routines): ... not here.
40572         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40573         fallback when vDSO is not presented.
40574         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40575         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40576         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40577         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40578         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40579         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40580         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40581         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40582         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40584         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40585         fallback configurable symbol when vDSO is not available.
40586         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40587         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40588         be able to redefine fallback symbol when vDSO is not available.
40589         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40590         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40592 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40594         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40595         (TLS_INIT_TP): Add tm_capable initialization.
40596         (TLS_DEFINE_INIT_TP): Likewise.
40597         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40598         TCB.
40599         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40600         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40601         calculation.
40602         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40603         transactoion is lock elision is built and TCB tm_capable is set.
40604         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40606         (INTERNAL_SYSCALL_NCS): Likewise.
40607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40608         (INTERNAL_SYSCALL_NCS): Likewise.
40609         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40611         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40612         for powerpc.
40613         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40614         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40615         and remove it for 32 bits case.
40616         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40618         initialization.
40619         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40620         Disable lock elision with rdlocks if elision is not available.
40622         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40623         (sysdep_routines): Add lock elision objects.
40624         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40625         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40626         [pthread_mutex_t] (__elision): Add field.
40627         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40628         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40629         elision definitions for powerpc.
40630         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40631         implementation of lock elision for powerpc.
40632         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40633         implementation of timed lock elision for powerpc.
40634         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40635         implementation of trylock with lock elision for powerpc.
40636         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40637         implementaion of unlock for lock elision for powerpc.
40638         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40639         automatic enable lock elision for mutexes.
40640         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40641         transaction execution definitions for powerpc.
40642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40643         definitions.
40644         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40645         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40646         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40647         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40648         * NEWS: Update.
40650 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40652         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40653         for #include of <shm-directory.h>.
40655 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40657         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40658         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40660 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40662         [BZ #17791]
40663         * NEWS: Mention bug fix.
40664         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40665         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40666         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40668 2015-01-09  Torvald Riegel <triegel@redhat.com>
40670         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40672 2015-01-09  Torvald Riegel <triegel@redhat.com>
40674         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40676 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40678         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40679         pointer and cast to uintptr_t.
40681 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40683         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40684         removed.
40685         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40687 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40689         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40690         of 0.
40692 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40694         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40695         <nptl/pthreadP.h> instead.
40696         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40698         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40699         already defined.
40700         [__SIGRTMIN] (init): Function removed.
40701         [__SIGRTMIN] (initialized): Variable removed.
40702         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40703         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40704         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40705         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40706         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40707         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40708         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40709         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40710         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40711         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40712         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40713         * sysdeps/nptl/allocrtsig.c: New file.
40714         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40715         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40716         * sysdeps/generic/testrtsig.h: File removed.
40718         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40719         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40721         * nptl/nptl-init.c (pthread_functions): Conditionalize
40722         .ptr__nptl_setxid initialization on [SIGSETXID].
40724         * sysdeps/nptl/sys/procfs.h: New file.
40725         * nptl_db/Makefile (headers): Add it.
40726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40728         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40729         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40730         * nptl/pthread_attr_setaffinity.c: Include it.
40731         * nptl/pthread_setattr_default_np.c: Likewise.
40732         * nptl/check-cpuset.h: New file.
40734 2015-01-08  Richard Henderson  <rth@redhat.com>
40736         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40737         (CFLAGS-tst-execstack-prog.c): Likewise.
40738         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40740 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
40741             Sandra Loosemore  <sandra@codesourcery.com>
40742             Andrew Jenner  <andrew@codesourcery.com>
40743             Joseph Myers  <joseph@codesourcery.com>
40744             Nathan Sidwell  <nathan@codesourcery.com>
40746         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40747         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40748         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40749         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40750         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40751         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40752         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40753         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40754         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40755         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40756         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40757         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40758         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40759         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40760         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40761         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40762         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40764 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40766         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40767         timespec struct member in syscall macro.
40768         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40769         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40770         first timeval struct member in syscall macro.
40771         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40773 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
40775         [BZ #17748]
40776         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40777         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40778         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40779         __feupdateenv and define as weak alias of __feupdateenv.  Use
40780         libm_hidden_weak.
40781         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40782         libm_hidden_def.
40783         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40784         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
40785         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40786         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40787         libm_hidden_def.
40788         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40789         __feupdateenv and define as weak alias of __feupdateenv.  Use
40790         libm_hidden_weak.
40791         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40792         libm_hidden_def.
40793         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40794         __feupdateenv and define as weak alias of __feupdateenv.  Use
40795         libm_hidden_weak.
40796         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40797         libm_hidden_def.
40798         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40799         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40800         (__feupdateenv): Likewise.
40801         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40802         __feupdateenv and define as weak alias of __feupdateenv.  Use
40803         libm_hidden_weak.
40804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40805         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40806         libm_hidden_def.
40807         * sysdeps/tile/math_private.h (__feupdateenv): New inline
40808         function.
40809         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40810         libm_hidden_def.
40811         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40812         __feupdateenv instead of feupdateenv.
40813         (default_libc_feupdateenv_test): Likewise.
40814         (libc_feresetround_ctx): Likewise.
40816 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40818         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40819         prototype.
40821 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
40823         * posix/regcomp.c (parse_bracket_exp): Initialize type to
40824         COLL_SYM in a couple of places to avoid uninitialized variable
40825         wanings on tilegx gcc 4.8.2.
40827 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40829         * sysdeps/aarch64/strcpy.S: New file.
40830         * sysdeps/aarch64/stpcpy.S: New file.
40831         * NEWS: Updated.
40833 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40835         * sysdeps/aarch64/strrchr.S: New file.
40836         * NEWS: Updated.
40838 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
40840         [BZ #17658]
40841         * stdlib/setenv.c: Fix memory leak when setting large,
40842         duplicate string.
40844 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
40846         [BZ #17273]
40847         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40848         and tabs from buffer before parsing fstab entry.
40849         * misc/tst-mntent.c (main): Add test for mount entry with
40850         trailing spaces and tabs.
40852 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
40854         [BZ #17748]
40855         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
40856         * math/fesetround.c (fesetround): Rename to __fesetround and
40857         define as weak alias of __fesetround.  Use libm_hidden_weak.
40858         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40859         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40860         * sysdeps/arm/fesetround.c (fesetround): Likewise.
40861         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40862         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40863         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40864         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40865         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40866         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40867         __fesetround_inline.
40868         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40869         __fesetround_inline instead of __fesetround.
40870         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40871         __fesetround and define as weak alias of __fesetround.  Use
40872         libm_hidden_weak.  Call __fesetround_inline instead of
40873         __fesetround.
40874         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40875         __fesetround and define as weak alias of __fesetround.  Use
40876         libm_hidden_weak.
40877         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40878         Likewise.
40879         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40880         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40881         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40882         * sysdeps/tile/math_private.h (__fesetround): New inline function.
40883         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40884         __fesetround and define as weak alias of __fesetround.  Use
40885         libm_hidden_weak.
40886         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40887         __fesetround instead of fesetround.
40888         (default_libc_feholdexcept_setround): Likewise.
40889         (libc_feholdsetround_ctx): Likewise.
40890         (libc_feholdsetround_noex_ctx): Likewise.
40892         [BZ #17748]
40893         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40894         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40895         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40896         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40897         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40898         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40899         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40900         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40901         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40902         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40903         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40904         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40905         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40906         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40907         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40908         libm_hidden_def.
40909         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40910         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40911         Likewise.
40912         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40913         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40914         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40915         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40916         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40917         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40918         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40919         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40920         __fesetenv instead of fesetenv.
40921         (libc_feresetround_noex_ctx): Likewise.
40922         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40923         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40925         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40926         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40927         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40928         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40929         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40930         (__feupdateenv): Likewise.
40931         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40932         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40933         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40934         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40936 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40938         [BZ #17806]
40939         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40940         addresses have been freed.
40942 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40944         * resolv/res_init.c (__res_vinit): Improve comments about nserv
40945         and nservall.
40947 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
40949         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40950         Clean up check_pf allocation pattern. addresses
40952 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40954         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40955         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40956         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40957         * nptl/pthread_exit.c (__pthread_exit): Likewise.
40958         * nptl/pthread_join.c (pthread_join): Likewise.
40959         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40960         * sysdeps/posix/waitid.c (__waitid): Likewise.
40961         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40962         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40963         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40964         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40966         Likewise.
40967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40968         (__libc_pread64): Likewise.
40969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40970         (__libc_pwrite): Likewise.
40971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40972         (__libc_pwrite64): Likewsie.
40973         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40974         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40975         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40976         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40977         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40978         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40979         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40981         Likewise.
40982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40983         (__libc_pread64): Likewise.
40984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40985         Likewise.
40986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40987         (__libc_pwrite64): Likewise.
40988         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40989         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40990         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40991         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40992         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40993         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40994         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40995         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40996         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40997         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40998         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40999         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41000         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41001         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41002         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41003         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41004         Likewise.
41006 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41008         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41009         (CFLAGS-test-double.c): Likewise.
41010         (CFLAGS-test-ldouble.c): Likewise.
41011         (CPPFLAGS-test-ifloat.c): Likewise.
41012         (CPPFLAGS-test-idouble.c): Likewise.
41013         (CPPFLAGS-test-ildoubl.c): Likewise.
41014         (CFLAGS-test-test-fenv.c): Remove variable.
41015         (CFLAGS-test-misc.c): Likewise.
41017 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41019         [BZ #17797]
41020         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41021         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41022         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41023         CLOCKS_PER_SEC == 1000000.
41024         * time/clocktest.c (main): Replace %ld with %jd and cast to
41025         intmax_t.
41027 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41029         * sysdeps/generic/unwind-resume.h: New file.
41030         * sysdeps/gnu/unwind-resume.c: Include it.
41031         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41032         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41033         argument list.
41034         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41035         global rather than static.
41036         (_Unwind_Resume): Update user.
41037         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41038         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41039         rather than static.  Add __attribute__ ((cold)).
41040         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41041         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41042         * sysdeps/arm/arm-unwind-resume.S: New file.
41043         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41044         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41045         * sysdeps/arm/Makefile [$(subdir) = csu]
41046         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41047         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41048         Add rt-arm-unwind-resume.
41049         [$(subdir) = nptl]
41050         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41051         Add pt-arm-unwind-resume.
41052         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41053         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41055 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41057         [BZ #17748]
41058         * include/fenv.h (__feholdexcept): Declare.  Use
41059         libm_hidden_proto.
41060         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41061         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41062         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41063         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41064         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41065         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41066         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41067         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41068         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41069         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41070         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41071         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41072         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41073         (feholdexcept): Likewise.
41074         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41075         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41076         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41077         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41078         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41079         __feholdexcept instead of feholdexcept.
41080         (default_libc_feholdexcept_setround): Likewise.
41082 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41084         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41085         to avoid using stl/str to align destination.
41087 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41089         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41091 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41093         [BZ #17796]
41094         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41095         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41096         Define as weak alias not strong alias.
41098 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41100         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41101         bltzal with addiupc.
41102         (RTLD_START): Ditto.
41104 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41106         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41107         for __vdso_* functions in declarations.
41108         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41109         definitions.
41110         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41111         INTERNAL_VSYSCALL): Use struct return types to check for error.
41113         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41114         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41115         function with cast from llround().
41116         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41117         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41118         Define.
41120 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41122         [BZ #17793]
41123         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41124         Define as weak alias not strong alias.
41126         [BZ #17635]
41127         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41128         ...
41129         * ctype/ctype-extn.c: ... here.
41130         (__isblank_l): Move to ...
41131         * ctype/ctype-c99_l.c: ... here.  New file.
41132         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41133         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41134         Remove variable.
41135         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41136         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41137         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41138         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41139         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41141         [BZ #17777]
41142         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41143         (posix_fadvise64): Define as weak alias not strong alias.
41144         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41145         (posix_fallocate64): Likewise.
41146         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41147         Remove variable.
41148         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41149         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41150         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41151         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41152         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41154 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41156         [BZ #16191]
41157         * NEWS: Mention bug fix.
41158         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41159         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41160         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41161         (HOST_STACK_END_ADDR): Likewise.
41163 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41165         [BZ #17748]
41166         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41167         * math/fegetround.c (fegetround): Rename to __fegetround and
41168         define as weak alias of __fegetround.  Use libm_hidden_weak.
41169         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41170         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41171         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41172         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41173         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41174         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41175         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41176         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41177         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41178         Undefine after rather than before function definition; use
41179         parentheses around function name in definition.
41180         (__fegetround): Also undefine macro after function definition.
41181         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41182         __fegetround and define as weak alias of __fegetround.  Use
41183         libm_hidden_weak.  Do not undefine as macro.
41184         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41185         Likewise.
41186         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41187         __fegetround and define as weak alias of __fegetround.  Use
41188         libm_hidden_weak.
41189         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41190         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41191         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41192         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41193         __fegetround and define as weak alias of __fegetround.  Use
41194         libm_hidden_weak.
41195         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41196         __fegetround instead of fegetround.
41198         [BZ #17782]
41199         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41200         Condition macro definition on [__USE_MISC].
41202         [BZ #17781]
41203         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41204         (struct sigaction): Change type of sa_flags field to int.
41206         [BZ #17780]
41207         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41208         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41209         __glibc_reserved0.
41211         * nptl/version.c (banner): Use single year in copyright notice.
41213         * NEWS: Update copyright dates.
41214         * catgets/gencat.c (print_version): Likewise.
41215         * csu/version.c (banner): Likewise.
41216         * debug/catchsegv.sh: Likewise.
41217         * debug/pcprofiledump.c (print_version): Likewise.
41218         * debug/xtrace.sh (do_version): Likewise.
41219         * elf/ldconfig.c (print_version): Likewise.
41220         * elf/ldd.bash.in: Likewise.
41221         * elf/pldd.c (print_version): Likewise.
41222         * elf/sotruss.sh: Likewise.
41223         * elf/sprof.c (print_version): Likewise.
41224         * iconv/iconv_prog.c (print_version): Likewise.
41225         * iconv/iconvconfig.c (print_version): Likewise.
41226         * locale/programs/locale.c (print_version): Likewise.
41227         * locale/programs/localedef.c (print_version): Likewise.
41228         * login/programs/pt_chown.c (print_version): Likewise.
41229         * malloc/memusage.sh (do_version): Likewise.
41230         * malloc/memusagestat.c (print_version): Likewise.
41231         * malloc/mtrace.pl: Likewise.
41232         * manual/libc.texinfo: Likewise.
41233         * nptl/version.c (banner): Likewise.
41234         * nscd/nscd.c (print_version): Likewise.
41235         * nss/getent.c (print_version): Likewise.
41236         * nss/makedb.c (print_version): Likewise.
41237         * posix/getconf.c (main): Likewise.
41238         * scripts/test-installation.pl: Likewise.
41239         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41241 2015-01-02  Will Newton  <will.newton@linaro.org>
41243         * sysdeps/arm/armv7/configure: Removed.
41244         * sysdeps/arm/armv7/configure.ac: Likewise.
41246 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41248         * All files with FSF copyright notices: Update copyright dates
41249         using scripts/update-copyrights.
41250         * intl/plural.c: Regenerated.
41251         * locale/programs/charmap-kw.h: Likewise.
41252         * locale/programs/locfile-kw.h: Likewise.
41254 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41256         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41258 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41260         [BZ #17748]
41261         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41262         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41263         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41264         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41265         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41266         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41267         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41268         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41269         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41270         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41271         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41272         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41273         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41274         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41275         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41276         libm_hidden_def.
41277         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41278         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41279         Likewise.
41280         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41281         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41282         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41283         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41284         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41285         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41286         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41287         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41288         __fegetenv instead of fegetenv.
41289         (libc_feholdsetround_noex_ctx): Likewise.
41291 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41293         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41294         (Elf_MIPS_ABIFlags_v0): New structure.
41295         (EF_MIPS_FP64): Define.
41296         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41297         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41298         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41299         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41300         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41301         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41302         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41303         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41304         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41305         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41306         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41307         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41308         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41309         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41310         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41311         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41312         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41313         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41314         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41315         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41316         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41317         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41318         field.
41319         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41320         EF_MIPS_FP64.
41321         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41322         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41323         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41324         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41325         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41326         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41327         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41328         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41329         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41330         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41331         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41332         record the current FP ABI extension.
41333         (mips-mode-switch): Define to show if kernel headers support mode
41334         switching.
41335         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41336         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41337         supported SYSV ABI version to 3.
41338         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41339         feature.
41341 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41342             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41344         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41345         path.
41346         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41348 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41350         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41351         __fegetround and redefine to call __fegetround.  Remove condition
41352         on [!__NO_MATH_INLINES].
41353         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41354         function.
41355         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41356         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41357         Remove macro.
41358         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41359         instead of <fenv_libc.h>.
41360         (__llrintl): Call fegetround instead of __fegetround.
41361         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41362         instead of <fenv_libc.h>.
41363         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41364         (__lrintl): Call fegetround instead of __fegetround.
41365         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41366         instead of <fenv_libc.h>.
41367         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41368         (__rintl): Call fegetround instead of __fegetround.
41370 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41372         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41373         arrays.
41375 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41377         [BZ #17775]
41378         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41379         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41380         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41382 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41384         * sysdeps/i386/tls-macros.h: Include <features.h>.
41385         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41386         (TLS_IE): Likewise.
41387         (TLS_LD): Likewise.
41388         (TLS_GD): Likewise.
41389         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41390         define for GCC >= 5.0.
41392 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41394         * math/test-fenv.c (test_single_exception, set_single_exc,
41395         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41396         feexcp_mask_test, feenable_test, fe_single_test): Add
41397         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41398         case where they are not used.
41399         * math/libm-test.inc: Likewise.
41400         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41401         unused in the absence of FP rounding/exception support.
41402         * stdio-common/tst-printf-round.c: Likewise.
41403         * stdlib/tst-strtod-round.c: Likewise.
41404         * stdlib/tst-strtod-underflow.c: Likewise.
41406 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41408         [BZ #17723]
41409         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41410         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41411         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41412         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41413         libm_hidden_weak.
41414         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41415         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41416         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41417         libm_hidden_def.
41418         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41419         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41420         libm_hidden_weak.
41421         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41422         Likewise.
41423         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41424         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41425         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41426         libm_hidden_weak.
41427         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41428         libm_hidden_def.
41429         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41430         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41431         (__feraiseexcept): Likewise.
41432         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41433         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41434         libm_hidden_weak.
41435         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41436         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41437         libm_hidden_def.
41438         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41439         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41440         Use libm_hidden_def.
41441         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41442         libm_hidden_def.
41443         (feraiseexcept): Define as weak not strong alias.  Use
41444         libm_hidden_weak.
41445         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41446         New inline function.  Factored out of ...
41447         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41448         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41449         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41450         feraiseexcept.
41451         * math/w_acos.c (__acos): Likewise.
41452         * math/w_asin.c (__asin): Likewise.
41453         * math/w_ilogb.c (__ilogb): Likewise.
41454         * math/w_j0.c (y0): Likewise.
41455         * math/w_j1.c (y1): Likewise.
41456         * math/w_jn.c (yn): Likewise.
41457         * math/w_log.c (__log): Likewise.
41458         * math/w_log10.c (__log10): Likewise.
41459         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41460         * sysdeps/aarch64/fpu/math_private.h
41461         (libc_feupdateenv_test_aarch64): Likewise.
41462         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41463         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41464         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41465         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41466         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41467         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41468         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41469         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41470         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41471         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41473 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41475         [BZ #17732]
41476         * io/test-utime.c (main): Replace %ld with %jd and cast to
41477         intmax_t.
41478         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41479         * nptl/tst-mutex5.c: Include <stdint.h>.
41480         (do_test): Replace %ld with %jd and cast to intmax_t.
41481         * posix/tst-regex.c (run_test): Likewise.
41482         (run_test_backwards): Likewise.
41483         * rt/tst-clock.c: Include <stdint.h>.
41484         (clock_test): Replace %ld with %jd and cast to intmax_t.
41485         * rt/tst-cpuclock1.c: Include <stdint.h>.
41486         (do_test): Replace %lu with %ju and cast to uintmax_t.
41487         * rt/tst-cpuclock2.c: Include <stdint.h>.
41488         (do_test): Replace %lu with %ju and cast to uintmax_t.
41489         * rt/tst-mqueue1.c: Include <stdint.h>.
41490         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41491         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41492         intmax_t.
41493         * rt/tst-mqueue4.c (do_test): Likewise.
41494         * rt/tst-timer4.c: Include <stdint.h>.
41495         (check_ts): Replace %ld with %jd and cast to intmax_t.
41496         (do_test): Likewise.
41497         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41498         and cast to intmax_t.
41499         * sysdeps/pthread/tst-timer.c (main): Likewise.
41500         * time/clocktest.c (main): Likewise.
41501         * time/tst-posixtz.c (do_test): Likewise.
41502         * timezone/tst-timezone.c (main): Likewise.
41504 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41505             H.J. Lu  <hongjiu.lu@intel.com>
41507         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41508         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41509         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41510         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41511         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41512         version if bit_Fast_Unaligned_Load is set.
41513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41520         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41521         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41522         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41523         to 4.
41524         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41525         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41526         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41527         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41529 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41531         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41532         instead of #if to avoid a Wundef warning.
41533         * stdlib/tst-limits.c (do_test): Likewise.
41535         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41536         parallel other exception macros.
41537         (fegetenv): Convert from macro to extern inline so that it applies
41538         retroactively to inline functions already seen by the compiler.
41539         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41541         * posix/Makefile (before-compile): Use $(objpfx) for
41542         posix-conf-vars-def.h.
41544 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41546         * posix/getconf.c (main): Use size_t for type of I.
41547         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41548         NSPEC.
41550         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41551         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41552         * posix/posix-envs.def: Likewise.
41553         * sysdeps/posix/sysconf.c: Likewise.
41554         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41555         (specs): Remove array.
41556         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41557         array.
41559         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41560         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41561         (__sysconf): Use CONF_IS_* macros.
41563         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41564         ($(objpfx)posix-conf-vars-def.h): New target.
41565         * posix/posix-conf-vars.list: New file.
41566         * posix/posix-conf-vars.h: New file.
41567         * posix/confstr.c: Include posix-conf-vars.h.
41568         (confstr): Use CONF_IS_* macros.
41569         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41570         CONF_IS_* macros.
41571         * scripts/gen-posix-conf-vars.awk: New file.
41573 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41575         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41576         fegetround): Add no-op macros to avoid linknamespace issues.
41578         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41579         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41581         * sysdeps/unix/sysv/linux/tile/sysdep.h
41582         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41583         assembly-specific section to avoid a redefinition warning.
41585         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41586         long before casting to pointer to avoid a cast warning.
41588 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41590         * sysdeps/tile/tilegx/Implies: New file.
41592 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41594         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41596 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41598         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41600 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41603         not define.
41604         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41605         <kernel-features.h>.
41606         (__utimes) [__NR_utimes]: Make code unconditional.
41607         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41608         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41609         (__ASSUME_UTIMES): Do not undefine.
41610         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41611         (__ASSUME_UTIMES): Likewise.
41612         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41613         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41614         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41615         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41617 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41619         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41621 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41623         [BZ #17747]
41624         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41625         alias to weak alias for j0l, y0l.
41626         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41627         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41629         [BZ #17746]
41630         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41631         conversion.
41633 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41635         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41636         to zero if not already defined.
41638 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41640         [BZ #17724]
41641         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41642         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41643         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41644         (char *) casts added.
41645         * sysdeps/ieee754/k_standardf.c: New file.
41646         * sysdeps/ieee754/k_standardl.c: Likewise.
41647         * math/Makefile (libm-support): Remove k_standard.
41648         (libm-calls): Add k_standard.
41650 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41652         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41653         Optimize to avoid an unnecessary FPCR read.
41655 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41657         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41658         Optimize to reduce FPCR/FPSR accesses.
41660 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41662         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41663         Call libc_fetestexcept_aarch64.
41665 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41667         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41668         Call libc_fesetround_aarch64.
41670 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41672         [BZ #17733]
41673         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41674         (__bind): Do not define as weak alias.
41675         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41676         define.
41677         (__getsockname): Do not define as weak alias.
41679 2014-12-22  Will Newton  <will.newton@linaro.org>
41681         * manual/install.texi: Document that we require bison 2.7
41682         or above.
41683         * INSTALL: Regenerate.
41684         * configure.ac: Use AC_CHECK_PROG_VER instead of
41685         AC_PATH_PROG when checking for bison and check for
41686         version 2.7 or above.
41687         * configure: Regenerate.
41689 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41691         [BZ #17745]
41692         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41693         * sysdeps/tile/ffsll.c (ffsll): To here.
41695         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41697 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41699         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41700         if not defined.
41701         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41702         definition.
41703         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41704         hidden ___tls_get_addr.
41705         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41706         hidden __tls_get_addr.
41707         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41708         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41709         Likewise.
41711 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41713         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41714         _dl_init call.
41716 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41718         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41719         from "call _dl_init@PLT".
41720         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41722 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
41724         * manual/search.texi: (Array Sort Function): Clarify stable sorting
41725         guarantees.
41727 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
41729         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41731 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41733         [BZ #17744]
41734         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41735         strnlen.
41737 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41739         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41740         of multu on MIPSr6.
41741         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41742         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41743         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41744         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41745         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41747 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41749         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41750         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41751         (PTR_SUBU): Use subu for mips32r6/mips64r6.
41752         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41753         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41754         mips32r6/mips64r6.
41755         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41757 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
41759         * string/strncat.c (STRNCAT): Simplify implementation.
41761 2014-12-19  David S. Miller  <davem@davemloft.net>
41763         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41764         access the quad as both a long double and as a series of 4 words.
41766         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41767         link_map->l_info array access.
41769 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41771         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41773         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41774         * math/atest-exp2.c (TIMEOUT): Likewise.
41775         * math/atest-sincos.c (TIMEOUT): Likewise.
41777 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41779         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41780         -Wno-error with -fno-builtin-lround.
41782 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41784         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41785         Contains futex constants and functions moved over from ...
41786         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
41787         <lowlevellock-futex.h>.
41788         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41789         (lll_timedwait_tid): Add comments and parentheses around macro
41790         arguments.
41792 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41794         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41795         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
41796         (__lll_private_flag): Remove.
41797         (lll_futex_wait): Likewise.
41798         (lll_futex_timed_wait): Likewise.
41799         (lll_futex_wake): Likewise.
41800         (lll_futex_requeue): Likewise.
41801         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41802         (__lll_timedwait_tid): Spell out argument names.
41803         (lll_timedwait_tid): Add comments and parentheses around macro
41804         arguments.
41805         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41806         LLL_SHARED and LLL_PRIVATE usable from assembly code.
41808 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41810         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41811         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41812         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41813         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41814         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41815         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41816         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41817         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41818         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41819         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41820         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41821         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41822         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41823         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41824         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41825         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41826         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41827         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41828         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41830 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41832         * sysdeps/x86_64/x32/Makefile: New file.
41834 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41836         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41837         1L with (mp_limb_t) 1.
41839 2014-12-17  Roland McGrath  <roland@hack.frob.com>
41841         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41842         * nptl/libc_pthread_init.c: ... here.
41843         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41844         * nptl/register-atfork.c: ... here.
41846         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41847         Use pthread_sigmask rather than INTERNAL_SYSCALL.
41848         Use assert_perror to check its return value.
41849         (__gai_create_helper_thread): Likewise.
41851         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41853         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41855 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
41857         [BZ #17725]
41858         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41859         __profil_counter.
41860         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41861         Likewise.
41862         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41863         Likewise.
41864         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41865         Likewise.
41866         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41867         (profil_counter): Likewise.
41868         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41869         (profil_counter): Likewise.
41870         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41871         Likewise.
41872         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41873         Likewise.
41874         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41875         (profil_counter): Likewise.
41876         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41877         Likewise.
41878         [!__profil_counter] (profil_counter): Define as weak alias of
41879         __profil_counter.
41880         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41881         (profil_counter): Rename to __profil_counter.
41882         [!__profil_counter] (profil_counter): Define as weak alias of
41883         __profil_counter.
41884         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41885         (profil_counter): Rename to __profil_counter.
41886         [!__profil_counter] (profil_counter): Define as weak alias of
41887         __profil_counter.
41888         * sysdeps/posix/profil.c: Update comment referring to
41889         profil_counter.
41890         (__profil): Use __profil_counter instead of profil_counter.
41891         * sysdeps/posix/sprofil.c (profil_counter): Rename to
41892         __profil_counter.  Use __profil_counter_ushort and
41893         __profil_counter_uint in definitions.
41894         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41895         instead of profil_counter_uint and profil_counter_ushort.
41897         [BZ #17722]
41898         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41899         define as weak alias of __inet_makeaddr.
41900         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41901         as weak alias of __inet_addr.
41902         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41903         as weak alias of __inet_pton.  Use libc_hidden_weak.
41904         * include/arpa/inet.h (__inet_pton): Declare.  Use
41905         libc_hidden_proto.
41906         (inet_makeaddr): Don't use libc_hidden_proto.
41907         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
41908         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41909         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
41910         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41911         Remove variable.
41912         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41913         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41915 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
41917         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41919 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41921         * stdio-common/bug-vfprintf-nargs.c (do_test):
41922         Cast value to intptr_t to avoid format warning
41923         for usage with PRIdPTR printing macro.
41925 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41927         * libio/tst-widetext.c (do_test):
41928         Use format type %td instead of %Zd for ptrdiff_t
41929         in order to avoid format warning.
41931 2014-12-17  Andreas Schwab  <schwab@suse.de>
41933         * nscd/mem.c (gc): Add size_t cast to match printf format.
41935 2014-12-16  Roland McGrath  <roland@hack.frob.com>
41937         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41938         (init): Apply PTR_MANGLE to pointers before storing them.
41939         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41940         before using them.
41942 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
41944         [BZ #17719]
41945         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41946         define as weak alias of __memrchr.
41947         (__memrchr): Do not define as strong alias of memrchr.
41948         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41949         Remove variable.
41950         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41951         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41952         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41954         [BZ #17717]
41955         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41956         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
41957         (if_indextoname): Rename to __if_indextoname and define as weak
41958         alias of __if_indextoname.  Use libc_hidden_weak.
41959         (if_freenameindex): Rename to __if_freenameindex and define as
41960         weak alias of __if_freenameindex.
41961         (if_nameindex): Rename to __if_nameindex and define as weak alias
41962         of __if_nameindex.
41963         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41964         __if_nametoindex and define as weak alias of __if_nametoindex.
41965         Use libc_hidden_weak.
41966         (if_freenameindex): Rename to __if_freenameindex and define as
41967         weak alias of __if_freenameindex.
41968         (if_nameindex): Rename to __if_nameindex and define as weak alias
41969         of __if_nameindex.
41970         (if_indextoname): Rename to __if_indextoname and define as weak
41971         alias of __if_indextoname.  Use libc_hidden_weak.
41972         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41973         __if_nametoindex and define as weak alias of __if_nametoindex.
41974         Use libc_hidden_weak.
41975         (if_freenameindex): Rename to __if_freenameindex and define as
41976         weak alias of __if_freenameindex.  Use libc_hidden_weak.
41977         (if_nameindex_netlink): Use __if_freenameindex instead of
41978         if_freenameindex.
41979         (if_nameindex): Rename to __if_nameindex and define as weak alias
41980         of __if_nameindex.  Use libc_hidden_weak.
41981         (if_indextoname): Rename to __if_indextoname and define as weak
41982         alias of __if_indextoname.  Use libc_hidden_weak.
41983         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41984         libc_hidden_proto.
41985         [!_ISOMAC] (__if_freenameindex): Likewise.
41986         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41987         if_nametoindex.
41988         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41989         variable.
41990         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41991         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41992         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41993         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41994         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41995         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41996         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41998         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41999         Remove variable.
42000         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42001         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42003 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42005         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42006         subscript above bounds'
42008         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42009         bounds.
42011 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42013         * libio/tst-fopenloc.c: Use test-skeleton.c.
42015         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42016         (entry): Rename to ITEM.
42017         (do_test, comp): Adjust.
42019         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42021 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42023         * string/tester.c: Include <libc-internal.h>.
42024         (test_memset): Ignore -Wmemset-transposed-args.
42026 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42028         * misc/tst-mntent2.c (do_test): Fix warning.
42030 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42032         * elf/tst-unique4lib.cc(a): Mark as used.
42034 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42036         [BZ #17630]
42037         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42038         names.
42040 2014-12-16  Allan McRae  <allan@archlinux.org>
42042         * stdio-common/Makefile (tests): Re-add bug26.
42044 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
42046         [BZ #17657]
42047         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42048         static array.
42050 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42052         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42053         (__lll_lock_wait): Likewise.
42054         (__lll_timedlock_wait): Likewise.
42055         (__lll_timedwait_tid): Likewise.
42056         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42057         (__lll_robust_timedlock_wait): Likewise.
42058         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42059         (lll_cond_trylock): Likewise.
42060         (__lll_lock): Likewise.
42061         (__lll_robust_lock): Likewise.
42062         (__lll_cond_lock): Likewise.
42063         (lll_robust_cond_lock): Likewise.
42064         (__lll_timedlock): Likewise.
42065         (__lll_robust_timedlock): Likewise.
42066         (__lll_unlock): Likewise.
42067         (__lll_robust_unlock): Likewise.
42068         (lll_wait_tid): Likewise.
42069         (lll_timedwait_tid): Likewise.
42071 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42073         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42075 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42077         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42079 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42081         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42082         * stdio-common/tst-sprintf.c: Likewise.
42084 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42086         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42088 2014-12-15  Jeff Law  <law@redhat.com>
42090         [BZ #16617]
42091         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42092         on the heap.  (CVE-2012-3406)
42093         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42094         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42095         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42097 2014-12-15  Will Newton  <will.newton@linaro.org>
42099         * manual/install.texi: Bump required version of texinfo
42100         to 4.7 from 4.5.
42101         * INSTALL: Regenerated.
42102         * configure.ac: Check for makeinfo version 4.7 and above.
42103         * configure: Regenerated.
42105 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42107         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42108         PREFIX, string constant to insert between directory and name.
42109         * sysdeps/posix/shm_open.c: Update caller.
42110         * sysdeps/posix/shm_unlink.c: Likewise.
42111         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42112         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42113         (SEM_SHM_PREFIX): New macro.
42114         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42115         [$(have-thread-library) = no].
42116         * nptl/Makefile (libpthread-routines): Add shm-directory.
42117         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42118         * sysdeps/nptl/shm-directory.h: New file.
42119         * sysdeps/posix/shm-directory.c
42120         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42121         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42122         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42123         INTERNAL_SYSCALL.
42124         (__where_is_shmfs): Function removed.
42125         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42126         Variables removed.
42127         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42128         Use SHM_GET_NAME.
42129         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42131         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42132         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42133         unconditional for use inside libpthread.
42134         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42136 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42138         * nptl/pthread_getaffinity.c: New file.
42139         * nptl/pthread_setaffinity.c: New file.
42140         * nptl/pthread_getname.c: New file.
42141         * nptl/pthread_setname.c: New file.
42143         * nptl/pthread_create.c (START_THREAD_DEFN)
42144         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42146 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42147             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42149         * resolv/res_send.c (send_vc): Disable warning resplen may
42150         be used uninitialized.
42152 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42154         * nptl/tst-mutex6.c
42155         (ATTR_NULL): New define checks ATTR against NULL.
42156         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42157         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42159 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42161         [BZ #17581]
42162         * malloc/hooks.c
42163         (mem2mem_check): Revert my previous change.
42164         (malloc_check_get_size): Revert my previous change.
42165         (mem2chunk_check): Revert my previous change.
42167 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42169         * sysdeps/posix/shm-directory.c: New file.
42170         * sysdeps/posix/shm-directory.h: New file.
42171         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42172         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42173         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42174         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42175         Transmute EPERM to EACCES.
42176         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42177         from ...
42178         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42179         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42181 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42183         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42184         pointer and cast to uintptr_t.
42185         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42186         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42187         Add cast to avoid warning.
42188         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42190 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42192         * nptl/semaphore.h: Move to ...
42193         * sysdeps/pthread/semaphore.h: ... here.
42194         * Makefile (installed-headers): Change nptl/semaphore.h to
42195         sysdeps/pthread/semaphore.h.
42197 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42199         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42200         generated error format strings.
42202         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42203         -Wformat-extra-args warnings for scanf formats.
42204         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42205         test of zero-length format (duh).
42206         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42207         corner-case scanf format test.
42208         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42209         generated fprintf format string.
42210         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42211         corner-case sprintf format tests.
42212         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42213         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42214         -Wformat-extra-args warnings throughout.
42215         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42216         (CFLAGS-scanf4.c): Likewise.
42217         (CFLAGS-scanf7.c): Likewise.
42218         (CFLAGS-tst-sprintf.c): Likewise.
42219         (CFLAGS-tst-printf.c): Likewise.
42220         (CFLAGS-tst-printfsz.c): Likewise.
42222 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42224         * include/cpio.h: New file.
42225         * include/fmtmsg.h: Likewise.
42227         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42228         corresponding format argument to size_t.
42229         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42230         arguments.
42231         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42232         corresponding format argument to size_t.
42233         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42234         arguments.
42235         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42236         corresponding format argument to size_t.
42237         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42238         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42239         (CFLAGS-tst-mbswcs2.c): Likewise.
42240         (CFLAGS-tst-mbswcs3.c): Likewise.
42241         (CFLAGS-tst-mbswcs4.c): Likewise.
42242         (CFLAGS-tst-mbswcs5.c): Likewise.
42243         (CFLAGS-tst-trans.c): Likewise.
42245 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42247         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42248         rather than assuming they won't contain any '%'s.
42250 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42252         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42253         inhibit_loop_to_libcall to avoid recursive calls.
42254         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42255         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42257 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42259         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42260         prototype.
42262 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42264         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42265         integer value instead of boolean.
42267 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42269         * malloc/malloc.c: Fix powerof2 check.
42271 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42273         * locale/programs/locfile.h (maybe_swap_uint32):
42274         Remove inline and add unused attribute.
42276 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42278         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42279         Truncating assembler expression to a .long expression.
42281 2014-12-11  Andreas Schwab  <schwab@suse.de>
42283         * elf/rtld.c (struct map_args): Constify str member.
42284         (do_preload): Constify fname argument.
42286 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42289         constants definition.
42291 2014-12-11  Andreas Schwab  <schwab@suse.de>
42293         [BZ #16657]
42294         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42295         FORCE_ELISION instead of DO_ELISION.
42296         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42297         Remove.
42298         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42299         Likewise.
42301         * iconvdata/gconv-modules: Remove duplicate entry.
42303 2014-12-11  Will Newton  <will.newton@linaro.org>
42305         Merge gettext 0.19.3 into intl/.
42307         This involves a number of cosmetic changes to comments
42308         and ANSI function definitions and prototypes throughout
42309         all the files. The gettext copyright header is used but
42310         with the date ranges taken from the glibc copy.
42312         * NEWS: Add gettext merge to 2.21.
42313         * intl/bindtextdom.c: Switch to gettext copyright.
42314         Use ANSI definitions and prototypes.
42315         Use gl_* locking primitives rather than __libc_* ones.
42316         Use __builtin_expect rather than __glibc_likely/unlikely.
42317         * intl/dcgettext.c: Switch to gettext copyright.
42318         Use ANSI definitions and prototypes.
42319         * intl/dcigettext.c: Switch to gettext copyright.
42320         Use ANSI definitions and prototypes.
42321         (INTDIV0_RAISES_SIGFPE): New define.
42322         Use gl_* locking primitives rather than __libc_* ones.
42323         Include eval-plural.h instead of plural-eval.c.
42324         Use __builtin_expect rather than __glibc_likely/unlikely.
42325         * intl/dcngettext.c: Switch to gettext copyright.
42326         Use ANSI definitions and prototypes.
42327         * intl/dgettext.c: Likewise.
42328         * intl/dngettext.c: Likewise.
42329         * intl/plural-eval.c: Renamed to...
42330         * intl/eval-plural.h: ...this.
42331         * intl/explodename.c: Switch to gettext copyright.
42332         Use ANSI definitions and prototypes.
42333         (_nl_explode_name): Use strchr instead of __rawmemchr.
42334         * intl/finddomain.c: Switch to gettext copyright.
42335         Use ANSI definitions and prototypes.
42336         Use gl_* locking primitives rather than __libc_* ones.
42337         (_nl_find_domain): Use malloc rather than alloca for
42338         allocation of temporary locale name.
42339         * intl/gettext.c: Switch to gettext copyright.
42340         Use ANSI definitions and prototypes.
42341         * intl/gettextP.h: Switch to gettext copyright.
42342         Use ANSI definitions and prototypes.
42343         Use gl_* locking primitives rather than __libc_* ones.
42344         * intl/gmo.h: Switch to gettext copyright.
42345         (struct sysdep_string): Move struct segment_pair outside of
42346         struct definition.
42347         * intl/hash-string.c: Use ANSI definitions and prototypes.
42348         * intl/hash-string.h: Switch to gettext copyright.
42349         Use ANSI definitions and prototypes.
42350         * intl/l10nflist.c: Switch to gettext copyright.
42351         Use ANSI definitions and prototypes.
42352         (_nl_normalize_codeset): Avoid integer overflow.
42353         * intl/loadinfo.h: Switch to gettext copyright.
42354         Use ANSI definitions and prototypes.
42355         (LIBINTL_DLL_EXPORTED): New define.
42356         (PATH_SEPARATOR): New define.
42357         * intl/loadmsgcat.c: Switch to gettext copyright.
42358         * intl/localealias.c: Switch to gettext copyright.
42359         Use ANSI definitions and prototypes.
42360         (_nl_expand_alias): Use PATH_SEPARATOR.
42361         * intl/ngettext.c: Switch to gettext copyright.
42362         Use ANSI definitions and prototypes.
42363         * intl/plural-exp.c: Likewise.
42364         * intl/plural-exp.h: Switch to gettext copyright.
42365         Use ANSI definitions and prototypes.
42366         (struct expression): Move definition of enum operator outside
42367         of struct definition.
42368         * intl/plural.c: Regenerate.
42369         * intl/plural.y: Switch to gettext copyright.
42370         Use ANSI definitions and prototypes.
42371         Port to bison 3.0.
42372         * intl/textdomain.c: Switch to gettext copyright.
42373         Use ANSI definitions and prototypes.
42374         Use gl_* locking primitives rather than __libc_* ones.
42376 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42378         * debug/warning-nop.c: Add used atrribute.
42380 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42382         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42384         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42385         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42386         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42388 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42389             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42391         [BZ #17634]
42392         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42393         Undefine after defining function.  Define as weak alias of
42394         __wcschr.  Use libc_hidden_weak.
42395         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42396         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42397         (libc_hidden_def): Also define __GI___wcschr alias.
42398         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42399         __wcschr and define as weak alias of __wcschr.
42400         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42401         __wcschr.
42402         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42403         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42404         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42405         libc_hidden_weak.  Do not use libc_hidden_def.
42406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42407         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42408         __GI___wcschr alias.
42409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42410         [IS_IN (libc)] (wcschr): Define as macro expanding to
42411         __redirect_wcschr.
42412         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42413         [IS_IN (libc)] (__wcschr_power6): Likewise.
42414         [IS_IN (libc)] (__wcschr_power7): Likewise.
42415         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42416         instead of wcschr.
42417         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42418         __libc_wcschr.
42419         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42420         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42421         __wcschr and define as weak alias of __wcschr.  Use
42422         libc_hidden_builtin_def.
42423         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42424         as weak alias of __wcschr.  Use libc_hidden_weak.
42425         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42426         wcschr.
42427         * time/era.c (_nl_init_era_entries): Likewise.
42428         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42429         variable.
42430         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42431         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42433 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42435         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42436         format for long int variable.
42438 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42440         [BZ #10672]
42441         * manual/search.texi: (Array Sort Function): Remove claim how to make
42442         qsort stable.
42444 2014-12-10  Andreas Schwab  <schwab@suse.de>
42446         [BZ #12847]
42447         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42448         user-controlled locks.
42450 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42452         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42453         register.
42455 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42457         * configure.ac (--disable-werror): New configure option.
42458         (enable_werror): New AC_SUBST.
42459         * configure: Regenerated.
42460         * config.make.in (enable-werror): New variable.
42461         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42462         -Wno-error=undef.
42463         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42464         * manual/install.texi (Configuring and compiling): Document
42465         --disable-werror.
42466         * INSTALL: Regenerated.
42467         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42468         (CFLAGS-tst-chk2.c): Likewise.
42469         (CFLAGS-tst-chk3.c): Likewise.
42470         (CFLAGS-tst-chk4.cc): Likewise.
42471         (CFLAGS-tst-chk5.cc): Likewise.
42472         (CFLAGS-tst-chk6.cc): Likewise.
42473         (CFLAGS-tst-lfschk1.c): Likewise.
42474         (CFLAGS-tst-lfschk2.c): Likewise.
42475         (CFLAGS-tst-lfschk3.c): Likewise.
42476         (CFLAGS-tst-lfschk4.cc): Likewise.
42477         (CFLAGS-tst-lfschk5.cc): Likewise.
42478         (CFLAGS-tst-lfschk6.cc): Likewise.
42480         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42481         (main): Disable -Wdeprecated-declarations around calls to
42482         register_printf_function.
42484         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42485         (do_test): Disable -Wdiv-by-zero around some calls to
42486         fwrite_unlocked and fread_unlocked.
42488         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42489         (DIAG_POP_NEEDS_COMMENT): Likewise.
42490         (_DIAG_STR1): Likewise.
42491         (_DIAG_STR): Likewise.
42492         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42493         * stdio-common/bug21.c: Include <libc-internal.h>.
42494         (do_test): Disable -Wformat around call to sscanf.
42495         * stdio-common/scanf14.c: Include <libc-internal.h>.
42496         (main): Disable -Wformat around some calls to scanf functions.
42498 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42500         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42502 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42504         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42505         stack variable alignment.
42507 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42509         [BZ #17682]
42510         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42511         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42512         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42513         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42514         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42515         __getrlimit instead of getrlimit.
42516         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42517         __gettimeofday instead of gettimeofday.
42518         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42519         Likewise.
42520         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42521         Likewise.
42522         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42523         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42524         Remove variable.
42525         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42526         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42528 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42530         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42531         for wide-character tests.
42533 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42535         * io/openat64.c: #include <libc-internal.h>
42536         (__openat64): Prototypify.  Use ignore_value on MODE.
42537         * io/openat.c: Likewise.
42538         * misc/reboot.c: #include <libc-internal.h>
42539         (reboot): Prototypify.  Use ignore_value on HOWTO.
42540         * misc/ptrace.c: #include <libc-internal.h>
42541         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42543 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42545         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42546         XPG4, UNIX98 and XOPEN2K.
42547         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42548         Remove variable.
42549         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42551 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42553         * libio/fileops.c: Use ISO C style for function definitions.
42554         * libio/iofopen.c: Likewise.
42555         * libio/wfileops.c: Likewise.
42557         [BZ #17653]
42558         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42559         offset on EOF.
42560         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42561         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42562         (fgets_func): Function pointer to fgets and fgetws.
42563         (do_ftell_test): Add test to verify ftell value after read
42564         EOF.
42565         (do_test): Set fgets_func.
42567         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42568         O_TRUNC flag for w and w+ modes.
42569         (do_rewind_test): Likewise.
42570         (do_ftell_test): Likewise.
42571         (do_write_test): Likewise.
42573         [BZ #17647]
42574         * libio/fileops.c (do_ftell): Seek only when there are
42575         unflushed writes.
42576         * libio/wfileops.c (do_ftell_wide): Likewise.
42577         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42578         test case.
42579         (do_one_test): Call it.
42581 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42583         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42584         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42585         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42586         Remove variable.
42587         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42588         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42589         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42591 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42593         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42594         Remove variable.
42595         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42597         [BZ #17668]
42598         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42599         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42600         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42601         __freeifaddrs.  Use libc_hidden_weak.
42602         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42603         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42604         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42605         __freeifaddrs.  Use libc_hidden_weak.
42606         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42607         __getifaddrs and define as weak alias of __getifaddrs.  Use
42608         libc_hidden_weak.
42609         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42610         __freeifaddrs.  Use libc_hidden_weak.
42611         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42612         Remove variable.
42613         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42614         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42616 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42618         [BZ #17601]
42619         * sysdeps/mips/start.S (__start): Use indirect jump to call
42620         __libc_start_main.
42622 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42624         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42626         * nptl/tst-mutex1.c: Include <stdbool.h>.
42627         [!ATTR] (ATTR_NULL): New macro.
42628         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42629         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42630         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42632         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42633         to char *.
42635         [BZ #17665]
42636         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42637         Change conditional to [__USE_MISC].
42639         [BZ #17664]
42640         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42641         fgets_unlocked.
42642         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42643         __fgets_unlocked.
42644         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42645         fgets_unlocked.
42646         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42647         Remove variable.
42648         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42649         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42650         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42651         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42652         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42653         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42654         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42655         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42656         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42658         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42660 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42662         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42663         Remove strpbrk objects.
42664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42665         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42666         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42667         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42668         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42669         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42671         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42672         Remove strcspn objects.
42673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42674         (__libc_ifunc_impl_list): Remove strcspn implementation.
42675         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42676         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42677         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42678         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42680         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42681         Remove strspn objetcs.
42682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42683         (__libc_ifunc_impl_list): Remove strspn implementation.
42684         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42685         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42686         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42687         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42689 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42691         [BZ #17581]
42692         * malloc/hooks.c
42693         (mem2mem_check): Add a terminator to the chain of checking blocks.
42694         (malloc_check_get_size): Use it here.
42695         (mem2chunk_check): Ditto.
42697 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42699         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42700         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42702 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42704         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42706         * nptl/nptl-init.c: Include libc-internal.h.
42707         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42709         * elf/ldconfig.c (search_dir): Expand comment.
42711 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
42713         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42714         variable.
42715         (linknamespace-symlist-stdlibs-tests): Likewise.
42716         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42717         instead of $(objpfx)symlist-stdlibs.
42718         (linknamespace-libs-isoc): New variable.
42719         (linknamespace-libs): Use $(linknamespace-libs-isoc).
42720         (linknamespace-libs-ISO): New variable.
42721         (linknamespace-libs-ISO99): Likewise.
42722         (linknamespace-libs-ISO11): Likewise.
42723         (linknamespace-libs-XPG3): Likewise.
42724         (linknamespace-libs-XPG4): Likewise.
42725         (linknamespace-libs-POSIX): Likewise.
42726         (linknamespace-libs-UNIX98): Likewise.
42727         (linknamespace-libs-XOPEN2K): Likewise.
42728         (linknamespace-libs-POSIX2008): Likewise.
42729         (linknamespace-libs-XOPEN2K8): Likewise.
42730         ($(objpfx)symlist-stdlibs): Replace by
42731         $(linknamespace-symlist-stdlibs-tests).  Use
42732         $(linknamespace-libs-$*) as set of libraries.
42733         ($(linknamespace-header-tests)): Update dependencies.  Use
42734         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42735         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42736         * conform/linknamespace.pl: Remove comment about considering
42737         definitions of symbols from irrelevant libraries.
42739 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
42741         [BZ #13862]
42742         * elf/dl-tls.c: Include <atomic.h>.
42743         (oom): Remove #ifdef SHARED/#endif.
42744         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42745         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
42746         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42747         big enough.
42748         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42749         * nptl/Makefile (tests): Add tst-stack4.
42750         (modules-names): Add tst-stack4mod.
42751         ($(objpfx)tst-stack4): New.
42752         (tst-stack4mod.sos): Likewise.
42753         ($(objpfx)tst-stack4.out): Likewise.
42754         ($(tst-stack4mod.sos)): Likewise.
42755         (clean): Likewise.
42756         * nptl/tst-stack4.c: New file.
42757         * nptl/tst-stack4mod.c: Likewise.
42759 2014-11-27  J. Brown  <jb999@gmx.de>
42761         * sysdeps/x86/bits/string.h: Add recent CPUs.
42763 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42765         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42766         sigblock.
42768         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42769         feof.
42771         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42772         variable.
42774 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
42776         * nscd/connections.c: Include libc-internal.h because of macro
42777         usage ignore_value.
42779 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42781         * string/bits/string3.h (__warn_memset_zero_len): Don't
42782         declare for gcc newer than 5.0.
42783         (memset): Don't test for zero-length __LEN for gcc newer than
42784         5.0.
42786 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42788         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42789         size_t for %zu format.
42791         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42792         difference, not %ju.
42794 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42796         * include/libc-internal.h (ignore_value): New macro.
42797         * nscd/connections.c (restart): Wrap calls to setuid and setgid
42798         with ignore_value.
42800         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42801         definition.
42803         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42804         pthread_cleanup_push to void *.
42806         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42807         Undefine.
42809         [BZ #16619]
42810         [BZ #16740]
42811         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42812         instead of 1L << 52.
42814         * libio/bug-rewind.c (do_test): Check fwscanf return values.
42815         * libio/bug-rewind2.c (do_test): Likewise.
42817         * debug/test-stpcpy_chk-ifunc.c: Remove file.
42818         * debug/test-strcpy_chk-ifunc.c: Likewise.
42819         * wcsmbs/test-wcschr-ifunc.c: Likewise.
42820         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42821         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42822         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42823         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42824         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42825         * Rules [$(multi-arch) = no] (tests): Do not filter out
42826         $(tests-ifunc).
42827         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42828         * debug/Makefile (tests-ifunc): Remove variable.
42829         (tests): Do not add $(tests-ifunc).
42830         * wcsmbs/Makefile (tests-ifunc): Remove variable.
42831         (tests): Do not add $(tests-ifunc).
42832         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42833         [TEST_IFUNC]: Remove conditionals.
42834         * string/test-string.h (TEST_IFUNC): Remove macro.
42835         [TEST_IFUNC]: Remove conditionals.
42837         * string/test-strchr.c [!WIDE] (L): New macro.
42838         [WIDE] (L): Likewise.
42839         (check1): Use CHAR instead of char.  Use L on string and character
42840         constants.
42842 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
42844         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42845         tests.
42846         * sysdeps/powerpc/bits/atomic.h
42847         (__arch_atomic_exchange_and_add_32_acq): Add definition.
42848         (__arch_atomic_exchange_and_add_32_rel): Likewise.
42849         (atomic_exchange_and_add_acq): Likewise.
42850         (atomic_exchange_and_add_rel): Likewise.
42851         * sysdeps/powerpc/powerpc32/bits/atomic.h
42852         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42853         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42854         * sysdeps/powerpc/powerpc64/bits/atomic.h
42855         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42856         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42858 2014-11-26  Torvald Riegel  <triegel@redhat.com>
42860         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42861         Change synchronization of __sched_fifo_min_prio and
42862         __sched_fifo_max_prio.
42863         * nptl/pthread_mutexattr_getprioceiling.c
42864         (pthread_mutexattr_getprioceiling): Likewise.
42865         * nptl/pthread_mutexattr_setprioceiling.c
42866         (pthread_mutexattr_setprioceiling): Likewise.
42867         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42868         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42869         Likewise.
42871 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42873         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42874         void.
42876 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42878         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42879         third argument const.
42881 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
42883         fnmatch: work around GCC compiler warning bug with uninit var
42884         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42885         This works around a bug with x86-64 GCC 4.9.2 and earlier
42886         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42887         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42888         used uninitialized in this function [-Wmaybe-uninitialized]".
42890 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42892         * posix/bug-regex31.c (main): Return RES not 0.
42894 2014-11-25  Anton Blanchard <anton@samba.org>
42896         * sysdeps/powerpc/bits/atomic.h
42897         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42899 2014-11-24  Sterling Augustine  <saugustine@google.com>
42901         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42903 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
42905         [BZ #17608]
42906         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42908 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
42910         [BZ #17633]
42911         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42912         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42913         variable.
42914         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42915         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42917 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42919         * string/strncpy.c (strncpy): Improve performance by using memset.
42921 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42923         * string/strcpy.c (strcpy):
42924         Improve performance by using strlen and memcpy.
42926 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
42928         * string/strcoll_l.c (get_next_seq): __always_inline.
42929         * string/strcoll_l.c (do_compare): __always_inline.
42931 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42933         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42934         defined.
42935         * include/mqueue.h: Likewise.
42936         * include/stdlib.h: Likewise.
42938         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42939         (get_null_defines): Adjust.
42940         * sunrpc/Makefile: Adjust comment.
42941         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42942         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42943         (CFLAGS-interp.c): Likewise.
42944         (CFLAGS-ldconfig.c): Likewise.
42945         (CPPFLAGS-.os): Likewise.
42946         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42947         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42948         * extra-modules.mk (extra-modules.mk): Likewise.
42949         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42950         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42951         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42952         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42953         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42954         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42955         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42956         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42957         * iconvdata/Makefile (CPPFLAGS): Likewise.
42958         (cpp-srcs-left): Add libof for all iconvdata routines.
42959         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42960         * include/assert.h: Likewise.
42961         * include/ctype.h: Likewise.
42962         * include/errno.h: Likewise.
42963         * include/libc-symbols.h: Likewise.
42964         * include/math.h: Likewise.
42965         * include/netdb.h: Likewise.
42966         * include/resolv.h: Likewise.
42967         * include/stdio.h: Likewise.
42968         * include/stdlib.h: Likewise.
42969         * include/string.h: Likewise.
42970         * include/sys/stat.h: Likewise.
42971         * include/wctype.h: Likewise.
42972         * intl/l10nflist.c: Likewise.
42973         * libidn/idn-stub.c: Likewise.
42974         * libio/libioP.h: Likewise.
42975         * nptl/libc_multiple_threads.c: Likewise.
42976         * nptl/pthreadP.h: Likewise.
42977         * posix/regex_internal.h: Likewise.
42978         * resolv/res_hconf.c: Likewise.
42979         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42980         * sysdeps/arm/memmove.S: Likewise.
42981         * sysdeps/arm/sysdep.h: Likewise.
42982         * sysdeps/generic/_itoa.h: Likewise.
42983         * sysdeps/generic/symbol-hacks.h: Likewise.
42984         * sysdeps/gnu/errlist.awk: Likewise.
42985         * sysdeps/gnu/errlist.c: Likewise.
42986         * sysdeps/i386/i586/memcpy.S: Likewise.
42987         * sysdeps/i386/i586/memset.S: Likewise.
42988         * sysdeps/i386/i686/memcpy.S: Likewise.
42989         * sysdeps/i386/i686/memmove.S: Likewise.
42990         * sysdeps/i386/i686/mempcpy.S: Likewise.
42991         * sysdeps/i386/i686/memset.S: Likewise.
42992         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42993         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42994         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42995         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42996         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42997         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42998         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42999         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43000         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43001         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43002         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43003         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43004         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43005         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43006         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43008         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43009         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43010         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43017         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43018         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43019         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43020         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43021         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43022         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43023         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43025         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43026         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43027         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43028         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43029         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43030         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43032         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43034         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43035         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43036         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43037         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43038         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43039         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43040         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43041         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43042         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43043         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43044         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43045         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43046         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43047         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43048         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43049         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43050         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43051         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43052         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43053         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43054         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43055         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43056         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43057         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43058         * sysdeps/posix/closedir.c: Likewise.
43059         * sysdeps/posix/opendir.c: Likewise.
43060         * sysdeps/posix/readdir.c: Likewise.
43061         * sysdeps/posix/rewinddir.c: Likewise.
43062         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43063         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43064         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43065         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43066         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43067         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43068         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43069         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43072         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43073         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43074         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43075         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43076         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43077         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43078         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43079         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43080         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43082         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43083         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43084         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43085         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43086         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43090         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43091         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43097         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43098         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43099         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43100         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43101         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43102         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43105         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43106         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43107         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43108         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43109         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43110         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43111         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43112         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43113         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43114         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43115         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43116         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43117         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43118         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43119         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43120         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43121         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43122         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43123         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43124         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43125         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43126         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43127         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43128         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43129         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43130         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43131         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43132         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43133         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43134         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43135         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43136         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43137         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43138         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43139         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43140         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43141         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43142         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43143         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43144         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43145         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43146         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43147         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43148         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43149         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43150         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43151         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43152         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43153         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43154         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43155         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43156         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43158         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43160         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43161         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43162         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43163         * sysdeps/unix/alpha/sysdep.S: Likewise.
43164         * sysdeps/unix/alpha/sysdep.h: Likewise.
43165         * sysdeps/unix/make-syscalls.sh: Likewise.
43166         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43168         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43169         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43170         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43171         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43172         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43173         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43174         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43175         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43176         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43177         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43178         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43179         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43180         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43181         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43182         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43183         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43184         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43185         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43186         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43188         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43189         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43190         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43191         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43192         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43195         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43196         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43199         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43200         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43204         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43205         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43206         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43207         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43208         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43209         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43210         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43213         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43216         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43217         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43218         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43219         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43220         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43221         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43222         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43224         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43225         * sysdeps/x86_64/memcpy.S: Likewise.
43226         * sysdeps/x86_64/memmove.c: Likewise.
43227         * sysdeps/x86_64/memset.S: Likewise.
43228         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43229         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43230         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43231         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43232         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43235         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43236         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43237         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43238         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43239         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43240         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43241         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43242         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43243         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43244         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43245         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43246         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43247         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43248         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43249         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43250         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43251         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43252         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43253         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43254         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43255         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43256         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43257         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43258         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43259         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43260         * sysdeps/x86_64/strcmp.S: Likewise.
43262         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43264         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43265         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43266         * elf/rtld-Rules: Likewise.
43267         * elf/setup-vdso.h: Likewise.
43268         * include/assert.h: Likewise.
43269         * include/bits/stdlib-float.h: Likewise.
43270         * include/errno.h: Likewise.
43271         * include/sys/stat.h: Likewise.
43272         * include/unistd.h: Likewise.
43273         * sysdeps/aarch64/setjmp.S: Likewise.
43274         * sysdeps/alpha/setjmp.S: Likewise.
43275         * sysdeps/arm/__longjmp.S: Likewise.
43276         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43277         * sysdeps/arm/setjmp.S: Likewise.
43278         * sysdeps/arm/sysdep.h: Likewise.
43279         * sysdeps/generic/_itoa.h: Likewise.
43280         * sysdeps/generic/dl-sysdep.h: Likewise.
43281         * sysdeps/generic/ldsodefs.h: Likewise.
43282         * sysdeps/i386/dl-tls.h: Likewise.
43283         * sysdeps/i386/setjmp.S: Likewise.
43284         * sysdeps/m68k/setjmp.c: Likewise.
43285         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43286         * sysdeps/mach/hurd/opendir.c: Likewise.
43287         * sysdeps/posix/getcwd.c: Likewise.
43288         * sysdeps/posix/opendir.c: Likewise.
43289         * sysdeps/posix/profil.c: Likewise.
43290         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43291         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43292         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43293         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43294         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43295         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43296         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43297         * sysdeps/s390/dl-tls.h: Likewise.
43298         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43299         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43300         * sysdeps/sh/sh3/setjmp.S: Likewise.
43301         * sysdeps/sh/sh4/setjmp.S: Likewise.
43302         * sysdeps/unix/alpha/sysdep.h: Likewise.
43303         * sysdeps/unix/arm/sysdep.S: Likewise.
43304         * sysdeps/unix/i386/sysdep.S: Likewise.
43305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43306         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43307         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43309         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43310         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43311         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43312         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43313         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43314         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43315         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43316         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43317         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43320         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43323         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43324         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43328         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43329         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43332         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43333         * sysdeps/x86_64/setjmp.S: Likewise.
43335         * include/math.h: Use IS_IN instead of IS_IN_libm.
43336         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43337         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43338         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43339         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43340         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43341         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43342         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43343         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43344         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43345         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43346         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43347         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43348         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43349         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43350         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43351         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43352         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43353         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43354         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43355         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43356         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43357         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43358         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43359         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43360         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43361         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43362         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43363         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43364         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43365         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43366         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43367         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43368         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43370         Likewise.
43371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43372         Likewise.
43373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43374         Likewise.
43375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43376         Likewise.
43377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43378         Likewise.
43379         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43380         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43381         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43382         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43383         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43384         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43390         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43391         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43392         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43393         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43394         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43395         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43396         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43397         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43398         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43400         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43403         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43405         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43407         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43408         * nptl/pthreadP.h: Likewise.
43409         * nptl_db/structs.def: Likewise.
43410         * sysdeps/arm/sysdep.h: Likewise.
43411         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43412         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43413         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43414         * sysdeps/unix/alpha/sysdep.h: Likewise.
43415         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43417         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43418         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43419         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43420         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43422         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43423         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43424         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43425         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43426         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43427         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43428         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43433         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43436         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43437         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43438         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43439         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43440         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43442         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43443         * nptl/pthreadP.h: Likewise.
43444         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43446         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43447         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43448         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43449         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43450         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43451         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43452         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43453         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43454         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43455         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43457         Likewise.
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43459         Likewise.
43460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43462         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43465         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43466         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43467         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43469         * dlfcn/dladdr.c: Use IS_IN.
43470         * dlfcn/dladdr1.c: Likewise.
43471         * dlfcn/dlclose.c: Likewise.
43472         * dlfcn/dlerror.c: Likewise.
43473         * dlfcn/dlinfo.c: Likewise.
43474         * dlfcn/dlmopen.c: Likewise.
43475         * dlfcn/dlopen.c: Likewise.
43476         * dlfcn/dlsym.c: Likewise.
43477         * dlfcn/dlvsym.c: Likewise.
43479         * include/ifaddrs.h: Use IS_IN.
43480         * inet/check_pf.c: Likewise.
43481         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43482         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43484         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43485         IS_IN_ldconfig.
43486         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43487         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43489         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43490         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43491         IS_IN (libc).
43493         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43495         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43496         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43497         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43498         * include/libc-symbols.h (IS_IN_LIB): New macro.
43499         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43500         * include/netdb.h: Likewise.
43501         * include/stap-probe.h: Remove all uses of IN_LIB.
43503         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43504         instead of IN_MODULE.
43505         * include/libc-symbols.h (IN_MODULE): Define using
43506         MODULE_NAME.
43507         (PASTE_NAME, PASTE_NAME1): New macros.
43508         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43509         of IN_LIB.
43510         (STAP_PROBE_ASM): Likewise.
43512 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43514         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43515         __mach_init in dlopened libc.
43517 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43519         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43520         * sysdeps/arm/preconfigure: Regenerate.
43522 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43524         * nptl/pthread_create.c (__pthread_create_2_1): Set
43525         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43526         when copying values from IATTR into PD.
43528 2014-11-21  Will Newton  <will.newton@linaro.org>
43529             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43531         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43532         Refactor inline-asm.  Also add comment.
43534         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43535         ElfW macro instead of hardcoded Elf64 types.
43536         (la_aarch64_gnu_pltenter): Likewise.
43537         * sysdeps/aarch64/dl-machine.h
43538         (elf_machine_runtime_setup): Use ElfW(Addr).
43540         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43541         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43542         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43543         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43544         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43545         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43546         (R_AARCH64_TLS_DTPMOD): This.
43547         (R_AARCH64_TLS_DTPREL64): Rename to ...
43548         (R_AARCH64_TLS_DTPREL): This.
43549         (R_AARCH64_TLS_TPREL64): Rename to ...
43550         (R_AARCH64_TLS_TPREL): This.
43551         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43552         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43553         R_AARCH64_TLS_TPREL64.
43554         (elf_machine_rela): Likewise.
43556 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43558         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43559         by setting it to 0.  64b atomics are not supported currently.
43561 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43563         [BZ #16469]
43564         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43565         search domain names.
43567 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43569         [BZ #16469]
43570         * NEWS: Update.
43571         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43572         trailing dot.
43573         * posix/tst-getaddrinfo5.c: New.
43574         * posix/Makefile (tests): Add it.
43576 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43578         [BZ #14498]
43579         * NEWS: Fixed.
43580         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43581         after parsing line but before break_if_match.
43582         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43583         if there is a protocol mismatch.
43585 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43587         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43588         because the potential race is on the user-supplied stream.
43590 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43592         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43593         string literal if not passed a buffer.
43594         * manual/job.texi (ctermid): Update reasoning, note deviation
43595         from posix, suggest mtasurace when not passed a buffer, for
43596         future non-preliminary safety notes.
43598 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43600         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43601         of not passing it a buffer.
43602         Reported by Peng Haitao.
43604 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43606         * manual/Makefile ($(objpfx)stamp-summary): Require
43607         check-safety.sh to pass.
43608         * manual/check-safety.sh: Wish for verification that every
43609         @deftypefn and @deftypefun is followed by a @safety remark.
43611 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43613         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43615         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43616         PTHREAD_CANCEL_ASYNCHRONOUS.
43617         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43618         send SIGCANCEL.
43620         * nptl/default-sched.h: New file.
43621         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43622         * nptl/pthread_create.c: Include it.
43623         (__pthread_create_2_1): Use collect_default_sched instead of making
43624         Linux syscalls here directly.
43626 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43628         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43629         __pthread_once): Use C11 atomics.
43631 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43633         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43635 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43637         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43638         atomic_thread_fence_acquire, atomic_thread_fence_release,
43639         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43640         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43641         atomic_compare_exchange_weak_relaxed,
43642         atomic_compare_exchange_weak_acquire,
43643         atomic_compare_exchange_weak_release,
43644         atomic_exchange_acquire, atomic_exchange_release,
43645         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43646         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43647         atomic_fetch_and_acquire,
43648         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43650 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43652         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43653         USE_ATOMIC_COMPILER_BUILTINS): Define.
43654         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43656         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43658         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43660         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43662         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43664         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43666         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43668         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43670         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43672         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43674         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43676         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43678         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43680         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43682         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43684         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43686         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43688         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43689         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43690         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43692         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43695 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43697         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43698         the sched_priority value here.  It was already checked when the user
43699         called pthread_attr_setschedparam.
43701         * nptl/tst-bad-schedattr.c: New file.
43702         * nptl/Makefile (tests): Add it.
43704 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43705             Florian Weimer  <fweimer@redhat.com>
43706             Joseph Myers  <joseph@codesourcery.com>
43707             Adam Conrad  <adconrad@0c3.net>
43708             Andreas Schwab  <schwab@suse.de>
43709             Brooks  <bmoses@google.com>
43711         [BZ #17625]
43712         * wordexp-test.c (__dso_handle): Add prototype.
43713         (__register_atfork): Likewise.
43714         (__app_register_atfork): New function.
43715         (registered_forks): New global.
43716         (register_fork): New function.
43717         (test_case): Add 3 new tests for WRDE_CMDSUB.
43718         (main): Call __app_register_atfork.
43719         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43720         fork count is non-zero fail the test.
43721         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43722         is set.
43723         (parse_dollars): Remove check for WRDE_NOCMD.
43724         (parse_dquote): Likewise.
43726 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43728         * Makeconfig (built-modules): List non-library modules to be
43729         built.
43730         (module-cppflags): Include libc-modules.h for
43731         everything except shlib-versions.v.i.
43732         (CPPFLAGS): Use it.
43733         (before-compile): Add libc-modules.h.
43734         ($(common-objpfx)libc-modules.h,
43735         $(common-objpfx)libc-modules.stmp): New targets.
43736         (common-generated): Add libc-modules.h and libc-modules.stmp.
43737         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43738         * include/libc-symbols.h: Don't include libc-modules.h.
43739         * include/libc-modules.h: Remove file.
43740         * scripts/gen-libc-modules.awk: New script to generate
43741         libc-modules.h.
43742         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43743         Depend on libc-modules.stmp.
43745         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43747         * Makeconfig (in-module): Get value of libof set for the
43748         translation unit.
43749         (CPPFLAGS): Use $(in-module).
43750         * Makerules: Don't suffix routine names for nonlib.
43751         * include/libc-modules.h: New file.
43752         * include/libc-symbols.h: Include libc-modules.h
43753         (IS_IN): New macro to replace IS_IN_* macros.
43754         * elf/Makefile: Set libof-* for each routine.
43755         * elf/rtld-Rules: Likewise.
43756         * extra-modules.mk: Likewise.
43757         * iconv/Makefile: Likewise.
43758         * iconvdata/Makefile: Likewise.
43759         * locale/Makefile: Likewise.
43760         * malloc/Makefile: Likewise.
43761         * nss/Makefile: Likewise.
43762         * sysdeps/gnu/Makefile: Likewise.
43763         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43764         * sysdeps/unix/sysv/linux/Makefile: Likewise.
43765         * sysdeps/s390/s390-64/Makefile: Likewise.
43766         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
43767         CPPFLAGS for nscd instead of nonlib.
43769 2014-11-18  Roland McGrath  <roland@hack.frob.com>
43771         * nptl/createthread.c: New file.
43773         * nptl/createthread.c: Moved ...
43774         * sysdeps/unix/sysv/linux/createthread.c: ... here.
43776         * nptl/createthread.c: Add proper top-line comment.
43777         (do_clone): Folded into ...
43778         (create_thread): ... here.  Take new arguments STOPPED_START and
43779         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
43780         increment __nptl_threads, do event-reporting logic, do
43781         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43782         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
43783         resource cleanup if sched_setaffinity or sched_setscheduler fails,
43784         just send SIGCANCEL.
43785         * nptl/pthread_create.c: Forward-declare create_thread before
43786         including createthread.c.
43787         (start_thread): Use new macro START_THREAD_DEFN to replace defining
43788         declaration, and new macro START_THREAD_SELF to replace argument.
43789         Remove return statement.
43790         (report_thread_creation): New function.
43791         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
43792         synchronization logic, and __nptl_nthreads increment here, around
43793         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
43794         PD->parent_cancelhandling here, before create_thread.  When
43795         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43796         __deallocate_stack, and ENOMEM translation here.
43798 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
43800         [BZ #17616]
43801         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43802         (mptwo): Rename to __mptwo.
43803         (__inv): Use __mptwo instead of mptwo.
43804         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43805         (mptwo): Rename to __mptwo.
43806         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43807         of mpone and __mptwo instead of mptwo.
43808         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43809         instead of mpone.
43810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43811         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43812         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43813         of mpone and __mptwo instead of mptwo.
43814         (__mpranred): Use __mpone instead of mpone.
43815         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43816         variable.
43817         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43818         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43819         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43820         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43821         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43822         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43823         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43824         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43825         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43826         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43827         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43828         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43829         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43830         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43831         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43832         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43833         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43834         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43835         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43837 2014-11-18  Tom de Vries  <tom@codesoucery.com>
43839         * manual/signal.texi (Primitives Interrupted by Signals): In section,
43840         replace BSD Handler xref with BSD Signal Handling.
43842 2014-11-17  Richard Henderson  <rth@redhat.com>
43844         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43845         (_FP_PACK_RAW_2): Remove.
43846         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43847         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43848         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43849         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43850         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43851         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43852         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43853         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43854         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43855         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43856         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43857         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43858         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43859         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43860         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43861         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43863 2014-11-14  Roland McGrath  <roland@hack.frob.com>
43865         * signal/signal.h [__USE_MISC]
43866         (struct sigvec): Remove type.
43867         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43868         (sigvec): Remove declaration.
43869         * sysdeps/posix/sigvec.c: Moved ...
43870         * signal/sigvec.c: ... here, replacing old file.
43871         (struct sigvec): New type, copied from old signal.h definition.
43872         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43873         (__sigvec): Convert definition to prototype.
43874         (sigvec): Replace weak_alias with compat_symbol.
43875         * signal/Versions (libc: GLIBC_2.21): New version set.
43876         * include/signal.h: Remove __sigvec declaration.
43877         * sysdeps/unix/bsd/sigvec.c: Remove file.
43878         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43879         * manual/signal.texi (BSD Handler): Remove subsection.
43880         Move siginterrupt up to ...
43881         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
43882         (Blocking in BSD): Fold subsection into its parent.
43883         * NEWS: Mention sigvec removal.
43885 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43887         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43888         (DLA_FMS): Make definition conditional only on [__FMA4__].
43889         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43890         definition.
43892         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43893         Make definition conditional only on [PROF].
43894         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43895         definition.
43896         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43897         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43899         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43900         !__GNUC__].
43901         * include/signal.h (__sigpause): Move declaration above call to
43902         libc_hidden_proto.
43903         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43904         variable.
43905         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43906         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43908 2014-11-14  David S. Miller  <davem@davemloft.net>
43910         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43911         Define before including <string/memcpy.c> and <string/mempcpy.c>.
43913 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43915         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43916         * configure: Regenerated.
43917         * manual/install.texi (Tools for Compilation): Document a
43918         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43919         compiler verified to work.
43920         * INSTALL: Regenerated.
43922         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43923         redeclare with asm name.
43924         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43925         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43926         including <string.h>.
43927         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43929         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43930         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43931         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43933         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43935 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
43937         * stdlib/strtol.c (__strtol): Use prototype definition.
43939         [BZ #17594]
43940         * stdlib/strtol.c (SYM__): New macro.
43941         (SYM__1): Likewise.
43942         (__strtol): Likewise.
43943         (strtol): Rename to __strtol and define as weak alias of
43944         __strtol.  Use libc_hidden_weak.
43946 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43948         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43949         Use numbered labels in inline assembly.
43951 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43953         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43954         Add setjmp LIBC_PROBE.
43955         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43956         Likewise.
43957         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43958         Add longjmp, longjmp_target LIBC_PROBE.
43959         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43960         Likewise.
43962 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43964         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43965         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43966         to get rid of unused variable warning.
43968 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43970         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43971         Check for unwind_backtrace ==  NULL only in SHARED case.
43972         (__backchain_backtrace): Compile only in SHARED case.
43973         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43974         Likewise.
43975         (__backchain_backtrace): Declare as static.
43977 2014-11-12  Roland McGrath  <roland@hack.frob.com>
43979         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43980         (__libc_multiple_threads_ptr): Variable moved ...
43981         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43983 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
43985         * conform/GlibcConform.pm: New file.
43986         * conform/conformtest.pl: Use GlibcConform module.
43987         * conform/linknamespace.pl: New file.
43988         * conform/list-header-symbols.pl: Likewise.
43989         * conform/Makefile (linknamespace-symlists-base): New variable.
43990         (linknamespace-symlists-tests): Likewise.
43991         (linknamespace-header-base): Likewise.
43992         (linknamespace-header-tests): Likewise.
43993         (tests-special): Add new tests.
43994         ($(linknamespace-symlists-tests)): New rule.
43995         (linknamespace-libs): New variable.
43996         ($(objpfx)symlist-stdlibs): New rule.
43997         ($(linknamespace-header-tests)): Likewise.
43998         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43999         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44000         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44001         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44002         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44003         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44004         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44005         (test-xfail-ISO/math.h/linknamespace): Likewise.
44006         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44007         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44008         (test-xfail-ISO/time.h/linknamespace): Likewise.
44009         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44010         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44011         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44012         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44013         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44014         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44015         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44016         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44017         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44018         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44019         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44020         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44021         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44022         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44023         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44024         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44025         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44026         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44027         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44028         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44029         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44030         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44031         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44032         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44033         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44034         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44035         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44036         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44037         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44038         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44039         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44040         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44041         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44042         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44043         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44044         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44045         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44046         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44047         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44048         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44049         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44050         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44051         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44052         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44053         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44054         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44055         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44056         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44057         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44058         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44059         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44060         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44061         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44062         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44063         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44064         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44065         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44066         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44067         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44068         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44069         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44070         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44071         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44072         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44073         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44074         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44075         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44076         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44077         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44078         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44079         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44080         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44081         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44082         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44083         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44084         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44085         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44086         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44087         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44088         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44089         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44090         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44091         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44092         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44093         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44094         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44095         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44096         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44097         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44098         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44099         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44100         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44101         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44102         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44103         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44104         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44105         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44106         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44107         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44108         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44109         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44110         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44111         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44112         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44113         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44114         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44115         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44116         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44117         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44118         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44119         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44120         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44121         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44122         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44123         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44124         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44125         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44126         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44127         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44128         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44129         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44130         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44131         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44132         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44133         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44134         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44135         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44136         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44137         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44138         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44139         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44140         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44141         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44142         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44143         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44144         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44145         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44146         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44147         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44148         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44149         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44150         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44151         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44152         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44153         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44154         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44155         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44156         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44157         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44158         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44160         [BZ #17589]
44161         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44162         of fgets_unlocked.
44164         [BZ #17585]
44165         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44166         (memmem): Rename to __memmem and define as weak alias of
44167         __memmem.  Use libc_hidden_weak.
44168         (__memmem): Use libc_hidden_def.
44169         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44170         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44171         memmem.
44173         [BZ #17582]
44174         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44175         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44176         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44177         and define as weak alias of __fgets_unlocked.  Use
44178         libc_hidden_weak.
44179         (__fgets_unlocked): Use libc_hidden_def.
44180         * include/stdio.h (__fgets_unlocked): Declare.  Use
44181         libc_hidden_proto.
44182         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44183         __fgets_unlocked instead of fgets_unlocked.
44184         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44185         (GET_NPROCS_CONF_PARSER): Likewise.
44186         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44187         (GET_NPROCS_CONF_PARSER): Likewise.
44189         [BZ #17574]
44190         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44191         weak alias of __wmemset.  Use libc_hidden_weak.
44192         (__wmemset): Use libc_hidden_def.
44193         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44194         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44195         of wmemset.
44197         [BZ #17573]
44198         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44199         with asm name __mempcpy.
44200         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44202         [BZ #17572]
44203         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44204         and define as weak alias of __rawmemchr.
44205         (__rawmemchr): Do not define as strong alias of rawmemchr.
44207         [BZ #17571]
44208         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44209         alias of __qsort_r.
44210         (qsort): Call __qsort_r instead of qsort_r.
44211         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44212         (__qsort_r): Declare.  Call libc_hidden_proto.
44213         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44214         instead of qsort_r.
44215         * nscd/gai.c (__qsort_r): Define to qsort_r.
44216         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44217         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44218         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44220         [BZ #17570]
44221         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44222         define as weak alias of __malloc_info.
44224         [BZ #17584]
44225         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44226         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44227         (__rewinddir): Use libc_hidden_def.
44228         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44229         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44230         (__rewinddir): Use libc_hidden_def.
44231         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44232         weak alias of __rewinddir.  Don't use libc_hidden_def.
44233         (__rewinddir): Use libc_hidden_def.
44234         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44235         (__rewinddir): Use libc_hidden_proto.
44236         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44237         rewinddir.
44238         (__getcwd): Use __rewinddir instead of rewinddir.
44240         [BZ #17583]
44241         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44242         alias of __fileno.  Use libc_hidden_weak.
44243         (__fileno): Use libc_hidden_def.
44244         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44245         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44246         alias of __ftello.
44247         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44248         __ftello.
44249         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44250         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44251         libc_hidden_def.
44252         (fread_unlocked): Don't use libc_hidden_ver.
44253         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44254         and define as weak alias of __fread_unlocked.  Don't use
44255         libc_hidden_def.
44256         (__fread_unlocked): Use libc_hidden_def.
44257         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44258         (ftello): Don't use libc_hidden_proto.
44259         (__ftello): Declare.  Use libc_hidden_proto.
44260         (fread_unlocked): Don't use libc_hidden_proto.
44261         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44262         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44263         and __ftello instead of fileno, fread_unlocked and ftello.
44265 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44267         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44268         GOT12.
44269         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44270         Likewise.
44271         (_dl_start_user): Likewise.
44272         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44274 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44275             Siddhesh Poyarekar  <siddhesh@redhat.com>
44277         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44278         Move argv and envp down instead of moving argc up.
44279         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44281 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44283         [BZ #17506]
44284         * test-skeleton.c (main): Return successful if one of
44285         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44286         * string/tst-strcoll-overflow.c: Define expected status.
44288 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44290         [BZ #17475]
44291         * locale/iso-639.def: Define Bhili and Tulu language codes.
44293 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44295         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44297 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44299         [BZ #17555]
44300         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44302 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44304         * configure.ac: Updated check of minimal required version to
44305         2.22.
44306         * manual/install.texi (Tools for Compilation): Updated version
44307         number.
44308         * configure: Regenerated.
44309         * INSTALL: Likewise.
44311 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44313         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44314         __tls_get_addr.
44316 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44318         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44319         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44320         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44321         libc_hidden_weak.
44322         (waitpid): Define as alias of __waitpid.
44323         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44324         __waitpid.
44325         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44326         libc_hidden_weak.
44327         (waitpid): Define as alias of __waitpid.
44328         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44329         __libc_waitpid alias.
44330         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44331         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44332         Likewise.
44333         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44334         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44335         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44336         alias.
44337         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44338         __waitpid.
44339         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44340         libc_hidden_weak.
44341         (waitpid): Define as alias of __waitpid.
44343 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44345         * manual/llio.texi: Add comment that write safety has been
44346         fixed in Linux.
44348         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44349         (localplt-build-dso): Add elf/ld.so.
44350         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44351         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44352         and free for ld.so.
44353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44354         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44356         Likewise.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44358         Likewise.
44359         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44360         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44361         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44362         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44363         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44364         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44365         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44366         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44367         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44368         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44369         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44371 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44373         [BZ #14132]
44374         * include/libc-symbols.h (INTUSE): Remove macro.
44375         (INTDEF): Likewise.
44376         (INTVARDEF): Likewise.
44377         (_INTVARDEF): Likewise.
44378         (INTDEF2): Likewise.
44379         (INTVARDEF2): Likewise.
44380         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44381         rtld_hidden_def instead of INTVARDEF.
44382         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44383         (_dl_starting_up_internal): Remove declaration.
44384         (_dl_starting_up): Use rtld_hidden_proto.
44385         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44386         declaration.
44387         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44388         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44389         _dl_starting_up.
44390         * elf/dl-writev.h (_dl_writev): Likewise.
44391         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44392         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44393         _dl_starting_up_internal.
44395 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44397         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44398         test-skeleton.c.
44400 2014-11-05  Will Newton  <will.newton@linaro.org>
44402         * benchtests/Makefile: (bench-malloc): Add malloc thread
44403         scalability benchmark.
44404         * benchtests/bench-malloc-threads.c: New file.
44406 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44408         * sysdeps/aarch64/strchrnul.S: New file.
44410 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44412         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44413         definition.
44414         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44415         Likewise.
44416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44417         Likewise.
44418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44419         Likewise.
44420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44421         Likewise.
44422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44423         Likewise.
44425 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44427         * catgets/test-gencat.c: Use test-skeleton.c.
44428         * catgets/tst-catgets.c: Likewise.
44429         * csu/tst-empty.c: Likewise.
44430         * elf/tst-audit2.c: Likewise.
44431         * elf/tst-global1.c: Likewise.
44432         * elf/tst-pathopt.c: Likewise.
44433         * elf/tst-piemod1.c: Likewise.
44434         * elf/tst-tls10.c: Likewise.
44435         * elf/tst-tls11.c: Likewise.
44436         * elf/tst-tls12.c: Likewise.
44437         * gnulib/tst-gcc.c: Likewise.
44438         * iconvdata/tst-e2big.c: Likewise.
44439         * iconvdata/tst-loading.c: Likewise.
44440         * iconv/tst-iconv1.c: Likewise.
44441         * iconv/tst-iconv2.c: Likewise.
44442         * inet/test-inet6_opt.c: Likewise.
44443         * inet/tst-gethnm.c: Likewise.
44444         * inet/tst-network.c: Likewise.
44445         * inet/tst-ntoa.c: Likewise.
44446         * intl/tst-codeset.c: Likewise.
44447         * intl/tst-gettext2.c: Likewise.
44448         * intl/tst-gettext3.c: Likewise.
44449         * intl/tst-ngettext.c: Likewise.
44450         * intl/tst-translit.c: Likewise.
44451         * io/test-stat.c: Likewise.
44452         * libio/test-fmemopen.c: Likewise.
44453         * libio/tst-freopen.c: Likewise.
44454         * libio/tst-sscanf.c: Likewise.
44455         * libio/tst-ungetwc1.c: Likewise.
44456         * libio/tst-ungetwc2.c: Likewise.
44457         * libio/tst-widetext.c: Likewise.
44458         * localedata/tst-ctype.c: Likewise.
44459         * localedata/tst-digits.c: Likewise.
44460         * localedata/tst-leaks.c: Likewise.
44461         * localedata/tst-mbswcs1.c: Likewise.
44462         * localedata/tst-mbswcs2.c: Likewise.
44463         * localedata/tst-mbswcs3.c: Likewise.
44464         * localedata/tst-mbswcs4.c: Likewise.
44465         * localedata/tst-mbswcs5.c: Likewise.
44466         * localedata/tst-setlocale.c: Likewise.
44467         * localedata/tst-trans.c: Likewise.
44468         * localedata/tst-wctype.c: Likewise.
44469         * localedata/tst-xlocale1.c: Likewise.
44470         * login/tst-grantpt.c: Likewise.
44471         * malloc/tst-calloc.c: Likewise.
44472         * malloc/tst-malloc.c: Likewise.
44473         * malloc/tst-mallocstate.c: Likewise.
44474         * malloc/tst-mcheck.c: Likewise.
44475         * malloc/tst-mtrace.c: Likewise.
44476         * malloc/tst-obstack.c: Likewise.
44477         * math/atest-exp2.c: Likewise.
44478         * math/atest-exp.c: Likewise.
44479         * math/atest-sincos.c: Likewise.
44480         * math/test-matherr.c: Likewise.
44481         * math/test-misc.c: Likewise.
44482         * math/test-powl.c: Likewise.
44483         * math/tst-definitions.c: Likewise.
44484         * misc/tst-dirname.c: Likewise.
44485         * misc/tst-efgcvt.c: Likewise.
44486         * misc/tst-fdset.c: Likewise.
44487         * misc/tst-hsearch.c: Likewise.
44488         * misc/tst-mntent2.c: Likewise.
44489         * nptl/tst-sem7.c: Likewise.
44490         * nptl/tst-sem8.c: Likewise.
44491         * nptl/tst-sem9.c: Likewise.
44492         * nss/test-netdb.c: Likewise.
44493         * posix/tst-fnmatch.c: Likewise.
44494         * posix/tst-getlogin.c: Likewise.
44495         * posix/tst-gnuglob.c: Likewise.
44496         * posix/tst-mmap.c: Likewise.
44497         * pwd/tst-getpw.c: Likewise.
44498         * resolv/tst-inet_ntop.c: Likewise.
44499         * rt/tst-timer.c: Likewise.
44500         * stdio-common/test-fseek.c: Likewise.
44501         * stdio-common/test-popen.c: Likewise.
44502         * stdio-common/test-vfprintf.c: Likewise.
44503         * stdio-common/tst-cookie.c: Likewise.
44504         * stdio-common/tst-fileno.c: Likewise.
44505         * stdio-common/tst-gets.c: Likewise.
44506         * stdio-common/tst-obprintf.c: Likewise.
44507         * stdio-common/tst-perror.c: Likewise.
44508         * stdio-common/tst-sprintf2.c: Likewise.
44509         * stdio-common/tst-sprintf3.c: Likewise.
44510         * stdio-common/tst-sprintf.c: Likewise.
44511         * stdio-common/tst-swprintf.c: Likewise.
44512         * stdio-common/tst-tmpnam.c: Likewise.
44513         * stdio-common/tst-unbputc.c: Likewise.
44514         * stdio-common/tst-wc-printf.c: Likewise.
44515         * stdlib/tst-environ.c: Likewise.
44516         * stdlib/tst-fmtmsg.c: Likewise.
44517         * stdlib/tst-limits.c: Likewise.
44518         * stdlib/tst-rand48-2.c: Likewise.
44519         * stdlib/tst-rand48.c: Likewise.
44520         * stdlib/tst-random2.c: Likewise.
44521         * stdlib/tst-random.c: Likewise.
44522         * stdlib/tst-strtol.c: Likewise.
44523         * stdlib/tst-strtoll.c: Likewise.
44524         * stdlib/tst-tls-atexit.c: Likewise.
44525         * stdlib/tst-xpg-basename.c: Likewise.
44526         * string/test-ffs.c: Likewise.
44527         * string/tst-bswap.c: Likewise.
44528         * string/tst-inlcall.c: Likewise.
44529         * string/tst-strtok.c: Likewise.
44530         * string/tst-strxfrm.c: Likewise.
44531         * sysdeps/x86_64/tst-audit10.c: Likewise.
44532         * sysdeps/x86_64/tst-audit3.c: Likewise.
44533         * sysdeps/x86_64/tst-audit4.c: Likewise.
44534         * sysdeps/x86_64/tst-audit5.c: Likewise.
44535         * time/tst-ftime_l.c: Likewise.
44536         * time/tst-getdate.c: Likewise.
44537         * time/tst-mktime3.c: Likewise.
44538         * time/tst-mktime.c: Likewise.
44539         * time/tst-posixtz.c: Likewise.
44540         * time/tst-strptime2.c: Likewise.
44541         * time/tst-strptime3.c: Likewise.
44542         * wcsmbs/tst-btowc.c: Likewise.
44543         * wcsmbs/tst-mbrtowc.c: Likewise.
44544         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44545         * wcsmbs/tst-wchar-h.c: Likewise.
44546         * wcsmbs/tst-wcpncpy.c: Likewise.
44547         * wcsmbs/tst-wcrtomb.c: Likewise.
44548         * wcsmbs/tst-wcsnlen.c: Likewise.
44549         * wcsmbs/tst-wcstof.c: Likewise.
44551 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44553         [BZ #14132]
44554         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44555         INTDEF.
44556         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44557         declaration.
44558         (_dl_mcount): Use rtld_hidden_proto.
44559         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44560         _dl_mcount.
44561         * elf/rtld.c (_rtld_global_ro): Likewise.
44563         [BZ #14132]
44564         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44565         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44566         of _dl_init_internal.
44567         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44568         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44569         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44570         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44571         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44572         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44573         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44574         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44575         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44576         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44577         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44578         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44579         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44580         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44581         * sysdeps/tile/dl-start.S (_start): Likewise.
44582         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44583         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44585         [BZ #14132]
44586         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44587         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44588         (rtld_progname): Make macro definition unconditional.
44589         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44590         INTDEF.
44591         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44592         (dl_main): Likewise.
44593         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44594         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44595         instead of _dl_argv_internal.
44596         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44597         __GI__dl_argv instead of INTUSE(_dl_argv).
44598         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44599         __GI__dl_argv instead of _dl_argv_internal.
44601         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44602         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44603         macro.
44604         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44605         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44606         New macro.
44607         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44608         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44609         macro.
44610         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44611         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44613 2014-11-04  Andreas Schwab  <schwab@suse.de>
44615         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44617 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44619         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44620         mtvsrd instruction in binary form.
44622 2014-11-03  Andreas Schwab  <schwab@suse.de>
44624         [BZ #17522]
44625         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44626         for less than MB_LEN_MAX use a local buffer of that size.
44627         * libio/tst-fputws.c: New file.
44628         * libio/Makefile (tests): Add tst-fputws.
44630 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44632         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44633         the size of the fpu_fr.fpu_dregs[] array.
44635 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44637         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44638         (__nanosleep): Do not define as alias.
44639         (nanosleep): Define as alias of __nanosleep.
44640         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44641         __libc_nanosleep name.
44643 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44645         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44646         install.texi in comment.
44648 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44650         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44651         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44652         ... add here and use lwsync or sync ...
44653         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44654         ... and add here using lwsync.
44656 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44658         * elf/dl-machine-reject-phdr.h: New file.
44659         * elf/dl-load.c: #include that.
44660         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44661         if that returned true.
44663 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44665         [BZ #17496]
44666         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44667         gen-as-const-headers chunk.  Add a big scare comment after the last
44668         safe place to touch before-compile.
44670 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44672         * manual/install.texi (Tools for Compilation): Update autoconf
44673         version requirements.
44674         * INSTALL: Regenerated.
44676         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44677         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44678         (__libc_pselect): Likewise.
44680         [BZ #14138]
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44686 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44688         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44689         correct barrier instruction.
44690         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44691         Likewise.
44692         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44693         Likewise.
44695 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44697         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44698         after defining inlines.  Instead, just use parens to defeat macro
44699         expansion of __isctype in its declaration.
44701 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44703         * include/sys/uio.h (__libc_readv): Remove declaration.
44704         (__libc_writev): Likewise.
44705         * misc/readv.c (__libc_readv): Rename to __readv.
44706         (__readv): Do not define as alias.
44707         (readv): Define as alias of __readv.
44708         * misc/writev.c (__libc_writev): Rename to __writev.
44709         (__writev): Do not define as alias.
44710         (writev): Define as alias of __writev.
44711         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44712         (__readv): Do not define as alias.
44713         (readv): Define unconditionally as alias of __readv.
44714         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44715         (__writev): Do not define as alias.
44716         (writev): Define unconditionally as alias of __writev.
44717         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44718         name.
44719         (writev): Do not define __libc_writev name.
44721 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44723         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44724         (convert_charseq): New function, broken out of ...
44725         (use_from_charmap): ... here.  Call it.
44726         (use_to_charmap): Use convert_charseq and free instead of duplicating
44727         its code with a variable-length stack struct.
44729 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44731         * include/fcntl.h (__libc_creat): Remove declaration.
44732         * io/creat.c (__libc_creat): Rename to creat.
44733         (creat): Do not define as alias.
44734         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44735         of creat instead of __libc_creat.
44736         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44737         to creat.
44738         (creat): Do not define as alias.
44739         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44740         __libc_creat.
44741         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44742         __libc_creat name.
44743         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44744         Likewise.
44746 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
44748         * manual/llio.texi: Add comments discussing why write() may be
44749         considered MT-unsafe on Linux.
44751 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
44753         * dl-load.c (local_strdup): Remove.
44754         (expand_dynamic_string_token): Use __strdup.
44755         (decompose_rpath): Likewise.
44756         (_dl_map_object): Likewise.
44758 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
44760         [BZ #14132]
44761         * sysdeps/generic/unwind-dw2-fde.c
44762         (__register_frame_info_bases_internal): Do not declare.
44763         (__register_frame_info_table_bases_internal): Likewise.
44764         (__deregister_frame_info_bases_internal): Likewise.
44765         (__register_frame_info_bases): Declare and use hidden_proto before
44766         definition.  Use hidden_def instead of INTDEF.
44767         (__register_frame_info_table_bases): Likewise.
44768         (__deregister_frame_info_bases): Likewise.
44769         (__register_frame_info): Do not use INTUSE.
44770         (__register_frame): Likewise.
44771         (__register_frame_info_table): Likewise.
44772         (__register_frame_table): Likewise.
44773         (__deregister_frame_info): Likewise.
44774         (__deregister_frame): Likewise.
44776 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
44778         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44779         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44780         not undefine.
44781         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44782         Likewise.
44783         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44784         Likewise.
44786 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
44788         [BZ #14138]
44789         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44790         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44791         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44792         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44793         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44794         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44795         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44796         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44797         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44798         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44799         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44800         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44801         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44802         syscall.
44803         (setfsuid): Likewise.
44804         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44805         (setfsuid): Likewise.
44806         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44807         (setfsuid): Likewise.
44808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44809         Likewise.
44810         (setfsuid): Likewise.
44811         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44812         (setfsuid): Likewise.
44813         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44814         Likewise.
44815         (setfsuid): Likewise.
44817 2014-10-27  Andreas Schwab  <schwab@suse.de>
44819         [BZ #17501]
44820         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44821         check for Slow_SSE4_2 feature bit.
44822         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44823         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44824         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44825         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
44827 2014-10-24  Roland McGrath  <roland@hack.frob.com>
44829         * configure.ac: Validate compiler version with a empirical test of
44830         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44831         $CC -v output.
44832         * configure: Regenerated.
44834         * inet/htons.c (htons): Prototypify.
44835         * inet/htonl.c (htonl): Likewise.
44837 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44839         * string/strncat.c (strncat): Improve performance by using strlen.
44841 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44843         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44845 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44847         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44848         Call libc_fetestexcept_aarch64.
44850 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44852         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44853         Call libc_feholdexcept_aarch64.
44855 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44857         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44858         Call get_rounding_mode.
44860 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44862         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44863         Simplify logic.
44865 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44867         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44868         Simplify logic.
44870 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
44872         [BZ #14138]
44873         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44874         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44875         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44876         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44877         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44878         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44879         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44880         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44881         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44882         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44883         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44884         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44885         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44886         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44887         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44888         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44889         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44890         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44891         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44892         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44893         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44894         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44895         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44896         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44897         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44898         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44899         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44900         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44901         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44902         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44903         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44904         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44905         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44906         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44907         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44908         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44909         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44910         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44911         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44912         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44913         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44914         syscall.
44915         (geteuid): Likewise.
44916         (getgid): Likewise.
44917         (getuid): Likewise.
44918         (getresgid): Likewise.
44919         (getresuid): Likewise.
44920         (getgroups): Likewise.
44921         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44922         (geteuid): Likewise.
44923         (getgid): Likewise.
44924         (getuid): Likewise.
44925         (getresgid): Likewise.
44926         (getresuid): Likewise.
44927         (getgroups): Likewise.
44928         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44929         (geteuid): Likewise.
44930         (getgid): Likewise.
44931         (getuid): Likewise.
44932         (getresgid): Likewise.
44933         (getresuid): Likewise.
44934         (getgroups): Likewise.
44935         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44936         Likewise.
44937         (geteuid): Likewise.
44938         (getgid): Likewise.
44939         (getuid): Likewise.
44940         (getresgid): Likewise.
44941         (getresuid): Likewise.
44942         (getgroups): Likewise.
44943         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44944         (geteuid): Likewise.
44945         (getgid): Likewise.
44946         (getuid): Likewise.
44947         (getresgid): Likewise.
44948         (getresuid): Likewise.
44949         (getgroups): Likewise.
44950         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44951         Likewise.
44952         (geteuid): Likewise.
44953         (getgid): Likewise.
44954         (getuid): Likewise.
44955         (getgroups): Likewise.
44957         [BZ #14138]
44958         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44959         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44960         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44961         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44962         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44963         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44964         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44965         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44966         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44967         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44968         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44969         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44970         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44971         __chown.
44972         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44973         (lchown): Likewise.
44974         (fchown): Likewise.
44975         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44976         Likewise.
44977         (lchown): Likewise.
44978         (fchown): Likewise.
44979         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44980         (lchown): Likewise.
44981         (fchown): Likewise.
44982         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44983         Likewise.
44984         (lchown): Likewise.
44985         (fchown): Likewise.
44987 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44989         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44990         Simplify logic.
44992 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44994         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44995         Cleanup logic.
44997 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44999         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45000         Remove unused include.
45002 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45004         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45005         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45006         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45007         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45009 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45010             Helge Deller <deller@gmx.de>
45012         [BZ #17508]
45013         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45014         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45015         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45017 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45019         [BZ #14132]
45020         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45021         Remove macro definition.
45022         (__ashrdi3_v_glibc20): Likewise.
45023         (__lshrdi3_v_glibc20): Likewise.
45024         (__cmpdi2_v_glibc20): Likewise.
45025         (__ucmpdi2_v_glibc20): Likewise.
45026         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45027         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45028         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45029         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45030         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45031         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45033 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45035         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45036         old GNU extension [0] syntax.
45037         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45038         alloca rather than an array member with variable length.
45039         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45040         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45041         (parse_opt): ... here.  Likewise use alloca there.
45042         Validate the -i argument before checking for rootness.
45043         (send_shutdown): New function, broken out of ...
45044         (parse_opt): ... here.
45046 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45048         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45049         macro to get at the _rt_local_ro field.
45050         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45051         ([PIC] case) or _dl_hwcap ([!PIC] case).
45052         * sysdeps/arm/setjmp.S: Likewise.
45054         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45055         * sysdeps/arm/configure.ac: New check to define it.
45056         * sysdeps/arm/configure: Regenerated.
45057         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45058         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45059         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45060         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45061         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45062         Use move/movt pair instead of a load.
45063         (LDST_GLOBAL): Macro removed.
45064         (LDR_GLOBAL): New macro replaces it.
45065         (LDR_HIDDEN): New macro.
45066         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45067         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45069         * setjmp/tst-setjmp-static.c: New file.
45070         * setjmp/Makefile (tests): Add it.
45071         (tests-static): New variable.
45073 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45075         [BZ #17485]
45076         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45078 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45080         [BZ #14132]
45081         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45083 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45085         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45087 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45089         * io/fts.c (dirent_not_directory): New function.
45090         (fts_build): Call it.
45092 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45094         * nptl/version.c (__nptl_main): Use normal __write rather than
45095         INTERNAL_SYSCALL.
45096         (banner): Update copyright years.
45098         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45099         gettimeofday.
45100         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45101         * nptl/pthread_cond_timedwait.c: Likewise.
45102         * nptl/pthread_mutex_timedlock.c: Likewise.
45103         * nptl/sem_timedwait.c: Likewise.
45105         * sysdeps/nptl/bits/libc-lock.h
45106         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45107         (__libc_lock_init_recursive): Return void, not 0.
45108         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45109         (__libc_rwlock_init): Likewise.
45110         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45112 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45114         [BZ #15215]
45115         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45116         (__pthread_once_slow): ... here.
45117         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45118         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45120 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45122         [BZ #15215]
45123         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45124         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45125         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45126         * nptl/pthread_once.c (__pthread_once): Likewise.
45127         Update comments.
45129 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45131         [BZ #14138]
45132         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45133         name.
45134         (writev): Use __libc_writev as strong name.
45135         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45136         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45138 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45140         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45142         * sysdeps/i386/nptl/tls.h
45143         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45144         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45145         New macros.
45146         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45147         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45148         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45149         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45150         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45151         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45153         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45154         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45155         on [__NR_futex].
45156         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45157         broken out of ...
45158         (__pthread_mutex_init): ... here.  Call it.
45159         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45160         Conditionalize PI cases on [__NR_futex].
45161         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45162         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45163         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45165         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45166         conditional on [SIGSETXID].
45167         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45168         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45169         is defined.  Likewise for SIGSETXID.
45170         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45171         Conditionalize definitions on [SIGSETXID].
45172         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45173         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45174         unblocking on [SIGCANCEL].
45176         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45177         [__NR_set_robust_list].
45179 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45181         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45182         (do_compare): Likewise.
45184 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45186         [BZ #15884]
45187         * string/strcoll_l.c: Don't include stdio.h.
45188         (coll_seq): Remove members idxarr and rulearr.
45189         (get_next_seq_cached): Remove function.
45190         (get_next_seq): Likewise.
45191         (get_next_seq_nocache): Rename to get_next_seq.
45192         (do_compare): Remove function.
45193         (do_compare_nocache): Rename to do_compare.
45194         (STRCOLL): Remove weight and rules cache.
45196 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45198         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45199         * sysdeps/arm/sfp-machine.h: ... to here.
45200         * sysdeps/arm/Implies: Remove arm/soft-fp.
45202 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45204         * conform/data/sys/utsname.h-data (*_t): Allow.
45205         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45206         [POSIX] (WEXITED): Do not expect constant.
45207         [POSIX] (WSTOPPED): Likewise.
45208         [POSIX] (WNOHANG): Likewise.
45209         [POSIX] (WNOWAIT): Likewise.
45210         [POSIX] (siginfo_t): Do not expect type or elements.
45211         [POSIX] (pid_t): Do not expect type.
45212         [POSIX] (signal.h): Do not allow header.
45213         [POSIX] (sys/resource.h): Likewise.
45214         [POSIX] (si_*): Do not allow pattern.
45215         [POSIX] (W*): Likewise.
45216         [POSIX] (P_*): Likewise.
45217         [POSIX] (BUS_*): Likewise.
45218         [POSIX] (CLD_*): Likewise.
45219         [POSIX] (FPE_*): Likewise.
45220         [POSIX] (ILL_*): Likewise.
45221         [POSIX] (POLL_*): Likewise.
45222         [POSIX] (SEGV_*): Likewise.
45223         [POSIX] (SI_*): Likewise.
45224         [POSIX] (TRAP_*): Likewise.
45225         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45226         variable.
45228 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45230         [BZ #12926]
45231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45232         infinite loop when __recvmsg returns 0.
45234 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45236         * CANCEL-FCT-WAIVE: Remove file.
45237         * CANCEL-FILE-WAIVE: Likewise.
45239         [BZ #14132]
45240         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45241         instead of INTVARDEF.
45242         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45243         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45244         rtld_hidden_data_def instead of INTVARDEF.
45245         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45246         * elf/dl-deps.c (expand_dst): Likewise.
45247         * elf/dl-load.c (_dl_dst_count): Likewise.
45248         (_dl_dst_substitute): Likewise.
45249         (decompose_rpath): Likewise.
45250         (_dl_init_paths): Likewise.
45251         (open_path): Likewise.
45252         (_dl_map_object): Likewise.
45253         * elf/rtld.c (dl_main): Likewise.
45254         (process_dl_audit): Likewise.
45255         (process_envvars): Likewise.
45256         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45257         Remove declaration.
45258         (__libc_enable_secure): Use rtld_hidden_proto.
45260 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45262         * elf/dl-load.c
45263         (add_path): New function broken out of _dl_rtld_di_serinfo.
45264         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45266 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45268         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45269         parentheses around macro arguments.
45270         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45275         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45276         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45280         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45281         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45282         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45283         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45284         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45285         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45286         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45288         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45293         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45298         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45299         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45300         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45301         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45302         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45303         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45304         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45305         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45306         Likewise.
45307         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45310         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45311         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45312         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45314         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45315         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45316         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45317         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45318         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45319         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45322         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45323         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45326         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45327         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45328         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45330         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45331         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45332         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45333         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45334         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45335         (_FP_FRAC_SRS_1): Likewise.
45336         (_FP_FRAC_CLZ_1): Likewise.
45337         (_FP_MUL_MEAT_1_imm): Likewise.
45338         (_FP_MUL_MEAT_1_wide): Likewise.
45339         (_FP_MUL_MEAT_1_hard): Likewise.
45340         (_FP_SQRT_MEAT_1): Likewise.
45341         (_FP_FRAC_ASSEMBLE_1): Likewise.
45342         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45343         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45344         (__FP_CLZ_2): Likewise.
45345         (_FP_MUL_MEAT_2_wide): Likewise.
45346         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45347         (_FP_MUL_MEAT_2_gmp): Likewise.
45348         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45349         (_FP_SQRT_MEAT_2): Likewise.
45350         (_FP_FRAC_ASSEMBLE_2): Likewise.
45351         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45352         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45353         (_FP_FRAC_CLZ_4): Likewise.
45354         (_FP_MUL_MEAT_4_wide): Likewise.
45355         (_FP_MUL_MEAT_4_gmp): Likewise.
45356         (_FP_SQRT_MEAT_4): Likewise.
45357         (_FP_FRAC_ASSEMBLE_4): Likewise.
45358         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45359         * soft-fp/op-common.h (_FP_CMP): Likewise.
45360         (_FP_CMP_EQ): Likewise.
45361         (_FP_CMP_UNORD): Likewise.
45362         (_FP_TO_INT): Likewise.
45363         (_FP_FROM_INT): Likewise.
45364         [!__FP_CLZ] (__FP_CLZ): Likewise.
45365         (_FP_DIV_HELP_imm): Likewise.
45366         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45367         Likewise.
45368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45373         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45379         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45381         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45382         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45383         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45384         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45397         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45398         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45399         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45400         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45401         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45402         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45403         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45404         (FP_UNPACK_RAW_SP): Likewise.
45405         (FP_PACK_RAW_S): Likewise.
45406         (FP_PACK_RAW_SP): Likewise.
45407         (FP_UNPACK_S): Likewise.
45408         (FP_UNPACK_SP): Likewise.
45409         (FP_UNPACK_SEMIRAW_S): Likewise.
45410         (FP_UNPACK_SEMIRAW_SP): Likewise.
45411         (FP_PACK_S): Likewise.
45412         (FP_PACK_SP): Likewise.
45413         (FP_PACK_SEMIRAW_S): Likewise.
45414         (FP_PACK_SEMIRAW_SP): Likewise.
45415         (_FP_SQRT_MEAT_S): Likewise.
45416         (FP_CMP_S): Likewise.
45417         (FP_CMP_EQ_S): Likewise.
45418         (FP_CMP_UNORD_S): Likewise.
45419         (FP_TO_INT_S): Likewise.
45420         (FP_FROM_INT_S): Likewise.
45422         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45424         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45425         (FP_EX_INVALID_IMZ): Likewise.
45426         (FP_EX_INVALID_IMZ_FMA): Likewise.
45427         (FP_EX_INVALID_ISI): Likewise.
45428         (FP_EX_INVALID_ZDZ): Likewise.
45429         (FP_EX_INVALID_IDI): Likewise.
45430         (FP_EX_INVALID_SQRT): Likewise.
45431         (FP_EX_INVALID_CVI): Likewise.
45432         (FP_EX_INVALID_VC): Likewise.
45433         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45434         "invalid" exceptions.
45435         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45436         (_FP_ADD_INTERNAL): Likewise.
45437         (_FP_MUL): Likewise.
45438         (_FP_FMA): Likewise.
45439         (_FP_DIV): Likewise.
45440         (_FP_CMP_CHECK_NAN): Likewise.
45441         (_FP_SQRT): Likewise.
45442         (_FP_TO_INT): Likewise.
45443         (FP_EXTEND): Likewise.
45445 2014-10-09  Allan McRae  <allan@archlinux.org>
45447         * po/fr.po: Update French translation from translation project.
45449 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45451         [BZ #14132]
45452         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45453         of INTDEF.
45454         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45455         (__cxa_atexit): Use libc_hidden_proto.
45456         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45458         [BZ #14132]
45459         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45460         declaration.
45461         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45462         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45463         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45464         [!_ISOMAC] (__iswctype_internal): Likewise.
45465         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45466         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45467         alias.
45468         (fcntl): Remove __fcntl_internal alias.
45469         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45470         __connect_internal alias.
45471         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45472         Likewise.
45474         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45475         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45476         FP_DENORM_ZERO.
45477         (_FP_CHECK_FLUSH_ZERO): New macro.
45478         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45479         (_FP_CMP): Likewise.
45480         (_FP_CMP_EQ): Likewise.
45481         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45482         FP_DENORM_ZERO.
45483         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45484         (FP_TRUNC): Likewise.
45486         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45487         treated as invalid conversion, not as normal exponent.
45489         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45490         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45491         (_FP_CMP_EQ): Likewise.
45492         (_FP_CMP_UNORD): Likewise.
45493         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45494         (FP_CMP_EQ_D): Likewise.
45495         (FP_CMP_UNORD_D): Likewise.
45496         * soft-fp/extended.h (FP_CMP_E): Likewise.
45497         (FP_CMP_EQ_E): Likewise.
45498         (FP_CMP_UNORD_E): Likewise.
45499         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45500         (FP_CMP_EQ_Q): Likewise.
45501         (FP_CMP_UNORD_Q): Likewise.
45502         * soft-fp/single.h (FP_CMP_S): Likewise.
45503         (FP_CMP_EQ_S): Likewise.
45504         (FP_CMP_UNORD_S): Likewise.
45505         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45506         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45507         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45508         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45509         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45510         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45511         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45512         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45513         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45514         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45515         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45516         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45517         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45518         to FP_CMP_Q.
45519         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45520         FP_CMP_Q.
45521         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45522         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45523         FP_CMP_EQ_Q.
45524         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45525         FP_CMP_Q.
45526         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45527         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45528         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45529         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45530         FP_CMP_EQ_Q.
45531         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45532         FP_CMP_Q.
45533         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45534         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45535         FP_CMP_EQ_Q.
45536         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45537         FP_CMP_Q.
45538         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45539         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45540         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45541         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45542         FP_CMP_EQ_Q.
45544         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45545         a subnormal result, set the underflow exception if trapping on
45546         underflow is enabled.
45547         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45548         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45549         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45550         redefine to 0.
45551         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45552         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45553         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45554         * soft-fp/extendxftf2.c (__extendxftf2): Use
45555         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45557         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45558         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45559         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45560         FP_HANDLE_EXCEPTIONS.
45561         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45562         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45563         FP_HANDLE_EXCEPTIONS.
45564         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45565         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45566         FP_HANDLE_EXCEPTIONS.
45567         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45568         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45569         FP_HANDLE_EXCEPTIONS.
45571 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45573         [BZ #14132]
45574         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45575         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45576         use INTUSE.
45577         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45578         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45579         Remove alias.
45580         (__adjtimex): Define using libc_hidden_ver.
45581         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45582         Remove declaration.
45583         (ntp_gettime): Call __adjtimex directly.
45584         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45585         Remove declaration.
45586         (ntp_gettimex): Call __adjtimex directly.
45587         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45588         __adjtimex_internal alias.
45590 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45592         [BZ #17460]
45593         * nscd/nscd.c (more_help): Rewrite list of tables collection
45594         using xstrdup and asprintf.
45596         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45598 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45599             Roland McGrath  <roland@hack.frob.com>
45601         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45602         (do_lookup_unique): ... local function 'enter' here; update callers.
45604 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45606         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45607         compat_symbol calls on [SHARED].
45608         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45609         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45610         Remove.
45611         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45612         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45613         (oldsetrlimit): Remove.
45614         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45616         (lchown): New syscall entry.
45617         (oldsetrlimit): Remove.
45618         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45620         (oldsetrlimit): Remove.
45621         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45623         [BZ #14138]
45624         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45625         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45626         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45627         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45628         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45629         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45630         (fchown): Likewise.
45631         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45632         (fchown): Likewise.
45633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45634         Likewise.
45636 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45638         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45639         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45640         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45641         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45642         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45643         Likewise.
45644         (__old_sem_post): Likewise.
45646 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45648         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45649         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45650         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45651         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45652         Use INLINE_VSYSCALL macro.
45653         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45654         __vdso_clock_gettime.
45655         * sysdeps/unix/sysv/linux/tile/init-first.c
45656         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45657         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45658         __vdso_clock_gettime.
45660         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45661         to set up frame more cleanly.
45663         * sysdeps/tile/memcmp.c: New file.
45665         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45667         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45668         * sysdeps/tile/tilegx/strcasestr.c: New file.
45669         * sysdeps/tile/tilegx/strnlen.c: New file.
45670         * sysdeps/tile/tilegx/strstr.c: New file.
45672         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45674 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45676         * nptl/tst-setuid3.c: Write errors to stdout.
45678 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45680         * elf/dl-deps.c
45681         (preload): New functions broken out of _dl_map_object_deps.
45682         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45684 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45686         [BZ #14138]
45687         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45688         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45690 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45692         * sysdeps/mips/strcmp.S: New.
45694 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45696         [BZ #14138]
45697         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45698         (linkat): Likewise.
45699         (mkdirat): Likewise.
45700         (readlinkat): Likewise.
45701         (renameat): Likewise.
45702         (symlinkat): Likewise.
45703         (unlinkat): Likewise.
45704         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45705         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45706         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45707         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45708         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45709         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45710         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45712 2014-09-30  Will Newton  <will.newton@linaro.org>
45714         * math/math.h: Define long double math functions if
45715         _LIBC_TEST is defined.
45716         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45718         * localedata/Makefile: Move assignment to tests-special
45719         into an ifdef testing run-built-tests.
45720         * timezone/Makefile: Likewise.
45722 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
45724         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45725         with $(BASH) not $(SHELL).
45727 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
45728             Matthew LeGendre  <legendre1@llnl.gov>
45730         [BZ #17411]
45731         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45732         l_reloc_result.
45734 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45736         * stdio-common/printf_fp.c
45737         (hack_digit): New function, broken out of ...
45738         (__printf_fp): ... local function here.  Update call sites.
45739         hack_digit now takes an additional parameter that is a pointer
45740         to a struct of the referenced locals.  Those locals moved inside
45741         the struct and references updated.
45743 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
45745         * aclocal.m4: Require autoconf 2.69.
45746         * configure: Regenerated.
45747         * sysdeps/aarch64/configure: Likewise.
45748         * sysdeps/alpha/configure: Likewise.
45749         * sysdeps/arm/armv7/configure: Likewise.
45750         * sysdeps/arm/configure: Likewise.
45751         * sysdeps/ia64/configure: Likewise.
45752         * sysdeps/mach/configure: Likewise.
45753         * sysdeps/mips/configure: Likewise.
45754         * sysdeps/s390/configure: Likewise.
45755         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45758         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45759         file.
45760         * sysdeps/ia64/configure.ac: Likewise.
45762 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45765         specify symbol version for ld.so.  Do not include entry for
45766         libpthread.
45767         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45768         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45769         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45771         [BZ #14171]
45772         * Makeconfig [$(build-shared) = yes]
45773         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45774         makefiles.
45775         [$(build-shared) = yes && $(soversions.mk-done) = t]
45776         ($(common-objpfx)gnu/lib-names.h): Remove rule.
45777         [$(build-shared) = yes && $(soversions.mk-done) = t]
45778         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
45779         to Makerules.
45780         [$(build-shared) = yes && $(soversions.mk-done) = t]
45781         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45782         here.
45783         [$(build-shared) = yes && $(soversions.mk-done) = t]
45784         (common-generated): Don't append gnu/lib-names.h and
45785         gnu/lib-names.stmp here.
45786         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45787         (lib-names-h-abi): New variable.
45788         [$(build-shared) = yes && $(soversions.mk-done) = t]
45789         (lib-names-stmp-abi): Likewise.
45790         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45791         abi-variants] (before-compile): Append
45792         $(common-objpfx)$(lib-names-h-abi).
45793         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45794         abi-variants] (common-generated): Append gnu/lib-names.h.
45795         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45796         abi-variants] (install-others-nosubdir): Depend on
45797         $(inst_includedir)/$(lib-names-h-abi).
45798         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45799         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45800         [$(build-shared) = yes && $(soversions.mk-done) = t]
45801         ($(common-objpfx)$(lib-names-h-abi)): New rule.
45802         [$(build-shared) = yes && $(soversions.mk-done) = t]
45803         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45804         [$(build-shared) = yes && $(soversions.mk-done) = t]
45805         (common-generated): Append $(lib-names-h-abi) and
45806         $(lib-names-stmp-abi).
45807         * scripts/lib-names.awk: Do not handle multi being set.
45808         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45809         Remove variable.
45810         (abi-lp64_be-ld-soname): Likewise.
45811         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45812         Likewise.
45813         (abi-hard-ld-soname): Likewise.
45814         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45815         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45816         Remove variable.
45817         (abi-o32_hard-ld-soname): Likewise.
45818         (abi-o32_soft_2008-ld-soname): Likewise.
45819         (abi-o32_hard_2008-ld-soname): Likewise.
45820         (abi-n32_soft-ld-soname): Likewise.
45821         (abi-n32_hard-ld-soname): Likewise.
45822         (abi-n32_soft_2008-ld-soname): Likewise.
45823         (abi-n32_hard_2008-ld-soname): Likewise.
45824         (abi-n64_soft-ld-soname): Likewise.
45825         (abi-n64_hard-ld-soname): Likewise.
45826         (abi-n64_soft_2008-ld-soname): Likewise.
45827         (abi-n64_hard_2008-ld-soname): Likewise.
45828         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45829         Likewise.
45830         (abi-64-v2-ld-soname): Likewise.
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45832         ld.so entries.
45833         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45834         variable.
45835         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45836         entry.
45837         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45838         variable.
45839         (abi-64-ld-soname): Likewise.
45840         (abi-x32-ld-soname): Likewise.
45841         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45842         entry.
45843         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45845 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
45847         [BZ #14138]
45848         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45849         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45850         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45851         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45852         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45853         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45854         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45855         syscall entry for GLIBC_2.2 symbol version.
45856         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45857         Likewise.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45859         (setrlimit): Likewise.
45860         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45861         Likewise.
45863 2014-09-23  Will Newton  <will.newton@linaro.org>
45865         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45866         _LINUX_ARM_SYSDEP_H include guard too.
45867         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45868         define.
45870 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45872         * sysdeps/unix/sysv/linux/eventfd.c:
45873         Make first argument unsigned.
45874         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45875         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45877 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
45879         [BZ #16852]
45880         * socket/recvmmsg.c (recvmmsg): Drop const argument.
45881         * socket/sys/socket.h: Likewise.
45882         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45884 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45886         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45888 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
45890         * time/tst-ftime.c: New test.
45891         * time/Makefile (tests): Add tst-ftime.
45893 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
45895         * soft-fp/extended.h: Fix comment formatting.
45896         * soft-fp/op-1.h: Likewise.
45897         * soft-fp/op-2.h: Likewise.
45898         * soft-fp/op-4.h: Likewise.
45899         * soft-fp/op-8.h: Likewise.
45900         * soft-fp/op-common.h: Likewise.
45901         * soft-fp/soft-fp.h: Likewise.
45903         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45905 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
45907         [BZ #6652]
45908         * Makeconfig (soversions-default-setname): Remove variable.
45909         ($(common-objpfx)soversions.i): Don't pass default_setname to
45910         soversions.awk.
45911         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45912         oldest_abi to abi-versions.awk.
45913         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45914         * config.make.in (oldest-abi): Remove variable.
45915         * configure.ac (--enable-oldest-abi): Remove configure option.
45916         * configure: Regenerated.
45917         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45918         text.
45919         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45920         * scripts/soversions.awk: Do not handle default_setname variable.
45921         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45922         variable.
45923         * sysdeps/mach/hurd/configure: Regenerated.
45924         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45925         variable.
45926         * sysdeps/unix/sysv/linux/configure: Regenerated.
45928 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45930         * elf/Makefile (CFLAGS-interp.c): Remove.
45931         ($(elf-objpfx)runtime-linker.h): Generate header with linker
45932         path string.
45933         * elf/interp.c: Include generated runtime-linker.h
45935         * Makerules (lib%.so): Don't include $(+interp) in
45936         prerequisites.
45937         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45938         * dlfcn/eval.c: Remove file.
45940         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45941         macros.
45943         [BZ #17266]
45944         * misc/sys/cdefs.h: Define __extern_always_inline for clang
45945         4.2 and newer.
45947         [BZ #17370]
45948         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45950 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45951             Jakub Jelinek  <jakub@redhat.com>
45953         [BZ #17266]
45954         * libio/stdio.h: Check definition of __fortify_function
45955         instead of __extern_always_inline to include bits/stdio2.h.
45956         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45957         check if __extern_always_inline is defined.
45958         [__USE_MISC || __USE_XOPEN]: Likewise.
45959         [__USE_ISOC99] Likewise.
45960         * misc/sys/cdefs.h (__fortify_function): Define only if
45961         __extern_always_inline is defined.
45962         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45963         __extern_always_inline and __extern_inline only for g++-4.3
45964         and newer or a compatible gcc.
45966 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
45968         [BZ #17371]
45969         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45970         last change to handle zero prefix length.
45972 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45974         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45975         _SC_REGEX_VERSION.
45977         * posix/getconf.c (vars): Add _POSIX_IPV6 and
45978         _POSIX_RAW_SOCKETS.
45980 2014-09-13  Allan McRae  <allan@archlinux.org>
45982         * po/ru.po: Update Russian translation from translation project.
45984 2014-09-12  Roland McGrath  <roland@hack.frob.com>
45986         * locale/programs/locale.c (show_locale_vars): Inline local function
45987         into its sole call site.  Clean up some style nits.
45988         (print_item): New function, broken out of ...
45989         (show_info): ... local function here.  Clean up style nits.
45991         * locale/programs/ld-ctype.c (set_one_default): New function, broken
45992         out of ...
45993         (set_class_defaults): ... local function set_default here.
45994         Define set_default as a macro locally to pass constant parameters.
45995         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45996         rather than a shared local.
45998         * stdlib/rpmatch.c (try): New function, broken out of ...
45999         (rpmatch): ... local function here.  Also, prototypify definition.
46001 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46003         * scripts/soversions.awk: Do not handle configuration names.
46004         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46005         vendor and os variables to soversions.awk.
46006         * configure.ac: Do not modify gnu-* host_os.
46007         * configure: Regenerated
46008         * shlib-versions: Remove first column with configuration names.
46009         * nptl/shlib-versions: Likewise.
46010         * nptl_db/shlib-versions: Likewise.
46011         * sysdeps/hppa/shlib-versions: Likewise.
46012         * sysdeps/m68k/shlib-versions: Likewise.
46013         * sysdeps/mach/hurd/shlib-versions: Likewise.
46014         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46015         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46016         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46017         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46018         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46019         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46020         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46021         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46023         Likewise.
46024         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46025         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46026         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46027         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46028         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46029         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46030         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46031         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46034         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46036         Regenerated.
46037         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46039         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46041         * shlib-versions: Remove OS-specific entries.  Moved to files in
46042         sysdeps.
46043         * sysdeps/mach/hurd/shlib-versions: New file.
46044         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46046         * nptl/shlib-versions: Remove architecture-specific entries.
46047         Moved to files in sysdeps.
46048         * shlib-versions: Likewise.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46050         file.
46051         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46052         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46053         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46054         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46056         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46057         (UDP_NO_CHECK6_RX): Likewise.
46059 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46061         * sysdeps/posix/sysconf.c (__sysconf): Spell
46062         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46064 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46066         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46067         loading.
46068         * iconv/Versions (__gconv_transliterate): Export for use from
46069         gconv modules.
46070         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46071         (struct __gconv_trans_data, __gconv_trans_fct,
46072         __gconv_trans_context_fct, __gconv_trans_query_fct,
46073         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46074         definitions.
46075         (struct __gconv_step_data): Remove __trans member.
46076         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46077         longer hidden.  Remove unused trans_data argument.
46078         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46079         (__gconv_translit_find): Remove declaration.
46080         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46081         prototype.
46082         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46083         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46084         trans_data argument.  Add hidden definition.
46085         (__gconv_translit_find): Remove.
46086         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46087         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46088         * iconv/skeleton.c: Remove transliteration initialization.
46089         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46090         __gconv_step_data initialization.
46091         * libio/iofwide.c (__libio_translit_): Remove.
46092         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46093         * wcsmbs/btowc.c (__btowc): Likewise.
46094         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46095         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46096         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46097         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46098         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46099         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46100         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46101         * wcsmbs/wctob.c (wctob): Likewise.
46103 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46105         [BZ #16194]
46106         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46107         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46108         register usage.
46109         * sysdeps/x86/Makefile: Adjust.
46111 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46112             Roland McGrath  <roland@hack.frob.com>
46114         * locale/weight.h: Add include guard.
46115         (findidx): Make static rather than auto; take new parameters
46116         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46117         * locale/weightwc.h: Likewise.
46118         * posix/fnmatch_loop.c
46119         (FCT): Change type of EXTRA from int32_t to wint_t.
46120         Don't include either header inside the function.
46121         Call FINDIDX rather than findidx, and pass new arguments.
46122         #undef FINDIDX at the end of the file.
46123         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46124         FINDIDX before including fnmatch_loop.c for the non-wide version.
46125         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46126         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46127         for the wide version.
46128         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46129         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46130         Pass new arguments to findidx.
46131         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46132         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46133         Don't #include it inside the function.  Pass new arguments to findidx.
46134         * posix/regex_internal.h
46135         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46136         (re_string_elem_size_at): Don't #include it inside the function.
46137         Pass new arguments to findidx.
46138         * string/strcoll_l.c: #include WEIGHT_H at top level.
46139         (get_next_seq): Don't #include it inside the function.
46140         Pass new arguments to findidx.
46141         (get_next_seq_nocache): Likewise.
46142         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46143         (STRXFRM): Don't #include it inside the function.
46144         Pass new arguments to findidx.
46146 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46148         [BZ #17344]
46149         * malloc/malloc.c (unlink): Turn asserts into a call to
46150         malloc_printerr.
46152 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46154         [BZ #17370]
46155         * libio/wfileops (do_ftell_wide): Free OUT.
46157 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46159         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46161 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46163         [BZ #17363]
46164         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46165         group if the current group is empty.
46167 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46169         * benchtests/bench-memset.c (test_main): Add more test from size
46170         from 32 to 512 bytes.
46171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46172         Add POWER8 memset object.
46173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46174         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46175         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46176         implementation.
46177         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46178         Likewise.
46179         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46180         multiarch POWER8 memset optimization.
46181         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46182         POWER8 memset optimization.
46184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46185         Remove bzero multiarch objects.
46186         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46187         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46188         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46189         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46190         Remove define.
46191         [__bzero]: Redefine to specific name.
46192         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46193         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46194         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46195         define.
46196         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46197         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46199 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46201         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46202         warnings into errors.
46204         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46205         __cxa_thread_atexit_impl prototype.
46207 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46209         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46210         Fix capitalization of error message.
46212 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46214         * sysdeps/mips/preconfigure: Modify ABI tests.
46216 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46218         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46220 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46221             Carlos O'Donell  <carlos@systemhalted.org>
46223         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46224         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46225         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46226         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46227         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46228         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46229         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46230         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46231         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46232         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46233         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46234         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46235         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46236         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46237         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46238         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46239         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46240         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46242         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46243         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46244         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46245         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46246         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46247         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46248         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46249         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46250         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46251         Deconditionalize the code that was previously under [RESET_PID].
46252         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46253         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46254         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46255         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46256         include sysdep.h.
46258 2014-09-08  Allan McRae  <allan@archlinux.org>
46260         * version.h (RELEASE): Set to "development".
46261         (VERSION): Set to "2.20.90"
46263 2014-09-07  Allan McRae  <allan@archlinux.org
46265         * version.h (RELEASE): Set to "stable".
46266         (VERSION): Set to "2.20"
46267         * include/features.h (__GLIBC_MINOR__): Set to 20.
46269         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46270         Liebler.
46272         * po/ko.po: Update Korean translation from translation project.
46274 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46276         [BZ #17354]
46277         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46278         macro for handling signed relocations.
46280 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46282         [BZ #17325]
46283         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46284         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46285         assert.
46286         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46287         * iconvdata/ibm935.c (BODY): Likewise.
46288         * iconvdata/ibm937.c (BODY): Likewise.
46289         * iconvdata/ibm939.c (BODY): Likewise.
46290         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46291         assert.
46292         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46293         script.
46294         * iconvdata/run-iconv-test.sh: New test loop for checking for
46295         decoder crashers.
46297 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46300         libm_hidden_ver.
46302 2014-09-01  Allan McRae  <allan@archlinux.org>
46304         * po/eo.po: Update Esperanto translation from translation project.
46306         * po/ca.po: Update Catalan translation from translation project.
46308 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46310         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46311         __proc_dostop call.
46313 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46315         [BZ #17319]
46316         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46317         to call set_thread_area instead of hand written asm.
46318         (__NR_set_thread_area): Removed define.
46319         (TLS_FLAG_WRITABLE): Likewise.
46320         (__ASSUME_SET_THREAD_AREA): Remove check.
46321         (TLS_EBX_ARG): Remove define.
46322         (TLS_LOAD_EBX): Likewise.
46324 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46326         Simplify atomicity of socket creation in bind.
46328         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46329         looking up the name after linking the file.
46331 2014-08-27  Allan McRae  <allan@archlinux.org>
46333         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46335 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46337         [BZ #17187]
46338         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46339         trans_compare, open_translit, __gconv_translit_find):
46340         Remove module loading code.
46342 2014-08-26  Allan McRae  <allan@archlinux.org>
46344         * po/vi.po: Update Vietnamese translation from translation project.
46346         * po/uk.po: Update Ukrainian translation from translation project.
46348         * po/fr.po: Update French translation from translation project.
46350         * po/ru.po: Update Russian translation from translation project.
46352         * po/pl.po: Update Polish translation from translation project.
46354         * po/cs.po: Update Czech translation from translation project.
46356         * po/de.po: Update German translation from translation project.
46358         * po/bg.po: Update Bulgarian translation from translation project.
46360         * po/sv.po: Update Sweedish translation from translation project.
46362         * po/nl.po: Update Dutch translation from translation project.
46364         * po/es.po: Update Spanish translation from translation project.
46366 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46368         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46370         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46371         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46372         (CPPFLAGS-iconvconfig): Likewise.
46373         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46375         * include/libc-symbols.h: Remove unnecessary check for
46376         NOT_IN_libc.
46377         * nptl/pthreadP.h: Likewise.
46378         * sysdeps/aarch64/setjmp.S: Likewise.
46379         * sysdeps/alpha/setjmp.S: Likewise.
46380         * sysdeps/arm/sysdep.h: Likewise.
46381         * sysdeps/i386/setjmp.S: Likewise.
46382         * sysdeps/m68k/setjmp.c: Likewise.
46383         * sysdeps/posix/getcwd.c: Likewise.
46384         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46385         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46386         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46387         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46388         * sysdeps/sh/sh3/setjmp.S: Likewise.
46389         * sysdeps/sh/sh4/setjmp.S: Likewise.
46390         * sysdeps/unix/alpha/sysdep.h: Likewise.
46391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46393         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46394         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46399         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46402         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46404         * sysdeps/x86_64/setjmp.S: Likewise.
46406 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46408         [BZ #17263]
46409         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46410         <stdint.h>.
46411         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46412         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46414 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46416         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46418         [BZ #17262]
46419         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46420         and __x86_64__ when disabling x87 inline functions.
46422 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46424         [BZ #17259]
46425         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46426         asm statement with __cpuid_count.
46428 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46430         * configure.ac: Change __ehdr_start code to dereference the struct.
46431         Run readelf on the output to look for relocations.
46432         * configure: Regenerated.
46434 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46436         [BZ #17261]
46437         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46438         value to 0.
46439         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46441 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46443         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46445 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46447         [BZ #16892]
46448         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46449         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46451 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46453         * malloc/malloc.c: Fix typo in comment.
46455 2014-08-09  Allan McRae  <allan@archlinux.org>
46457         * Regenerate libc.po.
46459 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46461         * intl/tst-gettext2.sh: Check every lang file for creation.
46463 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46465         * sysdeps/aarch64/fpu/math_private.h
46466         (libc_feholdsetround_noex_aarch64_ctx): New function.
46468 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46470         * sysdeps/arm/armv6/strcpy.S (strcpy):
46471         Fix performance issue in misaligned cases.
46473 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46475         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46476         Move definition from termios.h.
46477         (struct termio): Likewise.
46478         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46479         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46480         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46481         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46482         Likewise.
46483         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46484         Move definition to ioctl-types.h
46485         (struct termio): Likewise.
46486         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46487         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46488         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46489         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46490         Likewise.
46492 2014-08-05  Richard Henderson  <rth@redhat.com>
46494         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46495         exceptions.
46496         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46497         Add fraiseexcpt.
46498         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46499         Use __feraiseexcept.
46500         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46501         Protect libm symbols with IS_IN_libm.
46503         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46505 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46507         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46509 2014-08-04  Will Newton  <will.newton@linaro.org>
46511         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46512         file.
46514 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46516         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46517         variants for each function.
46519 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46521         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46522         appended ...
46523         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46524         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46525         appended ...
46526         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46527         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46528         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46529         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46530         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46531         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46532         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46533         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46534         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46535         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46536         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46540         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46541         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46542         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46546         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46547         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46548         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46550         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46551         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46552         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46553         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46554         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46555         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46556         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46557         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46558         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46559         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46562         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46563         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46564         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46565         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46566         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46568         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46570         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46571         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46572         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46573         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46574         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46575         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46576         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46577         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46578         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46579         Update #include.
46580         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46581         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46583 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46585         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46586         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46587         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46588         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46589         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46590         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46592 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46594         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46595         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46596         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46597         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46599 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46601         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46602         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46603         (__libc_vfork): Define function under this name.
46604         (__vfork): Define as an alias.
46605         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46606         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46608 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46610         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46611         that was previously under [RESET_PID].
46612         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46614 2014-08-04  Andreas Schwab  <schwab@suse.de>
46616         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46618 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46620         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46621         (main): Likewise.
46623 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46625         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46627 2014-08-01  Richard Henderon  <rth@redhat.com>
46629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46630         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46631         typo in exact zero test.
46632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46633         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46636 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46638         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46639         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46640         * sysdeps/arm/sysdep.h: ... here.
46641         [!__ASSEMBLER__]: Include <stdint.h>.
46643 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46645         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46646         (HAVE_WCTYPE_H): Likewise.
46647         (HAVE_ISWCTYPE): Likewise.
46648         (ENABLE_NLS): Likewise.
46649         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46650         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46652         * posix/regex_internal.c: Check if DEBUG is defined and is
46653         set.
46655         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46656         (HAVE_MBSRTOWCS): Likewise.
46657         * posix/fnmatch.c: Include string.h unconditionally.
46659 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46661         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46662         reversal.
46664 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46666         * sysdeps/generic/safe-fatal.h: New file.
46667         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46668         * nptl/forward.c: Include it.
46669         (__pthread_unwind): Use __safe_fatal as default action, rather
46670         than a bogus use of INTERNAL_SYSCALL that could never work.
46672         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46673         * configure.ac (libc_cv_builtin_trap): New test.
46674         * configure: Regenerated.
46675         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46676         (ABORT_INSTRUCTION): Define using __builtin_trap.
46678         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46679         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46680         * sysdeps/nptl/nptl-signals.h: New file.
46681         * nptl/pthreadP.h: Include <nptl-signals.h>.
46683 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46685         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46686         (ONE_DIRECTION): Define.
46687         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46688         (ONE_DIRECTION): Define.
46689         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46690         (ONE_DIRECTION): Define.
46692 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46694         * sysdeps/s390/Makefile: Delete file.
46695         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46696         * sysdeps/s390/__longjmp.c: Delete file.
46697         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46698         Remove fields __flags and __reserved.
46699         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46700         and add versioning.
46701         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46702         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46703         * sysdeps/s390/rtld-setjmp.S: Likewise.
46704         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46705         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46706         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46707         * sysdeps/s390/s390-32/setjmp.S: ... here.
46708         Add versioning.
46709         (__sigsetjmp): Remove setting __flags field.
46710         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46711         * sysdeps/s390/s390-64/__longjmp.c: ... here.
46712         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46713         * sysdeps/s390/s390-64/setjmp.S: ... here.
46714         Add versioning.
46715         (__sigsetjmp): Remove setting __flags field.
46716         * sysdeps/s390/setjmp.S: Delete file.
46717         * sysdeps/s390/sigjmp.c: Likewise.
46718         * sysdeps/s390/v1-longjmp.c: Likewise.
46719         * sysdeps/s390/v1-setjmp.h: Likewise.
46720         * sysdeps/s390/v1-sigjmp.c: Likewise.
46721         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46722         Remove v1-longjmp_chk.
46723         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46724         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46725         Include debug/longjmp_chk.c and add versioning.
46726         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46727         Include nptl/pt-longjmp.c and add versioning.
46728         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46729         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46730         Include __longjmp.c.
46731         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46732         Move to ...
46733         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46734         (__getcontext): Remove setting __flags field.
46735         Add versioning.
46736         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46737         Don't restore upper high grps.
46738         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46739         Likewise.
46740         (__swapcontext): Remove setting uc_flags field.
46741         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46742         Delete file.
46743         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46744         Include __longjmp.c.
46745         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46746         Move to ...
46747         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46748         (__getcontext): Remove setting __flags field.
46749         Add versioning.
46750         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46751         (__swapcontext): Remove setting uc_flags field.
46752         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46753         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46754         Remove fields uc_high_gprs and __reserved.
46755         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46756         New file with reverted content.
46757         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46758         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46759         Regenerated.
46760         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46761         Regenerated.
46763 2014-07-31  Andreas Schwab  <schwab@suse.de>
46765         * config.h.in (HAVE_IFUNC): Define to 0.
46766         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46767         definedness.
46769 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
46771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46772         memmove-avx-unaligned, memcpy-avx-unaligned and
46773         mempcpy-avx-unaligned.
46774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46775         Add tests for AVX memcpy functions.
46776         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46777         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46778         memcpy_chk.
46779         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46780         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46781         memmove_chk.
46782         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46783         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46784         mempcpy_chk.
46785         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46786         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46787         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46789 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46791         [BZ #17213]
46792         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46793         powerpc64le.
46795 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
46797         [BZ #16839]
46798         * manual/llio.texi: Add section about open file description locks.
46799         * manual/examples/ofdlocks.c: Example of open file description
46800         lock usage.
46801         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46802         F_OFD_SETLK, and F_OFD_SETLKW.
46804 2014-07-23  Allan McRae  <allan@archlinux.org>
46806         * po/es.po: Update Spanish translation from translation project.
46808 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
46810         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46812 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
46814         [BZ #17078]
46815         * sysdeps/arm/dl-machine.h (elf_machine_rela)
46816         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46817         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46819 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
46821         [BZ #17088]
46822         * math/fesetenv.c (__fesetenv)
46823         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46824         * math/feupdateenv.c (__feupdateenv)
46825         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46827         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46828         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46829         (__ASSUME_SOCKETCALL): Do not define.
46831         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46832         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46833         (__ASSUME_SOCKETCALL): Do not define.
46834         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46835         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46836         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46837         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46839         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46840         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46841         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46843         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46844         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46845         (__ASSUME_SOCKETCALL): Do not define.
46846         (__ASSUME_IPC64): Define unconditionally.
46847         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46848         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46849         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46850         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46851         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46853         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46854         Likewise.
46856         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46857         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46858         (__ASSUME_SOCKETCALL): Do not define.
46859         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46860         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46861         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46862         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46863         (__ASSUME_REQUEUE_PI): Define unconditionally.
46864         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46865         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46866         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46867         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46868         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46869         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46871         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46872         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46873         (__ASSUME_SOCKETCALL): Do not define.
46874         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46875         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46876         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46877         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46878         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46879         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46881         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46882         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46883         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46884         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46885         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46886         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46887         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46888         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46889         (__ASSUME_GETCPU_SYSCALL): Likewise.
46891         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46892         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
46893         cases for individual architectures.
46894         * sysdeps/gnu/configure: Regenerated.
46895         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46896         LIBC_SLIBDIR_RTLDDIR.
46897         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46898         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46899         LIBC_SLIBDIR_RTLDDIR.
46900         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46902         LIBC_SLIBDIR_RTLDDIR.
46903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46904         Regenerated.
46905         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46906         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46907         file.
46908         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46909         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46910         file.
46911         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46912         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46913         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46914         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46916         * sysdeps/aarch64/shlib-versions: Move to ...
46917         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46918         * sysdeps/alpha/shlib-versions: Move to ...
46919         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46920         * sysdeps/arm/shlib-versions: Move to ...
46921         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46922         * sysdeps/hppa/shlib-versions: Move all contents except for
46923         libgcc_s entry to ...
46924         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
46925         entry from ...
46926         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
46927         * sysdeps/ia64/shlib-versions: Move to ...
46928         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
46929         entry from ...
46930         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
46931         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46932         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46933         * sysdeps/microblaze/shlib-versions: Move to ...
46934         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46935         * sysdeps/mips/shlib-versions: Move to ...
46936         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
46937         entry from ...
46938         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
46939         * sysdeps/tile/shlib-versions: Move to ...
46940         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46941         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46942         from ...
46943         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
46944         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46945         entry from ...
46946         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
46948 2014-07-17  Will Newton  <will.newton@linaro.org>
46950         * sysdeps/arm/bits/atomic.h
46951         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46952         (__arch_compare_and_exchange_bool_16_int): Likewise.
46953         (__arch_compare_and_exchange_bool_64_int): Likewise.
46955         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46956         into an #else block.
46958 2014-07-16  Roland McGrath  <roland@hack.frob.com>
46960         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46961         just Linux configurations.  Test empirically that the compiler sets
46962         __ARM_EABI__, rather than using the tuple to decide.
46963         * sysdeps/arm/preconfigure: Regenerated.
46964         * sysdeps/unix/sysv/linux/arm/configure: File removed.
46965         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46966         contents appended ...
46967         * sysdeps/arm/configure.ac: ... here.
46968         * sysdeps/arm/configure: Regenerated.
46970 2014-07-15  Roland McGrath  <roland@hack.frob.com>
46972         * nptl/pthread_kill.c: New file.
46973         * nptl/pthread_sigmask.c: New file.
46974         * nptl/pthread_sigqueue.c: New file.
46976         * sysdeps/nptl/lowlevellock.h: New file.
46977         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46978         * sysdeps/nptl/lowlevellock-futex.h: New file.
46980         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46981         Remove dead declarations.
46983 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
46985         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46986         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46987         config-cflags-avx2.
46988         * sysdeps/x86_64/configure.ac: Likewise.
46989         * sysdeps/i386/configure: Regenerated.
46990         * sysdeps/x86_64/configure: Likewise.
46991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46992         memset-avx2 only if config-cflags-avx2 is yes.
46993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46994         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46995         defined.
46996         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46997         only if HAVE_AVX2_SUPPORT is defined.
46998         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47000 2014-07-14  Alan Modra  <amodra@gmail.com>
47002         [BZ #17153]
47003         * elf/elf.h (DT_PPC64_NUM): Correct value.
47004         * NEWS: Add to fixed bug list.
47006 2014-07-13  Jim Meyering  <meyering@fb.com>
47008         [BZ 17150]
47009         regex: don't deref NULL upon heap allocation failure
47010         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47011         failure in one more place.
47012         To trigger the segfault, configure grep -with-included-regex,
47013         build it, and run these commands:
47014         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47016 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47018         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47020 2014-07-11  Richard Henderson  <rth@redhat.com>
47022         * sysdeps/aarch64/libm-test-ulps: Update.
47024 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47026         [BZ #17135]
47027         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47028         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47029         (__nptl_setxid): Initialize error member.  Call
47030         __nptl_setxid_error.
47031         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47032         * nptl/descr.h (struct xid_command): Add error member.
47033         * nptl/tst-setuid3.c: New file.
47034         * nptl/Makefile (tests): Add it.
47036 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47038         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47039         New define.
47040         (__lll_trylock): Use __lll_base_trylock.
47041         (__lll_cond_trylock): Likewise.
47043 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47045         * nptl/pthread_create.c (start_thread): Use atomic_or and
47046         lll_futex_wake directly rather than lll_robust_dead.
47047         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47048         (lll_robust_dead): Macro removed.
47049         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47050         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47051         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47052         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47053         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47054         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47055         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47056         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47057         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47058         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47059         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47060         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47061         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47062         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47063         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47065         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47066         Use atomic_compare_and_exchange_val_acq directly rather than
47067         lll_robust_trylock.
47068         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47069         (__lll_robust_trylock, lll_robust_trylock): Removed.
47070         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47071         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47072         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47073         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47074         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47075         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47076         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47077         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47078         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47079         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47081         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47082         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47083         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47085 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47087         * manual/locale.texi (Locale Names): New section documenting
47088         locale name syntax.  Adjust menu and node chaining accordingly.
47089         (Choosing Locale): Reference Locale Names, Locale Categories.
47090         Mention setting LC_ALL=C.  Reflect that name syntax is now
47091         documented.
47092         (Locale Categories): New section title.  Reference Locale Names.
47093         LC_ALL is an environment variable, but not a category.
47094         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47095         description, now in Locale Name.  Reference that section.  Locale
47096         name syntax is now documented.
47098 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47100         [BZ #17137]
47101         * locale/findlocale.c (name_present, valid_locale_name): New
47102         functions.
47103         (_nl_find_locale): Use the loc_name variable to store name
47104         candidates.  Call name_present and valid_locale_name to check and
47105         validate locale names.  Return an error if the locale is invalid.
47107 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47109         * locale/setlocale.c (setlocale): Use strdup for allocating
47110         composite name copy.
47112 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47114         Sync up with gnulib.
47115         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47116         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47117         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47118         and _GL_ARG_NONNULL.
47119         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47120         [!_LIBC]: Include code for Windows and Cygwin.
47121         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47122         Include prototype for int strerror_r.
47123         [!_LIBC] (is_open): New function.
47124         (flush_stdout): New function.
47125         (print_errno_message): Use it.
47126         (error): Likewise.
47127         (error_at_line): Likewise.
47128         (error_tail) Add function attribute macros.  Use
47129         __builtin_expect.
47131         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47133         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47135         * io/ftw.c: Include sys/param.h unconditionally.
47137         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47139         [BZ #17125]
47140         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47141         libc_freeres_ptr.
47142         (freecache): New function to free CACHE on exit.
47144         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47145         initialization.
47147 2014-07-09  David S. Miller  <davem@davemloft.net>
47149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47151         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47152         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47153         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47154         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47155         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47156         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47157         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47158         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47159         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47160         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47161         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47162         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47163         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47165 2014-07-09  Andreas Schwab  <schwab@suse.de>
47167         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47168         output.
47169         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47170         (do_test): Likewise.
47172         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47174 2014-07-09  Will Newton  <will.newton@linaro.org>
47176         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47177         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47178         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47179         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47180         * sysdeps/hppa/start.S (_start): Likewise.
47182 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47184         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47186         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47187         defined.
47189 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47191         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47192         after checking that it is non-NULL.
47194         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47196 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47198         * sysdeps/powerpc/memmove.c: Remove file.
47199         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47200         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47201         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47202         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47203         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47204         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47205         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47206         string memmove instead of removed powerpc one.
47208         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47209         [weak_alias]: Fix compiler warning due trailing data.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47211         [weak_alias]: Likewise.
47212         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47213         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47216         (__libc_ifunc_impl_list): Add memmove functions.
47218 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47220         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47221         Remove code.
47222         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47223         Likewise.
47224         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47225         Likewise.
47226         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47227         Likewise.
47228         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47229         Likewise.
47230         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47231         Likewise.
47232         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47233         Likewise.
47234         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47235         Likewise.
47236         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47237         Likewise.
47238         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47239         Likewise.
47240         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47241         Likewise.
47242         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47243         Likewise.
47244         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47245         Likewise.
47246         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47247         Likewise.
47248         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47249         Likewise.
47250         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47251         Likewise.
47252         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47253         Likewise.
47255 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47257         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47258         to avoid alignment traps in non-cacheable memory.
47259         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47262         multiarch objects.
47263         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47264         file: multiarch power7 memmove.
47265         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47266         multiarch default memmove.
47267         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47268         multiarch memove for powerpc32/power4.
47270         * string/bcopy.c: Use full path to include memmove.c.
47271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47272         multiarch objects.
47273         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47274         bcopy for powerpc64.
47275         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47276         bcopy for powerpc64.
47277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47278         and memmove implementations.
47279         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47280         optimized multiarch memmove for POWER7/powerpc64.
47281         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47282         default multiarch memmove for powerpc64.
47283         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47284         multiarch for powerpc64.
47285         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47286         for POWER7/powerpc64.
47287         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47288         memmove for POWER7/powerpc64.
47290         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47291         glibc default one.
47293         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47294         __ELF_NATIVE_CLASS equal to 64.
47296 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47298         * sysdeps/nptl/lowlevellock.h: File removed.
47300         * NEWS: NPTL is no longer an add-on!
47301         * nptl/internaltypes.h: Moved ...
47302         * sysdeps/nptl/internaltypes.h: ... here.
47303         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47304         * sysdeps/nptl/fork.c: Likewise.
47305         * sysdeps/nptl/gai_misc.h: Likewise.
47306         * sysdeps/nptl/librt-cancellation.c: Likewise.
47307         * sysdeps/nptl/jmp-unwind.c: Likewise.
47308         * sysdeps/nptl/setxid.h: Likewise.
47309         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47310         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47311         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47312         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47313         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47314         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47315         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47316         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47317         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47318         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47319         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47320         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47321         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47322         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47323         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47324         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47325         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47326         * nptl/Makeconfig: Moved ...
47327         * sysdeps/nptl/Makeconfig: ... here.
47328         * nptl/configure: File removed.
47329         * nptl/ANNOUNCE: File removed.
47330         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47331         * sysdeps/unix/sysv/linux/configure: Regenerated.
47333         * nptl/Makefile (routines): Add libc_pthread_init,
47334         libc_multiple_threads, register-atfork and unregister-atfork.
47335         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47336         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47337         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47338         pthread-pi-defines.sym, structsem.sym.
47339         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47340         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47341         [$(subdir) = nptl] (tests): Add tst-setgetname.
47342         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47343         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47344         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47345         [!LIBC_SIGACTION]: Remove aliases.
47346         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47347         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47348         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47349         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47350         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47351         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47352         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47354         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47355         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47356         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47357         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47358         __libc_allocate_rtsig_private.
47359         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47360         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47361         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47363         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47364         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47365         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47366         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47367         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47368         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47369         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47370         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47371         * nptl/internaltypes.h: ... here.
47372         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47373         * sysdeps/nptl/jmp-unwind.c: ... here.
47374         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47375         * nptl/libc-lowlevellock.c: ... here.
47376         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47377         * nptl/libc_multiple_threads.c: ... here.
47378         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47379         * nptl/libc_pthread_init.c: ... here.
47380         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47381         * nptl/lowlevelbarrier.sym: ... here.
47382         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47383         * nptl/lowlevelcond.sym: ... here.
47384         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47385         * nptl/lowlevellock.c: ... here.
47386         * nptl/lowlevellock.h: Moved ...
47387         * sysdeps/nptl/lowlevellock.h: ... here.
47388         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47389         * nptl/lowlevelrobustlock.c: ... here.
47390         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47391         * nptl/lowlevelrobustlock.sym: ... here.
47392         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47393         * nptl/lowlevelrwlock.sym: ... here.
47394         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47395         * nptl/pt-fork.c: ... here.
47396         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47397         * nptl/pthread-pi-defines.sym: ... here.
47398         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47399         * nptl/pthread_attr_getaffinity.c: ... here.
47400         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47401         * nptl/pthread_attr_setaffinity.c: ... here.
47402         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47403         * nptl/pthread_mutex_cond_lock.c: ... here.
47404         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47405         Update #include.
47406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47407         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47408         * nptl/pthread_once.c: ... here, replacing old file.
47409         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47410         * nptl/pthread_yield.c: ... here.
47411         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47412         * nptl/register-atfork.c: ... here.
47413         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47414         * nptl/sem_post.c: ... here.
47415         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47416         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47417         * nptl/sem_timedwait.c: ... here.
47418         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47419         * nptl/sem_trywait.c: ... here.
47420         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47421         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47422         * nptl/sem_wait.c: ... here.
47423         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47424         * nptl/structsem.sym: ... here.
47425         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47426         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47427         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47428         * nptl/unregister-atfork.c: ... here.
47429         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47430         * nptl/unwindbuf.sym: ... here.
47431         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47432         * sysdeps/nptl/fork.c: ... here.
47433         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47434         * sysdeps/nptl/fork.h: ... here.
47435         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47436         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47437         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47438         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47439         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47440         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47441         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47442         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47443         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47444         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47445         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47446         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47447         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47448         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47449         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47450         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47451         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47452         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47453         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47454         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47455         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47456         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47457         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47458         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47459         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47460         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47461         * sysdeps/unix/sysv/linux/raise.c: ... here.
47462         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47463         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47464         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47465         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47466         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47467         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47468         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47469         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47470         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47471         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47472         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47473         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47474         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47475         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47476         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47478 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47480         * sysdeps/generic/memcopy.h: Add comment for
47481         MEMCPY_OK_FOR_FWD_MEMMOVE.
47483 2014-07-04  Will Newton  <will.newton@linaro.org>
47485         * string/memchr.c: Merge from gnulib.
47486         [_LIBC]: Remove conditionals.
47487         (__ptr_t): Remove define.
47488         (LONG_MAX_32_BITS): Likewise.
47489         (LONG_MAX): Likewise.
47490         (MEMCHR): Use ANSI prototype and optimize algorithm.
47492         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47494 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47496         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47497         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47499         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47500         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47501         in a bare environment with no <stdlib.h> installed.
47502         * sysdeps/nptl/configure: Regenerated.
47504         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47506         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47507         AC_EGREP_CPP for kernel header checks, so they only succeed if
47508         including <linux/version.h> actually works right.
47509         * sysdeps/unix/sysv/linux/configure: Regenerated.
47511         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47512         value so it's not diagnosed as unused.
47514         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47515         thing) with "ifeq ($(subdir),rt)".
47517 2014-07-03  Richard Henderson  <rth@redhat.com>
47519         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47520         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47521         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47523         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47524         (math_force_eval): New.
47526         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47527         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47529         * sysdeps/alpha/fpu/s_round.c: Remove file.
47530         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47532         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47533         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47534         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47535         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47536         (_dl_start, print_statistics): Likewise.
47537         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47538         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47540         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47541         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47542         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47543         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47545         (HP_SMALL_TIMING_AVAIL): Define.
47546         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47547         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47548         (HP_SMALL_TIMING_AVAIL): Define.
47549         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47550         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47552         * sysdeps/aarch64/hp-timing.h: New file.
47554         * sysdeps/generic/hp-timing.h: Remove dead comment.
47555         * sysdeps/generic/hp-timing-common.h: New file.
47556         * sysdeps/alpha/hp-timing.h: Include it.
47557         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47558         * sysdeps/i386/i686/hp-timing.h: Likewise.
47559         * sysdeps/ia64/hp-timing.h: Likewise.
47560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47561         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47562         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47563         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47564         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47565         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47566         (hp_timing_t): New.
47568         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47569         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47570         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47571         * elf/rtld.c (_dl_start_final): Likewise.
47572         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47573         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47574         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47575         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47576         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47578         (HP_TIMING_DIFF_INIT): Remove.
47579         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47580         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47581         (HP_TIMING_DIFF_INIT): Remove.
47582         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47583         * sysdeps/i386/i686/hp-timing.c: Remove file.
47584         * sysdeps/x86_64/hp-timing.c: Remove file.
47585         * sysdeps/ia64/hp-timing.c: Remove file.
47586         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47587         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47589         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47591         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47592         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47593         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47594         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47596         (HP_TIMING_ACCUM): Remove.
47597         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47598         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47599         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47601         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47602         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47603         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47604         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47605         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47606         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47607         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47608         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47610         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47612 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47614         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47616 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47618         Sync up with gettext.
47619         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47620         [_MSC_VER]: Include malloc.h
47621         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47622         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47623         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47624         TEMP_FAILURE_RETRY.  Cast return of alloca.
47625         [!_LIBC] Call gl_rwlock_init.
47626         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47628 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47630         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47631         before checking its value.
47633 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47635         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47637         * debug/memcpy_chk.c: Don't include pagecopy.h.
47638         * debug/mempcpy_chk.c: Likewise.
47639         * string/memcpy.c: Likewise.
47640         * string/memmove.c: Likewise.
47641         * sysdeps/powerpc/memmove.c: Likewise.
47642         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47643         definition of PAGE_COPY_FWD_MAYBE here...
47644         * sysdeps/generic/pagecopy.h: ... from here.
47645         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47647 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47648             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47650         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47652         optimizations.
47653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47654         (__libc_ifunc_impl_list): Likewise.
47655         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47656         multiarch strcat for PPC64.
47657         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47658         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47660 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47662         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47666         * intl/loadmsgcat.c: Remove declaration of
47667         get_sysdep_segment_value.
47668         (get_sysdep_segment_value): Use ISO C style.
47669         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47670         semicolon.  Fix typo and formatting in comment.
47671         (_nl_unload_domain): Use ISO C style.
47673         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47675 2014-07-02  Will Newton  <will.newton@linaro.org>
47677         * malloc/obstack.c: Merge from gnulib master.
47678         [HAVE_CONFIG_H]: Remove conditional code.
47679         [!_LIBC]: Include config.h.
47680         [!ELIDE_CODE]: Don't include inttypes.h, include
47681         stdint.h unconditionally.
47682         (print_and_abort): Mark as _Noreturn.
47683         (_obstack_allocated_p): Mark as __attribute_pure__.
47684         (obstack_free): Rename to __obstack_free.
47685         [!__attribute__]: Remove conditional code.
47686         * malloc/obstack.h: Merge from gnulib master.
47687         [__cplusplus]: Move conditional down.
47688         [!__attribute_pure__]: Define __attribute_pure__ here
47689         if it is not already defined.
47690         (_obstack_memory_used): Mark as __attribute_pure__.
47691         [!__obstack_free]: Define as obstack_free.
47692         [__GNUC__]: Remove check for ancient NeXT gcc.
47694 2014-07-02  Will Newton  <will.newton@linaro.org>
47695             Paul Eggert  <eggert@cs.ucla.edu>
47697         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47699 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47701         * resolv/gethnamaddr.c: Add comment warning that the file is
47702         not maintained.
47704 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47706         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47707         entries.
47709         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47710         entry for aio_cancel and aio_cancel64.
47711         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47712         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47713         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47714         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47715         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47716         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47717         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47718         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47719         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47720         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47721         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47722         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47723         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47725 2014-07-01  Roland McGrath  <roland@hack.frob.com>
47727         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47728         * nptl/pthread_mutex_lock.c: Likewise.
47729         * nptl/pthread_mutex_timedlock.c: Likewise.
47730         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47732 2014-07-01  Richard henderson  <rth@redhat.com>
47734         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47735         (__isnan, __isnanl): Remove.
47736         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47738         * sysdeps/alpha/fpu/libm-test-ulps: Update.
47740 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47742         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47744 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47746         * resolv/nss_dns/dns-host.c (getanswer_r)
47747         [MULTI_PTRS_ARE_ALIASES]: Remove code.
47749 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
47751         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47752         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47753         undefine.
47754         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47755         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47757 2014-07-01  Roland McGrath <roland@hack.frob.com>
47759         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47760         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47762         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47763         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47765         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47766         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47767         ... here.
47768         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47769         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47771         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47772         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47773         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47774         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47776         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47777         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47778         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47779         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47780         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47781         Moved ...
47782         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47783         ... here.
47784         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47785         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47786         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47787         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47788         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47789         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47790         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47791         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47792         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47793         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47794         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47795         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47796         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47797         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47798         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47799         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47800         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47801         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47802         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47803         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47804         ... here.
47805         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47806         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47807         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47808         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47809         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47810         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47811         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47812         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47814 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
47816         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47817         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47818         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47819         Add sysdep.
47821 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47825 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47827         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47828         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47830         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47832         * sysdeps/arm/libm-test-ulps: Regenerated.
47834 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47835             Roland McGrath <roland@hack.frob.com>
47837         * test-skeleton.c (signal_handler): Kill the whole process group
47838         before killing the child individually.
47839         (main): Report any failure on `setpgid'.
47841 2014-06-30  Roland McGrath  <roland@hack.frob.com>
47843         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47844         from _TLS_H to _ARM_NPTL_TLS_H.
47845         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47846         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47848 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47850         [BZ #16539]
47851         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47852         (__expm1l): Return argument unchanged when small but not
47853         subnormal.
47855         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47856         include macro name.
47857         (_FP_UNPACK_RAW_1_P): Likewise.
47858         (_FP_PACK_RAW_1): Likewise.
47859         (_FP_PACK_RAW_1_P): Likewise.
47860         (_FP_MUL_MEAT_1_wide): Likewise.
47861         (_FP_MUL_MEAT_DW_1_hard): Likewise.
47862         (_FP_MUL_MEAT_1_hard): Likewise.
47863         (_FP_DIV_MEAT_1_imm): Likewise.
47864         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47865         (_FP_DIV_MEAT_1_udiv): Likewise.
47866         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47867         (_FP_UNPACK_RAW_2): Likewise.
47868         (_FP_UNPACK_RAW_2_P): Likewise.
47869         (_FP_PACK_RAW_2): Likewise.
47870         (_FP_PACK_RAW_2_P): Likewise.
47871         (_FP_MUL_MEAT_DW_2_wide): Likewise.
47872         (_FP_MUL_MEAT_2_wide): Likewise.
47873         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47874         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47875         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47876         (_FP_MUL_MEAT_2_gmp): Likewise.
47877         (_FP_DIV_MEAT_2_udiv): Likewise.
47878         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47879         (_FP_FRAC_SRL_4): Likewise.
47880         (_FP_FRAC_SRST_4): Likewise.
47881         (_FP_FRAC_SRS_4): Likewise.
47882         (_FP_UNPACK_RAW_4): Likewise.
47883         (_FP_UNPACK_RAW_4_P): Likewise.
47884         (_FP_PACK_RAW_4): Likewise.
47885         (_FP_PACK_RAW_4_P): Likewise.
47886         (_FP_MUL_MEAT_DW_4_wide): Likewise.
47887         (_FP_MUL_MEAT_4_wide): Likewise.
47888         (_FP_MUL_MEAT_4_gmp): Likewise.
47889         (umul_ppppmnnn): Likewise.
47890         (_FP_DIV_MEAT_4_udiv): Likewise.
47891         (__FP_FRAC_ADD_4): Likewise.
47892         (__FP_FRAC_SUB_3): Likewise.
47893         (__FP_FRAC_SUB_4): Likewise.
47894         (__FP_FRAC_DEC_3): Likewise.
47895         (__FP_FRAC_DEC_4): Likewise.
47896         (__FP_FRAC_ADDI_4): Likewise.
47897         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47898         (_FP_FRAC_SRL_8): Likewise.
47899         (_FP_FRAC_SRS_8): Likewise.
47901         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47902         include macro name.
47903         (FP_UNPACK_RAW_EP): Likewise.
47904         (FP_PACK_RAW_E): Likewise.
47905         (FP_PACK_RAW_EP): Likewise.
47906         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47907         (_FP_ISSIGNAN): Likewise.
47908         (_FP_ADD_INTERNAL): Likewise.
47909         (_FP_FMA): Likewise.
47910         (_FP_CMP): Likewise.
47911         (_FP_SQRT): Likewise.
47912         (_FP_TO_INT): Likewise.
47913         (_FP_FROM_INT): Likewise.
47914         (FP_EXTEND): Likewise.
47915         (_FP_DIV_MEAT_N_loop): Likewise.
47917 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47919         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47920         throughout.
47922 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
47924         [BZ #17097]
47925         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47926         result with correct sign in case of exponents that produce
47927         overflow except for X very close to 1.
47929 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
47931         mktime: merge #if/#ifdef usage from glibc
47932         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47933         as that works with both Glibc's and Gnulib's style.
47934         See thread starting at Siddhesh Poyarekar's bug report at:
47935         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47937 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47939         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47940         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47941         * sysdeps/tile/tilegx/memmove.c: Remove file.
47943 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47945         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47946         abi-name definition.
47947         * scripts/soversions.awk: Do not handle or generate ABI lines.
47948         * shlib-versions: Remove ABI entries.
47949         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47950         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47952 2014-06-27  Roland McGrath  <roland@hack.frob.com>
47954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47955         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47956         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47957         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47959         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47961         Moved ...
47962         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47963         ... here.
47964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47965         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47967         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47969         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47971         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47973         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47975         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47977         Moved ...
47978         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47980         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47982         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47984         Moved ...
47985         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47987         Moved ...
47988         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47990         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47992         Moved ...
47993         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47995         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47997         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47999         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48001         Moved ...
48002         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48004         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48005         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48006         Moved ...
48007         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48009         Moved ...
48010         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48012         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48014         Moved ...
48015         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48016         ... here.
48017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48018         Identical file removed.
48019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48020         Moved ...
48021         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48023         Identical file removed.
48024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48025         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48027         Moved ...
48028         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48030         Identical file removed.
48031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48032         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48033         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48034         Identical file removed.
48035         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48036         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48037         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48038         Identical file removed.
48039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48040         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48042         Identical file removed.
48043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48044         Moved ...
48045         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48047         Identical file removed.
48048         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48049         Moved ...
48050         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48052         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48054         Identical file removed.
48055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48056         Moved ...
48057         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48058         ... here.
48059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48060         Identical file removed.
48061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48062         Moved ...
48063         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48065         Identical file removed.
48066         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48067         Moved ...
48068         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48070         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48072         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48074         Moved ...
48075         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48077         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48079         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48080         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48081         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48082         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48083         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48085 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48087         [BZ #17092]
48088         * nscd/nscd.c (monitor_child): Return exit status of child
48089         instead of return value from wait syscall.
48091 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48093         * configure.ac (libc_commonpagesize): Remove variable.
48094         (libc_relro_required): Likewise.
48095         (libc_cv_z_relro): Remove configure test.
48096         * configure: Regenerated.
48097         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48098         variable.
48099         (libc_relro_required): Likewise.
48100         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48101         (libc_relro_required): Likewise.
48102         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48103         (libc_relro_required): Likewise.
48104         * sysdeps/arm/preconfigure: Regenerated.
48105         * sysdeps/ia64/preconfigure: Remove file.
48106         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48107         variable.
48108         (libc_relro_required): Likewise.
48110         [BZ #16561]
48111         [BZ #16562]
48112         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48113         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48114         recompute overflowing results in original rounding mode.
48115         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48116         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48117         recompute overflowing results in original rounding mode.
48118         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48119         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48120         recompute overflowing results in original rounding mode.
48121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48122         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48123         recompute overflowing results in original rounding mode.
48124         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48125         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48126         recompute overflowing results in original rounding mode.
48127         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48128         (libc_feholdsetround_ctx): New macro.
48129         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48130         * sysdeps/i386/fpu/libm-test-ulps: Update.
48131         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48133 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48135         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48136         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48137         corresponding .cpsetup call.
48139 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48141         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48142         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48143         * sysdeps/arm/Makefile [$(subdir) = csu]
48144         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48145         (static-only-routines): Add aeabi_read_tp here.
48146         (shared-only-routines): Add libc-aeabi_read_tp here.
48147         (CFLAGS-libc-start.c): Add -fexceptions here.
48148         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48149         (sysdep_routines, static-only-routines, shared-only-routines):
48150         Don't add to these here.
48151         (CFLAGS-libc-start.c): Likewise.
48153         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48154         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48155         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48156         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48157         * sysdeps/arm/Makefile [$(subdir) = rt]
48158         (librt-sysdep_routines, librt-shared-only-routines):
48159         Append rt-aeabi_unwind_cpp_pr1 here.
48160         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48161         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48162         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48163         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48164         Append nptl-aeabi_unwind_cpp_pr1 here.
48165         (tests): Filter out tst-cleanupx4 here.
48166         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48167         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48168         Don't do those here.
48170 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48172         * scripts/list-sources.sh: Do not handle ports specially.
48174 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48176         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48177         * sysdeps/arm/feupdateenv.c: Likewise.
48179         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48183         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48184         trailing whitespace removed.
48185         * scripts/config.guess: Update to version 2014-03-23.
48186         * scripts/config.sub: Update to version 2014-05-01
48187         * scripts/install-sh: Update to version 2013-12-25.23.
48188         * scripts/move-if-change: Update from gnulib.
48190 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48192         * debug/memmove_chk.c: Remove pagecopy.h include.
48194 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48196         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48197         identical to gnulib mktime.
48199 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48201         * configure.ac: Do not test for machine being rs6000.  Do not test
48202         for powerpc*-*soft.
48203         * configure: Regenerated.
48205         [BZ #11505]
48206         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48207         test.
48208         * configure: Regenerated.
48209         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48210         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48211         Remove configure test.
48212         * sysdeps/arm/configure: Regenerated.
48213         * sysdeps/nptl/configure.ac: Do not check
48214         libc_cv_asm_cfi_directives.
48215         * sysdeps/nptl/configure: Regenerated.
48216         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48217         * sysdeps/x86_64/nptl/configure: Remove generated file.
48218         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48219         unconditional.
48220         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48222 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48224         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48225         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48226         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48227         it is defined.
48229         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48230         instead of whether it is defined.
48231         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48232         * sysdeps/hppa/dl-machine.h: Likewise.
48233         * sysdeps/ia64/dl-machine.h: Likewise.
48234         * sysdeps/m68k/dl-machine.h: Likewise.
48235         * sysdeps/microblaze/dl-machine.h: Likewise.
48236         * sysdeps/mips/dl-machine.: Likewise.
48237         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48238         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48239         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48240         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48241         * sysdeps/sh/dl-machine.h: Likewise.
48242         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48243         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48244         * sysdeps/tile/dl-machine.h: Likewise.
48245         * sysdeps/x86_64/dl-machine.h: Likewise.
48247         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48248         code.
48249         (verify_persistent_db): Likewise.
48251 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48254         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48256         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48258         Moved ...
48259         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48260         ... here.
48261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48262         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48264         Identical file removed.
48265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48266         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48268         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48270         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48272         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48274         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48276         Moved ...
48277         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48279         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48281         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48283         Moved ...
48284         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48286         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48288         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48290         Identical file removed.
48291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48292         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48294         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48296         Moved ...
48297         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48298         ... here.
48299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48300         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48302         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48304         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48306         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48308         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48310         Moved ...
48311         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48313         Moved ...
48314         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48316         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48318         Moved ...
48319         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48321         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48323         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48324         folded into ...
48325         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48326         * sysdeps/unix/sysv/linux/s390/Versions
48327         (libpthread: GLIBC_2.19): New version set.
48328         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48329         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48330         (librt: GLIBC_2.3.3): New version set.
48331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48332         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48333         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48334         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48335         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48336         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48337         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48338         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48339         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48340         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48341         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48342         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48343         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48344         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48345         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48346         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48347         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48348         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48349         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48350         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48351         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48352         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48353         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48354         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48355         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48357         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48359         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48361         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48362         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48365         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48367         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48368         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48369         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48371         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48373         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48375         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48377         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48378         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48379         (__libc_vfork): Define the function under this name.
48380         [!NOT_IN_libc] (__vfork): Make this an alias.
48381         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48383         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48384         (__libc_vfork): Define the function under this name.
48385         [!NOT_IN_libc] (__vfork): Make this an alias.
48386         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48387         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48388         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48390         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48393         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48394         code that was previously under [RESET_PID].
48395         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48396         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48399         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48400         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48401         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48402         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48403         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48404         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48405         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48406         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48407         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48408         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48409         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48410         Moved ...
48411         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48412         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48413         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48414         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48415         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48416         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48417         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48418         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48419         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48420         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48421         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48422         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48423         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48424         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48425         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48427         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48428         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48429         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48430         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48431         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48432         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48433         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48434         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48435         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48436         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48437         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48441 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48443         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48444         that was previously under [RESET_PID].
48445         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48447 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48449         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48450         not undefine and redefine.
48451         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48452         [O_CLOEXEC]: Make code unconditional.
48453         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48454         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48455         <kernel-features.h>.
48456         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48457         conditional variable definition.
48458         (shm_open) [O_CLOEXEC]: Make code unconditional.
48459         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48460         code.
48462         * configure.ac (USE_REGPARMS): Don't define here.
48463         * configure: Regenerated.
48464         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48465         * sysdeps/i386/configure: Regenerated.
48467         * nptl/createthread.c: Don't include kernel-features.h.
48468         * nptl/pthread_cancel.c: Likewise.
48469         * nptl/pthread_condattr_setclock.c: Likewise.
48470         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48471         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48472         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48473         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48474         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48475         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48476         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48477         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48479         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48480         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48481         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48482         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48483         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48484         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48485         * nscd/gai.c: Likewise.
48486         * nss/nss_db/db-open.c: Likewise.
48487         * sysdeps/generic/ldsodefs.h: Likewise.
48488         * sysdeps/sh/nptl/tls.h: Likewise.
48489         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48490         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48491         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48492         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48493         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48494         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48495         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48496         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48498         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48499         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48500         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48501         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48502         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48503         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48504         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48505         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48506         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48507         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48508         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48509         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48511         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48512         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48517         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48518         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48519         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48520         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48521         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48522         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48523         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48524         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48525         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48526         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48527         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48528         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48529         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48530         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48531         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48532         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48533         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48534         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48535         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48536         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48537         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48538         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48539         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48540         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48541         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48542         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48543         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48544         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48545         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48546         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48569         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48570         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48571         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48572         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48573         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48574         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48576         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48577         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48578         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48579         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48580         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48581         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48582         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48583         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48584         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48585         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48586         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48587         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48588         * sysdeps/unix/sysv/linux/system.c: Likewise.
48589         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48590         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48591         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48592         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48593         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48594         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48595         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48597         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48598         * configure: Regenerated.
48599         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48601         * configure.ac (base_machine): Do not set specially for particular
48602         machines here.
48603         * configure: Regenerated.
48604         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48605         settings from configure.ac.
48606         * sysdeps/i386/preconfigure: New file.
48607         * sysdeps/s390/preconfigure: Likewise.
48608         * sysdeps/sh/preconfigure: Likewise.
48609         * sysdeps/sparc/preconfigure: Likewise.
48611 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48613         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48614         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48615         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48616         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48617         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48618         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48619         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48620         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48621         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48622         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48623         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48624         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48625         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48626         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48627         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48628         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48629         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48630         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48631         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48633         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48634         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48635         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48636         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48637         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48638         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48639         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48640         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48641         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48642         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48643         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48644         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48645         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48646         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48647         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48648         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48649         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48650         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48651         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48652         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48654         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48656         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48658         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48660         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48663         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48664         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48665         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48666         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48667         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48668         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48669         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48670         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48673         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48675         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48677         Moved ...
48678         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48679         ... here.
48680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48681         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48683         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48685         Moved ...
48686         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48688         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48690         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48692         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48694         Moved ...
48695         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48697         Moved ...
48698         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48700         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48702         Moved ...
48703         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48705         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48707         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48709         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48711         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48713         Moved ...
48714         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48715         ... here.
48716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48717         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48719         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48721         Moved ...
48722         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48724         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48726         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48728         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48730         Moved ...
48731         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48733         Moved ...
48734         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48736         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48738         Moved ...
48739         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48741         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48743         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48745 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48747         * timezone/checktab.awk: Update from tzcode 2014e.
48748         * timezone/private.h: Likewise.
48749         * timezone/tzfile.h: Likewise.
48750         * timezone/zdump.c: Likewise.
48751         * timezone/zic.c: Likewise.
48753         * sysdeps/unix/sysv/linux/kernel-features.h
48754         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48755         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48756         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48757         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48758         Remove conditional code.
48760 2014-06-25  Will Newton  <will.newton@linaro.org>
48762         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48763         (_dl_arm_cap_flags): Add HWCAP2 values.
48764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48765         (_DL_HWCAP_COUNT): Increase to 37.
48766         (_DL_HWCAP_LAST): New define.
48767         (_DL_HWCAP2_LAST): New define.
48768         (_dl_procinfo): Add support for printing
48769         AT_HWCAP2 entries.
48770         (_dl_string_hwcap): Use _dl_hwcap_string.
48772 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48776 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48778         * README: Do not mention ports directory.
48780         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48781         Remove macro.
48782         * sysdeps/unix/sysv/linux/futimes.c: Do not include
48783         <kernel-features.h>.
48784         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48785         conditional variable definition.
48786         (__futimes): Update comment.
48787         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48788         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48790         [BZ #16560]
48791         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48792         arguments close to 0.
48793         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48794         Likewise.
48795         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48796         Likewise.
48797         * math/auto-libm-test-in: Add more tests of exp10.
48798         * math/auto-libm-test-out: Regenerated.
48799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48801         * sysdeps/unix/sysv/linux/kernel-features.h
48802         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48803         * sysdeps/unix/sysv/linux/readv.c: Do not include
48804         <kernel-features.h>.
48805         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48806         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48807         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48808         unconditional.
48809         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48810         conditional code.
48811         * sysdeps/unix/sysv/linux/writev.c: Do not include
48812         <kernel-features.h>.
48813         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48814         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48815         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48816         unconditional.
48817         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48818         conditional code.
48820 2014-06-25  Will Newton  <will.newton@linaro.org>
48822         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48823         comment changes throughout the file.  Remove checks
48824         for HAVE_*_H definitions that are not required.
48825         (__gen_tempname): Call abort if an unknown kind value is
48826         passed.
48828 2014-06-25  Andreas Schwab  <schwab@suse.de>
48830         [BZ #17086]
48831         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48832         scalbln, scalblnf, scalblnl in libc.
48834 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48836         [BZ #17086]
48837         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48838         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48839         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48841 2014-06-24  Roland McGrath  <roland@hack.frob.com>
48843         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48844         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48845         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48846         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48847         Update #include.
48848         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48849         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48850         Update #include.
48851         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48852         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48853         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48854         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48855         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48856         * sysdeps/x86/bits/pthreadtypes.h: ... here.
48857         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48858         * sysdeps/x86/bits/semaphore.h: ... here.
48859         * sysdeps/x86/nptl/elide.h: Moved ...
48860         * sysdeps/x86/elide.h: ... here.
48861         * sysdeps/x86_64/nptl/Implies: File removed.
48862         * sysdeps/i386/nptl/Implies: File removed.
48864 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
48866         [BZ #16539]
48867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48868         return the argument for normal arguments with exponent below -64.
48869         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48870         Likewise.
48871         * math/auto-libm-test-in: Add another test of expm1.
48872         * math/auto-libm-test-out: Regenerated.
48874         [BZ #16287]
48875         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48876         calling __erfcl for arguments at least 16.
48877         * math/auto-libm-test-in: Add more tests of erf.
48878         * math/auto-libm-test-out: Regenerated.
48880         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48881         individual architectures.
48882         * sysdeps/unix/sysv/linux/configure: Regenerated.
48883         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48884         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48885         * sysdeps/unix/sysv/linux/powerpc/configure.ac
48886         (ldd_rewrite_script): Define variable.
48887         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48889         file.
48890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48891         generated file.
48892         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48893         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48894         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48895         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48896         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48897         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48898         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48899         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48901 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48903         [BZ #17084]
48904         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48905         Rename member __data.d to __data.__elision_data.
48907 2014-06-24  Wilco  <wdijkstr@arm.com>
48909         * NEWS: Add 16918 to fixed bug list.
48911 2014-06-24  Wilco  <wdijkstr@arm.com>
48913         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48915 2014-06-24  Wilco  <wdijkstr@arm.com>
48917         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48918         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48919         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48920         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48921         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48922         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48923         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48924         Use _FPU_MASK_RM.
48926 2014-06-24  Wilco  <wdijkstr@arm.com>
48928         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48930 2014-06-24  Wilco  <wdijkstr@arm.com>
48932         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48933         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48934         * sysdeps/arm/fesetround.c (fesetround): Remove space.
48935         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48937 2014-06-24  Wilco  <wdijkstr@arm.com>
48939         [BZ #16918]
48940         * sysdeps/arm/feupdateenv.c (feupdateenv):
48941         Rewrite to reduce FPSCR accesses and fix return value.
48943 2014-06-24  Wilco  <wdijkstr@arm.com>
48945         * sysdeps/arm/fclrexcpt.c (feclearexcept):
48946         Optimize to avoid unnecessary FPSCR writes.
48947         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48948         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48949         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48950         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48952 2014-06-24  Wilco  <wdijkstr@arm.com>
48954         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48955         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48956         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48957         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48958         Call libc_fetestexcept_vfp.
48959         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48960         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48961         __SOFTFP__ ifdef so that they can be built for softfp.
48963 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48965         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48966         argument type signed char.
48968         * Makerules (check-abi): Dump diff of symlist if the test
48969         fails.
48971 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48973         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48974         using abort.
48976         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48977         Remove unused variable ST.
48979 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48981         [BZ #16354]
48982         [BZ #17061]
48983         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48984         small arguments before calling __expm1.
48985         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48986         small arguments before calling __expm1f.
48987         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48988         small arguments before calling __expm1l.
48989         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48990         Likewise.
48991         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48992         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
48993         spurious underflow for some cosh tests.
48994         * math/auto-libm-test-out: Regenerated.
48995         * sysdeps/i386/fpu/libm-test-ulps: Update.
48997         [BZ #17050]
48998         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48999         (__ieee754_y1): Set errno if return value overflows.
49000         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49001         (__ieee754_y1f): Set errno if return value overflows.
49002         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49003         (__ieee754_y1l): Set errno if return value overflows.
49004         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49005         (__ieee754_y1l): Set errno if return value overflows.
49006         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49007         * math/auto-libm-test-out: Regenerated.
49009         * math/gen-auto-libm-tests.c: Document use of
49010         ignore-zero-inf-sign.
49011         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49012         (input_flags): Add ignore-zero-inf-sign.
49013         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49014         * math/gen-libm-test.pl (generate_testfile): Handle
49015         ignore-zero-inf-sign.
49016         * math/auto-libm-test-in: Mark some cpow tests with
49017         ignore-zero-inf-sign and some with xfail-rounding.
49018         * math/auto-libm-test-out: Regenerated.
49019         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49020         * sysdeps/i386/fpu/libm-test-ulps: Update.
49021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49023         [BZ #16315]
49024         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49025         overflowing or underflowing operations take place with sign of
49026         result.
49027         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49028         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49029         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49030         (__ieee754_pow): Recompute overflowing and underflowing results in
49031         original rounding mode.
49032         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49033         (__powl_helper): Allow negative argument X and scale negated value
49034         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49035         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49036         overflowing or underflowing operations take place with sign of
49037         result.
49038         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49039         Include <math.h>.
49040         * math/auto-libm-test-in: Add more tests of pow.
49041         * math/auto-libm-test-out: Regenerated.
49042         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49043         (pow_tonearest_test_data): Remove.
49044         (pow_test_tonearest): Likewise.
49045         (pow_towardzero_test_data): Likewise.
49046         (pow_test_towardzero): Likewise.
49047         (pow_downward_test_data): Likewise.
49048         (pow_test_downward): Likewise.
49049         (pow_upward_test_data): Likewise.
49050         (pow_test_upward): Likewise.
49051         (main): Don't call removed functions.
49052         * sysdeps/i386/fpu/libm-test-ulps: Update.
49053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49055 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49058         Moved ...
49059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49061         Moved ...
49062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49064         Moved ...
49065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49067         Moved ...
49068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49070         File removed.
49071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49072         File removed.
49073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49074         File removed.
49075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49076         File removed.
49077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49078         File removed.
49079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49080         File removed.
49081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49082         File removed.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49084         File removed.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49086         File removed.
49087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49088         File removed.
49089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49090         File removed.
49091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49092         File removed.
49093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49094         Moved ...
49095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49097         Moved ...
49098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49099         ... here.
49100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49101         Moved ...
49102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49104         Moved ...
49105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49107         Moved ...
49108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49110         Moved ...
49111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49113         Moved ...
49114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49116         Moved ...
49117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49119         Moved ...
49120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49123         ... here.
49124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49125         Moved ...
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49128         Moved ...
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49130         ... here.
49131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49132         Moved ...
49133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49134         ... here.
49135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49136         Moved ...
49137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49138         ... here.
49139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49140         Moved ...
49141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49143         Moved ...
49144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49148         Moved ...
49149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49150         ... here.
49151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49152         Moved ...
49153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49154         ... here.
49155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49156         Moved ...
49157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49159         Moved ...
49160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49162         Moved ...
49163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49165         Moved ...
49166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49168         Moved ...
49169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49170         ... here.
49171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49172         Moved ...
49173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49175         Moved ...
49176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49178         Moved ...
49179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49181         Moved ...
49182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49186         Moved ...
49187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49189         Moved ...
49190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49192         Moved ...
49193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49194         ... here.
49195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49196         Moved ...
49197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49198         ... here.
49199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49202         ... here.
49203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49204         Moved ...
49205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49207         Moved ...
49208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49210         Moved ...
49211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49213         Moved ...
49214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49215         ... here.
49216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49217         Moved ...
49218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49219         ... here.
49220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49221         Moved ...
49222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49223         ... here.
49224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49225         Moved ...
49226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49228         Moved ...
49229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49231 2014-06-23  Will Newton  <will.newton@linaro.org>
49232             Wilco  <wdijkstr@arm.com>
49234         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49235         implementation.  Include get-rounding-mode.h.
49236         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49237         [!libc_feholdsetround_noex_ctx]: Define
49238         libc_feholdsetround_noex_ctx.
49239         [!libc_feholdsetround_noexf_ctx]: Define
49240         libc_feholdsetround_noexf_ctx.
49241         [!libc_feholdsetround_noexl_ctx]: Define
49242         libc_feholdsetround_noexl_ctx.
49243         (libc_feholdsetround_ctx): New function.
49244         (libc_feresetround_ctx): New function.
49245         (libc_feholdsetround_noex_ctx): New function.
49246         (libc_feresetround_noex_ctx): New function.
49248 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49250         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49251         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49252         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49253         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49254         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49255         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49257         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49258         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49259         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49260         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49261         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49262         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49263         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49264         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49265         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49266         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49267         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49268         Moved ...
49269         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49270         ... here.
49271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49272         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49274         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49275         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49276         Moved ...
49277         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49279         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49281         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49283         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49285         Moved ...
49286         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49288         Moved ...
49289         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49291         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49293         Moved ...
49294         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49296         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49297         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49298         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49299         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49300         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49302         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49303         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49304         Moved ...
49305         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49306         ... here.
49307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49308         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49310         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49312         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49314         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49316         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49318         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49325         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49327         Moved ...
49328         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49330         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49331         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49332         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49334         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49335         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49336         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49337         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49338         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49339         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49340         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49341         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49343         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49344         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49345         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49346         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49347         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49348         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49349         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49350         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49351         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49352         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49353         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49354         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49355         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49356         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49357         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49358         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49359         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49360         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49361         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49363 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49365         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49366         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49367         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49368         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49369         (IPV6_PMTUDISC_INTERFACE): Likewise.
49370         (IPV6_PMTUDISC_OMIT): Likewise.
49372 2014-06-23  Andreas Schwab  <schwab@suse.de>
49374         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49375         Remove unused errout label.
49377 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49379         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49380         macro: hardware supports Vector Crypto instructions.
49382 2014-06-23  Will Newton  <will.newton@linaro.org>
49384         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49385         rather than __builtin_expect.
49387         * elf/dl-lookup.c (undefined_msg): Remove variable.
49388         (_dl_lookup_symbol_x): Replace undefined_msg with string
49389         literal.
49391         * elf/dl-lookup.c (do_lookup_unique): New function.
49392         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49393         to a separate function.
49395 2014-06-23  Andreas Schwab  <schwab@suse.de>
49397         [BZ #17079]
49398         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49399         before reading the next line.
49401 2014-06-23  Will Newton  <will.newton@linaro.org>
49403         * test-skeleton.c (signal_handler): Use printf and %m
49404         rather than perror.  Use printf rather than fprintf to
49405         stderr.  Use puts rather than fputs to stderr.
49406         (main): Likewise.
49408 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49410         * nscd/nscd.c (thread_info_t): Remove typedef.
49411         (thread_info): Remove variable.
49413 2014-06-21  Allan McRae  <allan@archlinux.org>
49415         * NEWS: Mention CVE-2014-4043.
49417 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49419         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49420         * nptl/smp.h: ... here.
49422         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49424         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49425         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49426         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49427         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49429         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49430         * nptl/stack-aliasing.h: New file.
49431         * sysdeps/i386/i686/stack-aliasing.h: New file.
49432         * sysdeps/i386/i686/nptl/Makefile: File removed.
49433         * sysdeps/x86_64/stack-aliasing.h: New file.
49434         * sysdeps/x86_64/nptl/Makefile
49435         (CFLAGS-pthread_create.c): Variable removed.
49437         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49438         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49439         old file.
49440         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49441         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49442         old file.
49444 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49446         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49447         (__ASSUME_SIGFRAME_V2): Remove macro.
49448         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49449         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49450         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49451         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49452         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49453         Declare as function.  Remove conditional macro definitions.
49454         (__default_rt_sa_restorer): Likewise.
49455         (__default_sa_restorer_v1): Remove declaration.
49456         (__default_sa_restorer_v2): Likewise.
49457         (__default_rt_sa_restorer_v1): Likewise.
49458         (__default_rt_sa_restorer_v2): Likewise.
49459         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49460         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49461         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49463 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49465         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49466         (libpthread-routines): Add sysdep.
49467         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49468         * sysdeps/unix/sysv/linux/sparc/Versions
49469         (libpthread: GLIBC_2.3.3): New version set.
49470         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49471         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49472         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49473         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49474         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49475         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49476         Moved ...
49477         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49478         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49479         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49480         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49481         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49482         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49483         * sysdeps/sparc/nptl/sem_init.c: ... here.
49484         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49485         * sysdeps/sparc/nptl/sem_post.c: ... here.
49486         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49487         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49488         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49489         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49490         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49491         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49492         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49493         (libpthread-routines): Add cpu_relax.
49494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49495         File removed.
49496         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49497         (librt: GLIBC_2.3.3): New version set.
49498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49499         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49500         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49501         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49504         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49506         Moved ...
49507         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49509         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49511         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49513         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49515         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49517         Moved ...
49518         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49519         Update #include.
49520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49521         Moved ...
49522         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49523         Update #include.
49524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49525         Moved ...
49526         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49527         Update #include.
49528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49529         Moved ...
49530         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49531         Update #include.
49532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49533         Moved ...
49534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49535         Update #include.
49536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49537         Moved ...
49538         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49539         Update #include.
49540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49541         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49547         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49549         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49551         Moved ...
49552         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49554         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49556         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49558 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49560         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49561         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49562         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49563         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49564         * nscd/nscd.c: Likewise.
49565         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49566         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49567         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49568         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49570         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49571         <kernel-features.h>.
49572         (init_mq_netlink): Remove conditional have_sock_cloexec
49573         definitions.  Remove code conditional on have_sock_cloexec < 0.
49574         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49575         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49576         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49577         <kernel-features.h>.
49578         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49579         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49581 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49584         Add tests for memset_chk and memset.
49586         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49587         with AVX2_Usable.
49589 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49591         [BZ #16046]
49592         * elf/tst-dl-iter-static.c: New file.
49593         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49595         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49596         error.
49598 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49600         * sysdeps/unix/sysv/linux/kernel-features.h
49601         (__ASSUME_F_GETOWN_EX): Remove macro.
49602         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49603         <kernel-features.h>.
49604         (miss_F_GETOWN_EX): Remove variable or macro.
49605         (do_fcntl): Do not check miss_F_GETOWN_EX.
49606         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49609         Remove macro.
49610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49611         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49612         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49614         * sysdeps/unix/sysv/linux/kernel-features.h
49615         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49616         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49617         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49618         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49620 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49622         [BZ #17075]
49623         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49624         Fix calculation of the symbol's value.
49625         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49626         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49627         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49628         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49629         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49630         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49631         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49632         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49633         (modules-names): Add `tst-armtlsdescmod',
49634         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49635         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49636         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49637         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49638         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49639         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49640         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49641         ($(objpfx)tst-armtlsdescloc): New dependency.
49642         ($(objpfx)tst-armtlsdescextnow): Likewise.
49643         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49644         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49645         TLS scheme support.
49646         * sysdeps/arm/configure: Regenerate.
49648 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49650         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49651         (__atfct_seterrno_2): Likewise.
49652         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49653         <kernel-features.h>.
49654         (__ASSUME_ATFCTS): Do not undefine and redefine.
49655         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49656         (__have_atfcts): Remove conditional definition.
49657         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49658         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49659         unreachable if [__ASSUME_ATFCTS].
49660         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49661         not undefine and redefine.
49662         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49663         <kernel-features.h>.
49664         (faccessat) [__NR_faccessat]: Make code unconditional.
49665         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49666         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49667         <kernel-features.h>.
49668         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49669         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49670         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49671         <kernel-features.h>.
49672         (fchownat) [__NR_fchownat]: Make code unconditional.
49673         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49674         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49675         <kernel-features.h>.
49676         (futimesat) [__NR_futimesat]: Make code unconditional.
49677         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49678         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49679         <kernel-features.h>.
49680         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49681         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49682         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49683         <kernel-features.h>.
49684         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49685         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49686         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49687         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49688         <kernel-features.h>.
49689         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49690         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49691         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49692         <kernel-features.h>.
49693         (linkat) [__NR_linkat]: Make code unconditional.
49694         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49695         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49696         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49697         <kernel-features.h>.
49698         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49699         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49700         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49701         <kernel-features.h>.
49702         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49703         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49704         * sysdeps/unix/sysv/linux/openat.c: Do not include
49705         <kernel-features.h>.
49706         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49707         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49708         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49709         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49710         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49711         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49712         <kernel-features.h>.
49713         (readlinkat) [__NR_readlinkat]: Make code unconditional.
49714         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
49715         result of INLINE_SYSCALL directly, not via int variable.
49716         * sysdeps/unix/sysv/linux/renameat.c: Do not include
49717         <kernel-features.h>.
49718         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49719         (renameat) [__NR_renameat]: Make code unconditional.
49720         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49721         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49722         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49723         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49724         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49725         (__ASSUME_ATFCTS): Do not undefine and redefine.
49726         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49727         <kernel-features.h>.
49728         (symlinkat) [__NR_symlinkat]: Make code unconditional.
49729         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49730         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49731         <kernel-features.h>.
49732         (unlinkat) [__NR_unlinkat]: Make code unconditional.
49733         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49734         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49735         (__ASSUME_ATFCTS): Do not undefine and redefine.
49736         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49737         <kernel-features.h>.
49738         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49739         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49740         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49741         <kernel-features.h>.
49742         (__xmknodat) [__NR_mknodat]: Make code unconditional.
49743         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49745 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49747         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49749 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
49751         [BZ #17069]
49752         * posix/regcomp.c (parse_reg_exp): Deallocate partially
49753         constructed tree before returning error.
49754         * posix/bug-regexp36.c: Expand test case.
49756 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
49758         [BZ #6803]
49759         * math/libm-test.inc (scalbln_test_date):
49760         Add errno expectations.
49761         * math/w_scalblnf.c: New File.
49762         Add wrapper which checks for setting errno to ERANGE.
49763         Add weak_alias for corresponding scalbln function.
49764         * math/w_scalbln.c: Likewise.
49765         * math/w_scalblnl.c: Likewise.
49766         * math/Makefile (libm-calls): Add w_scalbln.
49767         * sysdeps/ieee754/flt-32/s_scalblnf.c:
49768         Remove weak_alias for corresponding scalbln function.
49769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49770         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49771         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49772         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49773         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49774         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49775         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49776         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49777         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49778         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49779         Remove long_double_symbol for scalblnl function in libm, libc.
49780         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49781         Add wrapper which checks for setting errno to ERANGE.
49782         Add long_double_symbol for scalblnl function in libm, libc.
49783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49784         Remove long_double_symbol for scalblnl in libm.
49785         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49786         Add wrapper which checks for setting errno to ERANGE.
49787         Add long_double_symbol for scalblnl function in libm.
49788         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49789         Do not use wrapper because of own implementation.
49791 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
49793         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49794         3 bytes for __pad1 for x32.
49795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49797 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
49798             H.J. Lu  <hongjiu.lu@intel.com>
49800         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49801         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49802         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49803         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49804         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49806 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
49808         [BZ #17069]
49809         * posix/regcomp.c (parse_expression): Deallocate partially
49810         constructed tree before returning error.
49811         * posix/Makefile.c (tests): Add bug-regex36.
49812         (generated): Add bug-regex36.mtrace.
49813         (tests-special): Add $(objpfx)bug-regex36-mem.out
49814         (bug-regex36-ENV): New variable.
49815         ($(objpfx)bug-regex36-mem.out): New rule.
49816         * posix/bug-regex36.c: New file.
49818 2014-06-19  Will Newton  <will.newton@linaro.org>
49820         * malloc/malloc.c (systrim): If extra is zero then return
49821         early.
49823 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49825         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49827 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
49829         * sysdeps/aarch64/strchr.S: New file.
49831 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49833         [BZ #17022]
49834         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49835         from arguments -2 or below.
49836         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49837         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49839 2014-06-18  Andreas Schwab  <schwab@suse.de>
49841         [BZ #17062]
49842         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49843         of a bracket expr not to run off the end of the string.
49844         * posix/Makefile (tests): Add tst-fnmatch3.
49845         * posix/tst-fnmatch3.c: New file.
49847 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49849         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49850         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49851         [$(cross-compiling) = no]: Likewise.
49852         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49853         [$(cross-compiling) = no]: Likewise.
49855 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49857         [BZ #17031]
49858         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49859         double, adjusted for any remainder from the high double.
49860         * math/libm-test.inc (nearbyint): Add tests.
49861         (rint): Likewise.
49863 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49865         * nptl/sysdeps/powerpc/Makefile: Moved ...
49866         * sysdeps/powerpc/nptl/Makefile: ... here.
49867         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49868         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49869         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49870         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49871         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49872         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49873         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49874         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49875         * nptl/sysdeps/powerpc/tls.h: Moved ...
49876         * sysdeps/powerpc/nptl/tls.h: ... here.
49878 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
49880         [BZ #16681]
49881         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49882         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49883         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49884         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49885         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49886         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49887         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49888         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49889         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49891 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
49893         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49895 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
49897         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49898         defined operator.
49900         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49901         $TIMEOUTFACTOR.
49903 2014-06-16  Florian Weimer  <fweimer@redhat.com>
49905         [BZ #17058]
49906         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49907         non-executed part of the test.
49909 2014-06-16  Andreas Schwab  <schwab@suse.de>
49911         * string/bits/string2.h (strdup, strndup): Update feature guard.
49913 2014-06-14  David S. Miller  <davem@davemloft.net>
49915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49917 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
49919         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49920         that was previously under [RESET_PID].
49921         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49923         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49924         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49925         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49926         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49927         (__libc_vfork): New strong alias.
49928         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49930 2014-06-14 Andi Kleen  <ak@linux.intel.com>
49932         * sysdeps/generic/elide.h: New file.
49934 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
49936         * Makefile (installed-headers): Adjust path of pthread.h header.
49938 2014-06-13  Roland McGrath  <roland@hack.frob.com>
49940         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49941         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49942         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49943         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49945         * nptl/sysdeps/s390/Makefile: Moved ...
49946         * sysdeps/s390/nptl/Makefile: ... here.
49947         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49948         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49949         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49950         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49951         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49952         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49953         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49954         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49955         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49956         * sysdeps/s390/nptl/pthreaddef.h: ... here.
49957         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49958         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49959         * nptl/sysdeps/s390/tls.h: Moved ...
49960         * sysdeps/s390/nptl/tls.h: ... here.
49962         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49963         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49965 2014-06-13  David S. Miller  <davem@davemloft.net>
49967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49968         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49970         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49974         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49975         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49976         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49977         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49978         Remove RESET_PID cpp guards.
49979         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49980         Remove RESET_PID cpp guards.
49981         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49983 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
49985         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49986         __sp to uintptr_t.
49988 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49990         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49993         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49994         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49995         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49997         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49998         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49999         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50000         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50001         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50002         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50004         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50006         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50007         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50008         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50009         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50011         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50012         (pthread_rwlock_rdlock): Add elision.
50013         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50014         (pthread_rwlock_wrlock): Add elision.
50015         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50016         (pthread_rwlock_trywrlock): Add elision.
50017         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50018         (pthread_rwlock_tryrdlock): Add elision.
50019         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50020         (pthread_rwlock_tryrdlock): Add elision unlock.
50021         * nptl/sysdeps/pthread/pthread.h:
50022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50023         (PTHREAD_RWLOCK_INITIALIZER,
50024         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50025         Handle new elision field.
50026         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50027         * sysdeps/arm/nptl/bits/pthreadtypes.h
50028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50029         * sysdeps/sh/nptl/bits/pthreadtypes.h
50030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50031         * sysdeps/tile/nptl/bits/pthreadtypes.h
50032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50033         * sysdeps/a/nptl/bits/pthreadtypes.h
50034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50035         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50037         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50039         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50041         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50043         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50045         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50047         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50049         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50051         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50052         (elision_init): Set try_xbegin to zero when no RTM.
50053         * sysdeps/x86/nptl/bits/pthreadtypes.h
50054         (pthread_rwlock_t): Change __pad1 to __rwelision.
50055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50057 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50059         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50060         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50061         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50062         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50064 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50066         [BZ #16996]
50067         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50068         that the cached result has been set before returning it.
50070 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50072         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50073         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50074         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50075         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50076         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50077         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50079         * nptl/sysdeps/sparc/Makefile: Moved ...
50080         * sysdeps/sparc/nptl/Makefile: ... here.
50081         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50082         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50083         * nptl/sysdeps/sparc/tls.h: Moved ...
50084         * sysdeps/sparc/nptl/tls.h: ... here.
50085         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50086         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50087         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50088         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50089         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50090         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50091         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50092         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50093         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50094         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50095         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50096         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50097         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50098         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50099         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50100         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50101         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50102         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50103         Update #include.
50104         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50105         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50106         Update #include.
50107         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50109         Update #include.
50110         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50111         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50112         Update #include.
50114         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50116         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50117         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50119         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50120         (struct list_links): Type removed.
50121         (struct thread_node, struct timer_node): Replace struct list_links
50122         with struct list_head.
50123         (list_unlink_ip): Likewise.
50124         * sysdeps/pthread/timer_routines.c
50125         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50126         (list_append, list_insbefore): Likewise.
50127         (list_init): Function removed.
50128         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50129         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50130         * sysdeps/pthread/Makefile: ... here, new file.
50132         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50133         * sysdeps/nptl/Implies: ... here.
50134         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50135         * nptl/sysdeps/pthread/list.h: Moved ...
50136         * include/list.h: ... here.
50137         * nptl/sysdeps/pthread/createthread.c: Moved ...
50138         * nptl/createthread.c: ... here.
50139         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50140         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50141         * nptl/pt-longjmp.c: ... here.
50142         * nptl/sysdeps/pthread/Makefile: Moved ...
50143         * sysdeps/nptl/Makefile: ... here.
50144         * nptl/sysdeps/pthread/Subdirs: Moved ...
50145         * sysdeps/nptl/Subdirs: ... here.
50146         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50147         * sysdeps/nptl/aio_misc.h: ... here.
50148         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50149         * sysdeps/nptl/bits/libc-lock.h: ... here.
50150         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50151         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50152         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50153         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50154         * nptl/sysdeps/pthread/configure: Moved ...
50155         * sysdeps/nptl/configure: ... here.
50156         * nptl/sysdeps/pthread/configure.ac: Moved ...
50157         * sysdeps/nptl/configure.ac: ... here.
50158         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50159         * sysdeps/nptl/gai_misc.h: ... here.
50160         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50161         * sysdeps/nptl/librt-cancellation.c: ... here.
50162         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50163         * sysdeps/nptl/malloc-machine.h: ... here.
50164         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50165         * sysdeps/nptl/pthread-functions.h: ... here.
50166         * nptl/sysdeps/pthread/pthread.h: Moved ...
50167         * sysdeps/nptl/pthread.h: ... here.
50168         * nptl/sysdeps/pthread/setxid.h: Moved ...
50169         * sysdeps/nptl/setxid.h: ... here.
50170         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50171         * sysdeps/nptl/sigfillset.c: ... here.
50172         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50173         * sysdeps/nptl/tcb-offsets.h: ... here.
50174         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50175         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50176         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50177         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50178         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50179         * sysdeps/pthread/allocalim.h: ... here.
50180         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50181         * sysdeps/pthread/bits/sigthread.h: ... here.
50182         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50183         * sysdeps/pthread/flockfile.c: ... here.
50184         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50185         * sysdeps/pthread/ftrylockfile.c: ... here.
50186         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50187         * sysdeps/pthread/funlockfile.c: ... here.
50188         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50189         * sysdeps/pthread/posix-timer.h: ... here.
50190         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50191         * sysdeps/pthread/timer_create.c: ... here.
50192         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50193         * sysdeps/pthread/timer_delete.c: ... here.
50194         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50195         * sysdeps/pthread/timer_getoverr.c: ... here.
50196         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50197         * sysdeps/pthread/timer_gettime.c: ... here.
50198         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50199         * sysdeps/pthread/timer_routines.c: ... here.
50200         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50201         * sysdeps/pthread/timer_settime.c: ... here.
50202         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50203         * sysdeps/pthread/tst-timer.c: ... here.
50204         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50205         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50207         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50208         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50210         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50211         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50212         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50213         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50214         Update #include target.
50215         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50216         * sysdeps/i386/i686/nptl/Makefile: ... here.
50217         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50218         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50219         Update #include target.
50220         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50221         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50222         * nptl/sysdeps/i386/Makefile: Moved ...
50223         * sysdeps/i386/nptl/Makefile: ... here.
50224         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50225         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50226         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50227         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50228         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50229         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50230         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50231         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50232         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50233         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50234         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50235         * nptl/sysdeps/i386/tls.h: Moved ...
50236         * sysdeps/i386/nptl/tls.h: ... here.
50238         * sysdeps/sh/Makefile [$(subdir) = csu]
50239         (gen-as-const-headers): Add tcb-offsets.sym.
50240         * nptl/sysdeps/sh/Makefile: File removed.
50241         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50242         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50243         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50244         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50245         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50246         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50247         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50248         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50249         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50250         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50251         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50252         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50253         * nptl/sysdeps/sh/tls.h: Moved ...
50254         * sysdeps/sh/nptl/tls.h: ... here.
50255         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50256         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50257         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50258         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50259         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50260         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50261         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50263         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50264         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50265         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50266         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50268         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50270         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50272         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50274         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50275         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50276         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50278         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50280         Moved ...
50281         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50283         Moved ...
50284         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50288         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50289         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50290         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50291         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50292         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50293         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50294         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50295         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50296         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50297         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50298         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50299         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50300         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50301         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50302         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50304 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50306         * posix/spawn_faction_addopen.c: Include string.h.
50308 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50310         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50311         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50312         * nptl/sysdeps/x86_64/Makefile: Moved ...
50313         * sysdeps/x86_64/nptl/Makefile: ... here.
50314         * nptl/sysdeps/x86_64/configure: Moved ...
50315         * sysdeps/x86_64/nptl/configure: ... here.
50316         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50317         * sysdeps/x86_64/nptl/configure.ac: ... here.
50318         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50319         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50320         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50321         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50322         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50323         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50324         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50325         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50326         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50327         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50328         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50329         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50330         * nptl/sysdeps/x86_64/tls.h: Moved ...
50331         * sysdeps/x86_64/nptl/tls.h: ... here.
50332         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50333         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50334         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50335         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50337         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50339 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50343 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50345         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50346         type.
50347         [POSIX] (off_t): Likewise.
50348         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50349         [POSIX] (S_ISBLK): Require macro.
50350         [POSIX] (S_ISCHR): Likewise.
50351         [POSIX] (S_ISDIR): Likewise.
50352         [POSIX] (S_ISFIFO): Likewise.
50353         [POSIX] (S_ISREG): Likewise.
50354         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50355         optional-macro.
50356         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50357         type.
50358         [POSIX] (time_t): Likewise.
50359         [POSIX] (timer_t): Likewise.
50361 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50363         [BZ #17048]
50364         * posix/spawn_int.h (struct __spawn_action): Make the path string
50365         non-const to support deallocation.
50366         * posix/spawn_faction_addopen.c
50367         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50368         * posix/spawn_faction_destroy.c
50369         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50370         path in all spawn_do_open actions.
50371         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50372         posix_spawn_file_actions_addopen.
50374 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50376         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50377         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50378         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50379         conditional code always true.
50380         (__libc_vfork): New alias.
50382 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50384         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50385         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50387         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50389         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50390         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50392         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50393         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50395         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50396         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50398 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50400         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50401         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50402         multiarch strcmp for PPC64.
50403         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50404         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50406         multiarch optimizations.
50407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50408         (__libc_ifunc_impl_list): Likewise.
50410 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50412         * benchtests/scripts/validate_benchout.py: New script.
50413         * benchtests/Makefile (bench-func): Call it.
50414         * benchtests/scripts/benchout.schema.json: New file.
50416 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50418         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50419         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50420         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50421         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50422         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50423         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50424         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50425         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50426         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50427         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50428         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50429         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50430         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50431         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50432         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50433         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50435         Moved ...
50436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50437         ... here.
50438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50439         Moved ...
50440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50442         Moved ...
50443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50444         ... here.
50445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50446         Moved ...
50447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50448         ... here.
50449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50450         Moved ...
50451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50453         Moved ...
50454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50455         ... here.
50456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50457         Moved ...
50458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50459         ... here.
50460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50461         Moved ...
50462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50464         Moved ...
50465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50466         ... here.
50467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50468         Moved ...
50469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50470         ... here.
50471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50472         Moved ...
50473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50474         ... here.
50475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50476         Moved ...
50477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50479         Moved ...
50480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50481         ... here.
50482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50483         Moved ...
50484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50485         ... here.
50486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50487         Moved ...
50488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50489         ... here.
50490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50491         Moved ...
50492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50494         Moved ...
50495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50496         ... here.
50497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50498         Moved ...
50499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50500         ... here.
50501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50502         Moved ...
50503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50505         Moved ...
50506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50507         ... here.
50508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50509         Moved ...
50510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50512         Moved ...
50513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50515         Moved ...
50516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50517         ... here.
50518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50519         Moved ...
50520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50521         ... here.
50522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50523         Moved ...
50524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50525         ... here.
50526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50527         Moved ...
50528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50530         Moved ...
50531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50532         ... here.
50533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50534         Moved ...
50535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50536         ... here.
50537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50538         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50540         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50541         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50542         Moved ...
50543         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50544         ... here.
50545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50546         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50548         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50549         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50550         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50552         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50554         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50556         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50558         Moved ...
50559         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50560         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50561         Moved ...
50562         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50564         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50566         Moved ...
50567         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50569         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50570         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50571         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50572         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50573         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50575 2014-06-10  Wilco  <wdijkstr@arm.com>
50577         * math/test-fenv-return.c: New file.
50578         * math/Makefile: Add new test test-fenv-return.
50580 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50582         [BZ #17042]
50583         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50584         when x - 1 is zero.
50585         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50586         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50587         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50588         0.0L for an argument of 1.0L.
50589         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50590         Likewise.
50591         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50592         value when x - 1 is zero.
50593         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50594         * sysdeps/i386/fpu/libm-test-ulps: Update.
50595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50597 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50599         [BZ #15119]
50600         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50602 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50604         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50605         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50607 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50609         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50610         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50612         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50613         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50615         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50616         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50618         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50619         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50621         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50622         if not already defined.
50623         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50624         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50625         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50626         (TLS_INIT_TP): Use it.
50627         (TLS_DEFINE_INIT_TP): New macro.
50628         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50630 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50632         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50633         constant.
50634         [POSIX] (IXANY): Likewise.
50635         [POSIX] (OLCUC): Likewise.
50636         [POSIX || POSIX2008] (CBAUD): Do not allow.
50637         [POSIX || POSIX2008] (DEFECHO): Likewise.
50638         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50639         [POSIX || POSIX2008] (ECHOKE): Likewise.
50640         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50641         [POSIX || POSIX2008] (EXTA): Likewise.
50642         [POSIX || POSIX2008] (EXTB): Likewise.
50643         [POSIX || POSIX2008] (FLUSHO): Likewise.
50644         [POSIX || POSIX2008] (LOBLK): Likewise.
50645         [POSIX || POSIX2008] (PENDIN): Likewise.
50646         [POSIX || POSIX2008] (SWTCH): Likewise.
50647         [POSIX || POSIX2008] (VDISCARD): Likewise.
50648         [POSIX || POSIX2008] (VDSUSP): Likewise.
50649         [POSIX || POSIX2008] (VLNEXT): Likewise.
50650         [POSIX || POSIX2008] (VREPRINT): Likewise.
50651         [POSIX || POSIX2008] (VSTATUS): Likewise.
50652         [POSIX || POSIX2008] (VWERASE): Likewise.
50653         (B*): Change to B[0123456789]*.
50654         * conform/data/time.h-data [POSIX || UNIX98]
50655         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50656         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50657         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50658         [POSIX] (tm_*): Do not allow.
50660 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50662         * Makefile (install): Don't set LANGUAGE.
50663         * Makefile.in (install): Likewise.
50664         * assert/Makefile (test-assert-ENV): Remove variable.
50665         (test-assert-perr-ENV): Likewise.
50666         * elf/Makefile (neededtest4-ENV): Likewise.
50667         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50668         [$(cross-compiling) = no]: Don't set LANGUAGE.
50669         * io/ftwtest-sh (LANG): Remove variable.
50670         * libio/Makefile (tst-widetext-ENV): Likewise.
50671         * manual/install.texi (Running make install): Don't refer to
50672         environment settings for make install.
50673         * INSTALL: Regenerated.
50674         * nptl/tst-tls6.sh: Don't set LANG.
50675         * posix/globtest.sh (LANG): Remove variable.
50676         * string/Makefile (tester-ENV): Likewise.
50677         (inl-tester-ENV): Likewise.
50678         (noinl-tester-ENV): Likewise.
50679         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50680         [$(cross-compiling) = no]: Don't set LANGUAGE.
50681         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50682         without explicit environment settings.
50684 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50686         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50687         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50688         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50689         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50691 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50693         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50694         other files in the crypt directory.
50695         * crypt/crypt.c: Remove duplicate includes.
50696         * crypt/crypt-entry.c: Likewise.
50697         * crypt/crypt_util.c: Likewise.
50699 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50701         * Makeconfig (run-program-env): New variable.
50702         (run-program-prefix-before-env): Likewise.
50703         (run-program-prefix-after-env): Likewise.
50704         (run-program-prefix): Define in terms of new variables.
50705         (built-program-cmd-before-env): New variable.
50706         (built-program-cmd-after-env): Likewise.
50707         (built-program-cmd): Define in terms of new variables.
50708         (test-program-prefix-before-env): New variable.
50709         (test-program-prefix-after-env): Likewise.
50710         (test-program-prefix): Define in terms of new variables.
50711         (test-program-cmd-before-env): New variable.
50712         (test-program-cmd-after-env): Likewise.
50713         (test-program-cmd): Define in terms of new variables.
50714         * Rules (make-test-out): Use $(run-program-env).
50715         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50716         (help): Do not mention environment variables.  Mention
50717         --timeoutfactor option.
50718         (timeoutfactor): New variable.
50719         (blacklist_exports): Remove function.
50720         (exports): Remove variable.
50721         (command): Do not include ${exports}.
50722         * manual/install.texi (Configuring and compiling): Do not mention
50723         test wrappers preserving environment variables.  Mention that last
50724         assignment to a variable must take precedence.
50725         * INSTALL: Regenerated.
50726         * benchtests/Makefile (run-bench): Use $(run-program-env).
50727         * catgets/Makefile ($(objpfx)test1.cat): Use
50728         $(built-program-cmd-before-env), $(run-program-env) and
50729         $(built-program-cmd-after-env).
50730         ($(objpfx)test2.cat): Do not specify environment variables
50731         explicitly.
50732         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50733         $(run-program-env) and $(built-program-cmd-after-env).
50734         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50735         $(run-program-env) and $(test-program-cmd-after-env).
50736         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50737         explicitly.
50738         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50739         run_program_env and test_program_cmd_after_env arguments.
50740         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50741         * elf/tst-pathopt.sh: Use run_program_env argument.
50742         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50743         $(test-wrapper-env) and $(run-program-env).
50744         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50745         run_program_env arguments.
50746         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50747         * intl/Makefile ($(objpfx)tst-gettext.out): Use
50748         $(test-program-prefix-before-env), $(run-program-env) and
50749         $(test-program-prefix-after-env).
50750         ($(objpfx)tst-gettext2.out): Likewise.
50751         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50752         run_program_env and test_program_prefix_after_env arguments.
50753         * intl/tst-gettext2.sh: Likewise.
50754         * intl/tst-gettext4.sh: Do not set environment variables
50755         explicitly.
50756         * intl/tst-gettext6.sh: Likewise.
50757         * intl/tst-translit.sh: Likewise.
50758         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50759         $(test-program-prefix-before-env), $(run-program-env) and
50760         $(test-program-prefix-after-env).
50761         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50762         run_program_env and test_program_prefix_after_env arguments.
50763         * math/Makefile (run-regen-ulps): Use $(run-program-env).
50764         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50765         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
50766         explicitly with each use of ${test_wrapper_env}.
50767         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50768         $(test-program-prefix-before-env), $(run-program-env) and
50769         $(test-program-prefix-after-env).
50770         * posix/tst-getconf.sh: Do not set environment variables
50771         explicitly.
50772         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50773         run_program_env and test_program_prefix_after_env arguments.
50774         * stdio-common/tst-printf.sh: Do not set environment variables
50775         explicitly.
50776         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50777         $(test-program-prefix-before-env), $(run-program-env) and
50778         $(test-program-prefix-after-env).
50779         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50780         run_program_env and test_program_prefix_after_env arguments.
50781         Split $test calls into $test_pre and $test.
50782         * timezone/Makefile (build-testdata): Use
50783         $(built-program-cmd-before-env), $(run-program-env) and
50784         $(built-program-cmd-after-env).
50786 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50788         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50789         strlen for non SHARED builds.
50791 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50793         * nptl/allocatestack.c (check_list): Inlined function...
50794         (__reclaim_stacks): ... here.
50796 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50798         [BZ #15698]
50799         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50800         memory overrun.
50802 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
50804         * Rules (make-test-out): Include
50805         LOCPATH=$(common-objpfx)localedata in default environment.
50806         * debug/Makefile (tst-chk1-ENV): Remove variable.
50807         (tst-chk2-ENV): Likewise.
50808         (tst-chk3-ENV): Likewise.
50809         (tst-chk4-ENV): Likewise.
50810         (tst-chk5-ENV): Likewise.
50811         (tst-chk6-ENV): Likewise.
50812         (tst-lfschk1-ENV): Likewise.
50813         (tst-lfschk2-ENV): Likewise.
50814         (tst-lfschk3-ENV): Likewise.
50815         (tst-lfschk4-ENV): Likewise.
50816         (tst-lfschk5-ENV): Likewise.
50817         (tst-lfschk6-ENV): Likewise.
50818         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50819         (tst-iconv7-ENV): Likewise.
50820         * intl/Makefile (LOCPATH-ENV): Likewise.
50821         (tst-codeset-ENV): Likewise.
50822         (tst-gettext3-ENV): Likewise.
50823         (tst-gettext5-ENV): Likewise.
50824         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50825         (tst-fopenloc-ENV): Likewise.
50826         (tst-fgetws-ENV): Remove variable.
50827         (tst-ungetwc1-ENV): Likewise.
50828         (tst-ungetwc2-ENV): Likewise.
50829         (bug-ungetwc2-ENV): Likewise.
50830         (tst-swscanf-ENV): Likewise.
50831         (bug-ftell-ENV): Likewise.
50832         (tst-fgetwc-ENV): Likewise.
50833         (tst-fseek-ENV): Likewise.
50834         (tst-ftell-partial-wide-ENV): Likewise.
50835         (tst-ftell-active-handler-ENV): Likewise.
50836         (tst-ftell-append-ENV): Likewise.
50837         * posix/Makefile (tst-fnmatch-ENV): Likewise.
50838         (tst-regexloc-ENV): Likewise.
50839         (bug-regex1-ENV): Likewise.
50840         (tst-regex-ENV): Likewise.
50841         (tst-regex2-ENV): Likewise.
50842         (bug-regex5-ENV): Likewise.
50843         (bug-regex6-ENV): Likewise.
50844         (bug-regex17-ENV): Likewise.
50845         (bug-regex18-ENV): Likewise.
50846         (bug-regex19-ENV): Likewise.
50847         (bug-regex20-ENV): Likewise.
50848         (bug-regex22-ENV): Likewise.
50849         (bug-regex23-ENV): Likewise.
50850         (bug-regex25-ENV): Likewise.
50851         (bug-regex26-ENV): Likewise.
50852         (bug-regex30-ENV): Likewise.
50853         (bug-regex32-ENV): Likewise.
50854         (bug-regex33-ENV): Likewise.
50855         (bug-regex34-ENV): Likewise.
50856         (bug-regex35-ENV): Likewise.
50857         (tst-rxspencer-ENV): Likewise.
50858         (tst-rxspencer-no-utf8-ENV): Likewise.
50859         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50860         (tst-sscanf-ENV): Likewise.
50861         (tst-swprintf-ENV): Likewise.
50862         (tst-swscanf-ENV): Likewise.
50863         (test-vfprintf-ENV): Likewise.
50864         (scanf13-ENV): Likewise.
50865         (bug14-ENV): Likewise.
50866         (tst-grouping-ENV): Likewise.
50867         * stdlib/Makefile (tst-strtod-ENV): Likewise.
50868         (tst-strtod3-ENV): Likewise.
50869         (tst-strtod4-ENV): Likewise.
50870         (tst-strtod5-ENV): Likewise.
50871         (testmb2-ENV): Likewise./
50872         * string/Makefile (tst-strxfrm-ENV): Likewise.
50873         (tst-strxfrm2-ENV): Likewise.
50874         (bug-strcoll1-ENV): Likewise.
50875         (test-strcasecmp-ENV): Likewise.
50876         (test-strncasecmp-ENV): Likewise.
50877         * time/Makefile (tst-strptime-ENV): Likewise.
50878         (tst-ftime_l-ENV): Likewise.
50879         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50880         (tst-mbrtowc-ENV): Likewise.
50881         (tst-wcrtomb-ENV): Likewise.
50882         (tst-mbrtowc2-ENV): Likewise.
50883         (tst-c16c32-1-ENV): Likewise.
50884         (tst-mbsnrtowcs-ENV): Likewise.
50886 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50888         * manual/resource.texi (How to get information about the memory
50889         subsystem?): Fix typo.
50890         Reported by Peon de la Parra Ivan <peon@keba.com>
50892 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
50894         [BZ #16882]
50895         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50896         (pthread_spin_lock): Branch out of spin loop to proper location.
50897         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50898         (pthread_spin_lock): Likewise.
50900         * nptl/tst-spin4.c: New test.
50901         * nptl/Makefile (tests): Add tst-spin4.
50903 2014-06-03  Andreas Schwab  <schwab@suse.de>
50905         [BZ #15946]
50906         * resolv/res_send.c (send_dg): Reload file descriptor after
50907         calling reopen.
50909 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
50911         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50913 2014-06-03  Richard Henderson  <rth@redhat.com>
50915         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50916         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50917         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50918         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
50919         in the SAVE_PID block.
50920         (__libc_vfork): New alias.
50921         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50923         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50924         child in registers, not on the stack.  Remove RESET_PID conditionals.
50925         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50927 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50929         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50931 2014-06-03  Wilco  <wdijkstr@arm.com>
50933         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50934         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50935         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50936         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50937         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50938         Likewise.
50940 2014-06-03  Wilco  <wdijkstr@arm.com>
50942         * sysdeps/aarch64/fpu/math_private.h
50943         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50944         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50945         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50946         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50947         Fix declarations.
50949 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50951         * crypt/crypt-private.h: Include ufc-crypt.h.
50952         (__b64_from_24bit): Declare extern.
50953         * crypt/crypt_util.c(__b64_from_24bit): New function.
50954         (b64t): New static const variable.
50955         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50956         (b64t): Remove variable.
50957         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50958         * crypt/sha256-crypt.c: Include crypt-private.h.
50959         (b64t): Remove variable.
50960         (__sha256_crypt_r): Remove b64_from_24bit and replace
50961         with __b64_from_24bit.
50962         * crypt/sha512-crypt.c: Likewise.
50964 2014-06-02  Roland McGrath  <roland@hack.frob.com>
50966         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50967         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50968         Label the code __libc_vfork rather than __vfork.
50969         [!NOT_IN_libc] (vfork): Define as weak alias.
50970         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50971         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50972         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50974 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50976         * malloc/malloc.c (malloc_info): Fix format specifier for
50977         n_mmaps.
50979 2014-06-02  Wilco  <wdijkstr@arm.com>
50981         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50982         FPCR write.
50984 2014-06-02  Wilco  <wdijkstr@arm.com>
50986         [BZ #17009]
50987         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50988         Rewrite to reduce FPCR/FPSR accesses.
50990 2014-06-01  David S. Miller  <davem@davemloft.net>
50992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50994 2014-05-31  David S. Miller  <davem@davemloft.net>
50996         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50997         to occur in round to nearest mode when |x| >= 2.0
50999 2014-05-30  Richard Henderson  <rth@twiddle.net>
51001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51002         (PSEUDO_RET_NOERRNO): Remove.
51003         (ret): Don't redefine.
51004         (ret_NOERRNO): Define in terms of ret.
51005         (ret_ERRVAL): Likewise.
51007         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51008         use of PSEUDO_RET; perform the error check directly.
51010 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51012         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51013         with __int128_t.
51015 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51017         * malloc/malloc (malloc_info): Fix formatting.
51019 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51020             Roland McGrath  <roland@hack.frob.com>
51022         * malloc/malloc (malloc_info): Also print mmapped statistics.
51024 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51026         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51027         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51029 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
51031         * malloc/malloc.c (malloc_info): Inline mi_arena.
51033 2014-05-29  Richard Henderson  <rth@twiddle.net>
51035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51036         Remove comma before expanding ASM_ARGS_##nr.
51037         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51038         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51039         of ASM_ARGS_##nr.
51040         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51041         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51042         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51043         (ASM_ARGS_1): Add leading comma.
51045         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51046         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51047         to __errno_location.
51048         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51049         Remove the expected plt for __errno_location.
51051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51052         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51053         call to __read_tp.
51055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51056         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51057         it and break it down.
51058         (DOCARGS_0, DOCARGS_1): Do nothing.
51059         (DOCARGS_2): Update to store into the new stack frame.
51060         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51061         (UNDOCARGS_1): Update to restore from the new stack frame.
51062         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51063         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51065         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51066         (SINGLE_THREAD_P): New parameter for result regno.
51067         (PSEUDO): Update to match; use cbz instead of beq.
51069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51070         Use ENTRY to define the _nocancel entry point.  Share the syscall
51071         and syscall error check paths with the cancel path.
51072         (PSEUDO_END): New.
51074         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51075         whitespace; tabs before and after asm mnemonics.
51077 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51079         [BZ #15132]
51080         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51081         Call fstat64 or stat64 internally, depending on arguments passed.
51082         Replace stat buffer argument with file descriptor argument.
51083         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51084         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51085         Pass fd to __internal_statvfs instead of calling fstat64.
51086         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51087         Pass fd to __internal_statvfs64 instead of calling fstat64.
51088         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51089         Pass -1 to __internal_statvfs instead of calling stat64.
51090         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51091         Pass -1 to __internal_statvfs64 instead of calling stat64.
51093 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51095         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51096         that was previously under [RESET_PID].
51097         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51099         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51100         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51102 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51104         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51106         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51107         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51109 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
51111         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51113 2014-05-27  Andreas Schwab  <schwab@suse.de>
51115         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51116         TLS_INIT_TP macro.
51117         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51118         * elf/rtld.c (init_tls, dl_main): Likewise.
51119         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51120         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51121         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51122         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51123         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51124         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51125         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51126         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51127         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51128         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51129         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51130         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51131         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51132         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51133         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51134         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51135         * sysdeps/generic/tls.h: Update description.
51137 2014-05-27  Will Newton  <will.newton@linaro.org>
51139         [BZ #16990]
51140         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51141         and restore r2 rather than just restoring.
51143 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51145         [BZ #16724]
51146         * libio/tst-ftell-append.c: New test case.
51147         * libio/Makefile (tests): Add test case.
51148         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51149         append mode.
51150         * libio/wfileops.c (do_ftell_wide): Likewise.
51152 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51156         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51157         ...
51158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51160         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51161         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51162         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51163         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51164         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51165         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51167         Moved ...
51168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51170         Moved ...
51171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51172         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51173         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51174         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51175         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51176         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51177         ...
51178         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51179         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51180         Moved ...
51181         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51182         here.
51183         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51184         ...
51185         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51186         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51187         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51189         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51190         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51191         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51192         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51194         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51195         merge into ...
51196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51198         ...
51199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51201         ...
51202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51204         Moved ...
51205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51206         here.
51207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51208         Moved ...
51209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51211         Moved ...
51212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51215         conditional [RESET_PID].
51216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51218         removed.
51219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51220         removed.
51222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51223         <tcb-offsets.h>.
51224         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51225         (__libc_vfork): New strong alias.
51226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51227         removed.
51228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51229         Removed.
51231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51232         <tcb-offsets.h>.
51233         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51234         (__libc_vfork): New strong alias.
51235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51236         removed.
51237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51238         removed.
51240 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51242         * malloc/malloc.c (mi_arena): New function.
51243         (malloc_info): Remove nested function mi_arena. Call non-nosted
51244         function mi_arena.
51246 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51248         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51249         by insrwi.
51250         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51251         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51252         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51253         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51254         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51255         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51256         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51258 2014-05-26  Andreas Schwab  <schwab@suse.de>
51260         [BZ #16984]
51261         * locale/programs/repertoire.c (repertoire_read): Add slash
51262         between I18NPATH element and file name.
51263         * locale/programs/locfile.c (locfile_read): Likewise.
51265 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51267         * nptl/pthread_mutexattr_settype.c
51268         (__pthread_mutexattr_settype):
51269         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51271 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51273         * nptl/tst-mutex5 (do_test):
51274         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51276 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51278         * benchtests/README: Document 'init' directive.
51279         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51280         BENCH_INIT.
51281         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51282         (parse_file): Recognize 'init' directive.
51284 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51286         [BZ #16796]
51287         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51288         alignment of struct pthread.
51290 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51292         [BZ #16878]
51293         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51294         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51295         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51296         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51298 2014-05-25  Richard Henderson  <rth@twiddle.net>
51300         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51301         (SINGLE_THREAD_P_PIC): Remove.
51302         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51303         (SINGLE_THREAD_P_PIC): Remove.
51305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51306         branch to syscall error ...
51307         (PSEUDO): ... here.
51308         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51309         from __local_syscall_error to .Lsyscall_error.
51310         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51311         (SYSCALL_ERROR): Update label name.
51313         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51314         Do not use DOARGS/UNDOARGS.
51315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51316         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51317         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51318         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51319         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51322         block comment.
51324         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51325         define if !NOT_IN_libc.
51326         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51327         define with non-default symbol versions.
51329 2014-05-23  Richard Henderson  <rth@twiddle.net>
51331         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51332         (vfork, __vfork): Define via compat_symbol.
51334         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51335         [!HAVE_IFUNC] (vfork_compat): Remove.
51336         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51338 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51340         [BZ #16978]
51341         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51342         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51343         variable.
51345 2014-05-23  Richard Henderson  <rth@twiddle.net>
51347         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51348         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51349         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51350         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51352         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51353         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51354         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51355         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51356         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51357         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51358         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51359         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51360         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51361         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51362         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51363         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51364         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51365         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51366         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51367         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51368         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51369         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51370         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51371         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51372         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51373         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51374         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51375         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51376         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51377         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51378         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51379         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51380         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51381         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51382         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51383         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51384         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51385         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51386         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51387         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51388         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51389         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51390         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51391         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51392         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51393         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51394         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51395         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51396         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51397         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51399         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51401         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51402         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51403         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51404         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51405         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51407         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51409         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51410         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51411         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51412         before exiting on error.
51413         (__libc_vfork): New strong alias.
51414         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51415         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51417         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51418         that was previously under [RESET_PID].
51419         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51421         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51423 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51425         [BZ #16977]
51426         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51427         value when x - 1 is zero.
51428         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51429         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51430         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51431         0.0L for an argument of 1.0L.
51432         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51433         Likewise.
51434         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51435         value when x - 1 is zero.
51436         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51437         * sysdeps/i386/fpu/libm-test-ulps: Update.
51438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51440 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51442         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51443         alphasort and versionsort.
51445 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51447         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51448         macro.
51449         [copysignf]: Likewise.
51451 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51453         * crypt/md5-crypt.c: Fix formatting.
51455 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51457         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51458         (b64_from_24bit): New function.
51460 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51463         libc_hidden_builtin_def to ifunc.
51464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51465         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51467 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51469         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51470         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51472 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51474         * nscd/Depend (linuxthreads): Remove.
51475         (nptl): Add.
51476         * resolv/Depend (linuxthreads): Remove.
51477         * rt/Depend (linuxthreads): Remove.
51479         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51480         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51481         $(common-objpfx)elf/.
51482         (link-libc-before-gnulib): Likewise.
51483         (elfobjdir): Remove variable.
51484         * Makefile (install): Use $(elf-objpfx) instead of
51485         $(common-objpfx)elf/.
51486         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51487         $(elfobjdir)/.
51488         (link-libc-deps): Likewise.
51489         ($(common-objpfx)libc.so): Likewise.
51490         ($(common-objpfx)linkobj/libc.so): Likewise.
51491         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51492         instead of $(common-objpfx)elf/.
51493         (symbolic-link-list): Likewise.
51494         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51495         [$(cross-compiling) = no]: Likewise.
51496         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51497         $(elfobjdir)/.
51498         (static-gnulib-arch): Likewise.
51499         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51500         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51501         $(common-objpfx)elf/.
51503 2014-05-21  Richard Henderson  <rth@redhat.com>
51505         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51506         (SINGLE_THREAD_P): Use the correct width load.  Fold
51507         into the ldr offset.
51509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51510         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51512 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51514         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51515         (libgcc_s_resume): Use __attribute_used__.
51516         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51517         Likewise.
51519 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51521         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51522         optimization when used with float constants.
51524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51526 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51528         [BZ #16915]
51529         * locale/nl_langinfo_l.c: Make direct reference to every
51530         _nl_current_CATEGORY symbol.
51531         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51532         (tests-static): Add tst-langinfo-static.
51533         (tests-special): Add tst-langinfo-static.out.
51534         ($(objpfx)tst-langinfo.out): Redirect output.
51535         ($(objpfx)tst-langinfo-static.out): New.
51536         * localedata/tst-langinfo.sh: Send output to stdout.
51537         * localedata/tst-langinfo-static.c: New file.
51539         [BZ #16965]
51540         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51541         when the shift amount is modulo the limb size.
51543 2014-05-20  Richard Henderson  <rth@redhat.com>
51545         [BZ #16967]
51546         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51547         Change type of sa_flags from unsigned int to int.
51549         [BZ #16966]
51550         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51552         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51554 2014-05-20  Will Newton  <will.newton@linaro.org>
51556         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51557         Test the return value of the system call in the nocancel case.
51559 2014-05-20  Will Newton  <will.newton@linaro.org>
51560             Yvan Roux  <yvan.roux@linaro.org>
51562         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51563         #include of asm/ptrace.h.
51564         (PTRACE_GET_THREAD_AREA): Remove #undef.
51565         (PTRACE_GETHBPREGS): Likewise.
51566         (PTRACE_SETHBPREGS): Likewise.
51567         (struct user_regs_struct): New structure.
51568         (struct user_fpsimd_struct): New structure.
51569         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51570         #include of asm/ptrace.h and second #include of sys/user.h.
51571         (PTRACE_GET_THREAD_AREA): Remove #undef.
51572         (PTRACE_GETHBPREGS): Likewise.
51573         (PTRACE_SETHBPREGS): Likewise.
51574         (ELF_NGREG): Use new struct user_regs_struct.
51575         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51577 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51579         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51580         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51582 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51584         [BZ #16958]
51585         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51586         membar to avoid block loads/stores to overlap previous stores.
51588 2014-05-17  Richard Henderson  <rth@redhat.com>
51590         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51591         Create the __##syscall_name##_nocancel entry point.
51592         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51593         Remove; let the sysdep-cancel.h code create it.
51595 2014-05-17  David S. Miller  <davem@davemloft.net>
51597         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51598         Protect with __USE_GNU.
51599         (TIOCSET_TEMPT): Likewise.
51600         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51601         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51602         these are already provided in bits/ioctl-types.h
51604 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51606         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51607         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51609         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51610         Use wait4 regardless of [__NR_waitpid].
51612 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51614         PR libgcc/60166
51615         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51616         (_FP_NANSIGN_Q): Set the quiet bit.
51618 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51620         * benchtests/Makefile
51621         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51622         not $(common-objpfx)math/libm.so.
51623         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51624         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51625         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51626         $(common-objpfx)dlfcn/libdl.so.
51627         ($(objpfx)tst-audit8): Depend on $(libm), not
51628         $(common-objpfx)math/libm.so.
51629         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51630         not $(common-objpfx)dlfcn/libdl.so.
51631         * math/Makefile
51632         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51633         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51634         [$(build-shared) = yes].
51635         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51636         $(common-objpfx)nptl/libpthread.so.
51637         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51638         $(common-objpfx)math/libm.so$(libm.so-version) or
51639         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51640         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51641         $(common-objpfx)dlfcn/libdl.so.
51642         * setjmp/Makefile (link-libm): Remove variable.
51643         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51644         * stdio-common/Makefile (link-libm): Remove variable.
51645         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51646         * stdlib/Makefile (link-libm): Remove variable.
51647         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51648         ($(objpfx)tst-strtod-round): Likewise.
51649         ($(objpfx)tst-tininess): Likewise.
51650         ($(objpfx)tst-strtod-underflow): Likewise.
51651         ($(objpfx)tst-strtod6): Likewise.
51652         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51653         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51654         $(common-objpfx)dlfcn/libdl.so.
51656 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51658         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51659         BSD terminal modes definitions.
51661 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51663         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51664         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51666         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51667         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51668         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51669         Don't do #include_next.
51670         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51671         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51672         Don't do #include_next.
51673         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51674         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51675         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51676         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51678 2014-05-16  Allan McRae  <allan@archlinux.org>
51680         * po/sv.po: Update Swedish translation from translation project.
51682         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51683         in sed expression.
51685 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51687         [BZ #16917]
51688         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51689         errno if the TIOCGPTN ioctl fails with an error different than
51690         EINVAL.
51691         * login/tst-ptsname.c: New file.
51692         * login/Makefile (tests): Add tst-ptsname.
51694         [BZ #16943]
51695         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51696         and prlimit64.
51698 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51700         [BZ #16849]
51701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51702         herrno to return EAI_AGAIN.
51704 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51706         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51707         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51708         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51709         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51710         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51711         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51712         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51713         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51714         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51715         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51716         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51717         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51718         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51719         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51720         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51721         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51722         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51723         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51724         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51725         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51726         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51727         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51728         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51729         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51730         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51731         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51732         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51733         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51734         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51735         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51737         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51739         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51741         Moved ...
51742         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51744         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51746         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51748         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51750         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51752         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51754         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51756         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51758         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51760         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51762         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51764         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51766         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51768         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51770         Moved ...
51771         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51773         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51775         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51777         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51779         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51781         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51783         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51785         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51787         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51789         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51791         Moved ...
51792         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51794         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51796         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51797         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51798         (libpthread-sysdep_routines): Add elision-related stuff here instead.
51799         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51800         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51801         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51802         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51803         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51804         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51805         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51806         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51807         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51808         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51809         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51810         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51811         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51812         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51813         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51814         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51815         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51816         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51817         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51818         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51819         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51820         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51821         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51822         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51823         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51824         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51825         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51826         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51828         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51829         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51831         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51832         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51833         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51834         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51835         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51836         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51837         Moved ...
51838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51840         Moved ...
51841         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51843         Moved ...
51844         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51845         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51846         Moved ...
51847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51848         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51849         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51850         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51851         Moved ...
51852         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51853         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51854         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51856         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51857         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51858         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51860         Moved ...
51861         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51863         Moved ...
51864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51865         ... here.
51866         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51867         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51868         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51869         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51870         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51871         Moved ...
51872         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51873         ... here.
51874         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51875         Moved ...
51876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51877         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51878         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51879         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51880         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51881         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51882         Moved ...
51883         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51885         Moved ...
51886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51888         Moved ...
51889         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51890         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51891         Moved ...
51892         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51893         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51894         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51895         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51896         Moved ...
51897         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51898         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51899         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51901         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51902         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51903         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51905         Moved ...
51906         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51908         Moved ...
51909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51910         ... here.
51911         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51912         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51913         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51914         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51915         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51916         Moved ...
51917         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51918         ... here.
51919         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51920         Moved ...
51921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51922         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51923         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51924         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51925         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51926         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51928         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51929         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51931         Moved ...
51932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51934         Moved ...
51935         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51936         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51937         Moved ...
51938         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51939         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51940         Moved ...
51941         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51942         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51943         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51944         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51945         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51947         Moved ...
51948         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51949         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51950         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51951         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51952         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51953         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51954         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51956         Moved ...
51957         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51958         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51959         Moved ...
51960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51961         ... here.
51962         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51963         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51964         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51965         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51966         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51967         Moved ...
51968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51969         ... here.
51970         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51971         Moved ...
51972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51973         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51974         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51975         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51976         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51977         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51978         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51979         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51980         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51981         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51982         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51984         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51985         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51987         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51988         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51990         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51991         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51992         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51993         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51994         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51995         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51996         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51997         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51998         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51999         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52001         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52002         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52003         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52004         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52005         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52006         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52007         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52008         Moved ...
52009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52010         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52013         Moved ...
52014         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52015         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52018         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52020         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52022         Moved ...
52023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52025         Moved ...
52026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52028         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52032         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52033         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52034         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52035         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52036         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52037         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52038         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52039         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52040         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52041         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52042         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52044         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52045         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52046         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52047         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52048         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52050         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52051         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52052         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52053         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52054         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52055         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52056         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52057         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52058         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52059         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52061         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52064         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52065         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52066         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52067         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52068         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52069         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52070         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52071         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52072         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52073         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52074         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52075         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52076         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52077         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52079         Update #include.
52080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52081         Likewise.
52082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52083         Likewise.
52084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52085         Likewise.
52086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52087         Likewise.
52088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52089         Likewise.
52090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52091         Likewise.
52092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52093         Likewise.
52094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52095         Likewise.
52096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52097         Likewise.
52098         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52099         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52102         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52103         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52104         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52105         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52106         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52107         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52108         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52109         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52110         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52111         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52112         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52114         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52115         that was previously under [RESET_PID].
52116         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52117         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52118         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52120         * sysdeps/i386/nptl/Implies: New file.
52121         * sysdeps/x86_64/nptl/Implies: New file.
52122         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52123         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52124         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52125         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52127         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52128         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52129         (__libc_vfork): New strong alias.
52130         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52131         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52133         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52134         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52135         (__libc_vfork): New strong alias.
52136         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52137         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52139         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52140         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52141         (__libc_vfork): New strong alias.
52142         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52143         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52144         * nptl/pt-vfork.c: New file.
52145         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52146         (libpthread: GLIBC_2.20): New version set (empty).
52148 2014-05-14  Will Newton  <will.newton@linaro.org>
52150         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52151         rather than #if.
52153 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52155         [BZ #16564]
52156         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52157         arguments with exponent 65 or above.
52158         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52159         arguments 0x1p113L or above.
52160         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52161         to arguments 0x1p107L or above.
52162         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52163         positive arguments with exponent 65 or above.
52164         * math/auto-libm-test-in: Add more tests of log1p.
52165         * math/auto-libm-test-out: Regenerated.
52167         [BZ #16928]
52168         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52169         non-finite arguments is +0.
52170         * math/s_cacosf.c (__cacosf): Likewise.
52171         * math/s_cacosl.c (__cacosl): Likewise.
52172         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52173         * sysdeps/i386/fpu/libm-test-ulps: Update.
52174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52176         [BZ #16927]
52177         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52178         value.
52179         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52180         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52181         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52182         for explicit high bit of mantissa when testing for argument equal
52183         to 1.
52184         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52185         * sysdeps/i386/fpu/libm-test-ulps: Update.
52186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52188         [BZ #16516]
52189         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52190         (__erf): Scale by 16 instead of 8 in potentially underflowing
52191         case.  Ensure exception if result actually underflows.
52192         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52193         (__erff): Scale by 16 instead of 8 in potentially underflowing
52194         case.  Ensure exception if result actually underflows.
52195         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52196         (efx8): Remove variable.
52197         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52198         case.  Ensure exception if result actually underflows.
52199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52200         (efx8): Remove variable.
52201         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52202         case.  Ensure exception if result actually underflows.
52203         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52204         (efx8): Remove variable.
52205         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52206         case.  Ensure exception if result actually underflows.
52207         * math/auto-libm-test-in: Add more tests of erf.
52208         * math/auto-libm-test-out: Regenerated.
52210 2014-05-14  Andreas Schwab  <schwab@suse.de>
52212         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52213         Remove code conditionalized on USE___THREAD.
52215         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52216         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52217         not definedness.
52219 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52222         Define unconditionally.
52223         (__ASSUME_O_CLOEXEC): Likewise.
52224         (__ASSUME_SOCK_CLOEXEC): Likewise.
52225         (__ASSUME_IN_NONBLOCK): Likewise.
52226         (__ASSUME_PIPE2): Likewise.
52227         (__ASSUME_EVENTFD2): Likewise.
52228         (__ASSUME_SIGNALFD4): Likewise.
52229         (__ASSUME_DUP3): Likewise.
52230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52231         (__ASSUME_DUP3): Do not define.
52232         (__ASSUME_EVENTFD2): Likewise.
52233         (__ASSUME_IN_NONBLOCK): Likewise.
52234         (__ASSUME_O_CLOEXEC): Likewise.
52235         (__ASSUME_PIPE2): Likewise.
52236         (__ASSUME_SIGNALFD4): Likewise.
52237         (__ASSUME_SOCK_CLOEXEC): Likewise.
52238         (__ASSUME_UTIMES): Undefine.
52239         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52240         (__ASSUME_UTIMES): Do not define.
52241         (__ASSUME_O_CLOEXEC): Likewise.
52242         (__ASSUME_SOCK_CLOEXEC): Likewise.
52243         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52244         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52245         0x020621].
52246         (__ASSUME_PIPE2): Likewise.
52247         (__ASSUME_EVENTFD2): Likewise.
52248         (__ASSUME_SIGNALFD4): Likewise.
52249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52250         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52251         Do not define.
52252         (__ASSUME_EVENTFD2): Likewise.
52253         (__ASSUME_SIGNALFD4): Likewise.
52254         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52255         (__ASSUME_32BITUIDS): Likewise.
52256         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52257         (__ASSUME_IPC64): Likewise.
52258         (__ASSUME_ST_INO_64_BIT): Likewise.
52259         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52260         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52261         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52262         (__ASSUME_UTIMES): Do not define.
52263         (__ASSUME_PSELECT): Likewise.
52264         (__ASSUME_PPOLL): Likewise.
52265         (__ASSUME_O_CLOEXEC): Likewise.
52266         (__ASSUME_SOCK_CLOEXEC): Likewise.
52267         (__ASSUME_IN_NONBLOCK): Likewise.
52268         (__ASSUME_PIPE2): Likewise.
52269         (__ASSUME_EVENTFD2): Likewise.
52270         (__ASSUME_SIGNALFD4): Likewise.
52271         (__ASSUME_DUP3): Likewise.
52272         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52273         (__ASSUME_UTIMES): Likewise.
52274         (__ASSUME_O_CLOEXEC): Likewise.
52275         (__ASSUME_SOCK_CLOEXEC): Likewise.
52276         (__ASSUME_IN_NONBLOCK): Likewise.
52277         (__ASSUME_PIPE2): Likewise.
52278         (__ASSUME_EVENTFD2): Likewise.
52279         (__ASSUME_SIGNALFD4): Likewise.
52280         (__ASSUME_DUP3): Likewise.
52281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52282         (__ASSUME_UTIMES): Likewise.
52283         (__ASSUME_O_CLOEXEC): Likewise.
52284         (__ASSUME_SOCK_CLOEXEC): Likewise.
52285         (__ASSUME_IN_NONBLOCK): Likewise.
52286         (__ASSUME_PIPE2): Likewise.
52287         (__ASSUME_EVENTFD2): Likewise.
52288         (__ASSUME_SIGNALFD4): Likewise.
52289         (__ASSUME_DUP3): Likewise.
52290         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52291         Likewise.
52292         (__ASSUME_UTIMES): Likewise.
52293         (__ASSUME_EVENTFD2): Likewise.
52294         (__ASSUME_SIGNALFD4): Likewise.
52295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52296         (__ASSUME_O_CLOEXEC): Likewise.
52297         (__ASSUME_SOCK_CLOEXEC): Likewise.
52298         (__ASSUME_IN_NONBLOCK): Likewise.
52299         (__ASSUME_PIPE2): Likewise.
52300         (__ASSUME_EVENTFD2): Likewise.
52301         (__ASSUME_SIGNALFD4): Likewise.
52302         (__ASSUME_DUP3): Likewise.
52303         (__ASSUME_UTIMES): Undefine.
52305         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52306         feclearexcept.  Remove symbol versioning code.
52307         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52308         symbol versioning code.
52309         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52310         symbol versioning code.
52311         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52312         feupdateenv.  Remove symbol versioning code.
52313         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52314         fegetexceptflag.  Remove symbol versioning code.
52315         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52316         fesetexceptflag.  Remove symbol versioning code.
52317         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52318         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52319         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52320         (__posix_fadvise64_l32): Remove prototype.
52321         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52322         code.
52324 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52326         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52327         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52328         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52329         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52331 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52333         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52334         current working directory
52336 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52338         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52339         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52340         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52341         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52342         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52343         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52344         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52345         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52346         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52347         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52348         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52349         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52350         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52351         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52352         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52353         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52354         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52355         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52356         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52357         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52358         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52359         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52360         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52361         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52362         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52363         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52364         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52365         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52366         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52367         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52368         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52369         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52370         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52371         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52372         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52373         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52374         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52375         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52376         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52377         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52378         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52379         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52381         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52382         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52384         * sysdeps/unix/sysv/linux/arm/Makefile
52385         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52386         Add rt-aeabi_unwind_cpp_pr1.
52387         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52388         Add nptl-aeabi_unwind_cpp_pr1.
52389         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52390         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52391         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52392         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52393         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52394         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52396         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52397         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52398         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52399         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52401         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52402         Deconditionalize the code that was previously under [RESET_PID].
52403         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52405         * sysdeps/generic/exit-thread.h: New file.
52406         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52407         * include/unistd.h (__exit_thread): Remove declaration.
52408         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52409         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52410         * csu/libc-start.c: Include <exit-thread.h>.
52411         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52412         * nptl/pthread_create.c: Include <exit-thread.h>.
52413         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52414         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52415         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52416         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52417         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52418         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52419         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52420         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52421         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52422         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52423         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52424         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52425         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52426         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52427         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52428         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52429         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52431 2014-05-13  Andreas Schwab  <schwab@suse.de>
52433         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52435 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52437         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52438         (__ASSUME_UTIMES): Do not condition on kernel version.
52439         (__ASSUME_PSELECT): Define unconditionally.
52440         (__ASSUME_PPOLL): Likewise.
52441         (__ASSUME_ATFCTS): Likewise.
52442         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52443         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52444         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52445         (__ASSUME_UTIMENSAT): Define unconditionally.
52446         (__ASSUME_PRIVATE_FUTEX): Likewise.
52447         (__ASSUME_FALLOCATE): Likewise.
52448         (__ASSUME_O_CLOEXEC): Likewise.
52449         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52450         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52451         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52452         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52453         (__ASSUME_IN_NONBLOCK): Likewise.
52454         (__ASSUME_PIPE2): Likewise.
52455         (__ASSUME_EVENTFD2): Likewise.
52456         (__ASSUME_SIGNALFD4): Likewise.
52457         (__ASSUME_DUP3): Likewise.
52458         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52459         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52460         (__ASSUME_AT_RANDOM): Likewise.
52461         (__ASSUME_PREADV): Likewise.
52462         (__ASSUME_PWRITEV): Likewise.
52463         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52464         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52465         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52466         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52467         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52468         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52469         (__ASSUME_O_CLOEXEC): Define unconditionally.
52470         (__ASSUME_PSELECT): Do not undefine conditionally.
52471         (__ASSUME_PPOLL): Likewise.
52472         (__ASSUME_ATFCTS): Likewise.
52473         (__ASSUME_SET_ROBUST_LIST): Likewise.
52474         (__ASSUME_UTIMENSAT): Likewise.
52475         (__ASSUME_FDATASYNC): Define unconditionally.
52476         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52477         (__ASSUME_SIGFRAME_V2): Likewise.
52478         )__ASSUME_EVENTFD2): Likewise.
52479         (__ASSUME_SIGNALFD4): Likewise.
52480         (__ASSUME_PSELECT): Do not undefine conditionally.
52481         (__ASSUME_PPOLL): Likewise.
52482         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52483         (__ASSUME_PSELECT): Define unconditionally.
52484         (__ASSUME_PPOLL): Likewise.
52485         (__ASSUME_O_CLOEXEC): Likewise.
52486         (__ASSUME_SOCK_CLOEXEC): Likewise.
52487         (__ASSUME_IN_NONBLOCK): Likewise.
52488         (__ASSUME_PIPE2): Likewise.
52489         (__ASSUME_EVENTFD2): Likewise.
52490         (__ASSUME_SIGNALFD4): Likewise.
52491         (__ASSUME_DUP3): Likewise.
52492         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52493         (__ASSUME_O_CLOEXEC): Likewise.
52494         (__ASSUME_SOCK_CLOEXEC): Likewise.
52495         (__ASSUME_IN_NONBLOCK): Likewise.
52496         (__ASSUME_PIPE2): Likewise.
52497         (__ASSUME_EVENTFD2): Likewise.
52498         (__ASSUME_SIGNALFD4): Likewise.
52499         (__ASSUME_DUP3): Likewise.
52500         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52501         (__ASSUME_EVENTFD2): Likewise.
52502         (__ASSUME_SIGNALFD4): Likewise.
52503         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52505 2014-05-12  Andreas Schwab  <schwab@suse.de>
52507         [BZ #16932]
52508         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52509         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52510         than maximum RPC packet size.
52511         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52512         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52513         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52514         (_nss_nis_getservbyport_r): Likewise.
52516 2014-05-12  Will Newton  <will.newton@linaro.org>
52518         * malloc/Makefile (tests): Add tst-mallopt.
52519         * malloc/tst-mallopt.c: New file.
52521 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52523         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52524         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52526 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52528         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52529         (tst-tlsmod6.so): Likewise.
52531 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52533         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52535 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52537         [BZ #16064]
52538         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52539         and <dl-procinfo.h>.
52540         (__fegetenv): Save SSE state in envp->__eip if supported.
52541         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52542         envp->__eip if supported.
52543         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52544         and <dl-procinfo.h>.
52545         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52546         __data_offset and __data_selector in environment to 0.  Set SSE
52547         state if supported.
52548         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52549         test-fenv-sse.
52550         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52551         -mfpmath=sse.
52552         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52554 2014-05-09  Will Newton  <will.newton@linaro.org>
52556         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52557         and libc_relro_required for ARM.
52558         * sysdeps/arm/preconfigure: Regenerate.
52560 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52561             Stefan Liebler  <stli@linux.vnet.ibm.com>
52563         * config.make.in (enable-lock-elision): New Makefile variable.
52564         * configure.ac: Likewise.
52565         * configure: Regenerate.
52566         * sysdeps/s390/configure.ac:
52567         Add check for gcc transactions support.
52568         * sysdeps/s390/configure: Regenerate.
52569         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52570         Build elision files if enabled.
52571         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52572         Add lock elision support for s390.
52573         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52574         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52575         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52576         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52577         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52578         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52579         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52580         Likewise.
52581         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52582         Likewise.
52583         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52584         Likewise.
52585         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52586         Likewise.
52587         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52588         (__lll_timedlock_elision, __lll_lock_elision)
52589         (__lll_unlock_elision, __lll_trylock_elision)
52590         (lll_timedlock_elision, lll_lock_elision)
52591         (lll_unlock_elision, lll_trylock_elision): Add.
52592         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52593         (pthread_mutex_t): Add lock elision support for s390.
52595 2014-05-14  Wilco  <wdijkstr@arm.com>
52597         * sysdeps/arm/fclrexcpt.c: Cleanup.
52598         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52599         * sysdeps/arm/feenablxcpt.c: Cleanup.
52600         * sysdeps/arm/fegetenv.c: Cleanup.
52601         * sysdeps/arm/fegetexcept.c: Cleanup.
52602         * sysdeps/arm/fegetround.c: Cleanup.
52603         * sysdeps/arm/feholdexcpt.c: Cleanup.
52604         * sysdeps/arm/fesetenv.c: Cleanup.
52605         * sysdeps/arm/fesetround.c: Cleanup.
52606         * sysdeps/arm/feupdateenv.c: Cleanup.
52607         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52608         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52609         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52610         * sysdeps/arm/ftestexcept.c: Cleanup.
52611         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52612         * sysdeps/arm/setfpucw.c: Cleanup.
52614 2014-05-09  Will Newton  <will.newton@linaro.org>
52616         * sysdeps/arm/armv7/strcmp.S: New file.
52617         * NEWS: Mention addition of ARMv7 optimized strcmp.
52619 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52621         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52622         look for %.ac rather than %.in.
52624         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52625         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52626         * sysdeps/mach/hurd/configure: Regenerated.
52627         * sysdeps/unix/sysv/linux/configure: Regenerated.
52629         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52631 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52633         [BZ #16922]
52634         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52635         (LONG_SUB): Ditto.
52636         (PTR_SUB): Ditto.
52638 2014-05-07  Andreas Schwab  <schwab@suse.de>
52640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52641         when skipping over non-matching result from nscd.
52643 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
52645         [BZ #16876]
52646         * nptl/sockperf.c (client): Check socket return value.
52648         [BZ #16877]
52649         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52650         nscd security class.
52652 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52654         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52655         * sysdeps/arm/unwind.h: ... here.
52657 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52659         [BZ #16916]
52660         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52661         Define.
52663 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52665         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52666         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52667         multiarch strncpy for PPC64.
52668         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52669         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52671         multiarch optimizations.
52672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52673         (__libc_ifunc_impl_list): Likewise.
52674         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52675         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52676         multiarch stpncpy for PPC64.
52677         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52678         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52680 2014-05-06  Andreas Schwab  <schwab@suse.de>
52682         [BZ #16912]
52683         * gmon/mcount.c (_MCOUNT_DECL): Use
52684         atomic_compare_and_exchange_bool_acq instead of
52685         catomic_compare_and_exchange_bool_acq.
52687 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52689         * elf/Makefile (others, install-bin): Remove pldd.
52690         (pldd-modules): Variable removed.
52691         ($(objpfx)pldd): Target removed.
52692         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52693         (others, install-bin): Append pldd here.
52694         ($(objpfx)pldd): New target.
52696         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52697         to 0, so the first #if test emitted later doesn't see it undefined.
52698         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52699         * sysdeps/gnu/errlist.c: Regenerated.
52701 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52703         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52704         [libc_hidden_builtin_def]: Define to empty value.
52705         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52706         [libc_hidden_builtin_def]: Likewise.
52707         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52708         [libc_hidden_builtin_def]: Likewise.
52709         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52710         [libc_hidden_builtin_def]: Likewise.
52711         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52712         __redirect_memcpy and define ifunc as default hidden symbol.
52713         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52714         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52716 2014-05-04  Adam Conrad  <adconrad@0c3.net>
52718         * locale/iso-4217.def: Reintroduce XDR currency.
52720 2014-05-04  Allan McRae  <allan@archlinux.org>
52722         * po/eo.po: Update Esperanto translation from translation project.
52724 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
52726         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52727         and FEATURE_INDEX_MAX to 1.
52728         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52730 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52732         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52733         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52734         * iconvdata/big5.c (ONE_DIRECTION): Define.
52735         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52736         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52737         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52738         * iconvdata/cp932.c (ONE_DIRECTION): Define.
52739         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52740         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52741         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52742         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52743         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52744         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52745         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52746         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52747         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52748         * iconvdata/gbk.c (ONE_DIRECTION): Define.
52749         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52750         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52751         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52752         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52753         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52754         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52755         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52756         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52757         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52758         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52759         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52760         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52761         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52762         * iconvdata/iso646.c (ONE_DIRECTION): Define.
52763         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52764         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52765         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52766         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52767         * iconvdata/johab.c (ONE_DIRECTION): Define.
52768         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52769         * iconvdata/sjis.c (ONE_DIRECTION): Define.
52770         * iconvdata/t.61.c (ONE_DIRECTION): Define.
52771         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52772         * iconvdata/tscii.c (ONE_DIRECTION): Define.
52773         * iconvdata/uhc.c (ONE_DIRECTION): Define.
52774         * iconvdata/unicode.c (ONE_DIRECTION): Define.
52775         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52776         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52777         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52779 2014-05-01  Roland McGrath  <roland@hack.frob.com>
52781         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52782         (_IO_JUMPS_OFFSET): Define to 0.
52784         * nptl/sysdeps/pthread/bits/libc-lock.h
52785         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52786         (__libc_lock_define_initialized_recursive): Always define using
52787         initializer.  Modern compilers treat uninitialized (implicit zero) and
52788         explicit zero initializers the same (i.e. put the datum in bss).
52790 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52792         * nscd/nscd-client.h: Include <string.h>.
52794 2014-05-01  David S. Miller  <davem@davemloft.net>
52796         [BZ #16885]
52797         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52798         multiple zero bytes exist at the end of a string.
52799         Reported by Aurelien Jarno <aurelien@aurel32.net>
52801         * string/test-strcmp.c (check): Add explicit test for situations where
52802         there are multiple zero bytes after the first.
52804 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52806         [BZ #16890]
52807         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52808         when compiling wprintf.
52809         * stdio-common/tstdiomisc.c (t3): New function.
52810         (main): Call it.
52812 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52814         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52815         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52816         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52817         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52819 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52821         * stdlib/longlong.h: Updated from GCC.
52823 2014-05-01  Will Newton  <will.newton@linaro.org>
52824             Bernard Ogden  <bernie.ogden@linaro.org>
52826         * NEWS: Update fixed bug list.
52828         [BZ #15119]
52829         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52831 2014-04-30  David S. Miller  <davem@davemloft.net>
52833         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52834         (libc_feholdexcept_setround_sparc_ctx): New function.
52835         (libc_fesetenv_sparc_ctx): Likewise.
52836         (libc_feupdateenv_sparc_ctx): Likewise.
52837         (libc_feholdsetround_sparc_ctx): Likewise.
52838         (libc_feholdexcept_setround_ctx): Define.
52839         (libc_feholdexcept_setroundf_ctx): Likewise.
52840         (libc_feholdexcept_setroundl_ctx): Likewise.
52841         (libc_fesetenv_ctx): Likewise.
52842         (libc_fesetenvf_ctx): Likewise.
52843         (libc_fesetenvl_ctx): Likewise.
52844         (libc_feupdateenv_ctx): Likewise.
52845         (libc_feupdateenvf_ctx): Likewise.
52846         (libc_feupdateenvl_ctx): Likewise.
52847         (libc_feresetround_ctx): Likewise.
52848         (libc_feresetroundf_ctx): Likewise.
52849         (libc_feresetroundl_ctx): Likewise.
52850         (libc_feholdsetround_ctx): Likewise.
52851         (libc_feholdsetroundf_ctx): Likewise.
52852         (libc_feholdsetroundl_ctx): Likewise.
52854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52855         with __USE_GNU instead of XOPEN cpp guards.
52857         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52858         0.
52860         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52861         with XOPEN cpp guards.
52863 2014-04-30  Julian Brown  <julian@codesourcery.com>
52865         [BZ #16888]
52866         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52867         handling.
52869 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
52871         [BZ #9894]
52872         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52873         Change to 2.6.32.
52874         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52875         * sysdeps/unix/sysv/linux/configure: Regenerated.
52876         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52877         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52878         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52879         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52880         * README: Update reference to required Linux kernel version.
52881         * manual/install.texi (Linux): Update reference to required Linux
52882         kernel headers version.
52883         * INSTALL: Regenerated.
52885         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52886         header inclusion.
52887         [POSIX] (limits.h): Likewise.
52888         [POSIX] (math.h): Likewise.
52889         [POSIX] (sys/wait.h): Likewise.
52890         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52891         function.
52892         [POSIX] (stddef.h): Do not allow header inclusion.
52894 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52896         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52898 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
52900         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52901         Return immediately after lll_futex_wake.
52903 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52905         [BZ #16791]
52906         * nscd/nscd-client.h (datahead_init_common): Initialize entire
52907         structure.
52908         (datahead_init_pos): Call datahead_init_common early.
52909         (datahead_init_neg): Likewise.
52911         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52912         datahead_init_neg): New functions.
52913         * nscd/aicache.c (addhstaiX): Use them.
52914         * nscd/grpcache.c (cache_addgr): Likewise.
52915         * nscd/hstcache.c (cache_addhst): Likewise.
52916         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52917         * nscd/netgroupcache.c (do_notfound): Likewise.
52918         (addgetnetgrentX): Likewise.
52919         (addinnetgrX): Likewise.
52920         * nscd/pwdcache.c (cache_addpw): Likewise.
52921         * nscd/servicescache.c (cache_addserv): Likewise.
52923 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52924             Atsushi Onoe  <atsushi@onoe.org>
52926         [BZ #14308]
52927         [BZ #12994]
52928         [BZ #13651]
52929         * resolv/res_query.c (__libc_res_nsearch): Return if at least
52930         one response is valid.
52931         * resolv/res_send.c (send_dg): Check for validity of other
52932         response if the current response is a referral.
52934 2014-04-29  Steve Ellcey  <sellcey@mips.com>
52936         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52938 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
52940         [BZ #16823]
52941         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52942         Always divide by positive zero when computing -Inf result.
52943         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52944         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52946 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52948         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52949         FPSCR if value do not change.
52950         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52951         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52952         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52953         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52954         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52955         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52956         function.
52958 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
52960         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52961         * sysdeps/unix/sysv/linux/hppa: Move directory from
52962         ports/systeps/unix/sysv/linux/hppa.
52963         * README: Update listing for hppa-*-linux-gnu.
52965 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
52967         [BZ #16754]
52968         * manual/stdio.texi (Hook functions): Fix types of stream hook
52969         functions.
52970         [BZ #16854]
52971         * socket/sys/socket.h: Fix typo in comment.
52973 2014-04-28  Wilco  <wdijkstr@arm.com>
52975         * sysdeps/arm/fenv_private.h: New file.
52976         * sysdeps/arm/math_private.h: New file.
52977         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52979 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
52981         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52982         with __int128_t.
52983         (La_x86_64_retval): Likewise.
52985 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
52987         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52988         fpsr if value didn't change.
52989         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52990         to fpcr if value didn't change.
52991         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52992         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52993         fpsr or fpcr if value didn't change.
52994         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52995         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52996         fpcr if value didn't change.
52997         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52998         to fpsr if value didn't change.
53000 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53002         * nptl/tst-sem3.c: Use test-skeleton.c
53003         (main): Rename to do_test.  Use return instead of
53004         exit.
53005         * nptl/tst-sem4.c: Use test-skeleton.c
53006         (main): Rename to do_test.
53008 2014-04-22  David S. Miller  <davem@davemloft.net>
53010         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53011         (struct sigaction): New struct member __glibc_reserved0, change
53012         type of sa_flags to int.
53014 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53016         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53017         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53019 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53021         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53022         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53024 2014-04-22  Will Newton  <will.newton@linaro.org>
53025             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53027         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53028         (__longjmp): Add longjmp and longjmp_target SystemTap
53029         probes.
53030         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53031         (__sigsetjmp): Add setjmp SystemTap probe.
53033 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53035         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53036         match manual order.
53038 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53040         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53042         * sysdeps/powerpc/fpu/fenv_private.h
53043         (libc_feholdexcept_setroundl_ctx): Define to
53044         libc_feholdexcept_setround_ppc_ctx.
53045         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53046         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53047         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53048         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53050 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53052         * sysdeps/aarch64/math-tests.h: New file.
53054 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53056         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53057         New.
53058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53059         Check and set bit_AVX2_Usable.
53060         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53061         macro.
53062         (bit_AVX2): Likewise.
53063         (index_AVX2_Usable): Likewise.
53064         (CPUID_AVX2): Likewise.
53065         (HAS_AVX2): Likewise.
53067 2014-04-17  Will Newton  <will.newton@linaro.org>
53069         * manual/setjmp.texi (System V contexts): Add note that
53070         calling setcontext on a context created by a call to a
53071         signal handler is undefined.  Update text to note that
53072         setcontext from a signal handler is possible but not
53073         recommended.
53075         [BZ #16629]
53076         * stdlib/tst-setcontext.c: Include signal.h.
53077         (main): Check that the signal stack before and
53078         after swapcontext is the same.
53080         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53081         Re-implement to restore registers in user code and avoid
53082         rt_sigreturn system call.
53084 2014-04-17  Wilco  <wdijkstr@arm.com>
53086         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53087         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53088         * math/test-fenv.c: Skip exception trap tests on targets which only
53089         support non-stop mode.
53091 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53092             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53094         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53095         (libc_feholdsetround_aarch64_ctx)
53096         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53097         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53098         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53099         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53100         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53101         (libc_feresetround_noexl_ctx): Define.
53103 2014-04-16  Richard Henderson  <rth@redhat.com>
53105         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53107         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53108         unwind tables.
53110         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53111         const from the non-libc, non-ldso copy.
53113         * sysdeps/alpha/libm-test-ulps: Regenerate.
53115 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53116             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53118         * sysdeps/aarch64/fpu/math_private.h: New file.
53120 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53122         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53124 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53126         [BZ #16275]
53127         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53128         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53130         Intel MPX bound registers before _dl_profile_fixup.
53131         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53132         registers after _dl_profile_fixup.  Save and restore bound
53133         registers bnd0/bnd1 when calling _dl_call_pltexit.
53134         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53135         (LR_BND_OFFSET): Likewise.
53136         (LRV_BND0_OFFSET): Likewise.
53137         (LRV_BND1_OFFSET): Likewise.
53139 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53141         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53142         to...
53143         * sysdeps/mach/hurd/i386/tls.h: ... here.
53144         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53145         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53146         fields.
53148 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53150         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53152 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53154         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53156 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53158         [BZ #14770]
53159         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53160         * sysdeps/s390/configure: Regenerate.
53162         [BZ #16824]
53163         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53164         Set round-to-nearest internally to reduce error accumulation.
53166 2014-04-16  Alan Modra  <amodra@gmail.com>
53168         [BZ #16740]
53169         [BZ #16619]
53170         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53171         * math/libm-test.inc (frexp_test_data): Add tests.
53172         * NEWS: Update fixed bug list.
53174 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53176         * benchtests/Makefile: Depend on libraries in build directory.
53177         (bench-math): Separate out math tests.
53178         (bench-pthread): Separate out pthread tests.
53179         (bench): Include math and pthread tests.
53181 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53183         [BZ #16831]
53184         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53185         _dl_debug_initialize.
53187         * configure.ac: Remove SELinux header check.
53188         * configure: Regenerate.
53189         * nscd/selinux.c (perms): Array of const char* to permission names.
53190         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53191         default policy. Call string_to_security_class and string_to_av_perm to
53192         translate strings. Enforce default policy and call avs_has_perm with
53193         results of translated strings.
53195 2014-04-13  David S. Miller  <davem@davemloft.net>
53197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53199 2014-04-12  Allan McRae  <allan@archlinux.org>
53201         [BZ #16838]
53202         * manual/string.texi (Collation Functions): Fix qsort argument
53203         order in example.
53204         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53206 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53208         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53209         Make the test a no-op if there are no exceptions defined.
53211 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53213         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53214         enable-hardcoded-path-in-tests
53216 2014-04-11  Will Newton  <will.newton@linaro.org>
53218         * benchtests/Makefile (extra-objs): Add json-lib.o.
53219         (bench-func): Tidy up JSON output.
53220         * benchtests/bench-skeleton.c: Include json-lib.h.
53221         (main): Use JSON library functions to do output of
53222         benchmark results.
53223         * benchtests/bench-timing-type.c (main): Output the
53224         timing type simply, leaving formatting to the user.
53225         * benchtests/json-lib.c: New file.
53226         * benchtests/json-lib.h: Likewise.
53228 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53230         [BZ #15215]
53231         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53232         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53233         memory barriers.  Add comments.
53234         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53235         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53236         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53237         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53238         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53239         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53241 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53243         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53244         * sysdeps/s390/s390-64/configure.ac: ... this ...
53245         * sysdeps/s390/configure.ac: ... to here.
53246         * sysdeps/s390/s390-32/configure: Delete file.
53247         * sysdeps/s390/s390-64/configure: Delete file.
53248         * sysdeps/s390/configure: Regenerate.
53250 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53252         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53254 2014-04-11  Will Newton  <will.newton@linaro.org>
53256         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53257         to zero if it is not defined elsewhere.  (mtrim): Test
53258         the value of MALLOC_DEBUG with #if rather than #ifdef.
53260 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53262         * benchtests/pthread_once-inputs: New file.
53263         * benchtests/pthread_once-source.c: New file.
53264         * benchtests/README: Update documentation.
53266 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53267             H.J. Lu  <hongjiu.lu@intel.com>
53269         [BZ #16275]
53270         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53271         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53272         * sysdeps/x86_64/configure: Regenerated.
53273         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53274         macro.
53275         (REGISTER_SAVE_RAX): Likewise.
53276         (REGISTER_SAVE_RCX): Likewise.
53277         (REGISTER_SAVE_RDX): Likewise.
53278         (REGISTER_SAVE_RSI): Likewise.
53279         (REGISTER_SAVE_RDI): Likewise.
53280         (REGISTER_SAVE_R8): Likewise.
53281         (REGISTER_SAVE_R9): Likewise.
53282         (REGISTER_SAVE_BND0): Likewise.
53283         (REGISTER_SAVE_BND1): Likewise.
53284         (REGISTER_SAVE_BND2): Likewise.
53285         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53286         bound registers when calling _dl_fixup.
53288 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53290         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53291         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53292         of its definition.
53293         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53294         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53295         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53296         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53297         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53298         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53299         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53301 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53303         [BZ #15514]
53304         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53305         pathconf(_PC_NAME_MAX).
53307 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53309         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53310         Remove macro usage.
53311         (__PTHREAD_SPINS): Move definition to ...
53312         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53313         (__PTHREAD_SPINS): ... here.
53314         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53315         (__PTHREAD_SPIN): Likewise.
53316         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53317         (__PTHREAD_SPIN): Likewise.
53318         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53319         (__PTHREAD_SPIN): Likewise.
53320         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53321         (__PTHREAD_SPIN): Likewise.
53322         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53323         (__PTHREAD_SPIN): Likewise.
53324         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53325         (__PTHREAD_SPIN): Likewise.
53326         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53327         (__PTHREAD_SPIN): Likewise.
53328         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53329         (__PTHREAD_SPIN): Likewise.
53330         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53331         (__PTHREAD_SPIN): Likewise.
53332         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53333         (__PTHREAD_SPIN): Likewise.
53334         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53335         (__PTHREAD_SPIN): Likewise.
53336         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53337         (__PTHREAD_SPIN): Likewise.
53339         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53340         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53341         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53342         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53343         imply folder.
53344         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53345         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53346         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53347         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53348         correct imply path.
53349         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53350         strlen symbol for non multi-arch builds.
53351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53352         missing hidden_def and weak_alias.
53354 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53356         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53358 2014-04-07  Will Newton  <will.newton@linaro.org>
53360         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53361         and contents.  [!_LIBC] Remove #ifndef and contents.
53362         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53363         * string/memccpy.c (__memccpy): Use ANSI prototype.
53364         * string/memfrob.c (memfrob): Likewise.
53365         * string/strcoll.c (STRCOLL): Likewise.
53366         * string/strlen.c (strlen): Likewise.
53367         * string/strtok.c (STRTOK): Likewise.
53368         * string/strcat.c: Remove unused #include of memcopy.h.
53369         (strcat): Use ANSI prototype.
53370         * string/strchr.c: Remove unused #include of memcopy.h.
53371         (strchr): Use ANSI prototype.
53372         * string/strcmp.c: Remove unused #include of memcopy.h.
53373         (strcmp): Use ANSI prototype.
53374         * string/strcpy.c: Remove unused #include of memcopy.h.
53375         (strcpy): Use ANSI prototype.
53377 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53379         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53380         * config.make.in (config-extra-cppflags): Set it from
53381         libc_extra_cppflags.
53382         * configure.ac (libc_extra_cflags): Make it accumulate over
53383         configure fragments.
53384         (libc_extra_cppflags): New flag.
53385         * configure. Regenerate.
53386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53387         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53388         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53391         [BZ #16815]
53392         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53393         result for FE_DOWNWARD rounding mode.
53394         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53395         Likewise.
53396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53398 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53400         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53401         in function argument name.
53403 2014-04-03  David Svoboda  <svoboda@cert.org>
53405         [BZ #5666]
53406         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53407         explicitly.
53409 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53411         * elf/dl-unmap-segments.h: New file.
53412         * sysdeps/generic/ldsodefs.h
53413         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53414         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53415         * elf/dl-fptr.c: Likewise.
53416         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53417         * sysdeps/aarch64/tlsdesc.c: Likewise.
53418         * sysdeps/arm/tlsdesc.c: Likewise.
53419         * sysdeps/i386/tlsdesc.c: Likewise.
53420         * sysdeps/tile/dl-runtime.c: Likewise.
53421         * sysdeps/x86_64/tlsdesc.c: Likewise.
53422         * elf/dl-load.h: New file.
53423         * elf/dl-load.c: Include it.
53424         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53425         Macros moved to dl-load.h.
53426         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53427         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53428         Use _dl_unmap_segments in place of __munmap.
53429         Break out segment-mapping loop into ...
53430         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53432 2014-04-03  Will Newton  <will.newton@linaro.org>
53434         * elf/dl-lookup.c (do_lookup_x): Remove comment
53435         referring to nested function and move variable
53436         declarations down to before first use.
53438 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53440         [BZ #16799]
53441         [BZ #16800]
53442         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53443         with 0 numerator.
53444         * math/s_catanf.c (__catanf): Likewise.
53445         * math/s_catanh.c (__catanh): Likewise.
53446         * math/s_catanhf.c (__catanhf): Likewise.
53447         * math/s_catanhl.c (__catanhl): Likewise.
53448         * math/s_catanl.c (__catanl): Likewise.
53449         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53450         by positive zero when computing -Inf result.
53451         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53452         (catanh_test): Likewise.
53453         * sysdeps/i386/fpu/libm-test-ulps: Update.
53454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53456         [BZ #16789]
53457         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53458         instead of using underflowing value in computing result.
53459         * math/s_clog10.c (__clog10): Likewise.
53460         * math/s_clog10f.c (__clog10f): Likewise.
53461         * math/s_clog10l.c (__clog10l): Likewise.
53462         * math/s_clogf.c (__clogf): Likewise.
53463         * math/s_clogl.c (__clogl): Likewise.
53464         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53465         (clog10_test): Likewise.
53466         * sysdeps/i386/fpu/libm-test-ulps: Update.
53467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53469 2014-04-02  Alan Modra  <amodra@gmail.com>
53471         [BZ #16739]
53472         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53473         output when value is near a power of two.  Use int64_t for lx and
53474         remove casts.  Use decimal rather than hex exponent constants.
53475         Don't use long double multiplication when double will suffice.
53476         * math/libm-test.inc (nextafter_test_data): Add tests.
53477         * NEWS: Add 16739 and 16786 to bug list.
53479         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53481         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53483 2014-04-01  Will Newton  <will.newton@linaro.org>
53485         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53486         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53488 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53490         [BZ #13347]
53491         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53492         * nptl/tst-setuid2.c: New file.
53493         * nptl/Makefile (xtests): Add tst-setuid2.
53495 2014-04-01  Alan Modra  <amodra@gmail.com>
53497         [BZ #16786]
53498         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53500 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53502         [BZ #6803]
53503         [BZ #6804]
53504         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53505         set errno as appropriate.
53506         * math/w_scalbf.c (__scalbf): Likewise.
53507         * math/w_scalbl.c (__scalbl): Likewise.
53508         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53509         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53510         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53511         Add more NaN tests.
53513         [BZ #16349]
53514         * math/w_atan2.c: Include <errno.h>.
53515         (__atan2): Set errno for result underflowing to zero.
53516         * math/w_atan2f.c: Include <errno.h>.
53517         (__atan2f): Set errno for result underflowing to zero.
53518         * math/w_atan2l.c: Include <errno.h>.
53519         (__atan2l): Set errno for result underflowing to zero.
53520         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53521         tests.
53522         * math/auto-libm-test-out: Regenerated.
53524 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53526         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53527         Encode instruction correctly in little endian.
53528         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53529         Likewise.
53530         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53531         Likewise.
53532         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53533         Likewise.
53534         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53535         Likewise.
53537 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53539         [BZ #9894]
53540         * sysdeps/unix/sysv/linux/kernel-features.h
53541         [__sparc__ && !__arch64__ && !__sparc_v9__]
53542         (__ASSUME_SET_ROBUST_LIST): Do not define.
53543         [__sparc__ && !__arch64__ && !__sparc_v9__]
53544         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53545         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53546         Likewise.
53547         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53548         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53549         (__ASSUME_REQUEUE_PI): Likewise.
53550         (__ASSUME_SET_ROBUST_LIST): Likewise.
53551         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53552         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53553         Undefine.
53554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53555         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53556         Likewise.
53557         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53558         Likewise.
53559         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53560         Likewise.
53561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53562         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53563         Undefine.
53564         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53565         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53566         Likewise.
53568         [BZ #16648]
53569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53570         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53571         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53573 2014-03-31  Will Newton  <will.newton@linaro.org>
53575         * benchtests/Makefile (bench): Add ffs and ffsll to list
53576         of tests.
53577         * benchtests/ffs-inputs: New file.
53578         * benchtests/ffsll-inputs: Likewise.
53580 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53582         [BZ #16770]
53583         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53584         too large before casting to int.
53585         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53586         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53587         * math/libm-test.inc (scalb_test_data): Add more tests.
53589 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53591         * benchtests/Makefile (DETAILED_OPT): New make option.
53592         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53593         set.
53594         * benchtests/bench-skeleton.c: Include stdbool.h.
53595         (main): Store and print timings per input.
53596         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53597         member to each argument value.
53598         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53599         (_print_arg_data): Initialize per-input timing to 0.
53601         * benchtests/Makefile (timing-type): New binary.
53602         (bench-clean): Also remove bench-timing-type.
53603         (bench): New target for timing-type.
53604         (bench-func): Print output in JSON format.
53605         * benchtests/bench-skeleton.c (main): Print output in JSON
53606         format.
53607         * benchtests/bench-timing-type.c: New file.
53608         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53609         (TIMING_PRINT_STATS): Remove.
53610         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53611         name separately.
53613         * benchtests/bench-modf.c: Remove.
53614         * benchtests/modf-inputs: New inputs file.
53616 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53618         [BZ #16362]
53619         * math/s_clog10.c (M_PI_LOG10E): New macro.
53620         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53621         imaginary parts are 0.
53622         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53623         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53624         imaginary parts are 0.
53625         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53626         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53627         imaginary parts are 0.
53628         * math/libm-test.inc (clog10_test_data): Update expected results
53629         for when real and imaginary parts are 0.
53631 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53633         * elf/dl-load.c: Finish conversion of __builtin_expect into
53634         __glibc_{un}likely.
53636 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53638         [BZ #16348]
53639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53640         1+x for argument with exponent below -67.
53641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53642         Likewise.
53643         * math/auto-libm-test-in: Add more tests of exp.
53644         * math/auto-libm-test-out: Regenerated.
53646 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53648         [BZ #16759]
53649         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53650         (nscd_getnetgrent): Use it.
53652         [BZ #16760]
53653         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53654         of stpcpy.
53656 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53658         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53659         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53660         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53661         (lll_robust_unlock): Remove out of line section. Use cfi
53662         intrinsics.
53663         (LLL_STUB_UNWIND_INFO*): Remove.
53664         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53665         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53666         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53667         (lll_robust_unlock): Remove out of line section. Use cfi
53668         intrinsics.
53669         (LLL_STUB_UNWIND_INFO*): Remove.
53671 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53673         [BZ #16758]
53674         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53675         blank values.
53677 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53679         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53681 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53683         [BZ #16198]
53684         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53685         fnstenv.
53686         * math/test-fenv-preserve.c: New file.
53687         * math/Makefile (tests): Add test-fenv-preserve.
53689 2014-03-26  Will Newton <will.newton@linaro.org>
53691         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53693 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53695         * scripts/versionlist.awk: Partition the version sets and emit all
53696         GLIBC_* (sorted) before all others (sorted).
53698 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53700         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53701         GLIBC_2.2.5 version.
53703 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53705         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53706         calls.
53708         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53709         previous change.
53711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53713 2014-03-25  Andreas Schwab  <schwab@suse.de>
53715         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53716         label to be used after in6ailist is initialized.
53718 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53720         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53721         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53723 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53725         [BZ #16357]
53726         [BZ #16599]
53727         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53728         min_plus_half.
53729         (fp_formats): Update initializers.
53730         (init_fp_formats): Initialize new field.
53731         (output_for_one_input_case): Allow underflow for results up to
53732         min_plus_half.
53733         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53734         * math/auto-libm-test-in: Don't mark some underflows from asin and
53735         atanh as spurious.
53736         * math/auto-libm-test-out: Regenerated.
53737         * sysdeps/i386/fpu/libm-test-ulps: Update.
53738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53740 2014-03-25  Andreas Schwab  <schwab@suse.de>
53742         * libio/Makefile (tst-ftell-partial-wide-ENV)
53743         (tst-ftell-active-handler-ENV): Define.
53745 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
53747         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53749 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53751         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53753 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53755         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53756         * sysdeps/x86_64/fpu/multiarch/e_exp.c
53757         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53759 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53761         [BZ #16634]
53762         * elf/dl-load.c (open_verify): Add mode parameter.
53763         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53764         (open_path): Change from boolean 'secure' to complete flag 'mode'
53765         (_dl_map_object): Adjust.
53766         * elf/Makefile (tests): Add tst-dlopen-aout.
53767         * elf/tst-dlopen-aout.c: New test.
53769 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
53771         [BZ #16714]
53772         * sysdeps/unix/sysv/linux/s390/bits/stat.h
53773         (struct stat): Rename member pad0 to __glibc_reserved0.
53775         [BZ #16712]
53776         * sysdeps/s390/s390-32/bits/wordsize.h
53777         (__WORDSIZE32_SIZE_ULONG): New define.
53778         * sysdeps/s390/s390-64/bits/wordsize.h
53779         (__WORDSIZE32_SIZE_ULONG): Likewise.
53780         * sysdeps/generic/stdint.h (SIZE_MAX):
53781         Define as UL if __WORDSIZE32_SIZE_ULONG.
53783         [BZ #16713]
53784         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53785         (__glibc_reserved0): New variable.
53786         (sa_flags): Change type to int.
53788         * posix/Makefile (before-compile): Use += before-compile instead
53789         of a :=.
53791         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53792         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53794 2014-03-20  Andreas Schwab  <schwab@suse.de>
53796         [BZ #16743]
53797         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53798         non-matching result from nscd.
53800 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53802         * scripts/bench.py: Moved to ...
53803         * benchtests/scripts/bench.py: ... here.
53804         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53806 2014-03-24  Andreas Schwab  <schwab@suse.de>
53808         [BZ #16002]
53809         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53810         alloca_account and account alloca use for struct in6ailist.
53812 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53814         [BZ #16284]
53815         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53816         rounding mode to recompute results that overflow to infinity or
53817         underflow to zero.
53818         * math/auto-libm-test-in: Don't mark tests as expected to fail for
53819         bug 16284.
53820         * math/auto-libm-test-out: Regenerated.
53821         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53822         (ccosh_test): Likewise.
53823         (csin_test_data): Use plus_oflow.
53824         (csin_test): Use ALL_RM_TEST.
53825         (csinh_test_data): Use plus_oflow.
53826         (csinh_test): Use ALL_RM_TEST.
53827         * sysdeps/i386/fpu/libm-test-ulps: Update.
53828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53830 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
53832         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53833         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53834         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53836         [BZ #16731]
53837         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53838         when x - 1 is zero.
53839         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53840         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53841         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53842         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53843         argument is 1.
53844         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53845         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53846         zero.
53847         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53848         * sysdeps/i386/fpu/libm-test-ulps: Update.
53849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53851 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53853         * scripts/bench.pl: Remove file.
53854         * scripts/bench.py: New benchmark script.
53855         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53856         * benchtests/README: Mention python dependency.
53857         * scripts/pylintrc: New file.
53858         * scripts/pylint: New file.
53860         * bits/mathdef.h: Use #ifdef instead of #if.
53861         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53862         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53863         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53864         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53865         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53866         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53868 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53869             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53871         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53873         and strpbrk-ppc64 objects.
53874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53875         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53876         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53877         multiarch strpbrk for POWER7.
53878         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53879         multiarch strpbrk for PPC64.
53880         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53881         ifunc selector.
53882         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53883         strpbrk for POWER7.
53885 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53887         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53888         (atan_test): Likewise.
53889         (atanh_test_data): Use NO_TEST_INLINE for two tests.
53890         (atanh_test): Use ALL_RM_TEST.
53891         (atan2_test_data): Likewise.
53892         (cabs_test): Likewise.
53893         (cacosh_test): Likewise.
53894         (carg_test): Likewise.
53895         (casin_test): Likewise.
53896         (casinh_test): Likewise.
53897         (cbrt_test): Likewise.
53898         (csqrt_test): Likewise.
53899         (erf_test): Likewise.
53900         (erfc_test): Likewise.
53901         (pow10_test): Likewise.
53902         (exp2_test): Likewise.
53903         (hypot_test): Likewise.
53904         (j0_test): Likewise.
53905         (j1_test): Likewise.
53906         (lgamma_test): Likewise.
53907         (gamma_test): Likewise.
53908         (sincos_test): Likewise.
53909         (tanh_test): Likewise.
53910         (y0_test): Likewise.
53911         (y1_test): Likewise.
53912         * sysdeps/i386/fpu/libm-test-ulps: Update.
53913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53915 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53917         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53919         and strcspn-ppc64 objects.
53920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53921         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53922         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53923         multiarch strcspn for POWER7.
53924         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53925         multiarch strcspn for PPC64.
53926         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53927         ifunc selector.
53928         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53929         strcspn for POWER7.
53931 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53933         * math/gen-libm-test.pl (generate_testfile): Expect only function
53934         name as argument to AUTO_TESTS_* and pass results for all rounding
53935         modes to parse_args.
53936         (parse_auto_input): Separate inputs of automatic tests from
53937         outputs before storing in %auto_tests.
53938         * math/libm-test.inc (acos_test_data): Update call to
53939         AUTO_TESTS_f_f.
53940         (acos_test): Use ALL_RM_TEST.
53941         (acos_tonearest_test_data): Remove.
53942         (acos_test_tonearest): Likewise.
53943         (acos_towardzero_test_data): Likewise.
53944         (acos_test_towardzero): Likewise.
53945         (acos_downward_test_data): Likewise.
53946         (acos_test_downward): Likewise.
53947         (acos_upward_test_data): Likewise.
53948         (acos_test_upward): Likewise.
53949         (acosh_test_data): Update call to AUTO_TESTS_f_f.
53950         (asin_test_data): Likewise.
53951         (asin_test): Use ALL_RM_TEST.
53952         (asin_tonearest_test_data): Remove.
53953         (asin_test_tonearest): Likewise.
53954         (asin_towardzero_test_data): Likewise.
53955         (asin_test_towardzero): Likewise.
53956         (asin_downward_test_data): Likewise.
53957         (asin_test_downward): Likewise.
53958         (asin_upward_test_data): Likewise.
53959         (asin_test_upward): Likewise.
53960         (asinh_test_data): Update call to AUTO_TESTS_f_f.
53961         (atan_test_data): Likewise.
53962         (atanh_test_data): Likewise.
53963         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53964         (cabs_test_data): Update call to AUTO_TESTS_c_f.
53965         (carg_test_data): Likewise.
53966         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53967         (ccos_test_data): Update call to AUTO_TESTS_c_c.
53968         (ccosh_test_data): Likewise.
53969         (cexp_test_data): Likewise.
53970         (clog_test_data): Likewise.
53971         (clog10_test_data): Likewise.
53972         (cos_test_data): Update call to AUTO_TESTS_f_f.
53973         (cos_test): Use ALL_RM_TEST.
53974         (cos_tonearest_test_data): Remove.
53975         (cos_test_tonearest): Likewise.
53976         (cos_towardzero_test_data): Likewise.
53977         (cos_test_towardzero): Likewise.
53978         (cos_downward_test_data): Likewise.
53979         (cos_test_downward): Likewise.
53980         (cos_upward_test_data): Likewise.
53981         (cos_test_upward): Likewise.
53982         (cosh_test_data): Update call to AUTO_TESTS_f_f.
53983         (cosh_test): Use ALL_RM_TEST.
53984         (cosh_tonearest_test_data): Remove.
53985         (cosh_test_tonearest): Likewise.
53986         (cosh_towardzero_test_data): Likewise.
53987         (cosh_test_towardzero): Likewise.
53988         (cosh_downward_test_data): Likewise.
53989         (cosh_test_downward): Likewise.
53990         (cosh_upward_test_data): Likewise.
53991         (cosh_test_upward): Likewise.
53992         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53993         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53994         (ctan_test_data): Likewise.
53995         (ctan_test): Use ALL_RM_TEST.
53996         (ctan_tonearest_test_data): Remove.
53997         (ctan_test_tonearest): Likewise.
53998         (ctan_towardzero_test_data): Likewise.
53999         (ctan_test_towardzero): Likewise.
54000         (ctan_downward_test_data): Likewise.
54001         (ctan_test_downward): Likewise.
54002         (ctan_upward_test_data): Likewise.
54003         (ctan_test_upward): Likewise.
54004         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54005         (ctanh_test): Use ALL_RM_TEST.
54006         (ctanh_tonearest_test_data): Remove.
54007         (ctanh_test_tonearest): Likewise.
54008         (ctanh_towardzero_test_data): Likewise.
54009         (ctanh_test_towardzero): Likewise.
54010         (ctanh_downward_test_data): Likewise.
54011         (ctanh_test_downward): Likewise.
54012         (ctanh_upward_test_data): Likewise.
54013         (ctanh_test_upward): Likewise.
54014         (erf_test_data): Update call to AUTO_TESTS_f_f.
54015         (erfc_test_data): Likewise.
54016         (exp_test_data): Likewise.
54017         (exp_test): Use ALL_RM_TEST.
54018         (exp_tonearest_test_data): Remove.
54019         (exp_test_tonearest): Likewise.
54020         (exp_towardzero_test_data): Likewise.
54021         (exp_test_towardzero): Likewise.
54022         (exp_downward_test_data): Likewise.
54023         (exp_test_downward): Likewise.
54024         (exp_upward_test_data): Likewise.
54025         (exp_test_upward): Likewise.
54026         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54027         (exp10_test): Use ALL_RM_TEST.
54028         (exp10_tonearest_test_data): Remove.
54029         (exp10_test_tonearest): Likewise.
54030         (exp10_towardzero_test_data): Likewise.
54031         (exp10_test_towardzero): Likewise.
54032         (exp10_downward_test_data): Likewise.
54033         (exp10_test_downward): Likewise.
54034         (exp10_upward_test_data): Likewise.
54035         (exp10_test_upward): Likewise.
54036         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54037         (expm1_test_data): Likewise.
54038         (expm1_test): Use ALL_RM_TEST.
54039         (expm1_tonearest_test_data): Remove.
54040         (expm1_test_tonearest): Likewise.
54041         (expm1_towardzero_test_data): Likewise.
54042         (expm1_test_towardzero): Likewise.
54043         (expm1_downward_test_data): Likewise.
54044         (expm1_test_downward): Likewise.
54045         (expm1_upward_test_data): Likewise.
54046         (expm1_test_upward): Likewise.
54047         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54048         (fma_test): Use ALL_RM_TEST.
54049         (fma_towardzero_test_data): Remove.
54050         (fma_test_towardzero): Likewise.
54051         (fma_downward_test_data): Likewise.
54052         (fma_test_downward): Likewise.
54053         (fma_upward_test_data): Likewise.
54054         (fma_test_upward): Likewise.
54055         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54056         (j0_test_data): Update call to AUTO_TESTS_f_f.
54057         (j1_test_data): Likewise.
54058         (jn_test_data): Update call to AUTO_TESTS_if_f.
54059         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54060         (log_test_data): Update call to AUTO_TESTS_f_f.
54061         (log10_test_data): Likewise.
54062         (log1p_test_data): Likewise.
54063         (log2_test_data): Likewise.
54064         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54065         (pow_tonearest_test_data): Likewise.
54066         (sin_test_data): Update call to AUTO_TESTS_f_f.
54067         (sin_test): Use ALL_RM_TEST.
54068         (sin_tonearest_test_data): Remove.
54069         (sin_test_tonearest): Likewise.
54070         (sin_towardzero_test_data): Likewise.
54071         (sin_test_towardzero): Likewise.
54072         (sin_downward_test_data): Likewise.
54073         (sin_test_downward): Likewise.
54074         (sin_upward_test_data): Likewise.
54075         (sin_test_upward): Likewise.
54076         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54077         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54078         (sinh_test): Use ALL_RM_TEST.
54079         (sinh_tonearest_test_data): Remove.
54080         (sinh_test_tonearest): Likewise.
54081         (sinh_towardzero_test_data): Likewise.
54082         (sinh_test_towardzero): Likewise.
54083         (sinh_downward_test_data): Likewise.
54084         (sinh_test_downward): Likewise.
54085         (sinh_upward_test_data): Likewise.
54086         (sinh_test_upward): Likewise.
54087         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54088         (sqrt_test): Use ALL_RM_TEST.
54089         (sqrt_tonearest_test_data): Remove.
54090         (sqrt_test_tonearest): Likewise.
54091         (sqrt_towardzero_test_data): Likewise.
54092         (sqrt_test_towardzero): Likewise.
54093         (sqrt_downward_test_data): Likewise.
54094         (sqrt_test_downward): Likewise.
54095         (sqrt_upward_test_data): Likewise.
54096         (sqrt_test_upward): Likewise.
54097         (tan_test_data): Update call to AUTO_TESTS_f_f.
54098         (tan_test): Use ALL_RM_TEST.
54099         (tan_tonearest_test_data): Remove.
54100         (tan_test_tonearest): Likewise.
54101         (tan_towardzero_test_data): Likewise.
54102         (tan_test_towardzero): Likewise.
54103         (tan_downward_test_data): Likewise.
54104         (tan_test_downward): Likewise.
54105         (tan_upward_test_data): Likewise.
54106         (tan_test_upward): Likewise.
54107         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54108         (tgamma_test_data): Likewise.
54109         (y0_test_data): Likewise.
54110         (y1_test_data): Likewise.
54111         (yn_test_data): Update call to AUTO_TESTS_if_f.
54112         (main): Do not call removed functions.
54114 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54116         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54117         (ldexp_test_data): Remove.
54118         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54119         scalbn_test_data.
54120         (scalb_test): Use ALL_RM_TEST.
54122 2014-03-19  Andreas Schwab  <schwab@suse.de>
54124         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54126 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54128         [BZ #16649]
54129         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54130         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54131         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54133         (__ASSUME_PREADV): Undefine.
54134         (__ASSUME_PWRITEV): Likewise.
54136 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54138         * bits/mman-linux.h: Add comment about non-Linux use.
54139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54140         bits/mman-linux.h resting place.
54142         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54143         * bits/mman-linux.h: ... here.
54145 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54147         * conform/conformtest.pl: Add standard definition when calling C
54148         preprocessor on data files.
54149         (checknamespace): Remove unused variable.
54151 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54153         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54154         minus_oflow, plus_uflow and minus_uflow in expected results.
54155         * math/libm-test.inc (scalbn_test_data): Add more tests of
54156         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54157         minus_uflow.
54158         (scalbn_test): Use ALL_RM_TEST.
54159         (scalbln_test_data): Add more tests of negative arguments.  Use
54160         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54161         (scalbln_test): Use ALL_RM_TEST.
54163 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54165         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54167 2014-03-18  Will Newton  <will.newton@linaro.org>
54169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54170         inaccurate comment.
54172 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54174         * Makerules [!subdir] (check-abi): Exit with error status if a
54175         test failed.
54177 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54179         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54180         for rint.  Include results for all rounding modes.
54181         (nearbyint_test): Use ALL_RM_TEST.
54182         (rint_test_data): Include all tests used for nearbyint.
54184 2014-03-17  Will Newton  <will.newton@linaro.org>
54186         * nptl/sysdeps/pthread/pthread.h: Revert previous
54187         change.
54189         * sysdeps/generic/ldsodefs.h: Revert previous
54190         change.
54192         * libio/genops.c: Revert previous change.
54193         * libio/libioP.h: Likewise.
54194         * stdio-common/vfprintf.c: Likewise.
54196         * sysdeps/generic/math_private.h: Revert previous
54197         change.
54199         * sysdeps/generic/math_private.h: Check whether
54200         HAVE_RM_CTX is defined with #ifdef rather
54201         than #if.
54203         * argp/argp-fmtstream.h: Check whether
54204         __STRICT_ANSI__ is defined with #ifdef rather
54205         than #if.
54206         * argp/argp.h: Likewise.
54208         * libio/genops.c: Check whether
54209         _IO_JUMPS_OFFSET is defined with #ifdef rather
54210         than #if.
54211         * libio/libioP.h: Likewise.
54212         * stdio-common/vfprintf.c: Likewise.
54214         * sysdeps/generic/ldsodefs.h: Check whether
54215         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54216         than #if.
54218         * nptl/sysdeps/pthread/pthread.h: Check
54219         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54220         its value.
54222 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54224         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54225         setting O_APPEND.
54226         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54227         test case.
54229         [BZ #16680]
54230         * libio/fileops.c (_IO_file_open): Seek to end of file but
54231         don't cache the offset.
54232         (get_file_offset): Remove function.
54233         (do_ftell): Use cached offset when available.
54234         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54235         don't cache the offset.
54236         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54237         case.
54238         (do_one_test): Call it.
54239         (do_ftell_test): Fix up expected old offset for a+ mode.
54240         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54241         available.
54243         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54244         up test status with function return status.
54245         (do_write_test): Likewise.
54246         (do_append_test): Likewise.
54248         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54249         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54250         Remove.
54252 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54254         * math/gen-libm-test.pl (parse_args): Handle results specified for
54255         each rounding mode separately.
54256         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54257         tests and results from lrint_tonearest_test_data,
54258         lrint_towardzero_test_data, lrint_downward_test_data and
54259         lrint_upward_test_data.
54260         (lrint_test): Use ALL_RM_TEST.
54261         (lrint_tonearest_test_data): Remove.
54262         (lrint_test_tonearest): Likewise.
54263         (lrint_towardzero_test_data): Likewise.
54264         (lrint_test_towardzero): Likewise.
54265         (lrint_downward_test_data): Likewise.
54266         (lrint_test_downward): Likewise.
54267         (lrint_upward_test_data): Likewise.
54268         (lrint_test_upward): Likewise.
54269         (llrint_test_data): Merge in per-rounding-mode tests and results
54270         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54271         llrint_downward_test_data and llrint_upward_test_data.
54272         (llrint_test): Use ALL_RM_TEST.
54273         (llrint_tonearest_test_data): Remove.
54274         (llrint_test_tonearest): Likewise.
54275         (llrint_towardzero_test_data): Likewise.
54276         (llrint_test_towardzero): Likewise.
54277         (llrint_downward_test_data): Likewise.
54278         (llrint_test_downward): Likewise.
54279         (llrint_upward_test_data): Likewise.
54280         (llrint_test_upward): Likewise.
54281         (rint_test_data): Merge in per-rounding-mode tests and results
54282         from rint_tonearest_test_data, rint_towardzero_test_data,
54283         rint_downward_test_data and rint_upward_test_data.  Add
54284         per-rounding-mode results for tests not in those arrays.
54285         (rint_test): Use ALL_RM_TEST.
54286         (rint_tonearest_test_data): Remove.
54287         (rint_test_tonearest): Likewise.
54288         (rint_towardzero_test_data): Likewise.
54289         (rint_test_towardzero): Likewise.
54290         (rint_downward_test_data): Likewise.
54291         (rint_test_downward): Likewise.
54292         (rint_upward_test_data): Likewise.
54293         (rint_test_upward): Likewise.
54294         (main): Don't call removed functions.
54296 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54298         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54299         "Compiled on ..." crapola.  It is anti-useful.
54301 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54303         * scripts/evaluate-test.sh: Handle fourth argument to determine
54304         whether test run should stop on failure.
54305         * Makeconfig (stop-on-test-failure): New variable.
54306         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54307         $(stop-on-test-failure).
54308         * Makefile (tests): Give a summary of results from testing and
54309         exit with failure status if they include an ERROR or FAIL.
54310         (xtests): Likewise.
54311         * manual/install.texi (Configuring and compiling): Mention
54312         stop-on-test-failure=y.
54313         * INSTALL: Regenerated.
54315 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54317         * scripts/versionlist.awk: New file.
54318         * Makerules [$(build-shared) = yes]
54319         (postclean-generated): Add Versions.def, not Versions.def.v and
54320         Versions.def.v.i.
54321         ($(common-objpfx)Versions.def.v.i): Target removed.
54322         ($(common-objpfx)Versions.def): New target.
54323         ($(common-objpfx)Versions.all): Depend on that rather that
54324         $(common-objpfx)Versions.def.v.
54325         * Versions.def: File removed.
54327         * Makeconfig (+gccwarn): Add -Wundef.
54328         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54329         a dl-sysdep.h breaking its contract.
54330         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54331         * include/stackinfo.h: New file.
54332         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54333         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54334         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54335         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54336         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54337         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54338         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54339         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54340         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54341         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54342         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54343         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54344         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54345         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54346         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54348 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54350         [BZ #16707]
54351         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54352         implementation.
54353         * math/libm-test.inc (round_test_data): Add more tests.
54355         [BZ #16706]
54356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54357         implementation.
54358         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54360         [BZ #16701]
54361         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54362         implementation.
54363         * math/libm-test.inc (ceil_test_data): Add more tests.
54365         * math/libm-test.inc (trunc_test_data): Add more tests related to
54366         BZ#16414.
54368 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54370         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54371         with #if rather than #ifdef.
54372         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54374 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54376         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54377         first.  Disable AVX-512 GCC support if assembler doesn't support
54378         it.
54379         * sysdeps/x86_64/configure: Regenerated.
54381 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54383         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54384         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54385         (__old_pthread_attr_setstack): Likewise.
54386         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54387         [!_STACK_GROWS_DOWN]: Likewise.
54389 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54391         * config.make.in (have-bash2): Delete.
54392         * configure.ac (libc_cv_have_bash2): Delete.
54393         * configure: Regenerate.
54394         * elf/Makefile (common-ldd-rewrite): Rename to ...
54395         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54396         (sh-ldd-rewrite): Delete.
54397         (bash-ldd-rewrite): Delete.
54398         (have-bash2): Delete checks.
54399         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54400         ldd-rewrite.
54402         * config.make.in (have-ksh): Delete.
54403         (KSH): Delete.
54404         * configure.ac (libc_cv_have_ksh): Delete.
54405         * configure: Regenerate.
54407         * elf/Makefile: Delete $(have-ksh) check.
54408         ($(objpfx)sotruss): Change KSH to BASH.
54409         * elf/sotruss.ksh: Rename to ...
54410         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54411         function style to match POSIX.  Drop ksh vim mode setting.
54413         * manual/time.texi (Specifying the Time Zone with TZ): Change
54414         Tuesday to Thursday.
54416         * debug/tst-longjmp_chk2.c: Update header comment.
54417         (stackoverflow_handler): Add comment.  Call assert on pass value.
54419 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54421         [BZ #16194]
54422         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54423         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54424         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54425         (La_x86_64_vector): Add zmm.
54426         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54427         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54428         ($(objpfx)tst-audit10): New target.
54429         ($(objpfx)tst-audit10.out): Likewise.
54430         (tst-audit10-ENV): New.
54431         (AVX512-CFLAGS): Likewise.
54432         (CFLAGS-tst-audit10.c): Likewise.
54433         (CFLAGS-tst-auditmod10a.c): Likewise.
54434         (CFLAGS-tst-auditmod10b.c): Likewise.
54435         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54436         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54437         * sysdeps/x86_64/configure: Regenerated.
54438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54439         AVX-512 zmm register support.
54440         (_dl_x86_64_save_sse): Likewise.
54441         (_dl_x86_64_restore_sse): Likewise.
54442         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54443         size vector registers.
54444         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54445         (ZMM_SIZE): Likewise.
54446         * sysdeps/x86_64/tst-audit10.c: New file.
54447         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54448         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54450 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54452         * configure.ac (HAVE_EHDR_START): New check.
54453         * configure: Regenerated.
54454         * config.h.in (HAVE_EHDR_START): New #undef.
54455         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54456         assuming the lowest-addressed segment maps the start of the file.
54458 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54460         * INSTALL: Regenerated.
54462 2014-03-13  Will Newton  <will.newton@linaro.org>
54464         * manual/setjmp.texi (System V contexts): Improve
54465         clarity and grammar of documentation.
54467 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54469         [BZ #16381]
54470         * elf/Makefile (tests): Add tst-pie2.
54471         (tests-pie): Add tst-pie2.
54472         * elf/tst-pie2.c: New file.
54473         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54474         for ET_EXEC.
54475         * elf/rtld.c (map_doit): Load executable as lt_executable.
54476         (dl_main): Likewise.
54478 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54480         [BZ #16642]
54481         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54482         (__ASSUME_PSELECT): Undefine.
54484 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54486         [BZ #16689]
54487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54488         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54489         static build.
54490         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54491         selector for static builds.
54493 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54495         [BZ #16695]
54496         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54497         key in the buffer.
54499 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54501         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54502         IFUNC selector for static builds.
54504 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54506         * sysdeps/mips/math_private.h [__mips_hard_float]
54507         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54508         libc_feresetround_mips_ctx.
54509         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54510         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54511         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54513         [BZ #16677]
54514         * math/s_nextafter.c (__nextafter): Do not return value from
54515         overflowing computation.
54516         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54517         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54518         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54519         Likewise.
54520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54521         Likewise.
54522         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54523         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54525 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54527         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54528         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54529         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54530         the new mov targetting sp.
54532 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54534         [BZ #16683]
54535         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54536         Define it for static builds as well.
54537         (NO_BZERO_IMPL): Likewise.
54539 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54541         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54542         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54543         multiarch strspn for PPC64.
54544         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54545         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54547         (__libc_ifunc_impl_list): Likewise.
54548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54549         multiarch optimizations
54550         * string/strspn.c (strspn): Using macro to redefine symbol name.
54552 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54553             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54555         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54556         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54557         multiarch strncat for PPC64.
54558         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54559         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54561         (__libc_ifunc_impl_list): Likewise.
54562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54563         multiarch optimizations
54565 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54567         [BZ #16639]
54568         * nscd/nscd.service: Make service type forking.
54570 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54572         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54573         sign in non default rounding modes.
54574         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54576 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54578         * math/libm-test.inc (ALL_RM_TEST): New macro.
54579         (ceil_test): Use ALL_RM_TEST.
54580         (cimag_test): Likewise.
54581         (conj_test): Likewise.
54582         (copysign_test): Likewise.
54583         (cproj_test): Likewise.
54584         (creal_test): Likewise.
54585         (fabs_test): Likewise.
54586         (floor_test): Likewise.
54587         (fmax_test): Likewise.
54588         (fmin_test): Likewise.
54589         (fmod_test): Likewise.
54590         (fpclassify_test): Likewise.
54591         (frexp_test): Likewise.
54592         (ilogb_test): Likewise.
54593         (isfinite_test): Likewise.
54594         (finite_test): Likewise.
54595         (isgreater_test): Likewise.
54596         (isgreaterequal_test): Likewise.
54597         (isinf_test): Likewise.
54598         (isless_test): Likewise.
54599         (islessequal_test): Likewise.
54600         (islessgreater_test): Likewise.
54601         (isnan_test): Likewise.
54602         (isnormal_test): Likewise.
54603         (issignaling_test): Likewise.
54604         (isunordered_test): Likewise.
54605         (logb_test): Likewise.
54606         (logb_downward_test_data): Remove.
54607         (logb_test_downward): Likewise.
54608         (lround_test): Use ALL_RM_TEST.
54609         (llround_test): Likewise.
54610         (modf_test): Likewise.
54611         (nexttoward_test): Likewise.
54612         (remainder_test): Likewise.
54613         (drem_test): Likewise.
54614         (remainder_tonearest_test_data): Likewise.
54615         (remainder_test_tonearest): Likewise.
54616         (drem_test_tonearest): Likewise.
54617         (remainder_towardzero_test_data): Likewise.
54618         (remainder_test_towardzero): Likewise.
54619         (drem_test_towardzero): Likewise.
54620         (remainder_downward_test_data): Likewise.
54621         (remainder_test_downward): Likewise.
54622         (drem_test_downward): Likewise.
54623         (remainder_upward_test_data): Likewise.
54624         (remainder_test_upward): Likewise.
54625         (drem_test_upward): Likewise.
54626         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54627         (round_test): Use ALL_RM_TEST.
54628         (signbit_test): Likewise.
54629         (trunc_test): Likewise.
54630         (significand_test): Likewise.
54631         (main): Don't call removed functions.
54633 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54635         [BZ #16674]
54636         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54637         || __USE_XOPEN2K8].
54638         (ILL_ILLOPN): Likewise.
54639         (ILL_ILLADR): Likewise.
54640         (ILL_ILLTRP): Likewise.
54641         (ILL_PRVOPC): Likewise.
54642         (ILL_PRVREG): Likewise.
54643         (ILL_COPROC): Likewise.
54644         (ILL_BADSTK): Likewise.
54645         (FPE_INTDIV): Likewise.
54646         (FPE_INTOVF): Likewise.
54647         (FPE_FLTDIV): Likewise.
54648         (FPE_FLTOVF): Likewise.
54649         (FPE_FLTUND): Likewise.
54650         (FPE_FLTRES): Likewise.
54651         (FPE_FLTINV): Likewise.
54652         (FPE_FLTSUB): Likewise.
54653         (SEGV_MAPERR): Likewise.
54654         (SEGV_ACCERR): Likewise.
54655         (BUS_ADRALN): Likewise.
54656         (BUS_ADRERR): Likewise.
54657         (BUS_OBJERR): Likewise.
54658         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54659         (TRAP_TRACE): Likewise.
54660         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54661         __USE_XOPEN2K8].
54662         (CLD_KILLED): Likewise.
54663         (CLD_DUMPED): Likewise.
54664         (CLD_TRAPPED): Likewise.
54665         (CLD_STOPPED): Likewise.
54666         (CLD_CONTINUED): Likewise.
54667         (POLL_IN): Likewise.
54668         (POLL_OUT): Likewise.
54669         (POLL_MSG): Likewise.
54670         (POLL_ERR): Likewise.
54671         (POLL_PRI): Likewise.
54672         (POLL_HUP): Likewise.
54673         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54674         Likewise.
54675         (ILL_ILLOPN): Likewise.
54676         (ILL_ILLADR): Likewise.
54677         (ILL_ILLTRP): Likewise.
54678         (ILL_PRVOPC): Likewise.
54679         (ILL_PRVREG): Likewise.
54680         (ILL_COPROC): Likewise.
54681         (ILL_BADSTK): Likewise.
54682         (FPE_INTDIV): Likewise.
54683         (FPE_INTOVF): Likewise.
54684         (FPE_FLTDIV): Likewise.
54685         (FPE_FLTOVF): Likewise.
54686         (FPE_FLTUND): Likewise.
54687         (FPE_FLTRES): Likewise.
54688         (FPE_FLTINV): Likewise.
54689         (FPE_FLTSUB): Likewise.
54690         (SEGV_MAPERR): Likewise.
54691         (SEGV_ACCERR): Likewise.
54692         (BUS_ADRALN): Likewise.
54693         (BUS_ADRERR): Likewise.
54694         (BUS_OBJERR): Likewise.
54695         (BUS_MCEERR_AR): Likewise.
54696         (BUS_MCEERR_AO): Likewise.
54697         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54698         (TRAP_TRACE): Likewise.
54699         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54700         __USE_XOPEN2K8].
54701         (CLD_KILLED): Likewise.
54702         (CLD_DUMPED): Likewise.
54703         (CLD_TRAPPED): Likewise.
54704         (CLD_STOPPED): Likewise.
54705         (CLD_CONTINUED): Likewise.
54706         (POLL_IN): Likewise.
54707         (POLL_OUT): Likewise.
54708         (POLL_MSG): Likewise.
54709         (POLL_ERR): Likewise.
54710         (POLL_PRI): Likewise.
54711         (POLL_HUP): Likewise.
54712         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54713         (ILL_ILLOPN): Likewise.
54714         (ILL_ILLADR): Likewise.
54715         (ILL_ILLTRP): Likewise.
54716         (ILL_PRVOPC): Likewise.
54717         (ILL_PRVREG): Likewise.
54718         (ILL_COPROC): Likewise.
54719         (ILL_BADSTK): Likewise.
54720         (FPE_INTDIV): Likewise.
54721         (FPE_INTOVF): Likewise.
54722         (FPE_FLTDIV): Likewise.
54723         (FPE_FLTOVF): Likewise.
54724         (FPE_FLTUND): Likewise.
54725         (FPE_FLTRES): Likewise.
54726         (FPE_FLTINV): Likewise.
54727         (FPE_FLTSUB): Likewise.
54728         (SEGV_MAPERR): Likewise.
54729         (SEGV_ACCERR): Likewise.
54730         (BUS_ADRALN): Likewise.
54731         (BUS_ADRERR): Likewise.
54732         (BUS_OBJERR): Likewise.
54733         (BUS_MCEERR_AR): Likewise.
54734         (BUS_MCEERR_AO): Likewise.
54735         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54736         (TRAP_TRACE): Likewise.
54737         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54738         __USE_XOPEN2K8].
54739         (CLD_KILLED): Likewise.
54740         (CLD_DUMPED): Likewise.
54741         (CLD_TRAPPED): Likewise.
54742         (CLD_STOPPED): Likewise.
54743         (CLD_CONTINUED): Likewise.
54744         (POLL_IN): Likewise.
54745         (POLL_OUT): Likewise.
54746         (POLL_MSG): Likewise.
54747         (POLL_ERR): Likewise.
54748         (POLL_PRI): Likewise.
54749         (POLL_HUP): Likewise.
54750         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54751         Likewise.
54752         (ILL_ILLOPN): Likewise.
54753         (ILL_ILLADR): Likewise.
54754         (ILL_ILLTRP): Likewise.
54755         (ILL_PRVOPC): Likewise.
54756         (ILL_PRVREG): Likewise.
54757         (ILL_COPROC): Likewise.
54758         (ILL_BADSTK): Likewise.
54759         (ILL_BADIADDR): Likewise.
54760         (ILL_BREAK): Likewise.
54761         (FPE_INTDIV): Likewise.
54762         (FPE_INTOVF): Likewise.
54763         (FPE_FLTDIV): Likewise.
54764         (FPE_FLTOVF): Likewise.
54765         (FPE_FLTUND): Likewise.
54766         (FPE_FLTRES): Likewise.
54767         (FPE_FLTINV): Likewise.
54768         (FPE_FLTSUB): Likewise.
54769         (FPE_DECOVF): Likewise.
54770         (FPE_DECDIV): Likewise.
54771         (FPE_DECERR): Likewise.
54772         (FPE_INVASC): Likewise.
54773         (FPE_INVDEC): Likewise.
54774         (SEGV_MAPERR): Likewise.
54775         (SEGV_ACCERR): Likewise.
54776         (SEGV_PSTKOVF): Likewise.
54777         (BUS_ADRALN): Likewise.
54778         (BUS_ADRERR): Likewise.
54779         (BUS_OBJERR): Likewise.
54780         (BUS_MCEERR_AR): Likewise.
54781         (BUS_MCEERR_AO): Likewise.
54782         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54783         (TRAP_TRACE): Likewise.
54784         (TRAP_BRANCH): Likewise.
54785         (TRAP_HWBKPT): Likewise.
54786         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54787         __USE_XOPEN2K8].
54788         (CLD_KILLED): Likewise.
54789         (CLD_DUMPED): Likewise.
54790         (CLD_TRAPPED): Likewise.
54791         (CLD_STOPPED): Likewise.
54792         (CLD_CONTINUED): Likewise.
54793         (POLL_IN): Likewise.
54794         (POLL_OUT): Likewise.
54795         (POLL_MSG): Likewise.
54796         (POLL_ERR): Likewise.
54797         (POLL_PRI): Likewise.
54798         (POLL_HUP): Likewise.
54799         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54800         (ILL_ILLOPN): Likewise.
54801         (ILL_ILLADR): Likewise.
54802         (ILL_ILLTRP): Likewise.
54803         (ILL_PRVOPC): Likewise.
54804         (ILL_PRVREG): Likewise.
54805         (ILL_COPROC): Likewise.
54806         (ILL_BADSTK): Likewise.
54807         (FPE_INTDIV): Likewise.
54808         (FPE_INTOVF): Likewise.
54809         (FPE_FLTDIV): Likewise.
54810         (FPE_FLTOVF): Likewise.
54811         (FPE_FLTUND): Likewise.
54812         (FPE_FLTRES): Likewise.
54813         (FPE_FLTINV): Likewise.
54814         (FPE_FLTSUB): Likewise.
54815         (SEGV_MAPERR): Likewise.
54816         (SEGV_ACCERR): Likewise.
54817         (BUS_ADRALN): Likewise.
54818         (BUS_ADRERR): Likewise.
54819         (BUS_OBJERR): Likewise.
54820         (BUS_MCEERR_AR): Likewise.
54821         (BUS_MCEERR_AO): Likewise.
54822         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54823         (TRAP_TRACE): Likewise.
54824         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54825         __USE_XOPEN2K8].
54826         (CLD_KILLED): Likewise.
54827         (CLD_DUMPED): Likewise.
54828         (CLD_TRAPPED): Likewise.
54829         (CLD_STOPPED): Likewise.
54830         (CLD_CONTINUED): Likewise.
54831         (POLL_IN): Likewise.
54832         (POLL_OUT): Likewise.
54833         (POLL_MSG): Likewise.
54834         (POLL_ERR): Likewise.
54835         (POLL_PRI): Likewise.
54836         (POLL_HUP): Likewise.
54837         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54838         (ILL_ILLOPN): Likewise.
54839         (ILL_ILLADR): Likewise.
54840         (ILL_ILLTRP): Likewise.
54841         (ILL_PRVOPC): Likewise.
54842         (ILL_PRVREG): Likewise.
54843         (ILL_COPROC): Likewise.
54844         (ILL_BADSTK): Likewise.
54845         (FPE_INTDIV): Likewise.
54846         (FPE_INTOVF): Likewise.
54847         (FPE_FLTDIV): Likewise.
54848         (FPE_FLTOVF): Likewise.
54849         (FPE_FLTUND): Likewise.
54850         (FPE_FLTRES): Likewise.
54851         (FPE_FLTINV): Likewise.
54852         (FPE_FLTSUB): Likewise.
54853         (SEGV_MAPERR): Likewise.
54854         (SEGV_ACCERR): Likewise.
54855         (BUS_ADRALN): Likewise.
54856         (BUS_ADRERR): Likewise.
54857         (BUS_OBJERR): Likewise.
54858         (BUS_MCEERR_AR): Likewise.
54859         (BUS_MCEERR_AO): Likewise.
54860         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54861         (TRAP_TRACE): Likewise.
54862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54863         __USE_XOPEN2K8].
54864         (CLD_KILLED): Likewise.
54865         (CLD_DUMPED): Likewise.
54866         (CLD_TRAPPED): Likewise.
54867         (CLD_STOPPED): Likewise.
54868         (CLD_CONTINUED): Likewise.
54869         (POLL_IN): Likewise.
54870         (POLL_OUT): Likewise.
54871         (POLL_MSG): Likewise.
54872         (POLL_ERR): Likewise.
54873         (POLL_PRI): Likewise.
54874         (POLL_HUP): Likewise.
54875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54876         (ILL_ILLOPN): Likewise.
54877         (ILL_ILLADR): Likewise.
54878         (ILL_ILLTRP): Likewise.
54879         (ILL_PRVOPC): Likewise.
54880         (ILL_PRVREG): Likewise.
54881         (ILL_COPROC): Likewise.
54882         (ILL_BADSTK): Likewise.
54883         (FPE_INTDIV): Likewise.
54884         (FPE_INTOVF): Likewise.
54885         (FPE_FLTDIV): Likewise.
54886         (FPE_FLTOVF): Likewise.
54887         (FPE_FLTUND): Likewise.
54888         (FPE_FLTRES): Likewise.
54889         (FPE_FLTINV): Likewise.
54890         (FPE_FLTSUB): Likewise.
54891         (SEGV_MAPERR): Likewise.
54892         (SEGV_ACCERR): Likewise.
54893         (BUS_ADRALN): Likewise.
54894         (BUS_ADRERR): Likewise.
54895         (BUS_OBJERR): Likewise.
54896         (BUS_MCEERR_AR): Likewise.
54897         (BUS_MCEERR_AO): Likewise.
54898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54899         (TRAP_TRACE): Likewise.
54900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54901         __USE_XOPEN2K8].
54902         (CLD_KILLED): Likewise.
54903         (CLD_DUMPED): Likewise.
54904         (CLD_TRAPPED): Likewise.
54905         (CLD_STOPPED): Likewise.
54906         (CLD_CONTINUED): Likewise.
54907         (POLL_IN): Likewise.
54908         (POLL_OUT): Likewise.
54909         (POLL_MSG): Likewise.
54910         (POLL_ERR): Likewise.
54911         (POLL_PRI): Likewise.
54912         (POLL_HUP): Likewise.
54913         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54914         (ILL_ILLOPN): Likewise.
54915         (ILL_ILLADR): Likewise.
54916         (ILL_ILLTRP): Likewise.
54917         (ILL_PRVOPC): Likewise.
54918         (ILL_PRVREG): Likewise.
54919         (ILL_COPROC): Likewise.
54920         (ILL_BADSTK): Likewise.
54921         (ILL_DBLFLT): Likewise.
54922         (ILL_HARDWALL): Likewise.
54923         (FPE_INTDIV): Likewise.
54924         (FPE_INTOVF): Likewise.
54925         (FPE_FLTDIV): Likewise.
54926         (FPE_FLTOVF): Likewise.
54927         (FPE_FLTUND): Likewise.
54928         (FPE_FLTRES): Likewise.
54929         (FPE_FLTINV): Likewise.
54930         (FPE_FLTSUB): Likewise.
54931         (SEGV_MAPERR): Likewise.
54932         (SEGV_ACCERR): Likewise.
54933         (BUS_ADRALN): Likewise.
54934         (BUS_ADRERR): Likewise.
54935         (BUS_OBJERR): Likewise.
54936         (BUS_MCEERR_AR): Likewise.
54937         (BUS_MCEERR_AO): Likewise.
54938         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54939         (TRAP_TRACE): Likewise.
54940         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54941         __USE_XOPEN2K8].
54942         (CLD_KILLED): Likewise.
54943         (CLD_DUMPED): Likewise.
54944         (CLD_TRAPPED): Likewise.
54945         (CLD_STOPPED): Likewise.
54946         (CLD_CONTINUED): Likewise.
54947         (POLL_IN): Likewise.
54948         (POLL_OUT): Likewise.
54949         (POLL_MSG): Likewise.
54950         (POLL_ERR): Likewise.
54951         (POLL_PRI): Likewise.
54952         (POLL_HUP): Likewise.
54953         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54954         (ILL_ILLOPN): Likewise.
54955         (ILL_ILLADR): Likewise.
54956         (ILL_ILLTRP): Likewise.
54957         (ILL_PRVOPC): Likewise.
54958         (ILL_PRVREG): Likewise.
54959         (ILL_COPROC): Likewise.
54960         (ILL_BADSTK): Likewise.
54961         (FPE_INTDIV): Likewise.
54962         (FPE_INTOVF): Likewise.
54963         (FPE_FLTDIV): Likewise.
54964         (FPE_FLTOVF): Likewise.
54965         (FPE_FLTUND): Likewise.
54966         (FPE_FLTRES): Likewise.
54967         (FPE_FLTINV): Likewise.
54968         (FPE_FLTSUB): Likewise.
54969         (SEGV_MAPERR): Likewise.
54970         (SEGV_ACCERR): Likewise.
54971         (BUS_ADRALN): Likewise.
54972         (BUS_ADRERR): Likewise.
54973         (BUS_OBJERR): Likewise.
54974         (BUS_MCEERR_AR): Likewise.
54975         (BUS_MCEERR_AO): Likewise.
54976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54977         (TRAP_TRACE): Likewise.
54978         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54979         __USE_XOPEN2K8].
54980         (CLD_KILLED): Likewise.
54981         (CLD_DUMPED): Likewise.
54982         (CLD_TRAPPED): Likewise.
54983         (CLD_STOPPED): Likewise.
54984         (CLD_CONTINUED): Likewise.
54985         (POLL_IN): Likewise.
54986         (POLL_OUT): Likewise.
54987         (POLL_MSG): Likewise.
54988         (POLL_ERR): Likewise.
54989         (POLL_PRI): Likewise.
54990         (POLL_HUP): Likewise.
54991         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54992         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54994         [BZ #16670]
54995         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54996         before #include of <time.h>.
54997         [!__USE_XOPEN2K] (__need_timespec): Likewise.
54998         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54999         (test-xfail-UNIX98/sched.h/conform): Likewise.
55001 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55003         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55004         error absence of trapping exception support.
55005         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55007 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55009         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55010         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55011         * timezone/Makefile (testdata): Move definition above include of
55012         Rules.
55013         (test-zones): New variable.
55014         (tests-special): Add zone files.
55015         (build-testdata): Use $(evaluate-test).
55017         * elf/Makefile (tests-special): Rename tests to end with .out.
55018         ($(objpfx)noload-mem): Likewise.
55019         ($(objpfx)tst-leaks1-mem): Likewise.
55020         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55021         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55022         $(objpfx)test-iconvconfig.out.
55023         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55024         set -e inside subshell and redirect output to file.
55025         * iconvdata/Makefile (generated): Rename tests to end with .out.
55026         Correct type.
55027         (tests-special): Rename tests to end with .out.
55028         ($(objpfx)mtrace-tst-loading): Likewise.
55029         * intl/Makefile (generated): Likewise.
55030         (tests-special): Likewise.
55031         ($(objpfx)mtrace-tst-gettext): Likewise.
55032         * misc/Makefile (generated): Likewise.
55033         (tests-special): Likewise.
55034         ($(objpfx)tst-error1-mem): Likewise.
55035         * nptl/Makefile (tests-special): Likewise.
55036         ($(objpfx)tst-stack3-mem): Likewise.
55037         (generated): Likewise.
55038         * posix/Makefile (generated): Likewise.
55039         (tests-special): Likewise.
55040         (xtests-special): Likewise.
55041         ($(objpfx)tst-fnmatch-mem): Likewise.
55042         ($(objpfx)bug-regex2-mem): Likewise.
55043         ($(objpfx)bug-regex14-mem): Likewise.
55044         ($(objpfx)bug-regex21-mem): Likewise.
55045         ($(objpfx)bug-regex31-mem): Likewise.
55046         ($(objpfx)tst-vfork3-mem): Likewise.
55047         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55048         ($(objpfx)tst-pcre-mem): Likewise.
55049         ($(objpfx)tst-boost-mem): Likewise.
55050         ($(objpfx)bug-ga2-mem): Likewise.
55051         ($(objpfx)bug-glob2-mem): Likewise.
55052         * resolv/Makefile (generate): Likewise.
55053         (tests-special): Likewise.
55054         (xtests-special): Likewise.
55055         (generated): Likewise.
55056         ($(objpfx)mtrace-tst-leaks): Likewise.
55057         ($(objpfx)mtrace-tst-leaks2): Likewise.
55059         * scripts/merge-test-results.sh: New file.
55060         * Makefile (tests-special-notdir): New variable.
55061         (tests): Run merge-test-results.sh.
55062         (xtests): Likewise.
55063         * Rules (tests-special-notdir): New variable.
55064         (xtests-special-notdir): Likewise.
55065         (tests): Run merge-test-results.sh
55066         (xtests): Likewise.
55068         * Makeconfig (test-xfail-name): New variable.
55069         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55070         compute variable name for expected failures.
55071         * conform/Makefile (conformtest-headers-data): New variable.
55072         (conformtest-standards): Likewise.
55073         (conformtest-headers-ISO): Likewise.
55074         (conformtest-headers-ISO99): Likewise.
55075         (conformtest-headers-ISO11): Likewise.
55076         (conformtest-headers-POSIX): Likewise.
55077         (conformtest-headers-XPG3): Likewise.
55078         (conformtest-headers-XPG4): Likewise.
55079         (conformtest-headers-UNIX98): Likewise.
55080         (conformtest-headers-XOPEN2K): Likewise.
55081         (conformtest-headers-POSIX2008): Likewise.
55082         (conformtest-headers-XOPEN2K8): Likewise.
55083         (conformtest-header-list-base): Likewise.
55084         (conformtest-header-list-tests): Likewise.
55085         (conformtest-header-base): Likewise.
55086         (conformtest-header-tests): Likewise.
55087         (tests-special): Add $(conformtest-header-list-tests).  If
55088         [$(fast-check) && !$(cross-compiling)], add
55089         $(conformtest-header-tests) instead of
55090         $(objpfx)run-conformtest.out.
55091         (generated): Add $(conformtest-header-list-base).  If
55092         [$(fast-check) && !$(cross-compiling)], add
55093         $(conformtest-header-base).  Remove previous setting.
55094         ($(conformtest-header-list-tests)): New target.
55095         (test-xfail-run-conformtest): Remove variable.
55096         ($(objpfx)run-conformtest.out): Remove target.
55097         (test-xfail-ISO11/complex.h/conform): New variable.
55098         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55099         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55100         (test-xfail-XPG3/varargs.h/conform): Likewise.
55101         (test-xfail-XPG4/varargs.h/conform): Likewise.
55102         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55103         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55104         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55105         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55106         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55107         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55108         (test-xfail-XPG3/ftw.h/conform): Likewise.
55109         (test-xfail-XPG3/grp.h/conform): Likewise.
55110         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55111         (test-xfail-XPG3/limits.h/conform): Likewise.
55112         (test-xfail-XPG3/pwd.h/conform): Likewise.
55113         (test-xfail-XPG3/search.h/conform): Likewise.
55114         (test-xfail-XPG3/signal.h/conform): Likewise.
55115         (test-xfail-XPG3/stdio.h/conform): Likewise.
55116         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55117         (test-xfail-XPG3/string.h/conform): Likewise.
55118         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55119         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55120         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55121         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55122         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55123         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55124         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55125         (test-xfail-XPG3/termios.h/conform): Likewise.
55126         (test-xfail-XPG3/time.h/conform): Likewise.
55127         (test-xfail-XPG3/unistd.h/conform): Likewise.
55128         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55129         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55130         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55131         (test-xfail-XPG4/netdb.h/conform): Likewise.
55132         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55133         (test-xfail-XPG4/signal.h/conform): Likewise.
55134         (test-xfail-XPG4/stdio.h/conform): Likewise.
55135         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55136         (test-xfail-XPG4/stropts.h/conform): Likewise.
55137         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55138         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55139         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55140         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55141         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55142         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55143         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55144         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55145         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55146         (test-xfail-XPG4/termios.h/conform): Likewise.
55147         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55148         (test-xfail-XPG4/unistd.h/conform): Likewise.
55149         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55150         (test-xfail-POSIX/sched.h/conform): Likewise.
55151         (test-xfail-POSIX/signal.h/conform): Likewise.
55152         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55153         (test-xfail-POSIX/tar.h/conform): Likewise.
55154         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55155         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55156         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55157         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55158         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55159         (test-xfail-UNIX98/sched.h/conform): Likewise.
55160         (test-xfail-UNIX98/signal.h/conform): Likewise.
55161         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55162         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55163         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55164         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55165         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55166         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55167         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55168         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55169         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55170         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55171         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55172         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55173         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55174         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55175         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55176         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55177         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55178         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55179         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55180         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55181         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55182         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55183         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55184         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55185         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55186         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55187         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55188         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55189         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55190         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55191         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55192         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55193         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55194         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55195         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55196         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55197         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55198         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55199         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55200         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55201         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55202         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55203         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55204         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55205         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55206         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55207         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55208         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55209         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55210         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55211         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55212         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55213         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55214         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55215         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55216         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55217         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55218         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55219         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55220         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55221         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55222         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55223         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55224         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55225         (conformtest-cc-flags): Likewise.
55226         ($(conformtest-header-tests): New target.
55227         * conform/check-header-lists.sh: New file.
55228         * conform/run-conformtest.sh: Remove.
55230         * conform/conformtest.pl: Allow ' and \ in values given for
55231         constants.
55232         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55233         inclusion.
55234         [POSIX] (sys/types.h): Likewise.
55235         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55236         inclusion.
55237         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55238         inclusion.
55239         * conform/data/signal.h-data (SIGIO): Remove expectation.
55240         [XPG3] (SIGBUS): Do not expect.
55241         [POSIX || XPG3] (SIGPOLL): Likewise.
55242         [POSIX || XPG3] (SIGPROF): Likewise.
55243         [POSIX || XPG3] (SIGSYS): Likewise.
55244         [XPG3] (SIGTRAP): Likewise.
55245         [POSIX || XPG3] (SIGURG): Likewise.
55246         [POSIX || XPG3] (SIGVTALRM): Likewise.
55247         [POSIX || XPG3] (SIGXCPU): Likewise.
55248         [POSIX || XPG3] (SIGXFSZ): Likewise.
55249         [POSIX] (SA_SIGINFO): Expect.
55250         [XPG3] (siginfo_t): Do not expect type or contents.
55251         [POSIX] (si_pid): Do not expect element.
55252         [POSIX] (si_uid): Likewise.
55253         [POSIX] (si_addr): Likewise.
55254         [POSIX] (si_status): Likewise.
55255         [POSIX] (si_band): Likewise.
55256         [XPG4] (si_value): Likewise.
55257         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55258         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55259         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55260         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55261         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55262         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55263         [POSIX || XPG3] (ILL_COPROC): Likewise.
55264         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55265         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55266         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55267         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55268         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55269         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55270         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55271         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55272         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55273         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55274         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55275         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55276         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55277         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55278         [POSIX || XPG3] (CLD_EXITED): Likewise.
55279         [POSIX || XPG3] (CLD_KILLED): Likewise.
55280         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55281         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55282         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55283         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55284         [POSIX || XPG3] (POLL_IN): Likewise.
55285         [POSIX || XPG3] (POLL_OUT): Likewise.
55286         [POSIX || XPG3] (POLL_MSG): Likewise.
55287         [POSIX || XPG3] (POLL_ERR): Likewise.
55288         [POSIX || XPG3] (POLL_PRI): Likewise.
55289         [POSIX || XPG3] (POLL_HUP): Likewise.
55290         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55291         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55292         (SIG*): Do not allow.
55293         [XPG3] (si_*): Likewise.
55294         [XPG3] (SI_*): Likewise.
55295         [XPG3 || XPG4] (sigev_*): Likewise.
55296         [XPG3 || XPG4] (SIGEV_*): Likewise.
55297         [XPG3 || XPG4] (sival_*): Likewise.
55298         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55299         [POSIX || XPG3] (BUS_*): Likewise.
55300         [POSIX || XPG3] (CLD_*): Likewise.
55301         [POSIX || XPG3] (FPE_*): Likewise.
55302         [POSIX || XPG3] (ILL_*): Likewise.
55303         [POSIX || XPG3] (POLL_*): Likewise.
55304         [POSIX || XPG3] (SEGV_*): Likewise.
55305         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55306         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55307         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55308         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55309         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55310         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55311         Specify type and value.
55312         (TVERSLEN): Likewise.
55313         (REGTYPE): Likewise.
55314         (AREGTYPE): Likewise.
55315         (LNKTYPE): Likewise.
55316         (SYMTYPE): Likewise.
55317         (CHRTYPE): Likewise.
55318         (BLKTYPE): Likewise.
55319         (DIRTYPE): Likewise.
55320         (FIFOTYPE): Likewise.
55321         (CONTTYPE): Likewise.
55322         (TSUID): Likewise.
55323         (TSGID): Likewise.
55324         (TSVTX): Likewise.
55325         (TUREAD): Likewise.
55326         (TUWRITE): Likewise.
55327         (TUEXEC): Likewise.
55328         (TGREAD): Likewise.
55329         (TGWRITE): Likewise.
55330         (TGEXEC): Likewise.
55331         (TOREAD): Likewise.
55332         (TOWRITE): Likewise.
55333         (TOEXEC): Likewise.
55334         [POSIX] (TSVTX): Expect constant.
55336 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55338         * Makefile (tests): Change dependencies to ....
55339         (tests-special): ... additions to this variable.
55340         (tests): Depend on $(tests-special).
55341         * Makerules (check-abi-list): New variable.
55342         (check-abi): Depend on $(check-abi-list).
55343         [$(subdir) = elf] (tests-special): Add
55344         $(objpfx)check-abi-libc.out.
55345         [$(build-shared) = yes && subdir] (tests-special): Add
55346         $(check-abi-list).
55347         [$(build-shared) = yes && subdir] (tests): Do not depend on
55348         check-abi.
55349         * Rules (tests): Depend on $(tests-special).
55350         (xtests): Depend on $(xtests-special).
55351         * catgets/Makefile (tests): Change dependencies to ....
55352         (tests-special): ... additions to this variable.
55353         * conform/Makefile (tests): Change dependencies to ....
55354         (tests-special): ... additions to this variable.
55355         * elf/Makefile (tests): Change dependencies to ....
55356         (tests-special): ... additions to this variable.
55357         * grp/Makefile (tests): Change dependencies to ....
55358         (tests-special): ... additions to this variable.
55359         * iconv/Makefile (xtests): Change dependencies to ....
55360         (xtests-special): ... additions to this variable.
55361         * iconvdata/Makefile (tests): Change dependencies to ....
55362         (tests-special): ... additions to this variable.
55363         * intl/Makefile (tests): Change dependencies to ....
55364         (tests-special): ... additions to this variable.  Also add
55365         $(objpfx)tst-gettext.out.
55366         * io/Makefile (tests): Change dependencies to ....
55367         (tests-special): ... additions to this variable.
55368         * libio/Makefile (tests): Change dependencies to ....
55369         (tests-special): ... additions to this variable.
55370         * malloc/Makefile (tests): Change dependencies to ....
55371         (tests-special): ... additions to this variable.
55372         * misc/Makefile (tests): Change dependencies to ....
55373         (tests-special): ... additions to this variable.
55374         * nptl/Makefile (tests): Change dependencies to ....
55375         (tests-special): ... additions to this variable.
55376         * nptl_db/Makefile (tests): Change dependencies to ....
55377         (tests-special): ... additions to this variable.
55378         * posix/Makefile (tests): Change dependencies to ....
55379         (tests-special): ... additions to this variable.
55380         (xtests): Change dependencies to ....
55381         (xtests-special): ... additions to this variable.
55382         * resolv/Makefile (tests): Change dependencies to ....
55383         (tests-special): ... additions to this variable.
55384         (xtests): Change dependencies to ....
55385         (xtests-special): ... additions to this variable.
55386         * stdio-common/Makefile (tests): Change dependencies to ....
55387         (tests-special): ... additions to this variable.
55388         (do-tst-unbputc): Remove target.
55389         (do-tst-printf): Likewise.
55390         * stdlib/Makefile (tests): Change dependencies to ....
55391         (tests-special): ... additions to this variable.
55392         * string/Makefile (tests): Change dependencies to ....
55393         (tests-special): ... additions to this variable.
55394         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55395         (tests-special): ... additions to this variable.
55397         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55398         whole file.
55399         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55400         whole file.
55401         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55402         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55404         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55405         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55406         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55407         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55408         * conform/data/libgen.h-data [XPG3]: Likewise.
55409         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55410         * conform/data/ndbm.h-data [XPG3]: Likewise.
55411         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55412         * conform/data/netdb.h-data [XPG3]: Likewise.
55413         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55414         * conform/data/poll.h-data [XPG3]: Likewise.
55415         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55416         * conform/data/strings.h-data [XPG3]: Likewise.
55417         * conform/data/stropts.h-data [XPG3]: Likewise.
55418         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55419         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55420         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55421         Likewise.
55422         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55423         * conform/data/sys/time.h-data [XPG3]: Likewise.
55424         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55425         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55426         * conform/data/sys/un.h-data [XPG3]: Likewise.
55427         * conform/data/syslog.h-data [XPG3]: Likewise.
55428         * conform/data/ucontext.h-data [XPG3]: Likewise.
55429         * conform/data/utmpx.h-data [XPG3]: Likewise.
55430         * conform/data/varargs.h-data [UNIX98]: Enable file.
55432         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55434         * math/libm-test.inc (struct test_f_f_data): Move expected results
55435         into structure for each rounding mode.
55436         (struct test_ff_f_data): Likewise.
55437         (struct test_ff_f_data_nexttoward): Likewise.
55438         (struct test_fi_f_data): Likewise.
55439         (struct test_fl_f_data): Likewise.
55440         (struct test_if_f_data): Likewise.
55441         (struct test_fff_f_data): Likewise.
55442         (struct test_c_f_data): Likewise.
55443         (struct test_f_f1_data): Likewise.
55444         (struct test_fF_f1_data): Likewise.
55445         (struct test_ffI_f1_data): Likewise.
55446         (struct test_c_c_data): Likewise.
55447         (struct test_cc_c_data): Likewise.
55448         (struct test_f_i_data): Likewise.
55449         (struct test_ff_i_data): Likewise.
55450         (struct test_f_l_data): Likewise.
55451         (struct test_f_L_data): Likewise.
55452         (struct test_fFF_11_data): Likewise.
55453         (RM_): New macro.
55454         (RM_FE_DOWNWARD): Likewise.
55455         (RM_FE_TONEAREST): Likewise.
55456         (RM_FE_TOWARDZERO): Likewise.
55457         (RM_FE_UPWARD): Likewise.
55458         (RUN_TEST_LOOP_f_f): Update references to expected results.
55459         (RUN_TEST_LOOP_2_f): Likewise.
55460         (RUN_TEST_LOOP_fff_f): Likewise.
55461         (RUN_TEST_LOOP_c_f): Likewise.
55462         (RUN_TEST_LOOP_f_f1): Likewise.
55463         (RUN_TEST_LOOP_fF_f1): Likewise.
55464         (RUN_TEST_LOOP_fI_f1): Likewise.
55465         (RUN_TEST_LOOP_ffI_f1): Likewise.
55466         (RUN_TEST_LOOP_c_c): Likewise.
55467         (RUN_TEST_LOOP_cc_c): Likewise.
55468         (RUN_TEST_LOOP_f_i): Likewise.
55469         (RUN_TEST_LOOP_f_i_tg): Likewise.
55470         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55471         (RUN_TEST_LOOP_f_b): Likewise.
55472         (RUN_TEST_LOOP_f_b_tg): Likewise.
55473         (RUN_TEST_LOOP_f_l): Likewise.
55474         (RUN_TEST_LOOP_f_L): Likewise.
55475         (RUN_TEST_LOOP_fFF_11): Likewise.
55476         * math/gen-libm-test.pl (parse_args): Output four copies of
55477         expected results for each test.
55479         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55480         (__ASSUME_UTIMES): Remove.
55481         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55482         (__ASSUME_UTIMES): Likewise.
55484         * math/gen-auto-libm-tests.c: Update comment on output format.
55485         (output_for_one_input_case): Generate before-rounding and
55486         after-rounding information as conditions on output flags not
55487         floating-point format.
55488         * math/auto-libm-test-out: Regenerated.
55489         * math/gen-libm-test.pl (cond_value): New function.
55490         (or_cond_value): Use cond_value.
55491         (generate_testfile): Handle conditional exceptions.
55493 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55495         * math/libm-test.inc (max_valid_error): New variable.
55496         (init_max_error): Take new argument specifying whether function
55497         results are exactly determined.  Set max_valid_error and bound
55498         other variables for errors based on this argument.
55499         (set_max_error): Do not record results above max_valid_error.
55500         (check_float_internal): Only accept errors of up to 0.5ulps if
55501         also at most max_valid_error.
55502         (START): Take new argument EXACT and pass it to init_max_error.
55503         (acos_test): Update call to START.
55504         (acos_test_tonearest): Likewise.
55505         (acos_test_towardzero): Likewise.
55506         (acos_test_downward): Likewise.
55507         (acos_test_upward): Likewise.
55508         (acosh_test): Likewise.
55509         (asin_test): Likewise.
55510         (asin_test_tonearest): Likewise.
55511         (asin_test_towardzero): Likewise.
55512         (asin_test_downward): Likewise.
55513         (asin_test_upward): Likewise.
55514         (asinh_test): Likewise.
55515         (atan_test): Likewise.
55516         (atanh_test): Likewise.
55517         (atan2_test): Likewise.
55518         (cabs_test): Likewise.
55519         (cacos_test): Likewise.
55520         (cacosh_test): Likewise.
55521         (carg_test): Likewise.
55522         (casin_test): Likewise.
55523         (casinh_test): Likewise.
55524         (catan_test): Likewise.
55525         (catanh_test): Likewise.
55526         (cbrt_test): Likewise.
55527         (ccos_test): Likewise.
55528         (ccosh_test): Likewise.
55529         (ceil_test): Likewise.
55530         (cexp_test): Likewise.
55531         (cimag_test): Likewise.
55532         (clog_test): Likewise.
55533         (clog10_test): Likewise.
55534         (conj_test): Likewise.
55535         (copysign_test): Likewise.
55536         (cos_test): Likewise.
55537         (cos_test_tonearest): Likewise.
55538         (cos_test_towardzero): Likewise.
55539         (cos_test_downward): Likewise.
55540         (cos_test_upward): Likewise.
55541         (cosh_test): Likewise.
55542         (cosh_test_tonearest): Likewise.
55543         (cosh_test_towardzero): Likewise.
55544         (cosh_test_downward): Likewise.
55545         (cosh_test_upward): Likewise.
55546         (cpow_test): Likewise.
55547         (cproj_test): Likewise.
55548         (creal_test): Likewise.
55549         (csin_test): Likewise.
55550         (csinh_test): Likewise.
55551         (csqrt_test): Likewise.
55552         (ctan_test): Likewise.
55553         (ctan_test_tonearest): Likewise.
55554         (ctan_test_towardzero): Likewise.
55555         (ctan_test_downward): Likewise.
55556         (ctan_test_upward): Likewise.
55557         (ctanh_test): Likewise.
55558         (ctanh_test_tonearest): Likewise.
55559         (ctanh_test_towardzero): Likewise.
55560         (ctanh_test_downward): Likewise.
55561         (ctanh_test_upward): Likewise.
55562         (erf_test): Likewise.
55563         (erfc_test): Likewise.
55564         (exp_test): Likewise.
55565         (exp_test_tonearest): Likewise.
55566         (exp_test_towardzero): Likewise.
55567         (exp_test_downward): Likewise.
55568         (exp_test_upward): Likewise.
55569         (exp10_test): Likewise.
55570         (exp10_test_tonearest): Likewise.
55571         (exp10_test_towardzero): Likewise.
55572         (exp10_test_downward): Likewise.
55573         (exp10_test_upward): Likewise.
55574         (pow10_test): Likewise.
55575         (exp2_test): Likewise.
55576         (expm1_test): Likewise.
55577         (expm1_test_tonearest): Likewise.
55578         (expm1_test_towardzero): Likewise.
55579         (expm1_test_downward): Likewise.
55580         (expm1_test_upward): Likewise.
55581         (fabs_test): Likewise.
55582         (fdim_test): Likewise.
55583         (floor_test): Likewise.
55584         (fma_test): Likewise.
55585         (fma_test_towardzero): Likewise.
55586         (fma_test_downward): Likewise.
55587         (fma_test_upward): Likewise.
55588         (fmax_test): Likewise.
55589         (fmin_test): Likewise.
55590         (fmod_test): Likewise.
55591         (fpclassify_test): Likewise.
55592         (frexp_test): Likewise.
55593         (hypot_test): Likewise.
55594         (ilogb_test): Likewise.
55595         (isfinite_test): Likewise.
55596         (finite_test): Likewise.
55597         (isgreater_test): Likewise.
55598         (isgreaterequal_test): Likewise.
55599         (isinf_test): Likewise.
55600         (isless_test): Likewise.
55601         (islessequal_test): Likewise.
55602         (islessgreater_test): Likewise.
55603         (isnan_test): Likewise.
55604         (isnormal_test): Likewise.
55605         (issignaling_test): Likewise.
55606         (isunordered_test): Likewise.
55607         (j0_test): Likewise.
55608         (j1_test): Likewise.
55609         (jn_test): Likewise.
55610         (ldexp_test): Likewise.
55611         (lgamma_test): Likewise.
55612         (gamma_test): Likewise.
55613         (lrint_test): Likewise.
55614         (lrint_test_tonearest): Likewise.
55615         (lrint_test_towardzero): Likewise.
55616         (lrint_test_downward): Likewise.
55617         (lrint_test_upward): Likewise.
55618         (llrint_test): Likewise.
55619         (llrint_test_tonearest): Likewise.
55620         (llrint_test_towardzero): Likewise.
55621         (llrint_test_downward): Likewise.
55622         (llrint_test_upward): Likewise.
55623         (log_test): Likewise.
55624         (log10_test): Likewise.
55625         (log1p_test): Likewise.
55626         (log2_test): Likewise.
55627         (logb_test): Likewise.
55628         (logb_test_downward): Likewise.
55629         (lround_test): Likewise.
55630         (llround_test): Likewise.
55631         (modf_test): Likewise.
55632         (nearbyint_test): Likewise.
55633         (nextafter_test): Likewise.
55634         (nexttoward_test): Likewise.
55635         (pow_test): Likewise.
55636         (pow_test_tonearest): Likewise.
55637         (pow_test_towardzero): Likewise.
55638         (pow_test_downward): Likewise.
55639         (pow_test_upward): Likewise.
55640         (remainder_test): Likewise.
55641         (drem_test): Likewise.
55642         (remainder_test_tonearest): Likewise.
55643         (drem_test_tonearest): Likewise.
55644         (remainder_test_towardzero): Likewise.
55645         (drem_test_towardzero): Likewise.
55646         (remainder_test_downward): Likewise.
55647         (drem_test_downward): Likewise.
55648         (remainder_test_upward): Likewise.
55649         (drem_test_upward): Likewise.
55650         (remquo_test): Likewise.
55651         (rint_test): Likewise.
55652         (rint_test_tonearest): Likewise.
55653         (rint_test_towardzero): Likewise.
55654         (rint_test_downward): Likewise.
55655         (rint_test_upward): Likewise.
55656         (round_test): Likewise.
55657         (scalb_test): Likewise.
55658         (scalbn_test): Likewise.
55659         (scalbln_test): Likewise.
55660         (signbit_test): Likewise.
55661         (sin_test): Likewise.
55662         (sin_test_tonearest): Likewise.
55663         (sin_test_towardzero): Likewise.
55664         (sin_test_downward): Likewise.
55665         (sin_test_upward): Likewise.
55666         (sincos_test): Likewise.
55667         (sinh_test): Likewise.
55668         (sinh_test_tonearest): Likewise.
55669         (sinh_test_towardzero): Likewise.
55670         (sinh_test_downward): Likewise.
55671         (sinh_test_upward): Likewise.
55672         (sqrt_test): Likewise.
55673         (sqrt_test_tonearest): Likewise.
55674         (sqrt_test_towardzero): Likewise.
55675         (sqrt_test_downward): Likewise.
55676         (sqrt_test_upward): Likewise.
55677         (tan_test): Likewise.
55678         (tan_test_tonearest): Likewise.
55679         (tan_test_towardzero): Likewise.
55680         (tan_test_downward): Likewise.
55681         (tan_test_upward): Likewise.
55682         (tanh_test): Likewise.
55683         (tgamma_test): Likewise.
55684         (trunc_test): Likewise.
55685         (y0_test): Likewise.
55686         (y1_test): Likewise.
55687         (yn_test): Likewise.
55688         (significand_test): Likewise.
55690         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55691         individual tests in comment.
55692         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55693         (prev_max_error): New variable.
55694         (prev_real_max_error): Likewise.
55695         (prev_imag_max_error): Likewise.
55696         (compare_ulp_data): Don't refer to test names in comment.
55697         (find_test_ulps): Remove function.
55698         (find_function_ulps): Likewise.
55699         (find_complex_function_ulps): Likewise.
55700         (init_max_error): Take function name as argument.  Look up ulps
55701         for that function.
55702         (print_ulps): Remove function.
55703         (print_max_error): Use prev_max_error instead of calling
55704         find_function_ulps.
55705         (print_complex_max_error): Use prev_real_max_error and
55706         prev_imag_max_error instead of calling find_complex_function_ulps.
55707         (check_float_internal): Take max_ulp parameter instead of calling
55708         find_test_ulps.  Don't call print_ulps.
55709         (check_float): Update call to check_float_internal.
55710         (check_complex): Update calls to check_float_internal.
55711         (START): Pass argument to init_max_error.
55712         * math/gen-libm-test.pl (%results): Don't include "kind"
55713         information.
55714         (parse_ulps): Don't handle ulps of individual tests.
55715         (print_ulps_file): Likewise.
55716         (output_ulps): Likewise.
55717         * math/README.libm-test: Update.
55718         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55719         individual tests.
55720         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55721         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55722         * sysdeps/arm/libm-test-ulps: Likewise.
55723         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55724         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55725         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55726         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55727         * sysdeps/microblaze/libm-test-ulps: Likewise.
55728         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55729         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55731         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55732         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55733         * sysdeps/sh/libm-test-ulps: Likewise.
55734         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55735         * sysdeps/tile/libm-test-ulps: Likewise.
55736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55738 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
55740         * math/libm-test.inc (print_complex_max_error): Check separately
55741         whether real and imaginary errors are within allowed range and
55742         pass 0 to print_complex_function_ulps instead of value within
55743         allowed range.
55745 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55747         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55748         formatting.
55749         (get_handles_fopen): Likewise.
55750         (do_write_test): Likewise.
55752         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55754         * libio/fileops.c (do_ftell): Use cached offset when
55755         available.
55756         * libio/iofwide.c (do_ftell_wide): Likewise.
55757         * libio/iofdopen.c (_IO_new_fdopen): Don't use
55758         _IO_file_attach.
55759         * libio/wfileops.c (_IO_fwide): Don't cache offset.
55761         [BZ #16532]
55762         * libio/libioP.h (get_file_offset): New function.
55763         * libio/fileops.c (get_file_offset): Likewise.
55764         (do_ftell): Likewise.
55765         (_IO_new_file_seekoff): Split out ftell logic.
55766         * libio/wfileops.c (do_ftell_wide): Likewise.
55767         (_IO_wfile_seekoff): Split out ftell logic.
55768         * libio/tst-ftell-active-handler.c: New test case.
55769         * libio/Makefile (tests): Add it.
55771 2014-03-03  Roland McGrath  <roland@hack.frob.com>
55773         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55774         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55776 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55778         [BZ #16639]
55779         * nscd/connections.c (nscd_init): Call do_exit.
55780         (start_threads): Call do_exit and notify_parent.
55781         (begin_drop_privileges): Call do_exit.
55782         (finish_drop_privileges): Likewise.
55783         * nscd/selinux.c (preserve_capabilities): Likewise.
55784         (install_real_capabilities): Likewise.
55785         (nscd_selinux_enabled): Likewise.
55786         (avc_create_thread): Likewise.
55787         (avc_alloc_lock): Likewise.
55788         (nscd_avc_init): Likewise.
55789         * nscd/nscd.c (parent_fd): New static variable.
55790         (main): Create a pipe between parent and child processes.
55791         Skip closing parent_fd.
55792         (monitor_child): New function.
55793         (do_exit): Likewise.
55794         (notify_parent): Likewise.
55795         * nscd/nscd.h (notify_parent): Likewise.
55796         (do_exit): Likewise.
55798 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
55800         * malloc/malloc.c (__libc_calloc): Revert last change.
55802 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55806 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55808         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55810         implementation.
55811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55812         (__libc_ifunc_impl_list): Likewise.
55813         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55814         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55815         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55816         * string/strrchr.c: Define STRRCHR.
55818 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
55820         * benchtest/bench-strtok.c (simple_strtok): Delete.
55821         (strtok_string): Use as benchmark.
55822         * string/strtok (STRTOK): New macro.
55824 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
55826         * manual/threads.texi: Add header and standard comments to all
55827         functions.
55829         * elf/dl-lookup.c (check_match): New function.
55830         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55831         (do_lookup_x): Remove nested function check_match. Use non-nested
55832         function check_match.
55834 2014-02-28  Roland McGrath  <roland@hack.frob.com>
55836         * csu/Makefile (generated, before-compile): Use += rather than =.
55837         * catgets/Makefile (generated, generated-dirs): Likewise.
55838         * debug/Makefile (generated): Likewise.
55839         * dlfcn/Makefile (generated): Likewise.
55840         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55841         * iconvdata/Makefile (before-compile, generated): Likewise.
55842         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55843         * libio/Makefile (generated): Likewise.
55844         * malloc/Makefile (generated): Likewise.
55845         * manual/Makefile (generated, generated-dirs): Likewise.
55846         * misc/Makefile (generated): Likewise.
55847         * posix/Makefile (generated): Likewise.
55848         * resolv/Makefile (generated): Likewise.
55849         * sunrpc/Makefile (generated, generated-dirs): Likewise.
55850         * timezone/Makefile (generated, generated-dirs): Likewise.
55852         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55854 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55857         power8 implementation.
55858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55859         file: POWER8 llround ifunc implementation.
55860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55861         (__lllround): Add POWER8 implementation.
55862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55863         POWER8 llround implementation.
55865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55866         power8 implementation.
55867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55868         file: POWER8 llrint ifunc implementation.
55869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55870         Add POWER8 implementation.
55871         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55872         POWER8 llrint implementation.
55874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55875         power8 implementation.
55876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55877         file: POWER8 finite ifunc implementation.
55878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55879         Add POWER8 implementation.
55880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55881         Likewise.
55882         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55883         POWER8 finite implementation.
55884         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55887         power8 implementation.
55888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55889         file: POWER8 isinf ifunc implementation.
55890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55891         POWER8 implementation.
55892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55893         Likewise.
55894         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55895         isinf implementation.
55896         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55898         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55899         (INIT_ARCH): Add hwcap2 initialization.
55900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55901         power8 implementation.
55902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55903         file: POWER8 isnan ifunc implementation.
55904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55905         POWER8 implementation.
55906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55907         Likewise.
55908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55909         isnan implementation.
55910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55912 2014-02-27  Joey Ye  <joey.ye@arm.com>
55914         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55915         (_FP_NANFRAC_Q): Set to zero.
55917 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55919         [BZ #16623]
55920         * math/auto-libm-test-in: New test inputs.
55921         * math/auto-libm-test-out: Regenerate.
55922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55923         and DA.
55924         (__cos): Likewise.
55925         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55927 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
55929         * scripts/evaluate-test.sh: Take new argument indicating whether
55930         failure is expected.
55931         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55932         indicating whether failure is expected.
55933         * conform/Makefile (test-xfail-run-conformtest): New variable.
55934         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55935         level.
55936         * posix/Makefile (test-xfail-annexc): New variable.
55937         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55939 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
55941         * argp/Makefile: Include Makeconfig immediately after defining
55942         subdir.
55943         * assert/Makefile: Likewise.
55944         * benchtests/Makefile: Likewise.
55945         * catgets/Makefile: Likewise.
55946         * conform/Makefile: Likewise.
55947         * crypt/Makefile: Likewise.
55948         * csu/Makefile: Likewise.
55949         (all): Remove target.
55950         * ctype/Makefile: Include Makeconfig immediately after defining
55951         subdir.
55952         * debug/Makefile: Likewise.
55953         * dirent/Makefile: Likewise.
55954         * dlfcn/Makefile: Likewise.
55955         * gmon/Makefile: Likewise.
55956         * gnulib/Makefile: Likewise.
55957         * grp/Makefile: Likewise.
55958         * gshadow/Makefile: Likewise.
55959         * hesiod/Makefile: Likewise.
55960         * hurd/Makefile: Likewise.
55961         (all): Remove target.
55962         * iconvdata/Makefile: Include Makeconfig immediately after
55963         defining subdir.
55964         * inet/Makefile: Likewise.
55965         * intl/Makefile: Likewise.
55966         * io/Makefile: Likewise.
55967         * libio/Makefile: Likewise.
55968         (all): Remove target.
55969         * locale/Makefile: Include Makeconfig immediately after defining
55970         subdir.
55971         * login/Makefile: Likewise.
55972         * mach/Makefile: Likewise.
55973         (all): Remove target.
55974         * malloc/Makefile: Include Makeconfig immediately after defining
55975         subdir.
55976         (all): Remove target.
55977         * manual/Makefile: Include Makeconfig immediately after defining
55978         subdir.
55979         * math/Makefile: Likewise.
55980         * misc/Makefile: Likewise.
55981         * nis/Makefile: Likewise.
55982         * nss/Makefile: Likewise.
55983         * po/Makefile: Likewise.
55984         (all): Remove target.
55985         * posix/Makefile: Include Makeconfig immediately after defining
55986         subdir.
55987         * pwd/Makefile: Likewise.
55988         * resolv/Makefile: Likewise.
55989         * resource/Makefile: Likewise.
55990         * rt/Makefile: Likewise.
55991         * setjmp/Makefile: Likewise.
55992         * shadow/Makefile: Likewise.
55993         * signal/Makefile: Likewise.
55994         * socket/Makefile: Likewise.
55995         * soft-fp/Makefile: Likewise.
55996         * stdio-common/Makefile: Likewise.
55997         * stdlib/Makefile: Likewise.
55998         * streams/Makefile: Likewise.
55999         * string/Makefile: Likewise.
56000         * sunrpc/Makefile: Likewise.
56001         (all): Remove target.
56002         * sysvipc/Makefile: Include Makeconfig immediately after defining
56003         subdir.
56004         * termios/Makefile: Likewise.
56005         * time/Makefile: Likewise.
56006         * timezone/Makefile: Likewise.
56007         (all): Remove target.
56008         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56009         subdir.
56010         * wctype/Makefile: Likewise.
56012 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56014         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56015         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56016         (libc_feholdexcept_setround_mips): Ditto.
56017         (libc_feholdsetround): New.
56018         (libc_feholdsetroundf): New.
56019         (libc_feholdsetroundl): New.
56020         (libc_feupdateenv_test_mips): New.
56021         (libc_feupdateenv_test): New.
56022         (libc_feupdateenv_testf): New.
56023         (libc_feupdateenv_testl): New.
56024         (libc_feresetround): New.
56025         (libc_feresetroundf): New.
56026         (libc_feresetroundl): New.
56027         (libc_fetestexcept_mips): New.
56028         (libc_fetestexcept): New.
56029         (libc_fetestexceptf): New.
56030         (libc_fetestexceptl): New.
56031         (HAVE_RM_CTX): New.
56032         (libc_feholdexcept_setround_mips_ctx): New.
56033         (libc_feholdexcept_setround_ctx): New.
56034         (libc_feholdexcept_setroundf_ctx): New.
56035         (libc_feholdexcept_setroundl_ctx): New.
56036         (libc_fesetenv_mips_ctx): New.
56037         (libc_fesetenv_ctx): New.
56038         (libc_fesetenv_ctxf): New.
56039         (libc_fesetenv_ctxl): New.
56040         (libc_feupdateenv_mips_ctx): New.
56041         (libc_feupdateenv_ctx): New.
56042         (libc_feupdateenvf_ctx): New.
56043         (libc_feupdateenvl_ctx): New.
56044         (libc_feholdsetround_mips_ctx): New.
56045         (libc_feholdsetround_ctx): New.
56046         (libc_feholdsetroundf_ctx): New.
56047         (libc_feholdsetroundl_ctx): New.
56048         (libc_feresetround_mips_ctx): New.
56049         (libc_feresetround_ctx): New.
56050         (libc_feresetroundf_ctx): New.
56051         (libc_feresetroundl_ctx): New.
56053 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56055         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56057         * manual/ipc.texi: New file.
56058         * manual/Makefile (chapters): Add ipc.
56059         * manual/job.texi: Add "Inter-Process Communication" to next.
56060         * manual/process.texi: Add "Inter-Process Communication" to prev.
56062 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56066 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
56068         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56070         * manual/arith.texi: Fix spaces after sentences.
56071         * manual/charset.texi: Likewise.
56072         * manual/errno.texi: Likewise.
56073         * manual/install.texi: Likewise.
56074         * manual/llio.texi: Likewise.
56075         * manual/locale.texi: Likewise.
56076         * manual/maint.texi: Likewise.
56077         * manual/math.texi: Likewise.
56078         * manual/memory.texi: Likewise.
56079         * manual/message.texi: Likewise.
56080         * manual/probes.texi: Likewise.
56081         * manual/resource.texi: Likewise.
56082         * manual/signal.texi: Likewise.
56083         * manual/socket.texi: Likewise.
56084         * manual/stdio.texi: Likewise.
56085         * manual/string.texi: Likewise.
56086         * manual/time.texi: Likewise.
56087         * manual/users.texi: Likewise.
56089 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56091         [BZ #16632]
56092         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56093         _DEFAULT_SOURCE is defined.
56095 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56096             Carlos O'Donell  <carlos@redhat.com>
56098         [BZ #16613]
56099         * elf/dl-tls.c (_dl_count_modids): New function.
56100         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56101         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56102         audit library and increment generation counter.
56103         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56104         * elf/tst-audit9.c: New file.
56105         * elf/tst-auditmod9a.c: New file.
56106         * elf/tst-auditmod9b.c: New file.
56107         * elf/Makefile: Add rules to build and run tst-audit9.
56109 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56111         [BZ #15347]
56112         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56114 2014-02-25  Will Newton  <will.newton@linaro.org>
56116         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56117         (__longjmp): Restore sp and lr before restoring callee
56118         saved registers.  Add longjmp and longjmp_target
56119         SystemTap probe point.
56120         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56121         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56122         Define to zero to match jmpbuf layout.
56123         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56124         (__sigsetjmp): Save sp and lr before saving callee
56125         saved registers.  Add setjmp SystemTap probe point.
56127 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56129         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56131 2014-02-24  Andreas Schwab  <schwab@suse.de>
56133         [BZ #15804]
56134         * elf/pldd.c (wait_for_ptrace_stop): New function.
56135         (main): Call it after attaching.
56137 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56139         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56140         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56141         Versions files is now verboten.
56142         * hurd/Versions (libc: GLIBC_2.0):
56143         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56144         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56145         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56146         * mach/Versions: Likewise.
56148         * csu/Versions: Remove unused %include.
56149         * resolv/Versions: Likewise.
56151 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56153         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56154         ($(objpfx)check-local-headers.out): Likewise.
56155         ($(objpfx)begin-end-check.out): Likewise.
56156         * Makerules (check-abi-%.out): Likewise.
56157         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56158         ($(objpfx)test2.cat): Likewise.
56159         ($(objpfx)de/libc.cat): Likewise.
56160         ($(objpfx)test-gencat.out): Likewise.
56161         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56162         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56163         ($(objpfx)noload-mem): Likewise.
56164         ($(objpfx)tst-pathopt.out): Likewise.
56165         ($(objpfx)tst-rtld-load-self.out): Likewise.
56166         ($(objpfx)tst-array1-cmp.out): Likewise.
56167         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56168         ($(objpfx)tst-array2-cmp.out): Likewise.
56169         ($(objpfx)tst-array3-cmp.out): Likewise.
56170         ($(objpfx)tst-array4-cmp.out): Likewise.
56171         ($(objpfx)tst-array5-cmp.out): Likewise.
56172         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56173         ($(objpfx)check-textrel.out): Likewise.
56174         ($(objpfx)check-execstack.out): Likewise.
56175         ($(objpfx)check-localplt.out): Likewise.
56176         ($(objpfx)order2-cmp.out): Likewise.
56177         ($(objpfx)tst-leaks1-mem): Likewise.
56178         ($(objpfx)tst-leaks1-static-mem): Likewise.
56179         ($(objpfx)tst-initorder-cmp.out): Likewise.
56180         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56181         ($(objpfx)tst-unused-dep.out): Likewise.
56182         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56183         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56184         * iconv/Makefile (test-iconvconfig): Likewise.
56185         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56186         ($(objpfx)iconv-test.out): Likewise.
56187         ($(objpfx)tst-tables.out): Likewise.
56188         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56189         ($(objpfx)tst-gettext.out): Likewise.
56190         ($(objpfx)tst-translit.out): Likewise.
56191         ($(objpfx)tst-gettext2.out): Likewise.
56192         ($(objpfx)tst-gettext4.out): Likewise.
56193         ($(objpfx)tst-gettext6.out): Likewise.
56194         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56195         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56196         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56197         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56199         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56200         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56201         ($(objpfx)wordexp-tst.out): Likewise.
56202         ($(objpfx)annexc.out): Likewise.
56203         ($(objpfx)tst-fnmatch-mem): Likewise.
56204         ($(objpfx)bug-regex2-mem): Likewise.
56205         ($(objpfx)bug-regex14-mem): Likewise.
56206         ($(objpfx)bug-regex21-mem): Likewise.
56207         ($(objpfx)bug-regex31-mem): Likewise.
56208         ($(objpfx)tst-vfork3-mem): Likewise.
56209         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56210         ($(objpfx)tst-pcre-mem): Likewise.
56211         ($(objpfx)tst-boost-mem): Likewise.
56212         ($(objpfx)tst-getconf.out): Likewise.
56213         ($(objpfx)bug-ga2-mem): Likewise.
56214         ($(objpfx)bug-glob2-mem): Likewise.
56215         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56216         ($(objpfx)mtrace-tst-leaks2): Likewise.
56217         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56218         ($(objpfx)tst-printf.out): Likewise.
56219         ($(objpfx)tst-setvbuf1.out): Likewise.
56220         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56221         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56222         ($(objpfx)tst-fmtmsg.out): Likewise.
56223         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56224         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56226         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56227         * bits/sigaction.h [__USE_MISC]: Likewise.
56228         * bits/waitstatus.h: Update #endif comments.
56229         * ctype/ctype.h: Likewise.
56230         * dirent/dirent.h: Likewise.
56231         [__USE_MISC]: Remove redundant conditionals.
56232         * grp/grp.h: Update #endif comments.
56233         [__USE_GNU]: Remove redundant conditionals.
56234         [__USE_MISC]: Likewise.
56235         * inet/netinet/in.h [__USE_GNU]: Likewise.
56236         * io/sys/stat.h [__USE_MISC]: Likewise.
56237         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56238         * libio/bits/stdio.h: Update #endif comments.
56239         [__USE_MISC]: Remove redundant conditionals.
56240         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56241         * libio/stdio.h: Update #endif comments.
56242         [__USE_MISC]: Remove redundant conditionals.
56243         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56244         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56245         * math/math.h: Update #else and #endif comments.
56246         [__USE_MISC]: Remove redundant conditionals.
56247         * misc/sys/uio.h: Update #endif comments.
56248         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56249         * posix/glob.h [__USE_MISC]: Likewise.
56250         * posix/sys/types.h: Update #endif comments.
56251         [__USE_MISC]: Remove redundant conditionals.
56252         * posix/sys/wait.h: Update #endif comments.
56253         [__USE_MISC]: Remove redundant conditionals.
56254         * posix/unistd.h: Update #endif comments.
56255         [__USE_MISC]: Remove redundant conditionals.
56256         * pwd/pwd.h [__USE_GNU]: Likewise.
56257         [__USE_MISC]: Likewise.
56258         * resolv/netdb.h [__USE_GNU]: Likewise.
56259         * signal/signal.h: Update #endif comments.
56260         [__USE_MISC]: Remove redundant conditionals.
56261         * stdlib/stdlib.h: Update #else and #endif comments.
56262         [__USE_MISC]: Remove redundant conditionals.
56263         [__USE_GNU]: Likewise.
56264         * string/bits/string2.h [__USE_MISC]: Likewise.
56265         * string/string.h: Update #endif comments.
56266         [__USE_MISC]: Remove redundant conditionals.
56267         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56268         Likewise.
56269         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56270         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56271         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56272         Likewise.
56273         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56274         Likewise.
56275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56276         comments.
56277         [__USE_MISC]: Remove redundant conditionals.
56278         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56279         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56280         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56281         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56282         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56283         Likewise.
56284         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56285         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56286         Likewise.
56287         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56288         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56289         Likewise.
56290         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56291         Likewise.
56292         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56293         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56294         Likewise.
56295         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56296         Likewise.
56297         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56298         * sysdeps/x86/bits/string.h: Update #endif comments.
56299         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56300         conditionals.
56301         * time/sys/time.h: Update #endif comments.
56302         * time/time.h: Likewise.
56303         [__USE_MISC]: Remove redundant conditionals.
56305 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56307         [BZ #16600]
56308         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56310 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56312         * Versions.def (librt): Add GLIBC_2.17.
56314 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56316         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56317         synonym for _SYS_AUXV_H to allow direct inclusion.
56318         * sysdeps/sparc/bits/hwcap.h: Likewise.
56319         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56320         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56321         * sysdeps/sparc/sysdep.h: Likewise.
56323 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56325         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56327 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56329         * benchtests/bench-strrchr.c: Print length instead of position.
56331 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56333         [BZ #16611]
56334         * sysdeps/unix/sysv/linux/kernel-features.h
56335         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56336         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56337         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56338         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56339         Likewise.
56340         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56341         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56342         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56343         (__ASSUME_SENDMMSG): Define instead of using previous
56344         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56345         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56346         (__ASSUME_SENDMMSG_SYSCALL): Define.
56347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56348         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56349         Likewise.
56350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56351         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56352         Likewise.
56353         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56354         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56355         Likewise.
56356         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56357         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56358         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56359         [__ASSUME_SENDMMSG]: Change conditionals to
56360         [__ASSUME_SENDMMSG_SOCKETCALL].
56361         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56362         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56363         Define.
56364         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56365         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56366         Likewise.
56367         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56368         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56369         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56370         [!__ASSUME_SENDMMSG]: Change conditional to
56371         [!__ASSUME_SENDMMSG_SOCKETCALL].
56372         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56373         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56374         Define.
56376         [BZ #16610]
56377         * sysdeps/unix/sysv/linux/kernel-features.h
56378         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56379         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56380         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56381         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56382         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56383         [__i386__ || __sparc__]
56384         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56385         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56386         (__ASSUME_RECVMMSG): Define instead of using previous
56387         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56388         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56389         (__ASSUME_RECVMMSG_SYSCALL): Define.
56390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56392         Likewise.
56393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56394         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56395         Likewise.
56396         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56397         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56398         Likewise.
56399         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56400         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56401         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56402         [__ASSUME_RECVMMSG]: Change condition to
56403         [__ASSUME_RECVMMSG_SOCKETCALL].
56404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56405         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56406         Define.
56407         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56408         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56409         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56410         Likewise.
56411         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56412         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56413         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56414         [!__ASSUME_RECVMMSG]: Change condition to
56415         [!__ASSUME_RECVMMSG_SOCKETCALL].
56416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56417         (__ASSUME_RECVMMSG_SYSCALL): Define.
56419         [BZ #16609]
56420         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56421         __powerpc__ || __s390__ || __sh__ || __sparc__]
56422         (__ASSUME_SOCKETCALL): Define.
56423         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56424         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56425         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56426         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56427         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56428         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56429         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56430         (__ASSUME_ACCEPT4): Define instead of using previous
56431         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56432         __powerpc__ || __sparc__ || __s390__)] condition.
56433         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56434         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56435         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56436         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56437         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56438         [!__ASSUME_ACCEPT4]: Change condition to
56439         [!__ASSUME_ACCEPT4_SOCKETCALL].
56440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56441         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56442         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56443         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56444         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56445         __ASSUME_ACCEPT4_SYSCALL.
56446         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56447         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56448         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56449         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56450         __ASSUME_ACCEPT4_SYSCALL.
56451         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56452         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56453         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56454         [__ASSUME_ACCEPT4]: Change condition to
56455         [__ASSUME_ACCEPT4_SOCKETCALL].
56456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56457         (__ASSUME_SOCKETCALL): Define.
56458         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56460         (__ASSUME_SOCKETCALL): Define.
56461         (__ASSUME_ACCEPT4): Remove.
56462         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56463         Define.
56464         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56465         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56466         Likewise.
56467         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56468         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56470         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56471         macro.
56472         (HWCAP_ARM_LPAE): Likewise.
56473         (HWCAP_ARM_EVTSTRM): Likewise.
56474         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56475         Add vpfd32, lpae and evtstrm.
56476         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56477         Increase to 22.
56479 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56481         * math/auto-libm-test-in: Add tests of clog10.
56482         * math/auto-libm-test-out: Regenerated.
56483         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56484         * sysdeps/i386/fpu/libm-test-ulps: Update.
56485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56487 2014-02-18  Andreas Schwab  <schwab@suse.de>
56489         [BZ #16574]
56490         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56491         Store non-zero if the second buffer was newly allocated.
56492         (send_dg): Likewise.
56493         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56494         to send_vc and send_dg.
56495         (res_nsend): Pass NULL for ansp2_malloced.
56496         * resolv/res_query.c (__libc_res_nquery): Add parameter
56497         answerp2_malloced and pass it down to __libc_res_nsend.
56498         (res_nquery): Pass additional NULL to __libc_res_nquery.
56499         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56500         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56501         second answer buffer if answerp2_malloced was set.
56502         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56503         (__libc_res_nquerydomain): Add parameter
56504         answerp2_malloced and pass it down to __libc_res_nquery.
56505         (res_nquerydomain): Pass additional NULL to
56506         __libc_res_nquerydomain.
56507         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56508         additional NULL to __libc_res_nsend and __libc_res_nquery.
56509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56510         additional NULL to __libc_res_nsearch.
56511         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56512         parameter of __libc_res_nsearch to check for separately allocated
56513         second buffer.
56514         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56515         __libc_res_nquery.
56516         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56517         additional NULL to __libc_res_nquery.
56518         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56519         __libc_res_nsearch.
56520         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56521         * include/resolv.h: Update prototypes of __libc_res_nquery,
56522         __libc_res_nsearch, __libc_res_nsend.
56524 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56526         * math/auto-libm-test-in: Add tests of fma.
56527         * math/auto-libm-test-out: Regenerated.
56528         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56529         (fma_towardzero_test_data): Likewise.
56530         (fma_downward_test_data): Likewise.
56531         (fma_upward_test_data): Likewise.
56532         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56533         mpc_mode.
56534         (rounding_modes): Add values for new field.
56535         (func_calc_method): Add value mpfr_fff_f.
56536         (func_calc_desc): Add mpfr_fff_f union field.
56537         (test_function): Add field exact_args.
56538         (FUNC): Add macro argument EXACT_ARGS.
56539         (FUNC_mpfr_f_f): Update call to FUNC.
56540         (FUNC_mpfr_f_f): Likewise.
56541         (FUNC_mpfr_ff_f): Likewise.
56542         (FUNC_mpfr_if_f): Likewise.
56543         (FUNC_mpc_c_f): Likewise.
56544         (FUNC_mpc_c_c): Likewise.
56545         (test_functions): Add fma.  Update calls to FUNC.
56546         (handle_input_arg): Add argument exact_args.
56547         (add_test): Update call to handle_input_arg.
56548         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56549         (output_for_one_input_case): Update call to calc_generic_results.
56550         Recalculate exact zero results in each rounding mode.
56552         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56553         non-negative before setting low bit.
56554         * math/auto-libm-test-in: Mark one asin test possibly having
56555         spurious underflow.
56556         * math/auto-libm-test-out: Regenerated.
56557         * sysdeps/i386/fpu/libm-test-ulps: Update.
56558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56560 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56562         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56563         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56564         ports/sysdeps/unix/sysv/linux/microblaze.
56565         * README: Add missing listing for microblaze*-*-linux-gnu.
56567 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
56569         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56570         duplicate code
56572 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56574         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56575         * sysdeps/unix/sysv/linux/ia64: Move directory from
56576         ports/sysdeps/unix/sysv/linux/ia64.
56577         * README: Update listing for ia64-*-linux-gnu.
56579 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56580             Joseph Myers  <joseph@codesourcery.com>
56582         * Makeconfig (test-name): New variable.
56583         (evaluate-test): Likewise.
56584         * Makerules (do-test-clean): Remove .test-result files.
56585         (common-mostlyclean): Likewise.
56586         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56587         * scripts/evaluate-test.sh: New file.
56589 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56591         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56592         separate $(objpfx)tst-fopenloc-cmp.out and
56593         $(objpfx)tst-fopenloc-mem.out targets.
56594         (tests): Update dependencies.
56595         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56596         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56597         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56598         (tst-rxspencer-no-utf8-ARGS): New variable.
56599         (tst-rxspencer-no-utf8-ENV): Likewise.
56600         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56601         instead of $(objpfx)tst-rxspencer-mem.
56602         ($(objpfx)tst-rxspencer-mem): Change target to
56603         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56604         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56605         * posix/tst-rxspencer-no-utf8.c: New file.
56607         * elf/Makefile ($(objpfx)order.out): Remove rule.
56608         [$(run-built-tests) = yes] (tests): Depend on
56609         $(objpfx)order-cmp.out.
56610         ($(objpfx)order-cmp.out): New rule.
56611         [$(run-built-tests) = yes] (tests): Depend on
56612         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56613         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56614         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56615         $(objpfx)tst-array5-static-cmp.out.
56616         ($(objpfx)tst-array1.out): Remove rule.
56617         ($(objpfx)tst-array1-cmp.out): New rule.
56618         ($(objpfx)tst-array1-static.out): Remove rule.
56619         ($(objpfx)tst-array1-static-cmp.out): New rule.
56620         ($(objpfx)tst-array2.out): Remove rule.
56621         ($(objpfx)tst-array2-cmp.out): New rule.
56622         ($(objpfx)tst-array3.out): Remove rule.
56623         ($(objpfx)tst-array3-cmp.out): New rule.
56624         ($(objpfx)tst-array4.out): Remove rule.
56625         ($(objpfx)tst-array4-cmp.out): New rule.
56626         ($(objpfx)tst-array5.out): Remove rule.
56627         ($(objpfx)tst-array5-cmp.out): New rule.
56628         ($(objpfx)tst-array5-static.out): Remove rule.
56629         ($(objpfx)tst-array5-static-cmp.out): New rule.
56630         [$(run-built-tests) = yes] (tests): Depend on
56631         $(objpfx)order2-cmp.out.
56632         ($(objpfx)order2.out): Remove rule.
56633         ($(objpfx)order2-cmp.out): New rule.
56634         ($(objpfx)tst-initorder.out): Remove rule.
56635         [$(run-built-tests) = yes] (tests): Depend on
56636         $(objpfx)tst-initorder-cmp.out.
56637         ($(objpfx)tst-initorder-cmp.out): New rule.
56638         ($(objpfx)tst-initorder2.out): Remove rule.
56639         [$(run-built-tests) = yes] (tests): Depend on
56640         $(objpfx)tst-initorder2-cmp.out.
56641         ($(objpfx)tst-initorder2-cmp.out): New rule.
56642         [$(run-built-tests) = yes] (tests): Depend on
56643         $(objpfx)tst-unused-dep-cmp.out.
56644         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56645         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56646         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56647         on $(objpfx)tst-setvbuf1-cmp.out.
56648         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56649         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56650         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56651         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56652         ($(objpfx)tst-svc.out): Remove rule.
56653         ($(objpfx)tst-svc-cmp.out): New rule.
56655 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56657         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56658         * ctype/ctype.h [__USE_MISC]: Likewise.
56659         * dirent/dirent.h [__USE_MISC]: Likewise.
56660         * grp/grp.h [__USE_MISC]: Likewise.
56661         * io/fcntl.h [__USE_MISC]: Likewise.
56662         * io/sys/stat.h [__USE_MISC]: Likewise.
56663         * libio/stdio.h [__USE_MISC]: Likewise.
56664         * posix/unistd.h [__USE_MISC]: Likewise.
56665         * pwd/pwd.h [__USE_MISC]: Likewise.
56666         * stdlib.h [__USE_MISC]: Likewise.
56667         * string/bits/string2.h [__USE_MISC]: Likewise.
56668         * string/string.h [__USE_MISC]: Likewise.
56669         * time/time.h [__USE_MISC]: Likewise.
56671 2014-02-13  Andreas Schwab  <schwab@suse.de>
56673         [BZ #16574]
56674         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56675         second answer buffer if it was separately allocated.
56677 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56679         * sysdeps/mips/math-tests.h: Include <features.h>.
56680         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56681         (ROUNDING_TESTS_long_double): Do not define.
56682         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56683         (EXCEPTION_TESTS_long_double): Likewise.
56684         * sysdeps/mips/mips64/libm-test-ulps: Update.
56686         * include/features.h (__USE_BSD): Remove macro definitions.
56687         (__USE_SVID): Likewise.
56688         (_BSD_SOURCE): Likewise.
56689         (_SVID_SOURCE): Likewise.
56690         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56691         from definition of _DEFAULT_SOURCE.
56692         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56693         [_DEFAULT_SOURCE].
56694         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56695         * bits/mman.h [__USE_BSD]: Likewise.
56696         * bits/termios.h [__USE_BSD]: Likewise.
56697         * bits/waitstatus.h [__USE_BSD]: Likewise.
56698         * ctype/ctype.h [__USE_SVID]: Likewise.
56699         * dirent/dirent.h [__USE_BSD]: Likewise.
56700         * grp/grp.h [__USE_SVID]: Likewise.
56701         [__USE_BSD]: Likewise.
56702         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56703         * io/fcntl.h [__USE_BSD]: Likewise.
56704         * io/ftw.h [__USE_BSD]: Likewise.
56705         * io/sys/stat.h [__USE_BSD]: Likewise.
56706         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56707         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56708         * libio/stdio.h [__USE_SVID]: Likewise.
56709         [__USE_BSD]: Likewise.
56710         * math/math.h [__USE_SVID]: Likewise.
56711         [__USE_BSD]: Likewise.
56712         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56713         * misc/bits/syslog.h [__USE_BSD]: Likewise.
56714         * misc/search.h [__USE_SVID]: Likewise.
56715         * misc/sys/mman.h [__USE_BSD]: Likewise.
56716         * misc/sys/syslog.h [__USE_BSD]: Likewise.
56717         * misc/sys/uio.h [__USE_BSD]: Likewise.
56718         * posix/bits/unistd.h [__USE_BSD]: Likewise.
56719         * posix/glob.h [__USE_BSD]: Likewise.
56720         * posix/regex.h [__USE_BSD]: Likewise.
56721         * posix/sys/types.h [__USE_BSD]: Likewise.
56722         [__USE_SVID]: Likewise.
56723         * posix/sys/utsname.h [__USE_SVID]: Likewise.
56724         * posix/sys/wait.h [__USE_BSD]: Likewise.
56725         [__USE_SVID]: Likewise.
56726         * posix/unistd.h [__USE_BSD]: Likewise.
56727         [__USE_SVID]: Likewise.
56728         * pwd/pwd.h [__USE_SVID]: Likewise.
56729         * resolv/netdb.h [__USE_BSD]: Likewise.
56730         * setjmp/setjmp.h [__USE_BSD]: Likewise.
56731         * signal/signal.h [__USE_BSD]: Likewise.
56732         [__USE_SVID]: Likewise.
56733         * socket/sys/socket.h [__USE_BSD]: Likewise.
56734         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56735         * stdlib/stdlib.h [__USE_BSD]: Likewise.
56736         [__USE_SVID]: Likewise.
56737         * string/bits/string2.h [__USE_BSD]: Likewise.
56738         [__USE_SVID]: Likewise.
56739         * string/bits/string3.h [__USE_BSD]: Likewise.
56740         * string/endian.h [__USE_BSD]: Likewise.
56741         * string/string.h [__USE_SVID]: Likewise.
56742         [__USE_BSD]: Likewise.
56743         * string/strings.h [__USE_BSD]: Likewise.
56744         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56745         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56746         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56747         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56748         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56749         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56750         Likewise.
56751         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56752         Likewise.
56753         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56754         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56755         Likewise.
56756         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56757         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56758         Likewise.
56759         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56760         Likewise.
56761         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56762         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56763         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56764         Likewise.
56765         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56766         Likewise.
56767         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56768         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56769         * termios/termios.h [__USE_BSD]: Likewise.
56770         * time/sys/time.h [__USE_BSD]: Likewise.
56771         * time/time.h [__USE_BSD]: Likewise.
56772         [__USE_SVID]: Likewise.
56774         * Makefile (subdir_targets): Remove subdir_lint.out.
56776         * stdio-common/Makefile (do-tst-unbputc): Remove target.
56777         (do-tst-printf): Likewise.
56778         (tests): Depend directly on $(objpfx)tst-unbputc.out and
56779         $(objpfx)tst-printf.out.
56781         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56783         * Makerules (check-abi-%): Change target to
56784         $(objpfx)check-abi-%.out.
56785         (check-abi target): Update dependencies.
56786         (check-abi-pattern variable): Redirect output of diff to $@.
56787         (check-abi variable): Likewise.
56788         * elf/Makefile (check-abi): Update dependencies.
56790         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56791         unused.
56792         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56793         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56794         subnormal range.
56795         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56796         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56797         value has largest subnormal exponent.
56798         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56799         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56800         * sysdeps/aarch64/soft-fp/sfp-machine.h
56801         (_FP_TININESS_AFTER_ROUNDING): New macro.
56802         * sysdeps/alpha/soft-fp/sfp-machine.h
56803         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56804         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56805         Likewise.
56806         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56807         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56808         * sysdeps/mips/soft-fp/sfp-machine.h
56809         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56810         * sysdeps/powerpc/soft-fp/sfp-machine.h
56811         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56812         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56813         Likewise.
56814         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56816         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56817         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56818         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56819         Likewise.
56821 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
56823         [BZ #16545]
56824         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56825         model 1.
56827 2014-02-12  Richard Henderson  <rth@redhat.com>
56829         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56830         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56831         * sysdeps/unix/sysv/linux/alpha: Move directory from
56832         ports/sysdeps/unix/sysv/linux/alpha.
56833         * README: Update listing for alpha-*-linux-gnu.
56835 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
56837         * include/features.h: Update comment documenting feature test
56838         macros.
56839         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
56840         _DEFAULT_SOURCE.
56841         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56842         (_SVID_SOURCE): Likewise.
56843         (_DEFAULT_SOURCE): Update description of default features.
56844         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56845         with _GNU_SOURCE.
56846         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56847         (S_ISVTX): Likewise.
56848         * manual/math.texi (Mathematical Constants): Likewise.
56849         * manual/signal.texi (Interrupted Primitives): Likewise.
56850         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56851         * math/test-matherr.c (_SVID_SOURCE): Do not define.
56852         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56853         Don't refer to _SVID_SOURCE in warning text.
56855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56857         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56858         already defined.
56859         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56860         * sysdeps/mips/dl-lookup.c: Remove.
56861         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56863 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
56865         [BZ #16447]
56866         * math/auto-libm-test-in: Add testcase for expl.
56867         * math/auto-libm-test-out: Regenerate.
56868         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56869         calculation of unsafe.
56870         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56872 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
56874         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56875         * sysdeps/unix/sysv/linux/aarch64: Move directory from
56876         ports/sysdeps/unix/sysv/linux/aarch64.
56877         * README: Update listing for aarch64*-*-linux-gnu.
56879 2014-02-11  Will Newton  <will.newton@linaro.org>
56881         * manual/probes.texi (Mathematical Function Probes): Use
56882         "triggered" instead of "hit".
56884         * manual/probes.texi (Internal Probes): Add documentation
56885         of setjmp, longjmp and longjmp_target probes.
56887         * include/stap-probe.h: Add comment about probe argument
56888         format.
56890         * malloc/mtrace.c (attribute_hidden): Remove unused macro
56891         definition.  (tr_where, tr_freehook, tr_mallochook,
56892         tr_reallochook, tr_memalignhook): Use ANSI protoype.
56894 2014-02-11  David S. Miller  <davem@davemloft.net>
56896         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56897         processing int_tests.
56899 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
56901         * sysdeps/mips: Move directory from ports/sysdeps/mips.
56902         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56903         * sysdeps/unix/sysv/linux/mips: Move directory from
56904         ports/sysdeps/unix/sysv/linux/mips.
56905         * README: Update listing for mips-*-linux-gnu and
56906         mips64-*-linux-gnu.
56908 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
56910         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56911         * sysdeps/unix/sysv/linux/m68k: Move directory from
56912         ports/sysdeps/unix/sysv/linux/m68k.
56913         * README: Update listing for m68k-*-linux-gnu.
56915 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
56917         * sysdeps/tile: Move directory from ports/sysdeps/tile.
56918         * sysdeps/unix/sysv/linux/generic: Move directory from
56919         ports/sysdeps/unix/sysv/linux/generic.
56920         * sysdeps/unix/sysv/linux/tile: Move directory from
56921         ports/sysdeps/unix/sysv/linux/tile.
56922         * README: Update listing for tile*-*-linux-gnu.
56924 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
56926         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56927         __builtin_expect.
56928         * benchtests/bench-memmem.c (simple_memmem): Likewise.
56929         * catgets/open_catalog.c (__open_catalog): Likewise.
56930         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56931         * debug/confstr_chk.c: Likewise.
56932         * debug/fread_chk.c (__fread_chk): Likewise.
56933         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56934         * debug/getgroups_chk.c: Likewise.
56935         * debug/mbsnrtowcs_chk.c: Likewise.
56936         * debug/mbsrtowcs_chk.c: Likewise.
56937         * debug/mbstowcs_chk.c: Likewise.
56938         * debug/memcpy_chk.c: Likewise.
56939         * debug/memmove_chk.c: Likewise.
56940         * debug/mempcpy_chk.c: Likewise.
56941         * debug/memset_chk.c: Likewise.
56942         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56943         * debug/strcat_chk.c (__strcat_chk): Likewise.
56944         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56945         * debug/strncat_chk.c (__strncat_chk): Likewise.
56946         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56947         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56948         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56949         * debug/wcpncpy_chk.c: Likewise.
56950         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56951         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56952         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56953         * debug/wcsncpy_chk.c: Likewise.
56954         * debug/wcsnrtombs_chk.c: Likewise.
56955         * debug/wcsrtombs_chk.c: Likewise.
56956         * debug/wcstombs_chk.c: Likewise.
56957         * debug/wmemcpy_chk.c: Likewise.
56958         * debug/wmemmove_chk.c: Likewise.
56959         * debug/wmempcpy_chk.c: Likewise.
56960         * debug/wmemset_chk.c: Likewise.
56961         * dirent/scandirat.c (SCANDIRAT): Likewise.
56962         * dlfcn/dladdr1.c (dladdr1): Likewise.
56963         * dlfcn/dladdr.c (dladdr): Likewise.
56964         * dlfcn/dlclose.c (dlclose_doit): Likewise.
56965         * dlfcn/dlerror.c (__dlerror): Likewise.
56966         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56967         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56968         * dlfcn/dlopen.c (dlopen_doit): Likewise.
56969         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56970         * dlfcn/dlsym.c (dlsym_doit): Likewise.
56971         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56972         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56973         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56974         Likewise.
56975         * elf/dl-conflict.c: Likewise.
56976         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56977         * elf/dl-dst.h: Likewise.
56978         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56979         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56980         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56981         * elf/dl-init.c (call_init, _dl_init): Likewise.
56982         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56983         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56984         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56985         Likewise.
56986         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56987         Likewise.
56988         * elf/dl-minimal.c (__libc_memalign): Likewise.
56989         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56990         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56991         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56992         * elf/dl-sym.c (do_sym): Likewise.
56993         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56994         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56995         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56996         * elf/dl-writev.h (_dl_writev): Likewise.
56997         * elf/ldconfig.c (search_dir): Likewise.
56998         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56999         (dl_main): Likewise.
57000         * elf/setup-vdso.h (setup_vdso): Likewise.
57001         * grp/compat-initgroups.c (compat_call): Likewise.
57002         * grp/fgetgrent.c (fgetgrent): Likewise.
57003         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57004         * grp/putgrent.c (putgrent): Likewise.
57005         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57006         Likewise.
57007         * hurd/hurdinit.c: Likewise.
57008         * iconvdata/8bit-gap.c (struct): Likewise.
57009         * iconvdata/ansi_x3.110.c : Likewise.
57010         * iconvdata/big5.c : Likewise.
57011         * iconvdata/big5hkscs.c : Likewise.
57012         * iconvdata/cp1255.c: Likewise.
57013         * iconvdata/cp1258.c : Likewise.
57014         * iconvdata/cp932.c : Likewise.
57015         * iconvdata/euc-cn.c: Likewise.
57016         * iconvdata/euc-jisx0213.c : Likewise.
57017         * iconvdata/euc-jp.c: Likewise.
57018         * iconvdata/euc-jp-ms.c : Likewise.
57019         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57020         * iconvdata/gb18030.c : Likewise.
57021         * iconvdata/gbbig5.c (const): Likewise.
57022         * iconvdata/gbgbk.c: Likewise.
57023         * iconvdata/gbk.c : Likewise.
57024         * iconvdata/ibm1364.c : Likewise.
57025         * iconvdata/ibm930.c : Likewise.
57026         * iconvdata/ibm932.c: Likewise.
57027         * iconvdata/ibm933.c : Likewise.
57028         * iconvdata/ibm935.c : Likewise.
57029         * iconvdata/ibm937.c : Likewise.
57030         * iconvdata/ibm939.c : Likewise.
57031         * iconvdata/ibm943.c: Likewise.
57032         * iconvdata/iso_11548-1.c: Likewise.
57033         * iconvdata/iso-2022-cn.c : Likewise.
57034         * iconvdata/iso-2022-cn-ext.c : Likewise.
57035         * iconvdata/iso-2022-jp-3.c: Likewise.
57036         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57037         * iconvdata/iso-2022-kr.c : Likewise.
57038         * iconvdata/iso646.c (gconv_end): Likewise.
57039         * iconvdata/iso_6937-2.c : Likewise.
57040         * iconvdata/iso_6937.c : Likewise.
57041         * iconvdata/iso8859-1.c: Likewise.
57042         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57043         * iconvdata/shift_jisx0213.c : Likewise.
57044         * iconvdata/sjis.c : Likewise.
57045         * iconvdata/t.61.c : Likewise.
57046         * iconvdata/tcvn5712-1.c : Likewise.
57047         * iconvdata/tscii.c: Likewise.
57048         * iconvdata/uhc.c : Likewise.
57049         * iconvdata/unicode.c (gconv_end): Likewise.
57050         * iconvdata/utf-16.c (gconv_end): Likewise.
57051         * iconvdata/utf-32.c (gconv_end): Likewise.
57052         * iconvdata/utf-7.c (base64): Likewise.
57053         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57054         * iconv/gconv_close.c (__gconv_close): Likewise.
57055         * iconv/gconv_open.c (__gconv_open): Likewise.
57056         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57057         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57058         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57059         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57060         (ucs4le_internal_loop_single): Likewise.
57061         * iconv/iconv.c (iconv): Likewise.
57062         * iconv/iconv_close.c: Likewise.
57063         * iconv/loop.c (SINGLE): Likewise.
57064         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57065         * include/atomic.h: Likewise.
57066         * inet/inet6_option.c (option_alloc): Likewise.
57067         * intl/bindtextdom.c (set_binding_values): Likewise.
57068         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57069         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57070         * intl/localealias.c (read_alias_file): Likewise.
57071         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57072         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57073         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57074         * libio/fmemopen.c (fmemopen): Likewise.
57075         * libio/iofgets.c (_IO_fgets): Likewise.
57076         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57077         * libio/iofgetws.c (fgetws): Likewise.
57078         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57079         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57080         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57081         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57082         * locale/findlocale.c (_nl_find_locale): Likewise.
57083         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57084         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57085         Likewise.
57086         * locale/setlocale.c (setlocale): Likewise.
57087         * login/programs/pt_chown.c (main): Likewise.
57088         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57089         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57090         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57091         (mmap, mmap64, mremap, munmap): Likewise.
57092         * math/e_exp2l.c: Likewise.
57093         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57094         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57095         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57096         * math/s_catan.c (__catan): Likewise.
57097         * math/s_catanf.c (__catanf): Likewise.
57098         * math/s_catanh.c (__catanh): Likewise.
57099         * math/s_catanhf.c (__catanhf): Likewise.
57100         * math/s_catanhl.c (__catanhl): Likewise.
57101         * math/s_catanl.c (__catanl): Likewise.
57102         * math/s_ccosh.c (__ccosh): Likewise.
57103         * math/s_ccoshf.c (__ccoshf): Likewise.
57104         * math/s_ccoshl.c (__ccoshl): Likewise.
57105         * math/s_cexp.c (__cexp): Likewise.
57106         * math/s_cexpf.c (__cexpf): Likewise.
57107         * math/s_cexpl.c (__cexpl): Likewise.
57108         * math/s_clog10.c (__clog10): Likewise.
57109         * math/s_clog10f.c (__clog10f): Likewise.
57110         * math/s_clog10l.c (__clog10l): Likewise.
57111         * math/s_clog.c (__clog): Likewise.
57112         * math/s_clogf.c (__clogf): Likewise.
57113         * math/s_clogl.c (__clogl): Likewise.
57114         * math/s_csin.c (__csin): Likewise.
57115         * math/s_csinf.c (__csinf): Likewise.
57116         * math/s_csinh.c (__csinh): Likewise.
57117         * math/s_csinhf.c (__csinhf): Likewise.
57118         * math/s_csinhl.c (__csinhl): Likewise.
57119         * math/s_csinl.c (__csinl): Likewise.
57120         * math/s_csqrt.c (__csqrt): Likewise.
57121         * math/s_csqrtf.c (__csqrtf): Likewise.
57122         * math/s_csqrtl.c (__csqrtl): Likewise.
57123         * math/s_ctan.c (__ctan): Likewise.
57124         * math/s_ctanf.c (__ctanf): Likewise.
57125         * math/s_ctanh.c (__ctanh): Likewise.
57126         * math/s_ctanhf.c (__ctanhf): Likewise.
57127         * math/s_ctanhl.c (__ctanhl): Likewise.
57128         * math/s_ctanl.c (__ctanl): Likewise.
57129         * math/w_pow.c: Likewise.
57130         * math/w_powf.c: Likewise.
57131         * math/w_powl.c: Likewise.
57132         * math/w_scalb.c (sysv_scalb): Likewise.
57133         * math/w_scalbf.c (sysv_scalbf): Likewise.
57134         * math/w_scalbl.c (sysv_scalbl): Likewise.
57135         * misc/error.c (error_tail): Likewise.
57136         * misc/pselect.c (__pselect): Likewise.
57137         * nis/nis_callback.c (__nis_create_callback): Likewise.
57138         * nis/nis_call.c (__nisfind_server): Likewise.
57139         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57140         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57141         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57142         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57143         * nis/nis_lookup.c (nis_lookup): Likewise.
57144         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57145         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57146         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57147         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57148         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57149         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57150         * nis/nss_compat/compat-initgroups.c (add_group)
57151         (internal_getgrent_r): Likewise.
57152         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57153         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57154         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57155         (internal_getspnam_r): Likewise.
57156         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57157         (_nss_nis_getaliasbyname_r): Likewise.
57158         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57159         (_nss_nis_getntohost_r): Likewise.
57160         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57161         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57162         (_nss_nis_getgrgid_r): Likewise.
57163         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57164         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57165         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57166         (_nss_nis_gethostbyname4_r): Likewise.
57167         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57168         (initgroups_netid): Likewise.
57169         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57170         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57171         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57172         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57173         (_nss_nis_getprotobynumber_r): Likewise.
57174         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57175         (_nss_nis_getsecretkey): Likewise.
57176         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57177         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57178         (_nss_nis_getpwuid_r): Likewise.
57179         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57180         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57181         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57182         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57183         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57184         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57185         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57186         Likewise.
57187         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57188         (_nss_nisplus_getntohost_r): Likewise.
57189         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57190         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57191         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57192         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57193         Likewise.
57194         * nis/nss_nisplus/nisplus-initgroups.c
57195         (_nss_nisplus_initgroups_dyn): Likewise.
57196         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57197         (_nss_nisplus_getnetbyaddr_r): Likewise.
57198         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57199         (_nss_nisplus_getprotobynumber_r): Likewise.
57200         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57201         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57202         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57203         Likewise.
57204         * nis/nss_nisplus/nisplus-service.c
57205         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57206         (_nss_nisplus_getservbyport_r): Likewise.
57207         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57208         (_nss_nisplus_getspnam_r): Likewise.
57209         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57210         Likewise.
57211         * nscd/aicache.c (addhstaiX): Likewise.
57212         * nscd/cache.c (cache_search, prune_cache): Likewise.
57213         * nscd/connections.c (register_traced_file, send_ro_fd)
57214         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57215         (main_loop_epoll): Likewise.
57216         * nscd/grpcache.c (addgrbyX): Likewise.
57217         * nscd/hstcache.c (addhstbyX): Likewise.
57218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57219         * nscd/mem.c (gc, mempool_alloc): Likewise.
57220         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57221         (addinnetgrX): Likewise.
57222         * nscd/nscd-client.h (__nscd_acquire_maplock)
57223         (__nscd_drop_map_ref): Likewise.
57224         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57225         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57226         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57227         Likewise.
57228         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57230         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57231         (__nscd_get_map_ref): Likewise.
57232         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57233         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57234         Likewise.
57235         * nscd/pwdcache.c (addpwbyX): Likewise.
57236         * nscd/selinux.c (preserve_capabilities): Likewise.
57237         * nscd/servicescache.c (addservbyX): Likewise.
57238         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57239         * posix/fnmatch.c (fnmatch): Likewise.
57240         * posix/getopt.c (_getopt_internal_r): Likewise.
57241         * posix/glob.c (glob, glob_in_dir): Likewise.
57242         * posix/wordexp.c (exec_comm_child): Likewise.
57243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57244         (getanswer_r, gaih_getanswer_slice): Likewise.
57245         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57246         * resolv/res_init.c: Likewise.
57247         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57248         * resolv/res_query.c (__libc_res_nquery): Likewise.
57249         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57250         Likewise.
57251         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57252         * stdio-common/perror.c (perror): Likewise.
57253         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57254         * stdio-common/tmpnam.c (tmpnam): Likewise.
57255         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57256         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57257         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57258         Likewise.
57259         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57260         * stdlib/putenv.c (putenv): Likewise.
57261         * stdlib/setenv.c (__add_to_environ): Likewise.
57262         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57263         * stdlib/strtol_l.c (INTERNAL): Likewise.
57264         * string/memmem.c (memmem): Likewise.
57265         * string/strerror.c (strerror): Likewise.
57266         * string/strnlen.c (__strnlen): Likewise.
57267         * string/test-memmem.c (simple_memmem): Likewise.
57268         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57269         * sunrpc/pm_getport.c (__get_socket): Likewise.
57270         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57271         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57272         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57273         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57274         Likewise.
57275         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57276         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57277         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57278         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57279         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57280         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57281         Likewise.
57282         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57283         Likewise.
57284         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57285         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57286         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57287         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57288         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57290         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57291         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57292         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57293         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57294         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57295         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57296         Likewise.
57297         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57298         Likewise.
57299         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57300         Likewise.
57301         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57302         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57303         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57304         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57305         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57306         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57307         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57310         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57314         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57316         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57317         Likewise.
57318         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57319         Likewise.
57320         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57321         Likewise.
57322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57323         Likewise.
57324         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57326         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57327         Likewise.
57328         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57329         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57330         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57331         * sysdeps/posix/sleep.c: Likewise.
57332         * sysdeps/posix/tempname.c: Likewise.
57333         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57334         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57335         Likewise.
57336         * sysdeps/powerpc/powerpc32/dl-machine.h
57337         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57338         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57340         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57341         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57342         Likewise.
57343         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57344         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57345         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57347         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57348         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57349         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57350         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57351         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57352         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57354         (elf_machine_lazy_rel): Likewise.
57355         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57356         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57357         (elf_machine_lazy_rel): Likewise.
57358         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57359         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57360         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57361         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57362         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57363         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57364         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57366         Likewise.
57367         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57368         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57369         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57370         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57371         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57372         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57373         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57374         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57375         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57376         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57377         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57378         Likewise.
57379         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57380         (__posix_fallocate64_l64): Likewise.
57381         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57382         (posix_fallocate): Likewise.
57383         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57384         Likewise.
57385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57386         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57387         (getifaddrs_internal): Likewise.
57388         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57389         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57390         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57391         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57392         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57393         (__posix_fallocate64_l64): Likewise.
57394         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57395         Likewise.
57396         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57397         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57398         (__get_clockfreq): Likewise.
57399         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57400         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57401         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57403         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57404         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57405         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57406         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57407         Likewise.
57408         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57409         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57410         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57411         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57412         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57413         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57414         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57415         Likewise.
57416         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57417         (posix_fallocate): Likewise.
57418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57419         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57420         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57421         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57422         (elf_machine_rela, elf_machine_rela_relative)
57423         (elf_machine_lazy_rel): Likewise.
57424         * time/asctime.c (asctime_internal): Likewise.
57425         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57426         * time/tzset.c (__tzset_parse_tz): Likewise.
57427         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57428         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57429         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57430         * wcsmbs/wcsmbsload.h: Likewise.
57432         [BZ #15894]
57433         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57435         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57436         (arena_get2): Remove THREAD_STATS conditionals.
57437         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57438         (__malloc_stats, int): Likewise.
57440 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57442         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57443         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57445         * manual/setjmp.texi: Fix typos/grammar errors.
57447         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57448         Only return early when n is <= 0.  Delete unused return statement.
57450         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57451         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57452         * debug/tst-longjmp_chk3.c: New file.
57454         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57455         (test_main): Replace code with set_fortify_handler call.
57456         * debug/test-strcpy_chk.c: Likewise.
57457         * debug/tst-chk1.c: Likewise.
57458         * debug/tst-longjmp_chk.c: Likewise.
57459         * test-skeleton.c: Include fcntl.h & paths.h
57460         (set_fortify_handler): Define.
57462         * debug/tst-longjmp_chk.c: Add header comment and include
57463         ../test-skeleton.c.
57464         (do_test): Mark static.
57465         (TEST_FUNCTION): Define.
57467         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57468         (IP_PMTUDISC_INTERFACE): Likewise.
57469         (IP_MULTICAST_IF): Likewise.
57470         (IP_MULTICAST_TTL): Likewise.
57471         (IP_MULTICAST_LOOP): Likewise.
57472         (IP_ADD_MEMBERSHIP): Likewise.
57473         (IP_DROP_MEMBERSHIP): Likewise.
57474         (IP_UNBLOCK_SOURCE): Likewise.
57475         (IP_BLOCK_SOURCE): Likewise.
57476         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57477         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57478         (IP_MSFILTER): Likewise.
57479         (MCAST_JOIN_GROUP): Likewise.
57480         (MCAST_BLOCK_SOURCE): Likewise.
57481         (MCAST_UNBLOCK_SOURCE): Likewise.
57482         (MCAST_LEAVE_GROUP): Likewise.
57483         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57484         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57485         (MCAST_MSFILTER): Likewise.
57486         (IP_MULTICAST_ALL): Likewise.
57487         (IP_UNICAST_IF): Likewise.
57489         * timezone/Makefile: Delete $(have-ksh) check.
57490         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57491         * timezone/tzselect.ksh: Add +x mode bits.
57493         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57494         (ANON_INODE_FS_MAGIC): Likewise.
57495         (BDEVFS_MAGIC): Likewise.
57496         (BINFMTFS_MAGIC): Likewise.
57497         (BTRFS_TEST_MAGIC): Likewise.
57498         (CRAMFS_MAGIC_WEND): Likewise.
57499         (DEBUGFS_MAGIC): Likewise.
57500         (ECRYPTFS_SUPER_MAGIC): Likewise.
57501         (EXT3_SUPER_MAGIC): Likewise.
57502         (EXT4_SUPER_MAGIC): Likewise.
57503         (FUTEXFS_SUPER_MAGIC): Likewise.
57504         (HOSTFS_SUPER_MAGIC): Likewise.
57505         (HUGETLBFS_MAGIC): Likewise.
57506         (MINIX3_SUPER_MAGIC): Likewise.
57507         (MTD_INODE_FS_MAGIC): Likewise.
57508         (NILFS_SUPER_MAGIC): Likewise.
57509         (OPENPROM_SUPER_MAGIC): Likewise.
57510         (PIPEFS_MAGIC): Likewise.
57511         (PSTOREFS_MAGIC): Likewise.
57512         (QNX6_SUPER_MAGIC): Likewise.
57513         (RAMFS_MAGIC): Likewise.
57514         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57515         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57516         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57517         (SECURITYFS_MAGIC): Likewise.
57518         (SELINUX_MAGIC): Likewise.
57519         (SMACK_MAGIC): Likewise.
57520         (SOCKFS_MAGIC): Likewise.
57521         (SQUASHFS_MAGIC): Likewise.
57522         (STACK_END_MAGIC): Likewise.
57523         (TMPFS_MAGIC): Likewise.
57524         (USBDEVICE_SUPER_MAGIC): Likewise.
57525         (V9FS_MAGIC): Likewise.
57526         (XENFS_SUPER_MAGIC): Likewise.
57527         (CRAMFS_MAGIC): Fix typo in comment.
57528         (EXT2_SUPER_MAGIC): Update comment.
57529         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57531 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57533         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57534         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57535         * sysdeps/unix/sysv/linux/arm: Move directory from
57536         ports/sysdeps/unix/sysv/linux/arm.
57537         * README: Update listing for arm-*-linux-gnueabi.
57539         * README: Remove mention of am33.
57541 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57543         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57544         than the comma operator, to avoid "rhs of comma has no effect"
57545         compiler warnings.
57546         (__sigfillset, __sigandset, __sigorset): Likewise.
57547         * include/signal.h (__sigemptyset): Likewise.
57548         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57550 2014-02-07  Allan McRae  <allan@archlinux.org>
57552         * version.h (RELEASE): Set to "development".
57553         (VERSION): Set to "2.19.90"
57554         * NEWS: Add 2.20 section.
57556 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57558         [BZ #16529]
57559         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57561 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57563         * manual/contrib.texi: Update entry for Carlos O'Donell,
57564         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57566 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57568         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57570         * sysdeps/unix/sysv/linux/kernel-features.h
57571         [__LINUX_KERNEL_VERSION >= 0x020621]
57572         (__ASSUME_PROC_PID_TASK_COMM): Define.
57574 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57576         [BZ #16398]
57577         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57578         conversion when destination buffer does not have enough space.
57579         * libio/tst-ftell-partial-wide.c: New test case.
57580         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57582         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57583         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57584         Leonard and Allan McRae.
57586 2014-02-04  David S. Miller  <davem@davemloft.net>
57588         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57589         32-bit.
57591 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57594         New file
57595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57596         New file
57597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57598         New file.
57599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57600         New file.
57601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57602         New file.
57603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57604         New file.
57605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57606         New file.
57607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57608         New file.
57609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57610         New file.
57611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57612         New file.
57613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57614         New file.
57615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57616         New file.
57617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57618         New file.
57620 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57622         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57623         * shlib-versions: Likewise.
57625 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57626             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57628         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57629         (abilist-pattern): New variable, set to %-le.abilist.
57631         * Makerules (abilist-pattern): New variable.
57632         (vpath): Use $(abilist-pattern) in place of %.abilist.
57633         (check-abi-% pattern rule): Likewise.
57634         (check-abi, update-abi): Likewise.
57636 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57640 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57642         * manual/startup.texi: Add next, previous, and top entries for
57643         the `Program Arguments' and `Environment Variables' nodes.
57645 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57647         * manual/macros.texi: Add comments before MTASC-safety macros.
57649         * manual/users.texi: Document MTASC-safety properties.
57651         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57652         (pthread_getspecific, pthread_setspecific): Format with
57653         @deftypefun, and add @safety note.
57654         * manual/signal.texi: Move comments that analyze the above
57655         functions to their home place.
57657 2014-02-03  Allan McRae  <allan@archlinux.org>
57659         * po/sl.po: Update Slovenian translation from translation project.
57661 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57663         * manual/time.texi (timegm): Add missing blank after @c.
57664         Reported by Joseph Myers <joseph@codesourcery.com>.
57666 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57668         * manual/check-safety.sh: New.
57669         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57671         * manual/terminal.texi: Document MTASC-safety properties.
57673         * manual/filesys.texi: Document MTASC-safety properties.
57675         * manual/errno.texi: Document MTASC-safety properties.
57677         * manual/intro.texi: Document safety identifiers and
57678         conditionals.
57680         * manual/string.texi (wcstok): Fix prototype.
57681         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57683         * manual/time.texi: Document MTASC-safety properties.
57685         * manual/string.texi: Document MTASC-safety properties.
57687         * manual/threads.texi: Document MTASC-safety properties.
57689         * manual/stdio.texi: Document MTASC-safety properties.
57691         * manual/syslog.texi: Document MTASC-safety properties.
57693         * manual/sysinfo.texi: Document MTASC-safety properties.
57695         * manual/startup.texi: Document MTASC-safety properties.
57697         * manual/socket.texi: Document MTASC-safety properties.
57699         * manual/signal.texi: Document MTASC-safety properties.
57701 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57703         * manual/setjmp.texi: Document MTASC-safety properties.
57705         * manual/search.texi: Document MTASC-safety properties.
57707         * manual/resource.texi: Document MTASC-safety properties.
57709         * manual/process.texi: Document MTASC-safety properties.
57711         * manual/platform.texi: Document MTASC-safety properties.
57713         * manual/pipe.texi: Document MTASC-safety properties.
57715         * manual/pattern.texi: Document MTASC-safety properties.
57717         * manual/message.texi: Document MTASC-safety properties.
57719         [BZ #12751]
57720         * manual/memory.texi: Document MTASC-safety properties.
57722         * manual/math.texi: Document MTASC-safety properties.
57724         * manual/locale.texi: Document MTASC-safety properties.
57726         * manual/llio.texi: Document MTASC-safety properties.
57728         * manual/libdl.texi: New.
57730         * manual/lang.texi: Document MTASC-safety properties.
57732         * manual/job.texi: Document MTASC-safety properties.
57734         * manual/getopt.texi: Document MTASC-safety properties.
57736         * manual/ctype.texi: Document MTASC-safety properties.
57738 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
57740         [BZ #16046]
57741         * csu/libc-tls.c (static_map): Remove variable.
57742         (__libc_setup_tls): Use main executable's link map for TLS data.
57743         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57744         casing for LM_ID_BASE and GL(dl_nns).
57745         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57746         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
57747         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57748         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57749         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57750         member.
57751         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57752         l_phnum members.
57754 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
57756         * manual/debug.texi: Document MTASC-safety properties.
57758 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
57760         [BZ #16510]
57761         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57762         of __x86_64__ when disabling x87 inline functions.
57764 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
57766         * manual/charset.texi: Document MTASC-safety properties.
57768         * manual/crypt.texi: Document MTASC-safety properties.
57770         * manual/conf.texi: Document MTASC-safety properties.
57772         * manual/arith.texi: Document MTASC-safety properties.
57774         * manual/argp.texi: Document MTASC-safety properties.
57776         * manual/macros.texi: Introduce macros to document multi
57777         thread, asynchronous signal and asynchronous cancellation
57778         safety properties.
57779         * manual/intro.texi: Introduce the properties themselves.
57781 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57783         * sysdeps/sh/sh4/Makefile: New file.
57785 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
57787         * math/gen-libm-test.pl ($srcdir): New variable.
57788         ($auto_input): Use it.
57790 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57792         [BZ #16506]
57793         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57794         access beyond array bounds when parsing netgroups file.
57796         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57797         the old buffer before realloc.
57799 2014-01-27  Allan McRae  <allan@archlinux.org>
57801         * po/fr.po: Update French translation from translation project.
57803 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57805         * sysdeps/sh/libm-test-ulps: Regenerate.
57807 2014-01-24  David S. Miller  <davem@davemloft.net>
57809         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57811 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57813         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57814         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57816 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57818         [BZ #16474]
57819         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57820         string pointers after reallocation.
57822 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57824         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57825         __SH4A__ instead of __SH_FPU_ANY__.
57827 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57829         * sysdeps/sh/fpu_control.h: New file.
57830         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57831         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57832         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57833         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57834         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57835         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57836         * sysdeps/sh/sys/ucontext.h: Remove.
57837         * sysdeps/sh/sys: Remove directory.
57839 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57841         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57842         s390/sys/ucontext.h.
57843         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57844         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57846 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
57848         [BZ #15605]
57849         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57851 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57853         [BZ #16431]
57854         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57855         Adjust the vDSO correctly for internal calls.
57856         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57858 2014-01-20  Allan McRae  <allan@archlinux.org>
57860         * po/ca.po: Update Catalan translation from translation project.
57862 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
57864         * sysdeps/s390/sotruss-lib.c: New file.
57866 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57868         [BZ #16430]
57869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57870         (__GI___gettimeofday): Alias for a different internal symbol to avoid
57871         local calls issues by not having a PLT stub required for IFUNC calls.
57872         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57874 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
57876         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57877         * math/test-fpucw-static.c: Likewise.
57879 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57881         [BZ #16453]
57882         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57884 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57886         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57887         implementation for powerpc.
57889 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
57891         [BZ #14782]
57892         * sysdeps/posix/system.c (__libc_system): Do not enable
57893         asynchronous cancellation.
57895 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57897         [BZ #16427]
57898         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57899         handling only for numbers special also in the IEEE case.
57901 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57903         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57905 2014-01-11  Allan McRae  <allan@archlinux.org>
57907         * po/bg.po: Update Bulgarian translation from translation project.
57909         * po/de.po: Update German translation from translation project.
57911 2014-01-10  Roland McGrath  <roland@hack.frob.com>
57913         * sysdeps/generic/gcc-compat.h: New file.
57915 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57917         * benchtests/asin-inputs: Correct slow inputs.
57918         * benchtests/acos-inputs: Likewise.
57920 2014-01-10  Allan McRae  <allan@archlinux.org>
57922         * po:sv.po: Update Swedish translation from translation project.
57924         * po/vi.po: Update Vietnamese translation from translation project.
57926         * po/eo.po: Update Esperanto translation from translation project.
57928         * po/cs.po: Update Czech translation from translation project.
57930         * po/nl.po: Update Dutch translation from translation project.
57932         * po/pl.po: Update Polish translation from translation project.
57934         * po/ru.po: Update Russian translation from translation project.
57936         * po/uk.po: Update Ukrainian translation from translation project.
57938 2014-01-08  Brooks Moses  <bmoses@google.com>
57940         * elf/dl-load.c: Fix comment typo.
57942 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
57944         * po/header.pot: Rename to...
57945         * po/pot.header: ... this.
57946         * po/Makefile: Use pot.header.
57948 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
57949             Maxim Kuvyrkov  <maxim@kugelworks.com>
57951         [BZ #16394]
57952         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57953         SRC and DEST against LEN.
57955 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57957         [BZ #16414]
57958         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57959         implementation.
57960         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57962 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57966 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
57968         [BZ #16408]
57969         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57970         for large positive arguments.
57972 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
57974         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57976         * math/auto-libm-test-in: Mark various tests with
57977         xfail-rounding:ldbl-128ibm.
57978         * math/auto-libm-test-out: Regenerated.
57980         [BZ #16407]
57981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57982         Increase overflow threshold.
57984 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
57986         [BZ #14286]
57987         * stdio-common/vfprintf.c: Check for integer overflow.
57989 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57991         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57992         the first argument and return value of __tls_get_addr_internal.
57994 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57996         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57997         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57999 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58001         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58002         * sysdeps/s390/rtld-global-offsets.sym: New file.
58003         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58004         GLIBC_2.19 symbol.
58005         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58007         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58008         ... this.
58009         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58010         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58011         ... this.
58012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58013         Regenerate.
58014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58015         Regenerate.
58016         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58017         halfs of GPRs for high_gprs contexts.
58018         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58019         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58020         field.
58021         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58022         uc_flags field.
58023         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58024         64 bit versions:
58025         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58026         for high GPRs (uc_high_gprs) and for future extensions
58027         (__reserved).
58028         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58029         for future extensions (__reserved).
58030         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58031         64 bit versions:
58032         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58033         SC_HIGHGPRS offset definition.
58034         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58035         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58037         * Versions.def: Add GLIBC_2.19 for libpthread.
58038         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58039         siglongjmp for libpthread with GLIBC_2.19 symver.
58040         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58041         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58042         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58043         * sysdeps/s390/__longjmp.c: New file.
58044         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58045         * sysdeps/s390/longjmp.c: New file.
58046         * sysdeps/s390/setjmp.S: New file.
58047         * sysdeps/s390/sigjmp.S: New file.
58048         * sysdeps/s390/v1-longjmp.c: New file.
58049         * sysdeps/s390/v1-setjmp.h: New file.
58050         * sysdeps/s390/v1-sigjmp.c: New file.
58051         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58052         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58053         GLIBC_2.19 version.
58054         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58055         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58056         versioned symbols for ____longjmp_chk.
58057         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58058         Likewise.
58059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58060         Regenerate.
58061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58062         Regenerate.
58063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58064         Regenerate.
58065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58066         Regenerate.
58067         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58068         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58069         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58070         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58071         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58072         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58073         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58074         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58075         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58076         * sysdeps/s390/rtld-__longjmp.c: New file.
58077         * sysdeps/s390/rtld-setjmp.S: New file.
58079 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58081         [BZ #16400]
58082         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58083         Return -__logl (x) for small positive arguments without evaluating
58084         a polynomial.
58086 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58088         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58089         Rename to ...
58090         (__ptrace_peeksiginfo_args): ... this.
58091         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58095 2014-01-06  Allan McRae  <allan@archlinux.org>
58097         * inet/netinet/in.h: Fix typo in comment.
58099 2014-01-05  Andreas Jaeger  <aj@suse.de>
58101         * sysdeps/i386/fpu/libm-test-ulps: Update.
58103 2014-01-05  Allan McRae  <allan@archlinux.org>
58105         * po/libc.pot: Regenerated.
58107         * malloc/memusagestat.c: Fix gettext call formatting.
58109 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58111         * nscd/nscd.c: Improve usage() output.
58113 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58115         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58116         * sysdeps/unix/sysv/linux/configure: Regenerated.
58117         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58118         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58120 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58122         [BZ #16390]
58123         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58124         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58126 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58128         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58129         extra tokens at end of #undef directive.
58130         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58131         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58132         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58134 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58136         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58138         * math/auto-libm-test-in: Mark various tests with
58139         xfail-rounding:ldbl-128ibm.
58140         * math/auto-libm-test-out: Regenerated.
58142 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58144         [BZ #16386]
58145         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58146         numbers with subnormal high part when calculating exponent.
58148         [BZ #16385]
58149         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58150         fabs.
58152         [BZ #16384]
58153         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58154         M_LN2l.
58155         (__ieee754_acoshl): Use __log1pl not __log1p.
58157 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
58159         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58160         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58161         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58162         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58163         (reused_arena, arena_get2): Convert to GNU style.
58164         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58165         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58166         (memalign_check, __malloc_set_state): Likewise.
58167         * malloc/mallocbug.c (main): Likewise.
58168         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58169         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58170         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58171         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58172         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58173         (__posix_memalign, malloc_info): Likewise.
58174         * malloc/malloc.h: Likewise.
58175         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58176         (mallochook, memalignhook, reallochook, mabort): Likewise.
58177         * malloc/mcheck.h: Likewise.
58178         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58179         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58180         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58181         * malloc/morecore.c (__default_morecore): Likewise.
58182         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58183         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58184         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58185         (print_and_abort): Likewise.
58186         * malloc/obstack.h: Likewise.
58187         * malloc/set-freeres.c (__libc_freeres): Likewise.
58188         * malloc/tst-mallocstate.c (main): Likewise.
58189         * malloc/tst-mtrace.c (main): Likewise.
58190         * malloc/tst-realloc.c (do_test): Likewise.
58192 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58194         [BZ #16366]
58195         * nscd/netgroupcache.c (do_notfound): New function.
58196         (addgetnetgrentX): Use it.
58198         [BZ # 16365]
58199         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58200         NSS_STATUS_NOTFOUND.
58202 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58204         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58207 2014-01-01  Allan McRae  <allan@archlinux.org>
58209         * scripts/update-copyrights: Update configure input file suffix.
58211         * NEWS: Update copyright year.
58212         * catgets/gencat.c: Likewise.
58213         * csu/version.c: Likewise.
58214         * debug/catchsegv.sh: Likewise.
58215         * debug/pcprofiledump.c: Likewise.
58216         * debug/xtrace.sh: Likewise.
58217         * elf/ldconfig.c: Likewise.
58218         * elf/ldd.bash.in: Likewise.
58219         * elf/pldd.c: Likewise.
58220         * elf/sotruss.ksh: Likewise.
58221         * elf/sprof.c: Likewise.
58222         * iconv/iconv_prog.c: Likewise.
58223         * iconv/iconvconfig.c: Likewise.
58224         * locale/programs/locale.c: Likewise.
58225         * locale/programs/localedef.c: Likewise.
58226         * login/programs/pt_chown.c: Likewise.
58227         * malloc/memusage.sh: Likewise.
58228         * malloc/memusagestat.c: Likewise.
58229         * malloc/mtrace.pl: Likewise.
58230         * manual/libc.texinfo: Likewise.
58231         * nscd/nscd.c: Likewise.
58232         * nss/getent.c: Likewise.
58233         * nss/makedb.c: Likewise.
58234         * posix/getconf.c: Likewise.
58235         * scripts/test-installation.pl: Likewise.
58237         * All files with FSF copyright notices: Update copyright dates
58238         using scripts/update-copyrights.
58239         * intl/plural.c: Regenerated.
58240         * locale/programs/charmap-kw.h: Likewise.
58241         * locale/programs/locfile-kw.h: Likewise.
58243 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58245         * sysdeps/unix/sysv/linux/configure: Regenerated.
58246         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58247         the linux/fanotify.h header.
58248         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58249         HAVE_LINUX_FANOTIFY_H is defined.
58251 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58253         * benchtests/cos-inputs: New inputs.
58254         * benchtests/sin-inputs: Likewise.
58256         * benchtests/atan-inputs: New inputs. Fix name of multiple
58257         precision fallback inputs.
58259         * benchtests/atanh-inputs: New inputs.
58260         * benchtests/tanh-inputs: Likewise.
58262         * benchtests/acosh-inputs: New inputs.
58263         * benchtests/asinh-inputs: Likewise.
58265         * benchtests/cosh-inputs: New inputs.
58266         * benchtests/sinh-inputs: Likewise.
58268         * benchtests/acos-inputs: Add more inputs.
58269         * benchtests/asin-inputs: Likewise.
58271 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58273         [BZ #16375]
58274         * manual/arith.texi: Fix spelling.
58275         * manual/charset.texi: Likewise.
58276         * manual/errno.texi: Likewise.
58277         * manual/filesys.texi: Likewise.
58278         * manual/lang.texi: Likewise.
58279         * manual/llio.texi: Likewise.
58280         * manual/locale.texi: Likewise.
58281         * manual/message.texi: Likewise.
58282         * manual/resource.texi: Likewise.
58283         * manual/search.texi: Likewise.
58284         * manual/setjmp.texi: Likewise.
58285         * manual/stdio.texi: Likewise.
58286         * manual/string.texi: Likewise.
58287         * manual/sysinfo.texi: Likewise.
58288         * manual/time.texi: Likewise.
58290 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58292         * po/sl.po: New file.
58294 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58296         * .gitignore: Add core/.gdbinit/.gdb_history.
58298 2013-12-27  Allan McRae  <allan@archlinux.org>
58300         [BZ #16369]
58301         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58302         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58304 2013-12-24  Brooks Moses  <bmoses@google.com>
58306         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58307         all compilers that claim C++98 compliance, not just GCC.
58308         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58309         Likewise.
58311 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58313         * NEWS: Restore accidentally deleted bug-fix entries.
58315 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58316             Ondřej Bílka  <neleai@seznam.cz>
58318         [BZ #15073]
58319         * malloc/malloc.c (_int_free): Perform sanity check only if we
58320         have_lock.
58322 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
58324         [BZ #12986]
58325         * manual/stdio.texi (String Input Conversions): Clarify that character
58326         classes are not supported.
58328 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58332 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58334         [BZ #16337]
58335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58336         Calculate results for small negative arguments directly rather
58337         than using reflection formula with special underflow handling.
58339         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58340         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58341         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58342         (fchflags): Likewise.
58343         (revoke): Likewise.
58344         (setlogin): Likewise.
58345         (sigaltstack): Likewise.
58346         (wait4): Likewise.
58347         (sigblock): Remove.
58348         (sigsetmask): Likewise.
58349         (wait3): Likewise.
58350         (waitpid): Likewise.
58351         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58352         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58353         file.
58354         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58355         * sysdeps/unix/bsd/Makefile: ... here.
58356         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58357         * sysdeps/unix/bsd/Versions: ... here.
58358         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58359         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58360         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58361         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58362         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58363         * sysdeps/unix/bsd/sigblock.c: ... here.
58364         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58365         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58366         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58367         * sysdeps/unix/bsd/sigvec.c: ... here.
58368         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58369         * sysdeps/unix/bsd/tcdrain.c: ... here.
58370         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58371         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58372         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58373         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58374         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58375         * sysdeps/unix/bsd/wait.c: ... here.
58376         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58377         * sysdeps/unix/bsd/wait3.c: ... here.
58378         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58379         * sysdeps/unix/bsd/waitpid.c: ... here.
58381 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58383         [BZ #16356]
58384         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58385         round-to-nearest for [!USE_AS_EXPM1L].
58386         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58387         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58388         more tests of exp and exp10.  Expect some exp10 tests to miss
58389         exceptions or fail in directed rounding modes.
58390         * math/auto-libm-test-out: Regenerated.
58391         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58392         (exp10_test_tonearest): New function.
58393         (exp10_towardzero_test_data): New array.
58394         (exp10_test_towardzero): New function.
58395         (exp10_downward_test_data): New array.
58396         (exp10_test_downward): New function.
58397         (exp10_upward_test_data): New array.
58398         (exp10_test_upward): New function.
58399         (main): Call the new functions.
58400         * sysdeps/i386/fpu/libm-test-ulps: Update.
58401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58403 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58405         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58406         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58407         * math/auto-libm-test-out: Regenerated.
58408         * math/libm-test.inc (acosh_test_data): Add more tests.
58409         (atanh_test_data): Likewise.
58410         (ceil_test_data): Likewise.
58411         (copysign_test_data): Likewise.
58412         * sysdeps/i386/fpu/libm-test-ulps: Update.
58413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58415         * timezone/checktab.awk: Update from tzcode 2013i.
58416         * timezone/private.h: Likewise.
58417         * timezone/scheck.c: Likewise.
58418         * timezone/tzfile.h: Likewise.
58419         * timezone/tzselect.ksh: Likewise.
58420         * timezone/zdump.c: Likewise.
58421         * timezone/zic.c: Likewise.
58423         * math/auto-libm-test-in: Add tests of cpow.
58424         * math/auto-libm-test-out: Regenerated.
58425         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58426         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58427         mpc_cc_c.
58428         (func_calc_desc): Add mpc_cc_c union field.
58429         (test_functions): Add cpow.
58430         (special_fill_2pi): New function.
58431         (special_real_inputs): Add 2pi.
58432         (calc_generic_results): Handle mpc_cc_c.
58433         * sysdeps/i386/fpu/libm-test-ulps: Update.
58434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58436         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58437         csqrt, ctan and ctanh.
58438         * math/auto-libm-test-out: Regenerated.
58439         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58440         (TEST_COND_x86): Likewise.
58441         (ccos_test_data): Use AUTO_TESTS_c_c.
58442         (ccosh_test_data): Likewise.
58443         (cexp_test_data): Likewise.
58444         (clog_test_data): Likewise.
58445         (csqrt_test_data): Likewise.
58446         (ctan_test_data): Likewise.
58447         (ctan_tonearest_test_data): Likewise.
58448         (ctan_towardzero_test_data): Likewise.
58449         (ctan_downward_test_data): Likewise.
58450         (ctan_upward_test_data): Likewise.
58451         (ctanh_test_data): Likewise.
58452         (ctanh_tonearest_test_data): Likewise.
58453         (ctanh_towardzero_test_data): Likewise.
58454         (ctanh_downward_test_data): Likewise.
58455         (ctanh_upward_test_data): Likewise.
58456         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58457         mpc_c_c.
58458         (func_calc_desc): Add mpc_c_c union field.
58459         (FUNC_mpc_c_c): New macro.
58460         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58461         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58462         ctanh.
58463         (special_fill_min_subnorm_p120): New function.
58464         (special_real_inputs): Add min_subnorm_p120.
58465         (calc_generic_results): Handle mpc_c_c.
58466         * sysdeps/i386/fpu/libm-test-ulps: Update.
58467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58469 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58471         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58472         (do_sin_slow): New functions.
58473         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58474         (cslow2, csloww1, csloww2): Use the new functions.
58476         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58477         Use M to change sign of result instead of X.  Assume X is
58478         positive.
58479         (csloww1): Likewise.
58480         (__sin): Adjust.
58481         (__cos): Adjust.
58483         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58484         arguments A and DA.
58485         (__sin): Adjust.
58486         (__cos): Likewise.
58488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58489         (__cos): Likewise.
58490         (sloww1): Don't adjust sign of DX.
58491         (csloww1): Likewise.
58492         (sloww2): Use X directly and don't adjust sign of DX.
58493         (csloww2): Likewise.
58495 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58497         * math/auto-libm-test-in: Add tests of cabs and carg.
58498         * math/auto-libm-test-out: Regenerated.
58499         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58500         (carg_test_data): Likewise.
58501         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58502         mpc_c_f.
58503         (func_calc_desc): Add mpc_c_f union field.
58504         (test_functions): Add cabs and carg.
58505         (calc_generic_results): Handle mpc_c_f.
58507         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58508         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58509         as a macro and a compat symbol.
58510         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58511         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58512         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58513         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58514         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58515         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58516         not use .hidden.
58517         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58518         Likewise.
58519         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58520         Likewise.
58521         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58522         Likewise.
58523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58524         Likewise.
58525         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58526         Likewise.
58527         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58528         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58529         from GLIBC_2.3.2.
58531 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58535 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58537         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58538         trailing whitespace removed.
58539         * scripts/config.guess: Update to version 2013-11-29.
58540         * scripts/config.sub: Update to version 2013-10-01.
58542         * math/auto-libm-test-in: Add tests of sincos.
58543         * math/auto-libm-test-out: Regenerated.
58544         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58545         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58546         mpfr_f_11.
58547         (func_calc_desc): Add mpfr_f_11 union field.
58548         (test_functions): Add sincos.
58549         (calc_generic_results): Handle mpfr_f_11.
58550         * sysdeps/i386/fpu/libm-test-ulps: Update.
58551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58553 2013-12-19  Andreas Schwab  <schwab@suse.de>
58555         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58556         CALL_MCOUNT.
58557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58558         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58559         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58561 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58563         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58564         * sysdeps/i386/fpu/libm-test-ulps: Update.
58565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58567         [BZ #16293]
58568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58569         round-to-nearest mode when using frndint.
58570         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58571         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58572         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58573         Likewise.
58574         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58575         sinh test to fail.
58576         * math/auto-libm-test-out: Regenerated.
58577         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58578         (TEST_COND_x86): Likewise.
58579         (expm1_tonearest_test_data): New array.
58580         (expm1_test_tonearest): New function.
58581         (expm1_towardzero_test_data): New array.
58582         (expm1_test_towardzero): New function.
58583         (expm1_downward_test_data): New array.
58584         (expm1_test_downward): New function.
58585         (expm1_upward_test_data): New array.
58586         (expm1_test_upward): New function.
58587         (main): Run the new test functions.
58588         * sysdeps/i386/fpu/libm-test-ulps: Update.
58589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58591         * include/features.h: Update comment documenting feature test
58592         macros.  Mention _DEFAULT_SOURCE in comment.
58593         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58594         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58595         _BSD_SOURCE and _SVID_SOURCE.
58596         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58597         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58598         !_SVID_SOURCE]: Likewise.
58599         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58600         (__USE_POSIX_IMPLICITLY): Define.
58601         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58602         (_POSIX_SOURCE): Undefine and redefine.
58603         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58604         (_POSIX_C_SOURCE): Likewise.
58605         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58606         (Feature Test Macros): Update documentation of default features.
58608 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58610         * benchtests/Makefile: Add bench-strtok.
58611         * benchtests/bench-strtok.c: New file: strtok benchtest.
58613 2013-12-19  Allan McRae  <allan@archlinux.org>
58615         * manual/install.texi: Suppress menu for plain text output.
58616         * INSTALL: Regenerated.
58618 2013-12-18  Brooks Moses  <bmoses@google.com>
58620         [BZ #15846]
58621         * misc/getauxval.c: Include errno.h.
58622         (__getauxval): Set errno to ENOENT if the requested type is not
58623         found.
58624         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58625         don't declare with __attribute_const__.
58626         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58627         * manual/startup.texi: Document that getauxval sets errno.
58629 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58631         * math/auto-libm-test-in: Add tests of jn and yn.
58632         * math/auto-libm-test-out: Regenerated.
58633         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58634         (yn_test_data): Likewise.
58635         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58636         mpfr_if_f.
58637         (func_calc_desc): Add mpfr_if_f union field.
58638         (FUNC_mpfr_if_f): New macro.
58639         (test_functions): Add jn and yn.
58640         (calc_generic_results): Assert type of second input for
58641         mpfr_ff_f.  Handle mpfr_if_f.
58642         (output_for_one_input_case): Disable all checking for arguments
58643         fitting floating-point types in case of an integer argument.
58644         * sysdeps/i386/fpu/libm-test-ulps: Update.
58645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58648         Don't expect fegetround reference in libm.so.
58650 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58652         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58653         $(config-cflags-nofma).
58655 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58657         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58658         * math/auto-libm-test-out: Regenerated.
58660         [BZ #16338]
58661         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58662         to determine exponent and adjust argument to have exponent of -1.
58663         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58664         log2.
58665         * math/auto-libm-test-out: Regenerated.
58666         * sysdeps/i386/fpu/libm-test-ulps: Update.
58667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58669 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
58671         * manual/probes.texi: Remove cases when per-thread arenas are
58672         disabled.
58674 2013-12-18  Andreas Schwab  <schwab@suse.de>
58676         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58677         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58678         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58679         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58680         * sysdeps/i386/i686/multiarch/Makefile: Update.
58681         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58683 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58685         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58686         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58688 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58690         [BZ #15968]
58691         Support TZ transition times < 00:00:00.
58692         This is needed for version-3 tz-format files; it supports time
58693         stamps past 2037 for America/Godthab (the only entry in the tz
58694         database for which this change is relevant).
58695         * manual/time.texi (TZ Variable): Document transition times
58696         from -167:59:59 through -00:00:01.
58697         * time/tzset.c (tz_rule): Time of day is now signed.
58698         (__tzset_parse_tz): Parse negative time of day.
58700         Document TZ transition times >= 25:00:00.
58701         * manual/time.texi (TZ Variable): Document transition times from
58702         25:00:00 through 167:59:59.  These are already supported, and this
58703         support will help with version-3 tz-format files.
58705         * manual/time.texi (TZ Variable): Modernize North America example
58706         to reflect current (i.e., 2007-and-later) daylight saving rules.
58708         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58710 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58712         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58713         * sysdeps/unix/bsd/bits/stat.h: Likewise.
58714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58715         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58716         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58717         * sysdeps/unix/bsd/bsdstat.h: Likewise.
58718         * sysdeps/unix/bsd/clock.c: Likewise.
58719         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58720         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58721         * sysdeps/unix/bsd/init-posix.c: Likewise.
58722         * sysdeps/unix/bsd/poll.c: Likewise.
58723         * sysdeps/unix/bsd/ptsname.c: Likewise.
58724         * sysdeps/unix/bsd/seekdir.c: Likewise.
58725         * sysdeps/unix/bsd/setegid.c: Likewise.
58726         * sysdeps/unix/bsd/seteuid.c: Likewise.
58727         * sysdeps/unix/bsd/setgid.c: Likewise.
58728         * sysdeps/unix/bsd/setrgid.c: Likewise.
58729         * sysdeps/unix/bsd/setruid.c: Likewise.
58730         * sysdeps/unix/bsd/setsid.c: Likewise.
58731         * sysdeps/unix/bsd/setuid.c: Likewise.
58732         * sysdeps/unix/bsd/sigaction.c: Likewise.
58733         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58734         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58735         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58736         * sysdeps/unix/bsd/telldir.c: Likewise.
58737         * sysdeps/unix/bsd/times.c: Likewise.
58738         * sysdeps/unix/bsd/usleep.c: Likewise.
58740         * misc/Makefile (install-lib): Remove libbsd-compat.a.
58741         ($(objpfx)libbsd-compat.a): Remove rule.
58743         * include/features.h (__FAVOR_BSD): Do not define.
58744         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58745         features conflicting with POSIX.
58746         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58747         (_BSD_SOURCE): Remove description of not being a subset of other
58748         feature test macros.
58749         * manual/job.texi (getpgrp): Do not document BSD version.
58750         (getpgid): Do not document by reference to BSD getpgrp.
58751         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58752         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58753         * signal/signal.h [__FAVOR_BSD]: Likewise.
58754         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58755         instead of making contents conditional on [__FAVOR_BSD].
58756         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58758 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58762 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58764         [BZ #16314]
58765         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58766         values below 2**-450, not 2**-500.
58767         * math/auto-libm-test-in: Don't allow spurious underflow from
58768         hypot.
58769         * math/auto-libm-test-out: Regenerated.
58771         [BZ #16316]
58772         [BZ #16330]
58773         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58774         values of ha and hb and sort them after adjusting subnormal
58775         arguments.
58776         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58777         Likewise.
58778         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58779         values of ea and eb and sort them after adjusting subnormal
58780         arguments.
58781         * math/auto-libm-test-in: Do not expect some hypot tests of
58782         subnormals to fail.  Add more hypot tests.
58783         * math/auto-libm-test-out: Regenerated.
58785 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58787         [BZ #13304]
58788         * sysdeps/sh/s_fma.c: New file.
58789         * sysdeps/sh/s_fmaf.c: New file.
58790         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
58791         version.
58792         * sysdeps/sh/Implies: Add sh/soft-fp.
58794 2013-12-16  Roland McGrath  <roland@hack.frob.com>
58796         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
58797         level of indirection to members `objname', `errstring', `malloced'.
58798         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58799         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
58800         it as the __longjmp argument (just pass 1 instead).
58801         (_dl_catch_error): Initialize C with argument pointers and address of
58802         volatile local ERRCODE rather than copying values out of C at return.
58804 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
58806         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58807         * math/auto-libm-test-out: Regenerated.
58808         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58809         (hypot_test_data): Likewise.
58810         (pow_test_data): Likewise.
58811         (pow_tonearest_test_data): Likewise.
58812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58813         mpfr_ff_f.
58814         (func_calc_desc): Add mpfr_ff_f union field.
58815         (FUNC_mpfr_ff_f): New macro.
58816         (test_functions): Add atan2, hypot and pow.
58817         (special_fill_min): New function.
58818         (special_fill_minus_min): Likewise.
58819         (special_fill_min_subnorm): Likewise.
58820         (special_fill_minus_min_subnorm): Likewise.
58821         (special_real_inputs): Add min, -min, min_subnorm and
58822         -min_subnorm.
58823         (calc_generic_results): Handle mpfr_ff_f.
58824         * sysdeps/i386/fpu/libm-test-ulps: Update.
58825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58827 2013-12-16  Will Newton  <will.newton@linaro.org>
58829         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58830         (Aligned Memory Blocks): Add documentation for aligned_alloc
58831         and suggest it as an alternative to posix_memalign.
58832         (Hooks for Malloc): Document __memalign_hook is also called
58833         for aligned_alloc.  (Summary of Malloc): Add summary for
58834         aligned alloc.  Document __memalign_hook is also called
58835         for aligned_alloc.
58837 2013-12-16  Will Newton  <will.newton@linaro.org>
58839         * manual/memory.texi (Malloc Examples): Clarify default
58840         alignment documentation.  Suggest posix_memalign rather
58841         than memalign or valloc.
58842         (Aligned Memory Blocks): Remove suggestion to use memalign
58843         or valloc.  Remove obsolete comment about BSD.
58844         Document memalign errno values and mark the function obsolete.
58845         Document posix_memalign returned error codes.  Mark valloc
58846         as obsolete.  (Hooks for Malloc): __memalign_hook is also
58847         called for posix_memalign and valloc.
58848         (Summary of Malloc): Add posix_memalign to function summary.
58849         __memalign_hook is also called for posix_memalign and valloc.
58851 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58853         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58854         TAYLOR_SIN.
58855         (__sin): Adjust.
58856         (__cos): Likewise.
58857         (sloww): Use mynumber union.  Expand ternary operator into
58858         if-else statements.
58859         (cslow): use mynumber union.
58861 2013-12-16  Allan McRae  <allan@archlinux.org>
58863         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58864         * configure: Regenerated.
58866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58868         [BZ #14120]
58869         * configure.ac: Added --enable-maintainer-mode. Check for
58870         autoconf when enabled.
58871         * configure: Regenerated.
58873         * nscd/nscd.service: New file.
58874         * nscd/nscd.tmpfiles: New file.
58876 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
58878         [BZ #12100]
58879         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58880         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58881         * sysdeps/x86_64/multiarch/strstr.c: ... here.
58882         (strstr): Add __strstr_sse2_unaligned ifunc.
58883         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58884         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58885         (strcasestr): Remove __strcasestr_sse42 ifunc.
58886         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58890 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58892         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58893         * sysdeps/sh/bits/fenv.h: ... here.
58894         * sysdeps/sh/sh4/fpu/bits: Remove directory.
58896 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58898         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58901         hypotf multiarch implementations.
58902         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58903         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58904         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58905         multiarch hypot for PPC64.
58906         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58909         multiarch hypotf for PPC64.
58911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58912         modff multiarch implementations.
58913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58916         multiarch modf for PPC64.
58917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58920         multiarch modff for PPC64.
58922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58923         and logl multiarch implementations.
58924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58927         multiarch logb for PPC64.
58928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58931         multiarch logb for PPC64.
58932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58935         multiarch logb for PPC64.
58937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58938         isinff multiarch implementation.
58939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58940         file.
58941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58943         multiarch isinf for PPC64.
58944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58945         file.
58946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58947         multiarch isinff for PPC64.
58949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58950         finitef multiarch implementation.
58951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58952         file.
58953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58955         multiarch finite for PPC64.
58956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58957         file.
58958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58959         multiarch finitef for PPC64.
58961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58962         lrint multiarch implementation.
58963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58964         file.
58965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58967         multiarch llrint for PPC64.
58968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58969         multiarch lrint for PPC64.
58971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58972         copysignf multiarch implementation.
58973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58974         file.
58975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58976         file.
58977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58978         multiarch copysign for PPC64.
58979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58980         multiarch copysignf for PPC64.
58982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58983         multiarch implementation.
58984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58985         file.
58986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58987         file.
58988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58989         file.
58990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58991         file.
58992         multiarch llround for PPC64.
58993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58994         multiarch trunc for PPC64.
58995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58996         multiarch truncf for PPC64.
58998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58999         multiarch implementation.
59000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59001         file.
59002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59003         file.
59004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59005         file.
59006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59007         file.
59008         multiarch llround for PPC64.
59009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59010         multiarch round for PPC64.
59011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59012         multiarch roundf for PPC64.
59014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59015         multiarch implementation.
59016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59017         file.
59018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59019         file.
59020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59021         file.
59022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59023         file.
59024         multiarch llround for PPC64.
59025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59026         multiarch floor for PPC64.
59027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59028         multiarch floorf for PPC64.
59030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59031         multiarch implementation.
59032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59033         file.
59034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59035         file.
59036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59037         file.
59038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59039         file.
59040         multiarch llround for PPC64.
59041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59042         multiarch ceil for PPC64.
59043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59044         multiarch ceilf for PPC64.
59046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59047         multiarch implementation.
59048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59049         file.
59050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59051         file.
59052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59053         file.
59054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59055         multiarch llround for PPC64.
59056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59057         multiarch lround for PPC64.
59059         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59060         multiarch implementation.
59061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59064         file.
59065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59068         multiarch isnan for PPC64.
59069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59070         multiarch isnanf for PPC64.
59072         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59073         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59074         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59075         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59076         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59079         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59080         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59081         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59085         multiarch implementations.
59086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59087         (__libc_ifunc_impl_list): Likewise.
59088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59089         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59090         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59091         multiarch stpcpy for PPC64.
59093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59094         multiarch implementations.
59095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59096         (__libc_ifunc_impl_list): Likewise.
59097         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59098         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59099         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59100         multiarch strcpy for PPC64.
59102         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59103         redefine function name.
59104         (_wordcopy_fwd_dest_aligned): Likewise.
59105         (_wordcopy_bwd_aligned): Likewise.
59106         (_wordcopy_bwd_dest_aligned): Likewise.
59107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59108         multiarch implementations.
59109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59110         (__libc_ifunc_impl_list): Likewise.
59111         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59113         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59114         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59115         multiarch wcscpy for PPC64.
59117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59118         multiarch implementations.
59119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59120         (__libc_ifunc_impl_list): Likewise.
59121         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59122         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59123         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59124         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59125         multiarch wcscpy for PPC64.
59127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59128         multiarch implementations.
59129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59130         (__libc_ifunc_impl_list): Likewise.
59131         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59132         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59133         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59134         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59135         multiarch wcsrchr for PPC64.
59137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59138         multiarch implementations.
59139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59140         (__libc_ifunc_impl_list): Likewise.
59141         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59142         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59143         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59144         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59145         multiarch wcschr for PPC64.
59147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59148         multiarch implementations.
59149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59150         (__libc_ifunc_impl_list): Likewise.
59151         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59152         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59153         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59154         multiarch strchrnul for PPC64.
59156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59157         implementations.
59158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59159         (__libc_ifunc_impl_list): Likewise.
59160         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59161         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59162         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59163         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59164         strchr for PPC64.
59166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59167         implementations.
59168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59169         (__libc_ifunc_impl_list): Likewise.
59170         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59171         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59172         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59173         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59174         strncmp for PPC64.
59176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59177         multiarch implementations.
59178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59179         (__libc_ifunc_impl_list): Likewise.
59180         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59181         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59182         strncasecmp for PPC64.
59183         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59184         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59185         multiarch strncasecmp_l for PPC64.
59187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59188         multiarch implementations.
59189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59190         (__libc_ifunc_impl_list): Likewise.
59191         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59193         multiarch strcasecmp for PPC64.
59194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59195         file.
59196         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59197         multiarch strcasecmp_l for PPC64.
59199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59200         implementations.
59201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59202         (__libc_ifunc_impl_list): Likewise.
59203         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59204         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59205         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59206         strnlen for PPC64.
59208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59209         implementations.
59210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59211         (__libc_ifunc_impl_list): Likewise.
59212         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59213         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59214         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59215         strlen for PPC64.
59217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59218         implementations.
59219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59220         (__libc_ifunc_impl_list): Likewise.
59221         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59222         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59223         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59224         rawmemrchr for PPC64.
59226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59227         implementation.
59228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59229         (__libc_ifunc_impl_list): Likewise.
59230         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59231         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59232         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59233         memrchr for PPC64.
59235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59236         implementation.
59237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59238         (__libc_ifunc_impl_list): Likewise.
59239         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59240         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59241         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59242         memchr for PPC64.
59244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59245         implementation.
59246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59247         (__libc_ifunc_impl_list): Likewise.
59248         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59249         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59250         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59251         mempcpy for PPC64.
59253         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59254         avoid cretion of __bzero symbol.
59255         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59256         Likewise.
59257         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59258         Likewise.
59259         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59260         Likewise.
59261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59262         multiarch implementations.
59263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59264         (__libc_ifunc_impl_list): Likewise.
59265         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59267         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59268         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59269         bzero for PPC32.
59270         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59271         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59272         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59273         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59274         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59275         memset for PPC64.
59276         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59278         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59280         implementations.
59281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59282         (__libc_ifunc_impl_list): Likewise.
59283         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59284         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59285         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59286         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59287         memcmp for PPC64.
59289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59290         multiarch for POWER/PPC64.
59291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59292         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59293         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59294         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59295         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59297         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59299         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59300         memcpy for PPC64.
59302         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59303         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59304         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59305         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59306         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59307         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59308         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59309         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59310         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59311         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59312         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59313         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59314         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59315         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59316         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59325 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59327         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59329 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59331         * benchtests/Makefile (bench): Add exp2 and log2.
59332         (LDLIBS-bench-exp2): Add -lm.
59333         (LDLIBS-bench-log2): Likewise.
59334         * benchtests/exp2-inputs: New inputs file.
59335         * benchtests/log2-inputs: New inputs file.
59336         * benchtests/log-inputs: Add new inputs.
59337         * benchtests/tan-inputs: Likewise.
59339 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59341         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59342         definition...
59343         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59344         (csloww2): ... from here.
59346         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59347         instead of structures.
59348         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59349         (POLYNOMIAL): Likewise.
59350         (TAYLOR_SLOW): Likewise.
59351         (__sin): Likewise.
59352         (__cos): Likewise.
59353         (slow1): Likewise.
59354         (slow2): Likewise.
59355         (sloww): Likewise.
59356         (sloww1); Likewise.
59357         (sloww2): Likewise.
59358         (bsloww1): Likewise.
59359         (bsloww2): Likewise.
59360         (cslow2): Likewise.
59361         (csloww): Likewise.
59362         (csloww1): Likewise.
59363         (csloww2): Likewise.
59365 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
59367         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59368         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59369         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59370         * malloc/hooks.c (realloc_check): Likewise.
59372         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59373         * malloc/arena.c: Remove PER_THREAD conditional.
59374         [!PER_THREAD]: Remove code.
59375         (ptmalloc_unlock_all2): Likewise.
59376         (ptmalloc_init): Likewise.
59377         (_int_new_arena): Likewise.
59378         (arena_get2): Likewise.
59379         * malloc/hooks.c (__malloc_get_state): Likewise.
59380         (__malloc_set_state): Likewise.
59381         * malloc/malloc.c: Likewise.
59382         (struct malloc_state): Likewise.
59383         (struct malloc_par): Likewise.
59384         (__libc_realloc): Likewise.
59385         (__libc_mallopt): Likewise.
59387 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59389         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59391 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59393         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59394         macro to a function.  Check for zero perturb_byte.
59395         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59397         * malloc/malloc.c: (force_reg): Remove.
59398         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59399         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59400         force_reg by atomic_forced_read.
59401         * malloc/arena.c (ptmalloc_init): Likewise.
59402         * malloc/hooks.c (top_check): Likewise.
59404 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59408 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59412 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59414         * math/auto-libm-test-in: Add tests of lgamma.
59415         * math/auto-libm-test-out: Regenerated.
59416         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59417         (M_LOG_2_SQRT_PIl): Likewise.
59418         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59419         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59420         mpfr_f_f1.
59421         (func_calc_desc): Add mpfr_f_f1 union field.
59422         (ARGS1): New macro.
59423         (ARGS2): Likewise.
59424         (ARGS3): Likewise.
59425         (ARGS4): Likewise.
59426         (RET1): Likewise.
59427         (RET2): Likewise.
59428         (CALC): Likewise.
59429         (FUNC): Likewise.
59430         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59431         (test_functions): Add lgamma.
59432         (calc_generic_results): Handle mpfr_f_f1.
59433         * sysdeps/i386/fpu/libm-test-ulps: Update.
59434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59438         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59439         __mpn_add_n for PowerPC64/POWER7.
59440         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59441         __mpn_sub_n for PowerPC64/POWER7.
59443         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59444         __mpn_addmul_1 for PowerPC64.
59445         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59446         __mpn_submul_1 for PowerPC64.
59447         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59448         for PowerPC64.
59449         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59450         for PowerPC64.
59452 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59454         [BZ #15089]
59455         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59457 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59459         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59461         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59462         add multiarch folders.
59463         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59464         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59465         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59466         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59467         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59468         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59469         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59470         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59471         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59472         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59473         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59482         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59484         New file.
59485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59486         New file.
59487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59488         multiarch __ieee754_hypot for PowerPC32.
59489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59490         New file.
59491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59492         New file.
59493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59494         multiarch __ieee754_hypotf for PowerPC32.
59496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59497         long_double_symbol only if __logbl is defined.
59498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59499         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59500         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59501         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59502         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59503         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59504         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59505         path for implementation.
59506         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59507         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59509         logb, and logbl multiarch implementations for PowerPC32.
59510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59511         file.
59512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59513         file.
59514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59515         multiarch logb for PowerPC32.
59516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59517         file.
59518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59519         file.
59520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59521         multiarch logbf for PowerPC32.
59522         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59524         file.
59525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59526         multiarch logbl implementation for PowerPC32.
59528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59529         and modff multiarch implementations.
59530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59531         New file.
59532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59533         New file.
59534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59535         multiarch modf for PowerPC32.
59536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59537         New file.
59538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59539         New file.
59540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59541         multiarch modff for PowerPC32.
59543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59544         and lrintf multiarch implementations.
59545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59546         New file.
59547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59548         New file.
59549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59550         multiarch lrint for PowerPC32.
59551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59552         file: multiarch lrintf for PowerPC32.
59554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59555         and lroundf multiarch implementations.
59556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59557         New file.
59558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59559         New file.
59560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59561         New file.
59562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59563         multiarch lround for PowerPC32.
59564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59565         file: multiarch lroundf for PowerPC32.
59567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59568         copysign and copysignf multiarch implementations.
59569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59570         New file.
59571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59572         New file.
59573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59574         file: multiarch copysign for PowerPC32.
59575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59576         file: multiarch copysignf for PowerPC32.
59578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59579         and truncf multiarch implementations.
59580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59581         New file.
59582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59583         file.
59584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59585         multiarch trunc for PowerPC32.
59586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59587         New file.
59588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59589         New file.
59590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59591         multiarch truncf for PowerPC32.
59593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59594         and roundf multiarch implementations.
59595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59596         New file.
59597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59598         file.
59599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59600         multiarch round for PowerPC32.
59601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59602         New file.
59603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59604         New file.
59605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59606         multiarch roundf for PowerPC32.
59608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59609         and floorf multiarch implementations.
59610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59611         New file.
59612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59613         file.
59614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59615         multiarch floor for PowerPC32.
59616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59617         New file.
59618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59619         New file.
59620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59621         multiarch floorf for PowerPC32.
59623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59624         and ceilf multiarch implementations.
59625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59626         New file.
59627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59628         file.
59629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59630         multiarch ceil for PowerPC32.
59631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59632         New file.
59633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59634         file.
59635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59636         multiarch ceilf for PowerPC32.
59638         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59639         is defined.
59640         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59641         FINITEF is defined.
59642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59643         and finitef multiarch implementations.
59644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59645         New file.
59646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59647         file.
59648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59649         multiarch finite for PowerPC32.
59650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59651         New file.
59652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59653         file: multiarch finitef for PowerPC32.
59655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59656         and isinff multiarch implementations.
59657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59658         file.
59659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59660         file.
59661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59662         multiarch isinf for PowerPC32.
59663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59664         New file.
59665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59666         multiarch isinff for PowerPC32.
59668         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59669         alias when __isnan is defined.
59670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59671         and isnanf multiarch implementations.
59672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59673         file.
59674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59675         file.
59676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59677         file.
59678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59679         file.
59680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59681         multiarch isnan for PowerPC32.
59682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59683         New file.
59684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59685         New file.
59686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59687         multiarch isnanf for PowerPC32.
59689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59690         and sqrtf multiarch implementations.
59691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59692         file.
59693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59694         file.
59695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59696         multiarch sqrt for PowerPC32.
59697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59698         file.
59699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59700         file.
59701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59702         multiarch sqrtf for PowerPC32.
59704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59705         and llroundf multiarch implementations.
59706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59707         New file.
59708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59709         New file.
59710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59711         New file.
59712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59713         file: multiarch llround for PowerPC32.
59714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59715         file: multiarch llroundf for PowerPC32.
59717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59718         multiarch PowerPC32 fpu implementations.
59719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59720         New file.
59721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59722         New file.
59723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59724         multiarch llrint for PowerPC32.
59725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59726         New file.
59727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59728         New file.
59729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59730         file.
59732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59734         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59735         file.
59736         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59737         file.
59738         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59739         file.
59740         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59741         multiarch wordcopy for PPC32.
59742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59743         wordcopy objects.
59744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59745         (__libc_ifunc_impl_list): Likewise.
59746         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59747         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59748         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59749         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59750         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59751         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59753         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59755         file.
59756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59757         file.
59758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59759         file.
59760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59761         multiarch wcscpy for PPC32.
59762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59763         multiarch objects.
59764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59765         (__libc_ifunc_impl_list): Likewise.
59766         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59767         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59768         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59769         sysdeps/powerpc/power6/wcscpy.c.
59771         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59773         file.
59774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59775         file.
59776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59777         file.
59778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59779         multiarch wcsrchr for PPC32.
59780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59781         multiarch objects.
59782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59783         (__libc_ifunc_impl_list): Likewise.
59784         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59785         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59786         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59787         sysdeps/powerpc/power6/wcsrchr.c.
59789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59790         file.
59791         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59792         file.
59793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59795         multiarch wcschr for PPc32.
59796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59797         multiarch objects.
59798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59799         (__libc_ifunc_impl_list): Likewise.
59800         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59801         * sysdeps/powerpc/power6/wcschr.c: ... to here.
59802         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59803         sysdeps/powerpc/power6/wcschr.c.
59805         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59806         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59807         file.
59808         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59809         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59810         file: multiarch strchr for PPC32.
59811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59812         multiarch objects.
59813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59814         (__libc_ifunc_impl_list): Likewise.
59816         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59817         name.
59818         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59819         file.
59820         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59821         file.
59822         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59823         multiarch strchrnul for PPC32.
59824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59825         multiarch objects.
59826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59827         (__libc_ifunc_impl_list): Likewise.
59829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59830         file.
59831         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59832         multiarch strncasecmp for PPC32.
59833         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59834         file.
59835         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59836         multiarch strncasecmp_l for PPC32.
59837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59838         strncasecmp multiarch objects.
59839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59840         (__libc_ifunc_impl_list): Likewise.
59842         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59843         file.
59844         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59845         multiarch strncasecmp for PPC32.
59846         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59847         New file.
59848         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59849         multiarch strcasecmp_l for PPC32.
59850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59851         multiarch objects.
59852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59853         (__libc_ifunc_impl_list): Likewise.
59855         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59856         file.
59857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59858         file.
59859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59860         multiarch strncmp for PPC32.
59861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59862         multiarch objects.
59863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59864         (__libc_ifunc_impl_list): Likewise.
59866         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59867         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59868         file.
59869         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59870         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59872         multiarch objects.
59873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59874         (__libc_ifunc_impl_list): Likewise.
59876         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59877         file.
59878         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59879         file.
59880         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59882         multiarch objects.
59883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59884         (__libc_ifunc_impl_list): Likewise.
59886         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59887         file.
59888         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59889         file.
59890         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59891         multiarch rawmemchr for PPC32.
59892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59893         multiarch objects.
59894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59895         (__libc_ifunc_impl_list): Likewise.
59897         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59898         file.
59899         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59900         file.
59901         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59902         file: memrchr multiarch for PPC32.
59903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59904         multiarch objects.
59905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59906         (__libc_ifunc_impl_list): Likewise.
59908         * string/memchr.c (__memchr): Using macro to redefine symbol name.
59909         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59910         file.
59911         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59912         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59913         multiarch memchr for PPC32.
59914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59915         multiarch objects.
59916         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59917         (__libc_ifunc_impl_list): Likewise.
59919         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59920         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59921         file.
59922         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59923         file.
59924         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59925         file: multiarch mempcpy for PPC32.
59926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59927         multiarch objects.
59928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59929         (__libc_ifunc_impl_list): Likewise.
59931         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59933         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59934         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59935         multiarch bzero for PPC32.
59936         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59937         file.
59938         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59939         file.
59940         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59941         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59942         file: multiarch memset for PPC32.
59943         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59945         memset multiarch objects.
59946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59947         (__libc_ifunc_impl_list): Likewise.
59949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59950         file.
59951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59953         memcmp for PPC32.
59954         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59956         multiarch objects.
59957         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59958         (__libc_ifunc_impl_list): Likewise.
59960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59962         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59963         file.
59964         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59965         file.
59966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59967         file.
59968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59969         multiarch memcpy for PPC32.
59970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59971         multiarch objects.
59972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59973         (__libc_ifunc_impl_list): Likewise.
59975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59976         support multiarch for POWER/PPC32.
59977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59978         Likewise.
59979         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59981         Implies file to make multiarch folder appers before the fpu and
59982         default folder for power4 configuration.
59984 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59986         * scripts/bench.pl: Append volatile keyword to type.
59988 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59990         * sysdeps/sh/sotruss-lib.c: New file.
59991         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59993 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59997 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
59999         [BZ #6810]
60000         * math/w_tgamma.c: Include <errno.h>.
60001         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60002         * math/w_tgammaf.c: Include <errno.h>.
60003         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60004         * math/w_tgammal.c: Include <errno.h>.
60005         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60006         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60007         underflow.  Add more tgamma tests.
60008         * math/auto-libm-test-out: Regenerated.
60009         * sysdeps/i386/fpu/libm-test-ulps: Update.
60010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60012         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60013         sin, sinh, tan, tanh, tgamma, y0 and y1.
60014         * math/auto-libm-test-out: Regenerated.
60015         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60016         (TEST_COND_x86): Likewise.
60017         (M_E2l): Remove macro.
60018         (M_E3l): Likewise.
60019         (M_2_SQRT_PIl): Likewise.
60020         (M_SQRT_PIl): Likewise.
60021         (M_1_DIV_El): Likewise.
60022         (log_test_data): Use AUTO_TESTS_f_f.
60023         (log10_test_data): Likewise.
60024         (log1p_test_data): Likewise.
60025         (log2_test_data): Likewise.
60026         (sin_test_data): Likewise.
60027         (sin_tonearest_test_data): Likewise.
60028         (sin_towardzero_test_data): Likewise.
60029         (sin_downward_test_data): Likewise.
60030         (sin_upward_test_data): Likewise.
60031         (sinh_test_data): Likewise.
60032         (sinh_tonearest_test_data): Likewise.
60033         (sinh_towardzero_test_data): Likewise.
60034         (sinh_downward_test_data): Likewise.
60035         (sinh_upward_test_data): Likewise.
60036         (tan_test_data): Likewise.
60037         (tan_tonearest_test_data): Likewise.
60038         (tan_towardzero_test_data): Likewise.
60039         (tan_downward_test_data): Likewise.
60040         (tan_upward_test_data): Likewise.
60041         (tanh_test_data): Likewise.
60042         (tgamma_test_data): Likewise.
60043         (y0_test_data): Likewise.
60044         (y1_test_data): Likewise.
60045         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60046         (special_real_inputs): Add pi/4.
60047         * sysdeps/i386/fpu/libm-test-ulps: Update.
60048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60050 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60052         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60053         "longjmp_target" static probes.
60054         (__longjmp): Rename to __longjmp_symbol.
60055         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60056         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60057         on which longjmp to generate.
60058         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60059         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60060         probe.
60061         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60062         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60063         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60064         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60065         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60066         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60068         __longjmp_symbol based on which __longjmp to generate.
60069         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60070         probe.
60071         (setjmp): Rename to setjmp_symbol.
60072         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60073         (_setjmp): Rename to _setjmp_symbol.
60074         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60075         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60076         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60077         which setjmp to generate.
60078         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60079         "longjmp_target" static probes.
60081 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60083         * benchtests/README: Add note about output arguments.
60084         * benchtests/bench-sincos.c: Remove file.
60085         * benchtests/sincos-inputs: New file.
60086         * scripts/bench.pl: Identify output arguments and define
60087         static variables for them.
60089         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60091         [BZ #15941]
60092         * Makefile (INSTALL): Add install-plain.texi as the primary
60093         dependency.
60094         * manual/install-plain.texi: New file.
60095         * manual/install.texi: Include node directive only for
60096         non-plaintext output.
60098 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60100         * stdlib/longlong.h: Update from GCC.
60102         [BZ #6807]
60103         [BZ #15901]
60104         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60105         * math/w_j0f.c (y0f): Likewise.
60106         * math/w_j0l.c (__y0l): Likewise.
60107         * math/w_j1.c (y1): Likewise.
60108         * math/w_j1f.c (y1f): Likewise.
60109         * math/w_j1l.c (__y1l): Likewise.
60110         * math/w_jn.c (yn): Likewise.
60111         * math/w_jnf.c (ynf): Likewise.
60112         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60113         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60114         value for Bessel function domain errors outside _SVID_ mode.
60115         Adjust sign of return value for yn (negative integer, 0).
60116         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60117         by zero in return for negative x and set sign appropriately for
60118         negative n.
60119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60120         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60121         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60122         expectations in error cases.
60123         (y1_test_data): Likewise.
60124         (yn_test_data): Likewise.
60125         * sysdeps/i386/fpu/libm-test-ulps: Update.
60126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60128 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60130         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60131         "64" to "64-v1".  Add "64-v2".
60132         (abi-64-options): Rename to ...
60133         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60134         (abi-64-condition): Rename to ...
60135         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60136         (abi-64-ld-soname): Rename to ...
60137         (abi-64-v1-ld-soname): ... this.
60138         (abi-64-v2-options): Define.
60139         (abi-64-v2-condition): Likewise.
60140         (abi-64-v2-ld-soname): Likewise.
60141         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60142         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60147 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60148             Alan Modra  <amodra@gmail.com>
60150         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60151         New versions for use with the ELFv2 ABI.
60152         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60153         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60154         declaration.
60155         (struct La_ppc64v2_retval): Likewise.
60156         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60157         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60158         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60159         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60160         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60162         Do not save or restore CR.
60163         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60164         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60165         return values for ELFv2 ABI.  Fix location of FPR return registers.
60166         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60167         updated values for _CALL_ELF == 2.
60168         (La_regs, La_retval, int_retval): Likewise.
60170 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60172         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60173         (FRAME_MIN_SIZE_PARM): Likewise.
60174         (FRAME_BACKCHAIN): Likewise.
60175         (FRAME_CR_SAVE): Likewise.
60176         (FRAME_LR_SAVE): Likewise.
60177         (FRAME_TOC_SAVE): Likewise.
60178         (FRAME_PARM_SAVE): Likewise.
60179         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60180         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60181         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60182         (call_mcount_parm_offset): New macro.
60183         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60184         (PROF): Use symbolic stack frame offsets.
60185         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60186         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60187         Redefine in terms of FRAME_MIN_SIZE.
60188         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60189         (_dl_profile_resolve): Likewise.  Update comment.
60190         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60191         symbols stack frame offsets.
60192         (__sigsetjmp): Likewise.
60193         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60194         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60195         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60196         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60199         (FRAME_BACKCHAIN): Remove.
60200         (FRAME_CR_SAVE): Likewise.
60201         (FRAME_LR_SAVE): Likewise.
60202         (FRAME_COMPILER_DW): Likewise.
60203         (FRAME_LINKER_DW): Likewise.
60204         (FRAME_TOC_SAVE): Likewise.
60205         (FRAME_PARM_SAVE): Likewise.
60206         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60207         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60208         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60210         (CHECK_SP): Use symbolic stack frame offsets.
60211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60212         zone" instead of caller's parameter save area for temp storage.
60213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60214         Likewise.  Also, use symbolic stack frame offsets.
60215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60216         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60217         our own stack frame instead of the caller's.
60218         (__socket): Use symbolic stack frame offsets.
60220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60221             Alan Modra  <amodra@gmail.com>
60223         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60224         Define.
60225         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60226         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60227         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60228         New function.
60229         (elf_machine_fixup_plt): Call it.
60230         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60231         reloc arguments.
60232         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60233         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60234         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60235         r2 before calling target.
60237 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60238             Alan Modra  <amodra@gmail.com>
60240         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60241         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60242         versions of macros to support ELFv2 ABI.
60243         (LOCALENTRY): New macro.
60244         (ENTRY, EALIGN): Use it.
60245         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60246         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60247         fall through into ENTRY entry point.
60248         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60249         Only define if _CALL_ELF != 2.
60251         (elf_machine_matches_host): Verify ABI version matches.
60252         (RTLD_START): Use LOCALENTRY.
60253         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60254         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60255         (PLT_ENTRY_WORDS): New macro.
60256         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60257         (elf_machine_runtime_setup): Support ELFv2 ABI.
60258         (elf_machine_fixup_plt): Likewise.
60259         (elf_machine_plt_conflict): Likewise.
60260         (resolve_ifunc): Likewise.
60261         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60262         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60263         Likewise.
60264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60265         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60267         (makecontext): Support ELFv2 ABI.
60268         * elf/elf.h (EF_PPC64_ABI): Define.
60270 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60272         * sysdeps/powerpc/powerpc64/sysdep.h
60273         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60274         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60275         (ENTRY) [ASSEMBLER]: ... but instead here ...
60276         (EALIGN) [ASSEMBLER]: ... and here.
60277         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60278         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60279         (ENTRY_2) [!ASSEMBLER]: Use it.
60280         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60281         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60282         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60283         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60284         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60286         Use PPC64_LOAD_FUNCPTR.
60288         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60290 2013-12-04  Alan Modra  <amodra@gmail.com>
60292         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60293         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60294         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60295         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60298         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60299         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60300         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60301         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60302         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60304 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60307         (__makecontext): Fix incorrect CFI when backtracing out of
60308         context created via makecontext.
60309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60310         (__setcontext): Fix incorrect CFI during switch to new context.
60311         (__novec_setcontext): Likewise.
60313 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60315         [BZ #4772]
60316         * time/strptime_l.c (__strptime_internal): Allow modifiers
60317         in strptime.
60318         * time/tst-strptime.c (day_tests): Add testcase.
60320 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60322         * scripts/bench.pl: Skip over blank lines.
60324 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60326         [BZ #926]
60327         * manual/time.texi (Calendar Time): Clarify what timezone functions
60328         use.
60330 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60334 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60336         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60337         implementation.
60338         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60339         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60340         * debug/memset_chk.c (__memset_chk): Likewise.
60341         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60342         * debug/strncpy_chk.c: Likewise.
60344 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60346         [BZ #15268]
60347         [BZ #15425]
60348         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60349         (__ieee754_exp): For possibly underflowing results, check size of
60350         result and force underflow exception if required.
60351         * math/auto-libm-test-in: Add more tests of exp.
60352         * math/auto-libm-test-out: Regenerated.
60353         * sysdeps/i386/fpu/libm-test-ulps: Update.
60354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60356         [BZ #16283]
60357         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60358         * math/w_exp2f.c (__exp2f): Likewise.
60359         * math/w_exp2l.c (__exp2l): Likewise.
60360         * math/auto-libm-test-in: Do not allow missing errno on exp2
60361         underflow.
60362         * math/auto-libm-test-out: Regenerated.
60364 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
60366         [BZ #16274]
60367         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60368         handle filename validation.
60369         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60370         (do_open): Delete.
60372 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60374         [BZ #6786]
60375         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60376         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60377         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60378         <float.h>.
60379         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60380         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60381         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60383         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60384         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60385         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60386         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60387         Add more erfc tests.
60388         * math/auto-libm-test-out: Regenerated.
60389         * sysdeps/i386/fpu/libm-test-ulps: Update.
60390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60392         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60393         exp2, expm1, j0 and j1.
60394         * math/auto-libm-test-out: Regenerated.
60395         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60396         (erfc_test_data): Likewise.
60397         (exp_test_data): Likewise.
60398         (exp_tonearest_test_data): Likewise.
60399         (exp_towardzero_test_data): Likewise.
60400         (exp_downward_test_data): Likewise.
60401         (exp_upward_test_data): Likewise.
60402         (exp10_test_data): Likewise.
60403         (exp2_test_data): Likewise.
60404         (expm1_test_data): Likewise.
60405         (j0_test_data): Likewise.
60406         (j1_test_data): Likewise.
60407         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60408         (input_flag_type): Add flag_xfail_rounding.
60409         (input_flags): Add xfail-rounding.
60410         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60411         (output_for_one_input_case): Handle flag_xfail_rounding.
60412         * sysdeps/i386/fpu/libm-test-ulps: Update.
60413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60415 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60417         [BZ #16289]
60418         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60419         division by 0.
60421 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60423         [BZ #16195]
60424         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60425         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60426         (STAP_PROBE0): New macro.
60427         (STAP_PROBE1): Likewise.
60428         (STAP_PROBE2): Likewise.
60429         (STAP_PROBE3): Likewise.
60430         (STAP_PROBE4): Likewise.
60432 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60434         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60436 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60438         * benchtests/Makefile (bench): Add sqrt.
60439         (LDLIBS-bench-sqrt): New.
60440         * benchtests/sqrt-input: New.
60442 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60444         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60445         (GAIH_EAI): Likewise.
60446         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60447         (gaih_inet): Likewise.
60448         (getaddrinfo): Don't use GAIH_EAI.
60450         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60451         (struct gaih): Remove definition.
60453 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60455         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60456         Use HERRNOP directly.
60458 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60462 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60464         * math/gen-auto-libm-tests.c (test_functions): Add more
60465         single-argument functions.
60466         (special_fill_pi_2): New function.
60467         (special_fill_minus_pi_2): Likewise.
60468         (special_fill_pi_6): Likewise.
60469         (special_fill_minus_pi_6): Likewise.
60470         (special_fill_pi_3): Likewise.
60471         (special_fill_2pi_3): Likewise.
60472         (special_fill_e): Likewise.
60473         (special_fill_1_e): Likewise.
60474         (special_fill_e_minus_1): Likewise.
60475         (special_real_inputs): Add more special inputs.
60476         (output_for_one_input_case): Do not require ERANGE on underflow to
60477         zero if round-to-nearest result does not underflow to zero, unless
60478         exact results required.
60479         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60480         atan, atanh, cbrt, cos and cosh.
60481         * math/auto-libm-test-out: Regenerated.
60482         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60483         (acos_tonearest_test_data): Likewise.
60484         (acos_towardzero_test_data): Likewise.
60485         (acos_downward_test_data): Likewise.
60486         (acos_upward_test_data): Likewise.
60487         (acosh_test_data): Likewise.
60488         (asin_test_data): Likewise.
60489         (asin_tonearest_test_data): Likewise.
60490         (asin_towardzero_test_data): Likewise.
60491         (asin_upward_test_data): Likewise.
60492         (asinh_test_data): Likewise.
60493         (atan_test_data): Likewise.
60494         (atanh_test_data): Likewise.
60495         (cbrt_test_data): Likewise.
60496         (cos_test_data): Likewise.
60497         (cos_tonearest_test_data): Likewise.
60498         (cos_towardzero_test_data): Likewise.
60499         (cos_downward_test_data): Likewise.
60500         (cos_upward_test_data): Likewise.
60501         (cosh_test_data): Likewise.
60502         (cosh_tonearest_test_data): Likewise.
60503         (cosh_towardzero_test_data): Likewise.
60504         (cosh_downward_test_data): Likewise.
60505         (cosh_upward_test_data): Likewise.
60506         * sysdeps/i386/fpu/libm-test-ulps: Update.
60507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60509 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60511         [BZ #6787]
60512         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60513         * math/w_exp10f.c (__exp10f): Likewise.
60514         * math/w_exp10l.c (__exp10l): Likewise.
60515         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60516         errno settings in existing tests.
60518         [BZ #14032]
60519         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60520         precision control set to double precision.
60521         * sysdeps/i386/fpu/w_sqrt.c: New file.
60522         * math/auto-libm-test-in: Add more tests.
60523         * math/auto-libm-test-out: Update.
60525         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60526         (sqrt_test_tonearest): New function.
60527         (sqrt_towardzero_test_data): New variable.
60528         (sqrt_test_towardzero): New function.
60529         (sqrt_downward_test_data): New variable.
60530         (sqrt_test_downward): New function.
60531         (sqrt_upward_test_data): New variable.
60532         (sqrt_test_upward): New function.
60533         (main): Call the new functions.
60535         * math/gen-auto-libm-tests.c: New file.
60536         * math/auto-libm-test-in: Likewise.
60537         * math/auto-libm-test-out: New generated file.
60538         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60539         variables.
60540         (%beautify): Add generated representations of zero.
60541         (top level): Set $auto_input and call parse_auto_input.
60542         (beautify): Remove trailing "f" from hex float constants.
60543         (parse_args): Handle XFAIL_TEST.
60544         (convert_condition): New function.
60545         (or_value): Likewise.
60546         (or_cond_value): Likewise.
60547         (generate_testfile): Handle AUTO_TESTS_* lines.
60548         (parse_auto_input): New function.
60549         * math/libm-test.inc (XFAIL_TEST): New macro.
60550         (ERRNO_UNCHANGED): Update value.
60551         (ERRNO_EDOM): Likewise.
60552         (ERRNO_ERANGE): Likewise.
60553         (IGNORE_RESULT): Likewise.
60554         (TEST_COND_flt_32): New macro.
60555         (TEST_COND_dbl_64): Likewise.
60556         (TEST_COND_ldbl_96_intel): Likewise.
60557         (TEST_COND_ldbl_96_m68k): Likewise.
60558         (TEST_COND_ldbl_128): Likewise.
60559         (TEST_COND_ldbl_128ibm): Likewise.
60560         (TEST_COND_long32): Likewise.
60561         (TEST_COND_long64): Likewise.
60562         (TEST_COND_before_rounding): Likewise.
60563         (TEST_COND_after_rounding): Likewise.
60564         (enable_test): Handle XFAIL_TEST flag.
60565         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60566         with finite results.
60567         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60568         auto-libm-test-out.
60570 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60571             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60573         [BZ #16214]
60574         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60575         __tls_get_addr_internal instead of __tls_get_offset in order to
60576         avoid GOT pointer dependency.  Make rtld export
60577         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60578         __tls_get_addr since we are a __tls_get_offset platform.
60579         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60580         GOT pointer being set up before.
60581         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60583 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60585         * manual/math.texi (Errors in Math Functions): Document accuracy
60586         goals.
60588         [BZ #15004]
60589         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60590         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60591         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60592         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60593         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60594         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60595         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60596         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60597         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60598         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60599         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60600         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60601         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60602         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60603         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60604         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60606         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60607         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60608         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60609         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60610         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60611         Likewise.
60612         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60613         Likewise.
60614         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60615         Likewise.
60616         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60617         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60618         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60619         atomic-feupdateenv and flt-rounds.
60620         * sysdeps/powerpc/nofpu/Versions (libc): Add
60621         __atomic_feholdexcept, __atomic_feclearexcept,
60622         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60624         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60625         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60626         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60627         here.
60628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60629         Update.
60631         * manual/arith.texi (FP Exceptions): Document that exceptions may
60632         not be raised when matherr is used.
60633         (Math Error Reporting): Document overflow in directed rounding
60634         modes.  Document that errno may not be set when finite values are
60635         returned on overflow.  Document intent to set errno on underflow
60636         only for underflow to zero.
60638         [BZ #16271]
60639         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60640         round-to-nearest then adjust result for other rounding modes.
60641         * include/fenv.h (fegetround): Use libm_hidden_proto.
60642         * math/fegetround.c (fegetround): Use libm_hidden_def.
60643         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60644         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60645         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60646         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60647         Likewise.
60648         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60649         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60650         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60651         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60653 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60655         [BZ #16077]
60656         * nss/Versions (libnss_files): Add
60657         _nss_files_gethostbyname3_r.
60658         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60659         New function.
60660         (HOST_DB_LOOKUP): Remove macro.
60661         (_nss_files_gethostbyname_r): Implement function without the
60662         HOST_DB_LOOKUP macro.
60663         (_nss_files_gethostbyname2_r): Likewise.
60665 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
60667         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60669 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60671         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60672         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60673         warning.
60675 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60677         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60678         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60679         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60680         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60681         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60682         __fe_nomask_env_priv and attribute_hidden.
60683         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60684         (libc_feupdateenv_test_ppc): Likewise.
60685         (libc_feresetround_ppc): Likewise.
60686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60687         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60688         compat_symbol macro.
60689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60690         (__fe_nomask_env): Likewise.
60691         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60693 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60695         * string/Makefile: Remove ifunc tests.
60696         * string/test-string.h: Define TEST_IFUNC.
60697         * string/test-bcopy-ifunc.c: Remove.
60698         * string/test-bzero-ifunc.c: Likewise.
60699         * string/test-memccpy-ifunc.c: Likewise.
60700         * string/test-memchr-ifunc.c: Likewise.
60701         * string/test-memcmp-ifunc.c: Likewise.
60702         * string/test-memcpy-ifunc.c: Likewise.
60703         * string/test-memmem-ifunc.c: Likewise.
60704         * string/test-memmove-ifunc.c: Likewise.
60705         * string/test-mempcpy-ifunc.c: Likewise.
60706         * string/test-memrchr-ifunc.c: Likewise.
60707         * string/test-memset-ifunc.c: Likewise.
60708         * string/test-rawmemchr-ifunc.c: Likewise.
60709         * string/test-stpcpy-ifunc.c: Likewise.
60710         * string/test-stpncpy-ifunc.c: Likewise.
60711         * string/test-strcasecmp-ifunc.c: Likewise.
60712         * string/test-strcasestr-ifunc.c: Likewise.
60713         * string/test-strcat-ifunc.c: Likewise.
60714         * string/test-strchr-ifunc.c: Likewise.
60715         * string/test-strchrnul-ifunc.c: Likewise.
60716         * string/test-strcmp-ifunc.c: Likewise.
60717         * string/test-strcpy-ifunc.c: Likewise.
60718         * string/test-strcspn-ifunc.c: Likewise.
60719         * string/test-strlen-ifunc.c: Likewise.
60720         * string/test-strncasecmp-ifunc.c: Likewise.
60721         * string/test-strncat-ifunc.c: Likewise.
60722         * string/test-strncmp-ifunc.c: Likewise.
60723         * string/test-strncpy-ifunc.c: Likewise.
60724         * string/test-strnlen-ifunc.c: Likewise.
60725         * string/test-strpbrk-ifunc.c: Likewise.
60726         * string/test-strrchr-ifunc.c: Likewise.
60727         * string/test-strspn-ifunc.c: Likewise.
60728         * string/test-strstr-ifunc.c: Likewise.
60730 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60732         * benchtests/Makefile: Remove ifunc tests.
60733         * benchtests/bench-string.h: Define TEST_IFUNC.
60734         * benchtests/bench-bcopy-ifunc.c: Remove.
60735         * benchtests/bench-bzero-ifunc.c: Likewise.
60736         * benchtests/bench-memccpy-ifunc.c: Likewise.
60737         * benchtests/bench-memchr-ifunc.c: Likewise.
60738         * benchtests/bench-memcmp-ifunc.c: Likewise.
60739         * benchtests/bench-memcpy-ifunc.c: Likewise.
60740         * benchtests/bench-memmem-ifunc.c: Likewise.
60741         * benchtests/bench-memmove-ifunc.c: Likewise.
60742         * benchtests/bench-mempcpy-ifunc.c: Likewise.
60743         * benchtests/bench-memrchr-ifunc.c: Likewise.
60744         * benchtests/bench-memset-ifunc.c: Likewise.
60745         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60746         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60747         * benchtests/bench-stpcpy-ifunc.c: Likewise.
60748         * benchtests/bench-stpncpy-ifunc.c: Likewise.
60749         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60750         * benchtests/bench-strcasestr-ifunc.c: Likewise.
60751         * benchtests/bench-strcat-ifunc.c: Likewise.
60752         * benchtests/bench-strchr-ifunc.c: Likewise.
60753         * benchtests/bench-strchrnul-ifunc.c: Likewise.
60754         * benchtests/bench-strcmp-ifunc.c: Likewise.
60755         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60756         * benchtests/bench-strcpy-ifunc.c: Likewise.
60757         * benchtests/bench-strcspn-ifunc.c: Likewise.
60758         * benchtests/bench-strlen-ifunc.c: Likewise.
60759         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60760         * benchtests/bench-strncat-ifunc.c: Likewise.
60761         * benchtests/bench-strncmp-ifunc.c: Likewise.
60762         * benchtests/bench-strncpy-ifunc.c: Likewise.
60763         * benchtests/bench-strnlen-ifunc.c: Likewise.
60764         * benchtests/bench-strpbrk-ifunc.c: Likewise.
60765         * benchtests/bench-strrchr-ifunc.c: Likewise.
60766         * benchtests/bench-strsep-ifunc.c: Likewise.
60767         * benchtests/bench-strspn-ifunc.c: Likewise.
60768         * benchtests/bench-strstr-ifunc.c: Likewise.
60770 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60772         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60774 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60776         * resolv/netdb.h: Use __glibc_reserved instead __unused.
60777         * rt/aio.h: Likewise.
60778         * sysdeps/gnu/bits/utmp.h: Likewise.
60779         * sysdeps/gnu/bits/utmpx.h: Likewise.
60780         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60781         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60782         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60783         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60784         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60785         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60786         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60787         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60788         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60789         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60790         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60791         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60792         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60794         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60795         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60796         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60797         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60798         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60799         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60800         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60801         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60802         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60803         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60804         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60806         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60807         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60808         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60809         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60810         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60811         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60812         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60813         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60814         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60815         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60816         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60817         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60818         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60819         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60820         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60821         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60823 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
60825         [BZ #16245]
60826         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60827         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60829 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
60831         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60832         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60833         Likewise.
60835 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60837         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60838         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60839         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60840         (__fesetround): Remove define.
60841         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60842         rounding and exceptions handling.
60843         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60844         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60845         (__fe_nomask_env): Likewise.
60846         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60847         __fegetround instead of fegetround.
60848         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60849         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60851 2013-11-21  Roland McGrath  <roland@hack.frob.com>
60853         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60854         it's there.
60856         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60858 2013-11-21  Meador Inge  <meadori@codesourcery.com>
60860         [BZ #11157]
60861         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60862         (encrypt_r): Likewise.
60863         * malloc/obstack.h (obstack_free): Likewise.
60864         * posix/unistd.h (encrypt): Likewise.
60866 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
60868         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60869         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60870         DL_CALL_DT_FINI() that call the functions directly.
60871         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60872         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60873         * elf/dl-fini.c: Likewise.
60875 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
60877         * malloc/hooks.c (memalign_check): Add alignment rounding.
60878         * malloc/malloc.c (_mid_memalign): New function.
60879         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60880         Implement by calling _mid_memalign.
60881         * manual/probes.texi (Memory Allocation Probes): Remove
60882         memory_valloc_retry and memory_pvalloc_retry.
60884 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60886         * locale/programs/locarchive.c (open_archive): Add const
60887         qualifier to ARCHIVEFNAME and copy default fname to
60888         DEFAULT_FNAME.
60890         [BZ #15601]
60891         * libio/tst-widetext.input: Rename Oriya to Odia.
60892         * locale/iso-639.def: Likewise.
60894         * manual/probes.texi (Mathematical Function Probes): Add
60895         documentation for sin, cos, asin and acos probes.
60896         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60897         (__sin32): Add slowasin probe.
60898         (__cos32): Add slowacos probe.
60899         (__mpsin): Add slowsin probe.
60900         (__mpcos): Add slowcos probe.
60902 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
60904         [BZ #15483]
60905         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60906         thread-local __sim_exceptions_thread and global
60907         __sim_exceptions_global.
60908         (__sim_disabled_exceptions): Change to thread-local
60909         __sim_disabled_exceptions_thread and global
60910         __sim_disabled_exceptions_global.
60911         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60912         and global __sim_round_mode_global.
60913         (__simulate_exceptions): Use thread-local floating-point state and
60914         set global state from it as needed.
60915         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60916         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60917         __sim_round_mode_thread.
60918         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60919         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60920         and global __sim_exceptions_global.
60921         (__sim_disabled_exceptions): Change to thread-local
60922         __sim_disabled_exceptions_thread and global
60923         __sim_disabled_exceptions_global.
60924         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60925         and global __sim_round_mode_global.
60926         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60927         (SIM_SET_GLOBAL): Likewise.
60928         * sysdeps/powerpc/soft-fp/sfp-machine.h
60929         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60930         __sim_round_mode_thread.
60931         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60932         __sim_disabled_exceptions_thread.
60933         (__sim_exceptions): Change to __sim_exceptions_thread.
60934         (__sim_disabled_exceptions): Change to
60935         __sim_disabled_exceptions_thread.
60936         (__sim_round_mode): Change to __sim_round_mode_thread.
60937         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60938         thread-local floating-point state and set global state from it as
60939         needed.
60940         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60941         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60942         (__sim_disabled_exceptions): Remove extern declaration.
60943         (feenableexcept): Use thread-local floating-point state and set
60944         global state from it as needed.
60945         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60946         extern declaration.
60947         (__sim_disabled_exceptions): Likewise.
60948         (__sim_round_mode): Likewise.
60949         (__fegetenv): Use thread-local floating-point state.
60950         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60951         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60952         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60953         floating-point state and set global state from it as needed.
60954         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60955         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60956         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60957         Likewise.
60958         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60959         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60960         Likewise.
60961         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60962         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60963         Use __sim_round_mode_thread.
60964         * math/test-fenv-tls.c: New file.
60965         * math/Makefile (tests): Add test-fenv-tls.
60966         ($(objpfx)test-fenv-tls): Depend on
60967         $(common-objpfx)nptl/libpthread.so.
60969 2013-11-19  Andreas Schwab  <schwab@suse.de>
60971         * locale/programs/locale.c (show_info): Decode wordarray elements.
60972         * locale/categories.def (LC_MONETARY): Add element for
60973         _NL_MONETARY_CRNCYSTR.
60974         * locale/C-monetary.c (conversion_rate): New variable.
60975         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60976         element.
60978 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
60980         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60981         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60983 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60985         * elf/Makefile (tst-auxv): New test.
60986         * elf/tst-auxv.c: New
60987         * elf/rtld.c (dl_main): Adjust AT_EXECFN
60989 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
60991         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60992         (hidden_proto): Caller changed.
60993         (hidden_tls_proto): New macro.
60994         (libc_hidden_tls_proto): Likewise.
60995         (rtld_hidden_tls_proto): Likewise.
60996         (libm_hidden_tls_proto): Likewise.
60997         (libresolv_hidden_tls_proto): Likewise.
60998         (librt_hidden_tls_proto): Likewise.
60999         (libdl_hidden_tls_proto): Likewise.
61000         (libnss_files_hidden_tls_proto): Likewise.
61001         (libnsl_hidden_tls_proto): Likewise.
61002         (libnss_nisplus_hidden_tls_proto): Likewise.
61003         (libutil_hidden_tls_proto): Likewise.
61005 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
61007         [BZ #10253]
61008         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61009         (decompose_rpath): Defer expansion to fillin_rpath.
61010         (_dl_init_paths): Pass linkmap to fillin_rpath.
61012 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61014         * benchtests/Makefile: Add strsep.
61015         * benchtests/bench-strsep.c: New file: strsep benchtest.
61016         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61018 2013-11-18  Andreas Schwab  <schwab@suse.de>
61020         * locale/programs/locale.c (show_info) [case byte]: Check for
61021         '\377' instead of '\177'.
61022         * locale/C-monetary.c (not_available): Always use "\377".
61023         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61024         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61025         detect unavailable sign_posn locale elements.
61026         * locale/localeconv.c (__localeconv): For grouping and
61027         mon_grouping handle "\177" and "\377" like no grouping.
61028         (INT_ELEM): New macro.  Use it to set all numeric members.
61029         * locale/programs/ld-monetary.c (monetary_read)
61030         <tok_mon_grouping>: Normalize single -1 to the empty string.
61031         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61032         Likewise.
61034 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61036         [BZ #16055]
61037         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61038         when we match (nil).
61039         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61041 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61043         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61044         (NO_TEST_INLINE): Update value.
61045         (ERRNO_UNCHANGED): Likewise.
61046         (ERRNO_EDOM): Likewise.
61047         (ERRNO_ERANGE): Likewise.
61048         (IGNORE_RESULT): Likewise.
61049         (check_float_internal): Check signs of NaN results if
61050         TEST_NAN_SIGN used.
61051         (check_complex): Pass TEST_NAN_SIGN flag through to second
61052         check_float_internal call.
61053         (copysign_test_data): Add tests with quiet NaNs as second
61054         argument.  Use TEST_NAN_SIGN.
61055         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61056         TEST_NAN_SIGN.
61057         (signbit_test_data): Add tests of quiet NaN argument.
61058         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61060         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61061         $ignore_result.
61062         (parse_args): Handle function results specified as IGNORE.
61063         * math/libm-test.inc (IGNORE_RESULT): New macro.
61064         (check_float_internal): Do not check numerical result if flag
61065         IGNORE_RESULT set.
61066         (check_complex): Pass through IGNORE_RESULT to second
61067         check_float_internal call.
61068         (check_int): Do not check numerical result if flag IGNORE_RESULT
61069         set.
61070         (check_long): Likewise.
61071         (check_bool): Likewise.
61072         (check_longlong): Likewise.
61073         (lrint_test_data): Add tests of infinite and NaN arguments.
61074         (lrint_tonearest_test_data): Likewise.
61075         (lrint_towardzero_test_data): Likewise.
61076         (lrint_downward_test_data): Likewise.
61077         (lrint_upward_test_data): Likewise.
61078         (llrint_test_data): Likewise.
61079         (llrint_tonearest_test_data): Likewise.
61080         (llrint_towardzero_test_data): Likewise.
61081         (llrint_downward_test_data): Likewise.
61082         (llrint_upward_test_data): Likewise.
61083         (lround_test_data): Likewise.
61084         (llround_test_data): Likewise.
61086         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61087         (ERRNO_UNCHANGED): Update value.
61088         (ERRNO_EDOM): Likewise.
61089         (ERRNO_ERANGE): Likewise.
61090         (NO_TEST_INLINE_FLOAT): New macro.
61091         (NO_TEST_INLINE_DOUBLE): Likewise.
61092         (enable_test): New function.
61093         (RUN_TEST_f_f): Check enable_test before running test.
61094         (RUN_TEST_2_f): Likewise.
61095         (RUN_TEST_fff_f): Likewise.
61096         (RUN_TEST_c_f): Likewise.
61097         (RUN_TEST_f_f1): Likewise.
61098         (RUN_TEST_fF_f1): Likewise.
61099         (RUN_TEST_fI_f1): Likewise.
61100         (RUN_TEST_ffI_f1): Likewise.
61101         (RUN_TEST_c_c): Likewise.
61102         (RUN_TEST_cc_c): Likewise.
61103         (RUN_TEST_f_i): Likewise.
61104         (RUN_TEST_f_i_tg): Likewise.
61105         (RUN_TEST_ff_i_tg): Likewise.
61106         (RUN_TEST_f_b): Likewise.
61107         (RUN_TEST_f_b_tg): Likewise.
61108         (RUN_TEST_f_l): Likewise.
61109         (RUN_TEST_f_L): Likewise.
61110         (RUN_TEST_fFF_11): Likewise.
61111         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61112         conditionals.
61113         (cosh_test_data): Likewise.
61114         (exp_test_data): Likewise.
61115         (expm1_test_data): Likewise.
61116         (hypot_test_data): Likewise.
61117         (pow_test_data): Likewise.
61118         (sinh_test_data): Likewise.
61119         (tanh_test_data): Likewise.
61120         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61121         flags argument.
61123         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61124         tests with quiet NaN input and output.
61125         (acosh_test_data): Likewise.
61126         (asin_test_data): Likewise.
61127         (asinh_test_data): Likewise.
61128         (atan_test_data): Likewise.
61129         (atanh_test_data): Likewise.
61130         (atan2_test_data): Likewise.
61131         (cbrt_test_data): Likewise.
61132         (cos_test_data): Likewise.
61133         (cosh_test_data): Likewise.
61134         (erf_test_data): Likewise.
61135         (erfc_test_data): Likewise.
61136         (exp_test_data): Likewise.
61137         (exp10_test_data): Likewise.
61138         (exp2_test_data): Likewise.
61139         (expm1_test_data): Likewise.
61140         (hypot_test_data): Likewise.
61141         (j0_test_data): Likewise.
61142         (j1_test_data): Likewise.
61143         (jn_test_data): Likewise.
61144         (lgamma_test_data): Likewise.
61145         (log_test_data): Likewise.
61146         (log10_test_data): Likewise.
61147         (log1p_test_data): Likewise.
61148         (log2_test_data): Likewise.
61149         (pow_test_data): Likewise.
61150         (scalb_test_data): Likewise.
61151         (sin_test_data): Likewise.
61152         (sincos_test_data): Likewise.
61153         (sinh_test_data): Likewise.
61154         (tan_test_data): Likewise.
61155         (tanh_test_data): Likewise.
61156         (tgamma_test_data): Likewise.
61157         (y0_test_data): Likewise.
61158         (y1_test_data): Likewise.
61159         (yn_test_data): Likewise.
61161         [BZ #16167]
61162         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61163         argument being NaN and avoid computations with second argument in
61164         that case.
61165         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61166         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61169 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61171         * locale/iso-639.def: Add Chitwani Tharu (the).
61173 2013-11-14  Andreas Schwab  <schwab@suse.de>
61175         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61176         word instead of empty string.
61178 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61181         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61183         (__fe_nomask_env): Likewise.
61185 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61187         * benchtests/bench-timing.h: Include time.h.
61189 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61191         [BZ #15997]
61192         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61193         to 3.4.0 for x32.
61194         * sysdeps/unix/sysv/linux/configure: Regenerated.
61196 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61198         [BZ #16151]
61199         * stdlib/strtod_l.c (round_and_return): Do not consider
61200         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61201         exponent one less than half the least subnormal exponent.
61202         * stdlib/test-strtod-round-data: Add more tests.
61203         * stdlib/tst-strtod-round.c (tests): Regenerated.
61205 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61207         [BZ #14143]
61208         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61209         (__fe_mask_env): Likewise.
61210         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61211         libm_hidden_proto and add function prototype.
61212         (__fe_mask_env): Add function prototype.
61213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61214         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61216         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61218         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61220 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61222         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61223         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61225 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61227         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61228         of htab_find_slot().
61230 2013-11-11  David S. Miller  <davem@davemloft.net>
61232         [BZ #16150]
61233         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61234         symbol in the non-vis3 case in static builds.
61235         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61236         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61237         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61238         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61240 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61242         [BZ #387]
61243         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61244         it is empty.
61246 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61248         * benchtests/Makefile: Add bench-strtod.
61249         * benchtests/bench-strtod.c: New file: strtod benchtest
61251 2013-11-11  Andreas Schwab  <schwab@suse.de>
61253         [BZ #16153]
61254         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61255         terminating NUL in key length.
61257 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61259         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61260         Add artificial ODP entry for vDSO symbol for PPC64.
61261         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61262         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61264 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61266         [BZ #15374]
61267         * nss/getent.c (services_keys): Recognize services starting with digit.
61269 2013-11-06  David S. Miller  <davem@davemloft.net>
61271         [BZ #15985]
61272         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61273         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61275 2013-11-06  Will Newton  <will.newton@linaro.org>
61277         * manual/memory.texi (Malloc Examples): Remove register
61278         keyword from examples.
61280 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61282         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61284 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61286         [BZ #6981]
61287         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61288         depending on [__GCC_IEC_559 > 0].
61289         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61290         depending on [__GCC_IEC_559_COMPLEX > 0].
61292 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61294         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61295         to iso-639.def.
61297 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
61299         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61301 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
61303         [BZ #16112]
61304         * malloc/malloc (malloc_info): Do not handle first bin as
61305         special case.
61307 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61309         * locale/iso-639.def: Add Central Nahuatl (nhn).
61311 2013-11-01  Bruno Haible  <bruno@clisp.org>
61313         [BZ #7003]
61314         * manual/math.texi (BSD Random): Specify range upper bound as
61315         in POSIX.
61317 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61319         * locale/iso-639.def: Add Meadow Mari (mhr).
61321 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
61323         [BZ #14752], [BZ #15763]
61324         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61325         Validate name.
61326         * rt/tst_shm.c: Add test for escaping directory.
61328 2013-10-31  Andreas Schwab  <schwab@suse.de>
61330         [BZ #15917]
61331         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61332         followed by 'x' as part of digit sequence.
61333         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61335 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61337         [BZ #16037]
61338         * configure.ac: allow GNU Make 4.0 and greater.
61339         * configure: Regenerated.
61341 2013-10-30  Will Newton  <will.newton@linaro.org>
61343         [BZ #16038]
61344         * malloc/hooks.c (memalign_check): Limit alignment to the
61345         maximum representable power of two.
61346         * malloc/malloc.c (__libc_memalign): Likewise.
61347         * malloc/tst-memalign.c (do_test): Add test for very
61348         large alignment values.
61349         * malloc/tst-posix_memalign.c (do_test): Likewise.
61351 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61353         [BZ #11087]
61354         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61355         (munmap_chunk): Likewise.
61356         (mremap_chunk): Likewise.
61358 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61360         [BZ #15799]
61361         * stdlib/div.c (div): Remove obsolete code.
61362         * stdlib/ldiv.c (ldiv): Likewise.
61363         * stdlib/lldiv.c (lldiv): Likewise.
61365 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61367         [BZ #16071]
61368         * nss/nss_files/files-XXX.c (get_contents_ret): New
61369         enumerator.
61370         (get_contents): New function.
61371         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61373 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61375         * configure.in: Moved to ...
61376         * configure.ac: ... here. Change reference to configure.in
61377         to configure.ac.
61378         * sysdeps/arm/preconfigure.ac: ... here.
61379         configure.in to configure.ac.
61380         * sysdeps/gnu/configure.in: Moved to ...
61381         * sysdeps/gnu/configure.ac: ... here.
61382         * sysdeps/i386/configure.in: Moved to ...
61383         * sysdeps/i386/configure.ac: ... here.
61384         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61385         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61386         * sysdeps/mach/configure.in: Moved to ...
61387         * sysdeps/mach/configure.ac: ... here.
61388         * sysdeps/mach/hurd/configure.in: Moved to ...
61389         * sysdeps/mach/hurd/configure.ac: ... here.
61390         * sysdeps/powerpc/configure.in: Moved to ...
61391         * sysdeps/powerpc/configure.ac: ... here.
61392         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61393         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61394         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61395         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61396         * sysdeps/s390/s390-32/configure.in: Moved to ...
61397         * sysdeps/s390/s390-32/configure.ac: ... here.
61398         * sysdeps/s390/s390-64/configure.in: Moved to ...
61399         * sysdeps/s390/s390-64/configure.ac: ... here.
61400         * sysdeps/sh/configure.in: Moved to ...
61401         * sysdeps/sh/configure.ac: ... here.
61402         * sysdeps/sparc/configure.in: Moved to ...
61403         * sysdeps/sparc/configure.ac: ... here.
61404         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61405         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61406         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61407         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61408         * sysdeps/x86_64/configure.in: Moved to ...
61409         * sysdeps/x86_64/configure.ac: ... here.
61410         * sysdeps/x86_64/preconfigure.in: Moved to ...
61411         * sysdeps/x86_64/preconfigure.ac: ... here.
61412         * aclocal.m4: Change reference to configure.in to configure.ac.
61413         * config.h.in: Likewise.
61414         * manual/install.texi: Likewise.
61415         * manual/maint.texi: Likewise.
61416         * Makefile: Likewise.
61417         * malloc/Makefile: Likewise.
61418         * nscd/Makefile: Likewise.
61419         * Makeconfig: Change reference to configure.in and
61420         preconfigure.in to configure.ac and preconfigure.ac
61421         respectively.
61422         * INSTALL: Regenerated.
61423         * configure: Likewise.
61424         * sysdeps/gnu/configure: Likewise.
61425         * sysdeps/i386/configure: Likewise.
61426         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61427         * sysdeps/mach/configure: Likewise.
61428         * sysdeps/mach/hurd/configure: Likewise.
61429         * sysdeps/powerpc/configure: Likewise.
61430         * sysdeps/powerpc/powerpc32/configure: Likewise.
61431         * sysdeps/powerpc/powerpc64/configure: Likewise.
61432         * sysdeps/s390/s390-32/configure: Likewise.
61433         * sysdeps/s390/s390-64/configure: Likewise.
61434         * sysdeps/sh/configure: Likewise.
61435         * sysdeps/sparc/configure: Likewise.
61436         * sysdeps/unix/sysv/linux/configure: Likewise.
61437         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61438         * sysdeps/x86_64/configure: Likewise.
61439         * sysdeps/x86_64/preconfigure: Likewise.
61441 2013-10-29  Andreas Schwab  <schwab@suse.de>
61443         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61445 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61447         * benchtests/pow-inputs: Add new inputs.
61449         * benchtests/exp-inputs: Add new inputs.
61451         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61452         conditional check for return value.
61453         (__cos32): Likewise.
61455 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61457         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61458         to provide a boost for large inputs with word alignment.
61459         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61460         implementation based on optimized PPC64 strcpy.
61461         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61462         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61463         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61464         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61466 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61468         [BZ #2801]
61469         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61471 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61473         [BZ #14876]
61474         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61475         * time/tst-strptime.c (day_tests): Add testcase.
61477 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61479         [BZ #14029]
61480         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61482 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61484         [BZ #16074]
61485         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61486         MAP_FAILED on error.
61488 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61490         [BZ #16072]
61491         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61492         heap for large requests.
61494 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61496         [BZ #9954]
61497         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61498         result if the result has no associated interface.
61499         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61500         interface for all 127.X.Y.Z addresses.
61502 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61504         * locale/iso-639.def: Add Ligurian (lij)
61506 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
61508         [BZ #15825]
61509         * sunrpc/rpc_main.c: Document rpcgen -5.
61511 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61513         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61515 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61517         [BZ #10278]
61518         * posix/glob.c: Match only directories when trailing slash is present.
61519         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61520         (main): Add testcase.
61522 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61524         [BZ #15670]
61525         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61527 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61529         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61530         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61531         AUTH_DES and cindex for FIPS 140-2.
61532         (DES Encryption): Add cindex FIPS 46-3.
61534         * locale/locarchive.h (struct locarhandle): Add fname.
61535         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61536         if an optional argument was specified to --list-archive,
61537         otherwise NULL.
61538         * locale/programs/locarchive.c (show_archive_content): Take new
61539         argument fname and pass it via ah.fname to open_archive.
61540         * locale/programs/localedef.h: Update decl.
61541         (open_archive): If AH->fname is non-null, open that file
61542         rather than the default file name, and don't ignore ENOENT.
61543         (create_archive): Set AH.fname to NULL.
61544         (delete_locales_from_archive): Likewise.
61545         (add_locales_to_archive): Likewise.
61546         * locale/programs/locfile.c (write_all_categories): Likewise.
61548 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61549             Aldy Hernandez  <aldyh@redhat.com>
61551         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61552         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61553         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61554         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61555         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61557         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61558         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61559         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61560         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61561         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61562         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61563         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61564         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61565         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61566         Likewise.
61567         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61568         Likewise.
61569         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61570         Likewise.
61571         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61572         Likewise.
61573         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61574         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61575         Likewise.
61576         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61577         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61578         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61579         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61580         Likewise.
61581         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61582         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61583         * sysdeps/powerpc/preconfigure: Likewise.
61584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61585         Likewise.
61586         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61587         Replace contents of file by #include of <fenv_libc.h>.
61588         * sysdeps/powerpc/soft-fp/sfp-machine.h
61589         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61590         and <sys/prctl.h>.
61591         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61592         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61594         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61595         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61596         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61604         Allow copysignl PLT reference to be missing.
61606 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61607             Joseph Myers  <joseph@codesourcery.com
61609         [BZ #15948]
61610         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61611         single character.
61612         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61614 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61616         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61617         * elf/tst-tls1.c: Likewise.
61618         * elf/tst-tls10.h: Likewise.
61619         * elf/tst-tls14.c: Likewise.
61620         * elf/tst-tls2.c: Likewise.
61621         * elf/tst-tls3.c: Likewise.
61622         * elf/tst-tls4.c: Likewise.
61623         * elf/tst-tls5.c: Likewise.
61624         * elf/tst-tls6.c: Likewise.
61625         * elf/tst-tls7.c: Likewise.
61626         * elf/tst-tls8.c: Likewise.
61627         * elf/tst-tls9.c: Likewise.
61628         * elf/tst-tlsmod1.c: Likewise.
61629         * elf/tst-tlsmod13.c: Likewise.
61630         * elf/tst-tlsmod13a.c: Likewise.
61631         * elf/tst-tlsmod14a.c: Likewise.
61632         * elf/tst-tlsmod16a.c: Likewise.
61633         * elf/tst-tlsmod16b.c: Likewise.
61634         * elf/tst-tlsmod2.c: Likewise.
61635         * elf/tst-tlsmod3.c: Likewise.
61636         * elf/tst-tlsmod4.c: Likewise.
61637         * elf/tst-tlsmod5.c: Likewise.
61638         * elf/tst-tlsmod6.c: Likewise.
61640 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
61642         [BZ #12486]
61643         * malloc/malloc.c: remove checks for statistics.
61645 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61647         [BZ #15277]
61648         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61649         * inet/tst-network.c: Add testcase.
61651 2013-10-17  Andreas Schwab  <schwab@suse.de>
61653         [BZ #15218]
61654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61655         to determine canonical name.
61657 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61659         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61660         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61662         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61664         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61665         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61666         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61667         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61668         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61669         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61670         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61671         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61672         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61673         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61674         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61675         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61676         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61677         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61678         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61681         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61682         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61683         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61684         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61685         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61686         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61687         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61688         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61689         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61690         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61691         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61692         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61693         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61694         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61695         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61696         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61697         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61698         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61699         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61700         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61701         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61702         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61703         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61704         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61705         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61706         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61707         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61708         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61709         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61710         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61711         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61712         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61713         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61714         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61716         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61718 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
61720         [BZ #16041]
61721         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61722         make result into a quiet NaN.
61724 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
61726         * soft-fp/adddf3.c: Fix horizontal whitespace.
61727         * soft-fp/addsf3.c: Likewise.
61728         * soft-fp/addtf3.c: Likewise.
61729         * soft-fp/divdf3.c: Likewise.
61730         * soft-fp/divsf3.c: Likewise.
61731         * soft-fp/divtf3.c: Likewise.
61732         * soft-fp/double.h: Likewise.
61733         * soft-fp/eqdf2.c: Likewise.
61734         * soft-fp/eqsf2.c: Likewise.
61735         * soft-fp/eqtf2.c: Likewise.
61736         * soft-fp/extenddftf2.c: Likewise.
61737         * soft-fp/extended.h: Likewise.
61738         * soft-fp/extendsfdf2.c: Likewise.
61739         * soft-fp/extendsftf2.c: Likewise.
61740         * soft-fp/extendxftf2.c: Likewise.
61741         * soft-fp/fixdfdi.c: Likewise.
61742         * soft-fp/fixdfsi.c: Likewise.
61743         * soft-fp/fixdfti.c: Likewise.
61744         * soft-fp/fixsfdi.c: Likewise.
61745         * soft-fp/fixsfsi.c: Likewise.
61746         * soft-fp/fixsfti.c: Likewise.
61747         * soft-fp/fixtfdi.c: Likewise.
61748         * soft-fp/fixtfsi.c: Likewise.
61749         * soft-fp/fixtfti.c: Likewise.
61750         * soft-fp/fixunsdfdi.c: Likewise.
61751         * soft-fp/fixunsdfsi.c: Likewise.
61752         * soft-fp/fixunsdfti.c: Likewise.
61753         * soft-fp/fixunssfdi.c: Likewise.
61754         * soft-fp/fixunssfsi.c: Likewise.
61755         * soft-fp/fixunssfti.c: Likewise.
61756         * soft-fp/fixunstfdi.c: Likewise.
61757         * soft-fp/fixunstfsi.c: Likewise.
61758         * soft-fp/fixunstfti.c: Likewise.
61759         * soft-fp/floatdidf.c: Likewise.
61760         * soft-fp/floatdisf.c: Likewise.
61761         * soft-fp/floatditf.c: Likewise.
61762         * soft-fp/floatsidf.c: Likewise.
61763         * soft-fp/floatsisf.c: Likewise.
61764         * soft-fp/floatsitf.c: Likewise.
61765         * soft-fp/floattidf.c: Likewise.
61766         * soft-fp/floattisf.c: Likewise.
61767         * soft-fp/floattitf.c: Likewise.
61768         * soft-fp/floatundidf.c: Likewise.
61769         * soft-fp/floatundisf.c: Likewise.
61770         * soft-fp/floatunditf.c: Likewise.
61771         * soft-fp/floatunsidf.c: Likewise.
61772         * soft-fp/floatunsisf.c: Likewise.
61773         * soft-fp/floatunsitf.c: Likewise.
61774         * soft-fp/floatuntidf.c: Likewise.
61775         * soft-fp/floatuntisf.c: Likewise.
61776         * soft-fp/floatuntitf.c: Likewise.
61777         * soft-fp/fmadf4.c: Likewise.
61778         * soft-fp/fmasf4.c: Likewise.
61779         * soft-fp/fmatf4.c: Likewise.
61780         * soft-fp/gedf2.c: Likewise.
61781         * soft-fp/gesf2.c: Likewise.
61782         * soft-fp/getf2.c: Likewise.
61783         * soft-fp/ledf2.c: Likewise.
61784         * soft-fp/lesf2.c: Likewise.
61785         * soft-fp/letf2.c: Likewise.
61786         * soft-fp/muldf3.c: Likewise.
61787         * soft-fp/mulsf3.c: Likewise.
61788         * soft-fp/multf3.c: Likewise.
61789         * soft-fp/negdf2.c: Likewise.
61790         * soft-fp/negsf2.c: Likewise.
61791         * soft-fp/negtf2.c: Likewise.
61792         * soft-fp/op-1.h: Likewise.
61793         * soft-fp/op-2.h: Likewise.
61794         * soft-fp/op-4.h: Likewise.
61795         * soft-fp/op-8.h: Likewise.
61796         * soft-fp/op-common.h: Likewise.
61797         * soft-fp/quad.h: Likewise.
61798         * soft-fp/single.h: Likewise.
61799         * soft-fp/soft-fp.h: Likewise.
61800         * soft-fp/sqrtdf2.c: Likewise.
61801         * soft-fp/sqrtsf2.c: Likewise.
61802         * soft-fp/sqrttf2.c: Likewise.
61803         * soft-fp/subdf3.c: Likewise.
61804         * soft-fp/subsf3.c: Likewise.
61805         * soft-fp/subtf3.c: Likewise.
61806         * soft-fp/truncdfsf2.c: Likewise.
61807         * soft-fp/trunctfdf2.c: Likewise.
61808         * soft-fp/trunctfsf2.c: Likewise.
61809         * soft-fp/trunctfxf2.c: Likewise.
61810         * soft-fp/unorddf2.c: Likewise.
61811         * soft-fp/unordsf2.c: Likewise.
61812         * soft-fp/unordtf2.c: Likewise.
61814 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
61816         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61817         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61819 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
61821         * elf/dl-libc.c: Clear initfini list after freeing.
61823 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
61825         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61826         * soft-fp/addsf3.c: Likewise.
61827         * soft-fp/addtf3.c: Likewise.
61828         * soft-fp/divdf3.c: Likewise.
61829         * soft-fp/divsf3.c: Likewise.
61830         * soft-fp/divtf3.c: Likewise.
61831         * soft-fp/double.h: Likewise.
61832         * soft-fp/eqdf2.c: Likewise.
61833         * soft-fp/eqsf2.c: Likewise.
61834         * soft-fp/eqtf2.c: Likewise.
61835         * soft-fp/extenddftf2.c: Likewise.
61836         * soft-fp/extended.h: Likewise.
61837         * soft-fp/extendsfdf2.c: Likewise.
61838         * soft-fp/extendsftf2.c: Likewise.
61839         * soft-fp/extendxftf2.c: Likewise.
61840         * soft-fp/fixdfdi.c: Likewise.
61841         * soft-fp/fixdfsi.c: Likewise.
61842         * soft-fp/fixdfti.c: Likewise.
61843         * soft-fp/fixsfdi.c: Likewise.
61844         * soft-fp/fixsfsi.c: Likewise.
61845         * soft-fp/fixsfti.c: Likewise.
61846         * soft-fp/fixtfdi.c: Likewise.
61847         * soft-fp/fixtfsi.c: Likewise.
61848         * soft-fp/fixtfti.c: Likewise.
61849         * soft-fp/fixunsdfdi.c: Likewise.
61850         * soft-fp/fixunsdfsi.c: Likewise.
61851         * soft-fp/fixunsdfti.c: Likewise.
61852         * soft-fp/fixunssfdi.c: Likewise.
61853         * soft-fp/fixunssfsi.c: Likewise.
61854         * soft-fp/fixunssfti.c: Likewise.
61855         * soft-fp/fixunstfdi.c: Likewise.
61856         * soft-fp/fixunstfsi.c: Likewise.
61857         * soft-fp/fixunstfti.c: Likewise.
61858         * soft-fp/floatdidf.c: Likewise.
61859         * soft-fp/floatdisf.c: Likewise.
61860         * soft-fp/floatditf.c: Likewise.
61861         * soft-fp/floatsidf.c: Likewise.
61862         * soft-fp/floatsisf.c: Likewise.
61863         * soft-fp/floatsitf.c: Likewise.
61864         * soft-fp/floattidf.c: Likewise.
61865         * soft-fp/floattisf.c: Likewise.
61866         * soft-fp/floattitf.c: Likewise.
61867         * soft-fp/floatundidf.c: Likewise.
61868         * soft-fp/floatundisf.c: Likewise.
61869         * soft-fp/floatunsidf.c: Likewise.
61870         * soft-fp/floatunsisf.c: Likewise.
61871         * soft-fp/floatuntidf.c: Likewise.
61872         * soft-fp/floatuntisf.c: Likewise.
61873         * soft-fp/floatuntitf.c: Likewise.
61874         * soft-fp/fmadf4.c: Likewise.
61875         * soft-fp/fmasf4.c: Likewise.
61876         * soft-fp/fmatf4.c: Likewise.
61877         * soft-fp/gedf2.c: Likewise.
61878         * soft-fp/gesf2.c: Likewise.
61879         * soft-fp/getf2.c: Likewise.
61880         * soft-fp/ledf2.c: Likewise.
61881         * soft-fp/lesf2.c: Likewise.
61882         * soft-fp/letf2.c: Likewise.
61883         * soft-fp/muldf3.c: Likewise.
61884         * soft-fp/mulsf3.c: Likewise.
61885         * soft-fp/multf3.c: Likewise.
61886         * soft-fp/negdf2.c: Likewise.
61887         * soft-fp/negsf2.c: Likewise.
61888         * soft-fp/negtf2.c: Likewise.
61889         * soft-fp/op-1.h: Likewise.
61890         * soft-fp/op-2.h: Likewise.
61891         * soft-fp/op-4.h: Likewise.
61892         * soft-fp/op-8.h: Likewise.
61893         * soft-fp/op-common.h: Likewise.
61894         * soft-fp/quad.h: Likewise.
61895         * soft-fp/single.h: Likewise.
61896         * soft-fp/soft-fp.h: Likewise.
61897         * soft-fp/sqrtdf2.c: Likewise.
61898         * soft-fp/sqrtsf2.c: Likewise.
61899         * soft-fp/sqrttf2.c: Likewise.
61900         * soft-fp/subdf3.c: Likewise.
61901         * soft-fp/subsf3.c: Likewise.
61902         * soft-fp/subtf3.c: Likewise.
61903         * soft-fp/truncdfsf2.c: Likewise.
61904         * soft-fp/trunctfdf2.c: Likewise.
61905         * soft-fp/trunctfsf2.c: Likewise.
61906         * soft-fp/trunctfxf2.c: Likewise.
61907         * soft-fp/unorddf2.c: Likewise.
61908         * soft-fp/unordsf2.c: Likewise.
61909         * soft-fp/unordtf2.c: Likewise.
61911 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
61913         [BZ #15672]
61914         * misc/error.c (error_tail): Fix possible buffer overflow.
61916 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
61918         [BZ #13028]
61919         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61920         address.
61922 2013-10-14  P. J. McDermott  <pj@pehjota.net>
61924         [BZ #832]
61925         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
61926         testing pipefail option.
61928 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61930         * soft-fp/double.h: Indent preprocessor directives inside #if.
61931         * soft-fp/extended.h: Likewise.
61932         * soft-fp/op-2.h: Likewise.
61933         * soft-fp/op-4.h: Likewise.
61934         * soft-fp/op-common.h: Likewise.
61935         * soft-fp/quad.h: Likewise.
61936         * soft-fp/single.h: Likewise.
61937         * soft-fp/soft-fp.h: Likewise.
61939 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
61941         * iconv/iconv_prog.c: Fix typos.
61942         * stdio-common/psiginfo-data.h: Likewise.
61944 2013-10-12   Reuben Thomas <rrt@sc3d.org>
61946         [BZ #15764]
61947         * locale/setlocale.c: Fix typo.
61949 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61951         [BZ #16036]
61952         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61953         signaling NaN arguments.
61954         * soft-fp/unordsf2.c (__unordsf2): Likewise.
61955         * soft-fp/unordtf2.c (__unordtf2): Likewise.
61957         [BZ #14910]
61958         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61959         unordered operands.
61960         * soft-fp/gesf2.c (__gesf2): Likewise.
61961         * soft-fp/getf2.c (__getf2): Likewise.
61962         * soft-fp/ledf2.c (__ledf2): Likewise.
61963         * soft-fp/lesf2.c (__lesf2): Likewise.
61964         * soft-fp/letf2.c (__letf2): Likewise.
61966         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61967         * soft-fp/eqsf2.c (__eqsf2): Likewise.
61968         * soft-fp/eqtf2.c (__eqtf2): Likewise.
61969         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61970         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61971         * soft-fp/fixdfti.c (__fixdfti): Likewise.
61972         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61973         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61974         * soft-fp/fixsfti.c (__fixsfti): Likewise.
61975         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61976         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61977         * soft-fp/fixtfti.c (__fixtfti): Likewise.
61978         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61979         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61980         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61981         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61982         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61983         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61984         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61985         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61986         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61987         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61988         * soft-fp/floatdisf.c (__floatdisf): Likewise.
61989         * soft-fp/floatsisf.c (__floatsisf): Likewise.
61990         * soft-fp/floattidf.c (__floattidf): Likewise.
61991         * soft-fp/floattisf.c (__floattisf): Likewise.
61992         * soft-fp/floattitf.c (__floattitf): Likewise.
61993         * soft-fp/floatundidf.c (__floatundidf): Likewise.
61994         * soft-fp/floatundisf.c (__floatundisf): Likewise.
61995         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61996         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61997         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61998         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61999         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62000         * soft-fp/gesf2.c (__gesf2): Likewise.
62001         * soft-fp/getf2.c (__getf2): Likewise.
62002         * soft-fp/ledf2.c (__ledf2): Likewise.
62003         * soft-fp/lesf2.c (__lesf2): Likewise.
62004         * soft-fp/letf2.c (__letf2): Likewise.
62006         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62007         Undefine and redefine.
62008         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62009         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62010         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62011         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62012         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62013         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62014         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62015         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62016         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62017         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62018         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62019         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62020         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62021         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62022         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62024         [BZ #16032]
62025         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62026         without decrementing exponent if mantissa >= that for the
62027         denominator, not >.
62028         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62029         denominator, not >.  Decrement exponent in < case instead of
62030         incrementing in >= case.
62031         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62032         without decrementing exponent if mantissa >= that for the
62033         denominator, not >.
62035         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62036         computing saturated result for unsigned overflow.
62038 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62039             Jeff Law  <law@redhat.com>
62041         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62042         (atan2Mp): Add systemtap probe marker.
62043         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62044         (__ieee754_log): Add systemtap probe marker.
62045         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62046         (atanMp): Add systemtap probe marker.
62047         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62048         (tanMp): Add systemtap probe marker.
62049         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62050         (__slowexp): Add systemtap probe marker.
62051         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62052         (__slowpow): Add systemtap probe marker.
62053         * manual/probes.texi: Document probes.
62055 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62057         [BZ #15362]
62058         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62059         written.
62060         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62061         written.
62062         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62063         written to buffer but not flushed.
62064         * libio/iofwrite_u.c:  Likewise.
62065         * libio/iopadn.c:  Return bytes returned even if EOF was
62066         encountered.
62067         * libio/iowpadn.c:  Likewise.
62068         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62069         if _IO_padn does not write the whole buffer.
62070         [!COMPILE_WPRINTF] (PAD): Likewise.
62072 2013-10-10  David S. Miller  <davem@davemloft.net>
62074         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62075         directory block.
62077 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62079         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62080         instead of FSF address.
62081         * soft-fp/fixdfti.c: Likewise.
62082         * soft-fp/fixsfti.c: Likewise.
62083         * soft-fp/fixtfti.c: Likewise.
62084         * soft-fp/fixunsdfti.c: Likewise.
62085         * soft-fp/fixunssfti.c: Likewise.
62086         * soft-fp/fixunstfti.c: Likewise.
62087         * soft-fp/floattidf.c: Likewise.
62088         * soft-fp/floattisf.c: Likewise.
62089         * soft-fp/floattitf.c: Likewise.
62090         * soft-fp/floatuntidf.c: Likewise.
62091         * soft-fp/floatuntisf.c: Likewise.
62092         * soft-fp/floatuntitf.c: Likewise.
62093         * soft-fp/trunctfxf2.c: Likewise.
62095         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62096         * soft-fp/fixdfti.c: Likewise.
62097         * soft-fp/fixsfti.c: Likewise.
62098         * soft-fp/fixtfti.c: Likewise.
62099         * soft-fp/fixunsdfti.c: Likewise.
62100         * soft-fp/fixunssfti.c: Likewise.
62101         * soft-fp/fixunstfti.c: Likewise.
62102         * soft-fp/floattidf.c: Likewise.
62103         * soft-fp/floattisf.c: Likewise.
62104         * soft-fp/floattitf.c: Likewise.
62105         * soft-fp/floatuntidf.c: Likewise.
62106         * soft-fp/floatuntisf.c: Likewise.
62107         * soft-fp/floatuntitf.c: Likewise.
62108         * soft-fp/trunctfxf2.c: Likewise.
62110 2013-10-10  David S. Miller  <davem@davemloft.net>
62112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62114 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62116         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62117         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62118         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62119         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62120         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62121         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62122         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62124         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62125         for NaNs before doing comparisons on argument.
62126         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62127         Likewise.
62129 2013-10-10  Will Newton  <will.newton@linaro.org>
62131         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62132         passed to _int_memalign does not overflow.
62134 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62136         * scripts/bench.pl: Add include-sources directive.
62137         * benchtests/README: Update documentation.
62139 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62141         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62142         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62143         instead of FP_INIT_ROUNDMODE.
62144         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62145         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62147         [BZ #16034]
62148         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62149         copy class of input value.
62150         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62151         not handle exceptions.
62152         * soft-fp/negsf2.c (__negsf2): Likewise.
62153         * soft-fp/negtf2.c (__negtf2): Likewise.
62154         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62156 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62158         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62159         semicolon.  From Linux kernel.
62161 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62163         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62165 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62167         [BZ #156]
62168         * manual/socket.texi: Added statement about buffer
62169         for gethostbyname2_r.
62171 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
62173         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62174         Use .p2align directive instead, throughout.
62175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62176         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62177         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62178         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62179         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62180         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62181         * sysdeps/x86_64/strchr.S: Likewise.
62182         * sysdeps/x86_64/strrchr.S: Likewise.
62184 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62186         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62188         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62190         * sysdeps/generic/math_private.h (__mpsin1): Remove
62191         declaration.
62192         (__mpcos1): Likewise.
62193         (__mpsin): New argument __range_reduce.
62194         (__mpcos): Likewise.
62195         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62196         (slow): Use __mpsin and __mpcos.
62197         (slow1): Likewise.
62198         (slow2): Likewise.
62199         (sloww): Likewise.
62200         (sloww1): Likewise.
62201         (sloww2): Likewise.
62202         (bsloww): Likewise.
62203         (bsloww1): Likewise.
62204         (bsloww2): Likewise.
62205         (cslow2): Likewise.
62206         (csloww): Likewise.
62207         (csloww1): Likewise.
62208         (csloww2): Likewise.
62209         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62210         range_reduce.  Merge in __mpsin1.
62211         (__mpcos): Likewise.
62212         (__mpsin1): Remove.
62213         (__mpcos1): Likewise.
62215 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62217         * locale/loadlocale.c (_nl_intern_locale_data): Use
62218         LOCFILE_ALIGNED_P.
62219         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62220         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62221         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62222         obstack data is appropriately aligned.
62223         (obstack_int32_grow_fast): Likewise.
62224         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62225         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62226         (add_locale_uint32_array): Likewise.
62228 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62230         * benchtests/Makefile: Remove ARGLIST and RET variables.
62231         ($(objpfx)bench-%.c): Pass only function name to the script.
62232         * benchtests/README: Update documentation.
62233         * benchtests/acos-inputs: Add new directives.
62234         * benchtests/acosh-inputs: Likewise.
62235         * benchtests/asin-inputs: Likewise.
62236         * benchtests/asinh-inputs: Likewise.
62237         * benchtests/atan-inputs: Likewise.
62238         * benchtests/atanh-inputs: Likewise.
62239         * benchtests/cos-inputs: Likewise.
62240         * benchtests/cosh-inputs: Likewise.
62241         * benchtests/exp-inputs: Likewise.
62242         * benchtests/log-inputs: Likewise.
62243         * benchtests/pow-inputs: Likewise.
62244         * benchtests/rint-inputs: Likewise.
62245         * benchtests/sin-inputs: Likewise.
62246         * benchtests/sinh-inputs: Likewise.
62247         * benchtests/tan-inputs: Likewise.
62248         * benchtests/tanh-inputs: Likewise.
62249         * scripts/bench.pl: Add support for new directives.
62251 2013-10-07  Alan Modra  <amodra@gmail.com>
62253         * README: Fix careless merge.
62255 2013-10-05  Alan Modra  <amodra@gmail.com>
62257         * NEWS: Mention powerpc64le support and bugs fixed.
62258         * README: Both big-endian and little-endian powerpc64 supported.
62260 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62262         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62263         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62264         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62265         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62267 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62269         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62270         match prototype.
62272 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62274         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62275         Move -mhard-float appending from
62276         ports/sysdeps/powerpc/powerpc32/Makefile.
62277         [$(with-fp) = yes] (ASFLAGS): Likewise.
62278         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62279         * sysdeps/powerpc/nofpu: Move directory from
62280         ports/sysdeps/powerpc/nofpu.
62281         * sysdeps/powerpc/soft-fp: Move directory from
62282         ports/sysdeps/powerpc/soft-fp.
62283         * sysdeps/powerpc/powerpc32/405: Move directory from
62284         ports/sysdeps/powerpc/powerpc32/405.
62285         * sysdeps/powerpc/powerpc32/440: Move directory from
62286         ports/sysdeps/powerpc/powerpc32/440.
62287         * sysdeps/powerpc/powerpc32/464: Move directory from
62288         ports/sysdeps/powerpc/powerpc32/464.
62289         * sysdeps/powerpc/powerpc32/476: Move directory from
62290         ports/sysdeps/powerpc/powerpc32/476.
62291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62292         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62294         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62296         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62298         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62300         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62301         * README: Update for powerpc-*-linux-gnu software floating point
62302         support in libc.
62304         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62305         case to powerpc/powerpc32*.
62306         * sysdeps/unix/sysv/linux/configure: Regenerated.
62308         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62309         (_FPU_MASK_OM): Define as 0x04.
62310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62312         0x00c10080.
62313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62314         0x0000003c.
62315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62318         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62319         getcontext_e500.
62320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62321         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62322         setcontext_e500.
62323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62324         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62325         and setcontext_e500.
62327 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62329         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62331 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62333         * manual/threads.texi (Default Thread Attributes): Fix typo.
62335 2013-10-04  Will Newton  <will.newton@linaro.org>
62337         * malloc/Makefile: Add tst-memalign.
62338         * malloc/tst-memalign.c: New file.
62340         * malloc/tst-posix_memalign.c: Add comments.
62341         (do_test): Add comments and call free on all potentially
62342         allocated pointers. Add space after cast.
62344         * malloc/tst-pvalloc.c: Add comments.
62345         (do_test): Add comments and call free on all potentially
62346         allocated pointers. Remove duplicate check for NULL pointer.
62347         Add space after cast.
62349         * malloc/tst-valloc.c: Add comments.
62350         (do_test): Add comments and call free on all potentially
62351         allocated pointers. Remove duplicate check for NULL pointer.
62352         Add space after cast.
62354 2013-10-04  Alan Modra  <amodra@gmail.com>
62356         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62357         Use stdint types in rather than __attribute__((mode())).
62358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62360 2013-10-04  Alan Modra  <amodra@gmail.com>
62362         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62363         Correct handling of unaligned relocs for little-endian.
62364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62366 2013-10-04  Alan Modra  <amodra@gmail.com>
62368         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62369         * configure: Regenerate.
62370         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62371         * shlib-versions: Likewise.
62373 2013-10-04  Alan Modra  <amodra@gmail.com>
62375         * string/tester.c (test_memrchr): Increment reported test cycle.
62377 2013-10-04  Alan Modra  <amodra@gmail.com>
62379         * string/test-memcpy.c (do_one_test): When reporting errors, print
62380         string address and don't overrun end of string.
62382 2013-10-04  Alan Modra  <amodra@gmail.com>
62384         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62385         insrdi.  Make better use of reg selection to speed exit slightly.
62386         Schedule entry path a little better.  Remove useless "are we done"
62387         checks on entry to main loop.  Handle wrapping around zero address.
62388         Correct main loop count.  Handle single left-over word from main
62389         loop inline rather than by using loop_small.  Remove extra word
62390         case in loop_small caused by wrong loop count.  Add little-endian
62391         support.
62392         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62394         cache hint.
62395         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62396         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62397         support.  Avoid rlwimi.
62398         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62400 2013-10-04  Alan Modra  <amodra@gmail.com>
62402         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62403         insrdi.  Formatting.
62404         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62405         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62406         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62407         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62408         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62409         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62411 2013-10-04  Alan Modra  <amodra@gmail.com>
62413         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62414         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62415         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62416         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62417         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62418         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62419         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62420         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62421         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62422         use of regs.  Use power7 mtocrf.  Tidy function tails.
62424 2013-10-04  Alan Modra  <amodra@gmail.com>
62426         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62427         Formatting.  Consistently use rXXX register defines or rN defines.
62428         Use early exit labels that avoid restoring unused non-volatile regs.
62429         Make cr field use more consistent with rWORDn compares.  Rename
62430         regs used as shift registers for unaligned loop, using rN defines
62431         for short lifetime/multiple use regs.
62432         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62433         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62434         addi 1,1,64 to pop stack frame.  Simplify return value code.
62435         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62437 2013-10-04  Alan Modra  <amodra@gmail.com>
62439         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62440         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62441         rather than rlwimi.
62442         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62443         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62444         little-endian support.  Correct typos.
62445         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62446         rather than rlwimi.
62447         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62448         in loop and entry code to keep "and." results.
62449         (strchr): Add little-endian support.  Comment.  Move cntlzd
62450         earlier in tail.
62451         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62453 2013-10-04  Alan Modra  <amodra@gmail.com>
62455         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62456         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62457         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62458         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62460 2013-10-04  Alan Modra  <amodra@gmail.com>
62462         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62463         (rTMP): Define as r11.
62464         (strcmp): Add little-endian support.  Optimise tail.
62465         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62466         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62467         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62468         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62469         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62471         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62473 2013-10-04  Alan Modra  <amodra@gmail.com>
62475         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62476         little-endian support.  Remove unnecessary "are we done" tests.
62477         Handle "s" wrapping around zero and extremely large "size".
62478         Correct main loop count.  Handle single left-over word from main
62479         loop inline rather than by using small_loop.  Correct comments.
62480         Delete "zero" tail, use "end_max" instead.
62481         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62483 2013-10-04  Alan Modra  <amodra@gmail.com>
62485         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62486         support.  Don't branch over align.
62487         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62488         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62489         support.  Rearrange tmp reg use to suit.  Comment.
62490         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62492 2013-10-04  Alan Modra  <amodra@gmail.com>
62494         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62496 2013-10-04  Alan Modra  <amodra@gmail.com>
62498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62499         conditional form of branch and link when obtaining pc.
62500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62502 2013-10-04  Alan Modra  <amodra@gmail.com>
62504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62505         HIWORD/LOWORD.
62506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62509 2013-10-04  Alan Modra  <amodra@gmail.com>
62511         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62512         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62513         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62514         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62515         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62516         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62517         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62518         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62519         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62520         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62522 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62523             Alistair Popple <alistair@ozlabs.au.ibm.com>
62524             Alan Modra <amodra@gmail.com>
62526         [BZ #15723]
62527         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62528         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62529         _dl_hwcap access for little-endian.
62530         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62531         destroy vmx regs when saving unaligned.
62532         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62533         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62534         destroy vmx regs when saving unaligned.
62536 2013-10-04  Alan Modra  <amodra@gmail.com>
62538         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62539         Don't use a union to pack hi/low value.
62541 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62543         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62544         for little-endian.
62545         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62547         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62548         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62549         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62551 2013-10-04  Alan Modra  <amodra@gmail.com>
62553         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62554         constants to usual value for .cst8 section, and remove redundant
62555         high address load.
62556         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62557         constant for 0x1p52.  Load little-endian words of double from
62558         correct stack offsets.
62560 2013-10-04  Alan Modra  <amodra@gmail.com>
62562         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62563         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62564         words of double from correct stack offsets.
62565         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62566         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62567         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62568         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62569         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62570         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62571         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62572         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62573         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62574         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62575         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62576         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62577         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62578         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62579         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62580         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62581         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62583 2013-10-04  Alan Modra  <amodra@gmail.com>
62585         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62586         64-bit int/double union.
62587         (_FPU_SETCW): Likewise.
62588         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62589         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62591 2013-10-04  Alan Modra  <amodra@gmail.com>
62593         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62594         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62596 2013-10-04  Alan Modra  <amodra@gmail.com>
62598         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62599         use vector int constants.
62600         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62602 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62604         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62605         array with long long.
62606         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62607         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62608         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62609         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62610         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62611         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62612         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62613         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62614         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62615         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62616         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62617         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62618         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62620 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62622         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62623         (__signbit): Likewise.  Correct for little-endian.
62624         (__signbitl): Call __signbit.
62625         (lrint): Correct for little-endian.
62626         (lrintf): Call lrint.
62628 2013-10-04  Alan Modra  <amodra@gmail.com>
62630         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62631         union 32-bit int array member with 64-bit int array.
62632         (t515, tm256): Double rather than long double.
62633         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62635 2013-10-04  Alan Modra  <amodra@gmail.com>
62637         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62638         Delete.
62639         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62641         version of math_ldbl.h.
62643 2013-10-04  Alan Modra  <amodra@gmail.com>
62645         [BZ #15734], [BZ #15735]
62646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62647         all uses of ieee875 long double macros and unions.  Simplify test
62648         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62649         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62650         normalize after ldbl_extract_mantissa, and don't add hidden bit
62651         already handled.  Don't treat low word of ieee854 mantissa like
62652         low word of IBM long double and mask off bit when testing for
62653         zero.
62654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62655         all uses of ieee875 long double macros and unions.  Simplify tests
62656         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62657         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62658         two1022, instead use their values.  Recognise that tests for large
62659         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62660         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62661         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62662         test for 0.0L and nan.  Correct negation.
62663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62664         ieee875 long double macros and unions.  Correct output for large
62665         magnitude x.  Correct absolute value calculation.
62666         (__erfcl): Likewise.
62667         * math/libm-test.inc: Add tests for errors discovered in IBM long
62668         double versions of fmodl, remainderl, erfl and erfcl.
62670 2013-10-04  Alan Modra  <amodra@gmail.com>
62672         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62673         all uses of ieee854 long double macros and unions.  Simplify tests
62674         for long doubles that are fully specified by the high double.
62675         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62676         Likewise.
62677         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62678         Remove dead code too.
62679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62680         (__ieee754_ynl): Likewise.
62681         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62682         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62684         Remove dead code too.
62685         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62686         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62689         Simplify.
62690         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62691         Simplify.
62692         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62693         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62695         Comment on variable precision.
62696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62697         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62698         Likewise.
62699         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62703         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62705 2013-10-04  Alan Modra  <amodra@gmail.com>
62707         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62709         all uses of ieee854 long double macros and unions.
62710         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62713         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62714         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62715         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62716         Likewise.
62717         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62718         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62719         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62720         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62721         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62722         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62723         Simplify sign and nan test too.
62724         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62725         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62726         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62727         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62728         Likewise.
62729         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62730         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62731         Likewise.
62732         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62733         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62734         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62735         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62736         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62739 2013-10-04  Alan Modra  <amodra@gmail.com>
62741         * stdio-common/printf_size.c (__printf_size): Don't use
62742         union ieee854_long_double in fpnum union.
62743         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
62744         signbit macro to retrieve sign from long double.
62745         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62746         retrieve sign from long double.
62747         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62748         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62749         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62750         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62751         * math/test-misc.c (main): Don't use union ieee854_long_double.
62753 2013-10-04  Alan Modra  <amodra@gmail.com>
62755         [BZ #15680]
62756         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62757         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62758         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62759         calculation.  Remove unnecessary test for denormal exponent.
62760         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62761         Correct handling of denormals.  Avoid undefined shift behaviour.
62762         Correct normalisation of low mantissa when low double is denormal.
62763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62764         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
62765         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62766         Correct normalisation of low mantissa.  Test for overflow of high
62767         mantissa and normalise.
62768         (ldbl_nearbyint): Use more readable constant for two52.
62769         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62770         (__mpn_construct_long_double): Fix test for overflow of high
62771         mantissa and correct normalisation.  Avoid undefined shift.
62773 2013-10-04  Alan Modra  <amodra@gmail.com>
62775         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62776         (union ibm_extended_long_double): Define as an array of ieee754_double.
62777         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62778         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62779         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62780         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62781         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62782         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62783         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62784         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62785         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62786         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62787         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62789 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
62791         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62792         page size instead of calling getpagesize.
62794         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62795         (LOCFILE_ALIGN_MASK): Likewise.
62796         (LOCFILE_ALIGN_UP): Likewise.
62797         (LOCFILE_ALIGNED_P): Likewise.
62798         * locale/programs/ld-collate.c (collate_output): Use the new
62799         macros instead of __alignof__ (int32_t).
62800         * locale/weight.h (findidx): Likewise.
62802 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
62804         [BZ #431]
62805         * manual/string.texi: Fix strncat and wcsncat.
62807 2013-10-03  Brooks Moses  <bmoses@google.com>
62809         [BZ #15915]
62810         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62811         * Makerules: ...here, and adjust associated comments.
62813 2013-10-02  Will Newton  <will.newton@linaro.org>
62815         * malloc/Makefile: Add tst-pvalloc.
62816         * malloc/tst-pvalloc.c: New file.
62818 2013-10-02  Will Newton  <will.newton@linaro.org>
62820         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62821         improve test coverage.
62823 2013-10-02  Will Newton  <will.newton@linaro.org>
62825         * malloc/Makefile: Add tst-posix_memalign.
62826         * malloc/tst-posix_memalign.c: New file.
62828 2013-10-01  Eric Blake  <eblake@redhat.com>
62830         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62831         Use __THROWNL rather than __THROW on static functions.
62833 2013-09-30  Petr Machata  <pmachata@redhat.com>
62835         * elf/elf.h (R_AARCH64_ABS16): New macro.
62836         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62837         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62838         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62839         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62840         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62841         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62842         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62843         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62844         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62845         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62846         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62847         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62848         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62849         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62850         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62851         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62852         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62853         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62854         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62855         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62856         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62857         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62858         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62859         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62860         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62861         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62862         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62863         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62864         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62865         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62866         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62867         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62868         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62869         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62870         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62871         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62872         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62873         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62874         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62875         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62876         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62877         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62878         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62879         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62880         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62881         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62882         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62883         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62884         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62885         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62886         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62887         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62888         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62889         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62890         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62891         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62892         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62893         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62894         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62895         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62896         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62897         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62898         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62899         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62900         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62901         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62902         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62903         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62904         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62905         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62906         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62907         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62908         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62909         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62910         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62911         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62912         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62913         (R_AARCH64_TLSDESC_LDR): Likewise.
62914         (R_AARCH64_TLSDESC_ADD): Likewise.
62915         (R_AARCH64_TLSDESC_CALL): Likewise.
62917 2013-09-30  Andreas Schwab  <schwab@suse.de>
62919         [BZ #15048]
62920         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62921         the nss database lookup.
62922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62925 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
62927         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62929 2013-09-28  P. J. McDermott  <pj@pehjota.net>
62931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62932         ${Bash-specific parameter/pattern/string} parameter expansion.
62933         * sysdeps/unix/make-syscalls.sh: Likewise.
62935 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62937         * sysdeps/sh/stackguard-macros.h: New file.
62939 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
62941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62943         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62944         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62945         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62946         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62948 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62950         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62951         Fix thread ID register.
62953 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
62955         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62956         [POSIX || UNIX98]: Require rather than permitting all symbols from
62957         <time.h>.
62958         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62959         element of struct sched_param.
62960         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62961         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62962         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62963         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62964         constant.
62966 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
62968         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62969         argument calculation.
62971 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62973         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62974         Expect macro.
62975         [POSIX] (pthread_attr_t): Do not require type.
62976         [POSIX] (pthread_cond_t): Likewise.
62977         [POSIX] (pthread_condattr_t): Likewise.
62978         [POSIX] (pthread_key_t): Likewise.
62979         [POSIX] (pthread_mutex_t): Likewise.
62980         [POSIX] (pthread_mutexattr_t): Likewise.
62981         [POSIX] (pthread_once_t): Likewise.
62982         [POSIX] (pthread_t): Likewise.
62983         [POSIX-based standards] (pthread_atfork): Expect function.
62985 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62986             Richard Sandiford  <richard@codesourcery.com>
62988         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62989         (swap_endianness_p): New extern variable.
62990         (set_big_endian): New inline function.
62991         (maybe_swap_uint32): Likewise.
62992         (maybe_swap_uint32_array): Likewise.
62993         (maybe_swap_uint32_obstack): Likewise.
62994         * locale/programs/locfile.c: Include <stdbool.h>.
62995         (swap_endianness_p): New variable.
62996         (add_locale_uint32): Call maybe_swap_uint32.
62997         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62998         (write_locale_data): Call maybe_swap_uint32_array.
62999         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63000         maybe_swap_uint32.
63001         (obstack_int32_grow_fast): Likewise.
63002         (output_weightwc): Call maybe_swap_uint32_obstack.
63003         (collate_output): Likewise.
63004         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63005         (OPT_LITTLE_ENDIAN): Likewise.
63006         (options): Add --little-endian and --big-endian options.
63007         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63008         * locale/programs/locarchive.c: Include "locfile.h".
63009         (GET): New macro.
63010         (SET): Likewise.
63011         (INC): Likewise.
63012         (create_archive): Use the new macros to access fields of
63013         structures directly mapped from or written to locale archives.
63014         (oldlocrecentcmp): Likewise.
63015         (enlarge_archive): Likewise.
63016         (insert_name): Likewise.
63017         (add_alias): Likewise.
63018         (add_locale): Likewise.
63019         (delete_locales_from_archive): Likewise.
63020         (show_archive_content): Likewise.
63021         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63022         locale data.
63024 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63026         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63027         http://www.gnu.org/doc/freemanuals.texi.
63028         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63030 2013-09-24  Will Newton  <will.newton@linaro.org>
63032         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63033         macro.
63035 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63037         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63038         unsigned char.
63040 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63042         * manual/threads.texi (POSIX Threads): Fix a typo.
63044 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63046         [BZ #14547]
63047         * string/tst-strcoll-overflow.c: New test case.
63048         * string/Makefile (xtests): Add tst-strcoll-overflow.
63049         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63050         cache if string sizes may cause integer overflow.
63052         [BZ #14547]
63053         * string/strcoll_l.c (coll_seq): New members rule, idx,
63054         save_idx and back_us.
63055         (get_next_seq_nocache): New function.
63056         (do_compare_nocache): New function.
63057         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63058         when malloc fails.
63060 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63062         [BZ #15754]
63063         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63064         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63065         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63067         [BZ #15754]
63068         * elf/Makefile (tests): Add tst-ptrguard1.
63069         (tests-static): Add tst-ptrguard1-static.
63070         (tst-ptrguard1-ARGS): Define.
63071         (tst-ptrguard1-static-ARGS): Define.
63072         * elf/tst-ptrguard1.c: New file.
63073         * elf/tst-ptrguard1-static.c: New file.
63074         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63075         * sysdeps/i386/stackguard-macros.h: Likewise.
63076         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63077         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63078         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63079         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63080         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63081         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63083 2013-09-23  Hector Marco  <hecmargi@upv.es>
63084             Ismael Ripoll  <iripoll@disca.upv.es>
63085             Carlos O'Donell  <carlos@redhat.com>
63087         [BZ #15754]
63088         * sysdeps/generic/stackguard-macros.h: Define
63089         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63090         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63091         Define __pointer_chk_guard_local.
63092         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63093         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63095 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63097         [BZ #15859]
63098         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63100 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63102         * include/string.h (__ffs): Declare as hidden.
63103         * string/ffs.c (__ffs): Define as hidden.
63104         * sysdeps/i386/ffs.c (__ffs): Likewise.
63105         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63106         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63107         * sysdeps/s390/ffs.c (__ffs): Likewise.
63108         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63110 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63112         * NEWS: Mention malloc probes.
63114         * malloc/arena.c (new_heap): New memory_heap_new probe.
63115         (grow_heap): New memory_heap_more probe.
63116         (shrink_heap): New memory_heap_less probe.
63117         (heap_trim): New memory_heap_free probe.
63118         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63119         (systrim): New memory_sbrk_less probe.
63120         * manual/probes.texi: Document them.
63122         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63123         * manual/probes.texi: Document it.
63125         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63126         (__libc_realloc): Add memory_realloc_retry probe.
63127         (__libc_memalign): Add memory_memalign_retry probe.
63128         (__libc_valloc): Add memory_valloc_retry probe.
63129         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63130         (__libc_calloc): Add memory_calloc_retry probe.
63131         * manual/probes.texi: Document them.
63133         * malloc/arena.c (get_free_list): Add probe
63134         memory_arena_reuse_free_list.
63135         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63136         and memory_arena_reuse.
63137         (arena_get2) [!PER_THREAD]: Likewise.
63138         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63139         memory_arena_reuse_realloc.
63140         * manual/probes.texi: Document them.
63142         * malloc/malloc.c (__libc_free): Add
63143         memory_mallopt_free_dyn_thresholds probe.
63144         (__libc_mallopt): Add multiple memory_mallopt probes.
63145         * manual/probes.texi: Document them.
63147         * malloc/malloc.c: Include stap-probe.h.
63148         (__libc_mallopt): Add memory_mallopt probe.
63149         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63150         * manual/probes.texi: New.
63151         * manual/Makefile (chapters): Add probes.
63152         * manual/threads.texi: Set next node.
63154 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63156         [BZ #15963, #13985]
63157         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63158         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63159         Add `Chinese' to `nan' entry name.
63161 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63163         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63164         (POLYNOMIAL): Likewise.
63165         (TAYLOR_SINCOS): Likewise.
63166         (TAYLOR_SLOW): Likewise.
63167         (__sin): Use TAYLOR_SINCOS.
63168         (__cos): Likewise.
63169         (slow): Use TAYLOR_SLOW.
63170         (sloww): Likewise.
63171         (bsloww): Likewise.
63172         (csloww): Likewise.
63174 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63176         * stdlib/strtod_l.c: Fix buffer overrun.
63178 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63180         * benchtests/Makefile (bench): Add sincos.
63181         * benchtests/bench-sincos.c: New file.
63183         * math/libm-test.inc (cos_test_data): New test inputs.
63184         (sin_test_data): Likewise.
63186         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63187         macro.
63188         (__sin): Use it.
63189         (__cos): Likewise.
63190         (slow1): Likewise.
63191         (slow2): Likewise.
63192         (sloww1): Likewise.
63193         (sloww2): Likewise.
63194         (bsloww1): Likewise.
63195         (bsloww2): Likewise.
63196         (cslow2): Likewise.
63197         (csloww1): Likewise.
63198         (csloww2): Likewise.
63200         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63201         function.
63202         (__sin): Use it.
63203         (__cos): Likewise.
63205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63206         gotos.
63207         (__cos): Likewise.
63209 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63211         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63212         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63213         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63214         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63215         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63216         * elf/cache.c (print_entry): Handle the new cache flags.
63218 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63219             Aldy Hernandez  <aldyh@redhat.com>
63221         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63222         Change condition to [_SOFT_FLOAT].
63223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63235         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63238         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63239         declaration.
63241 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63243         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63244         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63245         (__longjmp): Use LOAD_GP to load saved GPRs.
63246         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63247         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63248         (__sigsetjmp): Use SAVE_GP to save GPRs.
63250         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63251         Do not append -msoft-float.
63252         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63254 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63256         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63258 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63260         [BZ #15966]
63261         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63262         (_FPU_GETCW): Use initial "__" on variable and field names but not
63263         on macro parameter name.
63264         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63265         parentheses around reference to macro parameter.
63267 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63269         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63270         prototype.
63271         (ctype_startup): Use uint32_t in cast and sizeof for
63272         ctype->charnames.
63274 2013-09-11  Jia Liu  <proljc@gmail.com>
63276         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63277         __daddr_t_defined.
63278         [__FreeBSD__]: Likewise.
63280 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
63282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63283         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63284         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63285         (strchr): Remove __strchr_sse42 ifunc selection.
63286         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63287         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63289 2013-09-11  Will Newton  <will.newton@linaro.org>
63291         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63292         parameter to RES. Remove hardcoded 1000 value.
63293         * benchtests/bench-skeleton.c (main): Pass RES parameter
63294         to TIMING_INIT and multiply result by 1000.
63296 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63300 2013-09-11  Andreas Schwab  <schwab@suse.de>
63302         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63303         if not defined.
63304         (O_TMPFILE) [__USE_GNU]: Define.
63305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63306         Define.
63308 2013-09-11  Will Newton  <will.newton@linaro.org>
63310         [BZ #15857]
63311         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63312         does not overflow.
63314 2013-09-11  Will Newton  <will.newton@linaro.org>
63316         [BZ #15856]
63317         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63318         does not overflow.
63320 2013-09-11  Will Newton  <will.newton@linaro.org>
63322         [BZ #15855]
63323         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63324         does not overflow.
63326 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
63328         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63329         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63330         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63331         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63332         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63334 2013-09-10  Allan McRae  <allan@archlinux.org>
63336         [BZ #15748]
63337         * manual/arith.texi (Parsing of Floats): Clarify
63338         cross-reference.
63340         [BZ #15849]
63341         * manual/install.texi (Running make install): Mention
63342         --enable-pt-chown.
63343         * INSTALL: Regenerated.
63345 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63347         * csu/init-first.c (_init): Remove the !SHARED condition around
63348         FPU control word initialization.
63349         * elf/dl-support.c (_dl_fpu_control): New variable.
63350         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63351         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63352         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63353         * math/test-fpucw-static.c: New file.
63354         * math/test-fpucw-ieee.c: New file.
63355         * math/test-fpucw-ieee-static.c: New file.
63356         * math/Makefile (tests): Add `test-fpucw-ieee' and
63357         `$(tests-static)'.
63358         (tests-static): New variable.
63359         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63360         dependency to...
63361         [($(build-shared),yes)]
63362         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63363         ... this.
63364         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63365         New dependency.
63367 2013-09-09  Allan McRae  <allan@archlinux.org>
63369         [BZ #15939]
63370         * manual/string.texi (Collation Functions): Fix typo in
63371         strcoll example.
63372         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63374         [BZ #15893]
63375         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63377         [BZ #15892]
63378         * libio/memstream.c (open_memstream): Fix memory leak.
63379         * libio/wmemstream.c (open_wmemstream): Likewise.
63381         [BZ #15895]
63382         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63384 2013-09-09  Will Newton  <will.newton@linaro.org>
63386         * malloc/Makefile: Add tst-realloc to tests.
63387         * malloc/tst-realloc.c: New file.
63389 2013-09-09  Allan McRae  <allan@archlinux.org>
63391         [BZ #15844]
63392         * COPYING: Update from GNU website to fix FSF address.
63393         * COPYING.LIB: Likewise.
63395 2013-09-06  David S. Miller  <davem@davemloft.net>
63397         * po/zh_TW.po: Update Chinese (traditional) translation from
63398         translation project.
63400 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63401             Joseph Myers  <joseph@codesourcery.com>
63403         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63404         "localeinfo.h".
63405         (obstack_chunk_alloc): New macro.
63406         (obstack_chunk_free): Likewise.
63407         (record_offset): New function.
63408         (init_locale_data): Likewise.
63409         (align_locale_data): Likewise.
63410         (add_locale_empty): Likewise.
63411         (add_locale_raw_data): Likewise.
63412         (add_locale_raw_obstack): Likewise.
63413         (add_locale_string): Likewise.
63414         (add_locale_wstring): Likewise.
63415         (add_locale_uint32): Likewise.
63416         (add_locale_uint32_array): Likewise.
63417         (add_locale_char): Likewise.
63418         (start_locale_structure): Likewise.
63419         (end_locale_structure): Likewise.
63420         (start_locale_prelude): Likewise.
63421         (end_locale_prelude): Likewise.
63422         (write_locale_data): Take locale_file structure rather than an
63423         iovec.
63424         * locale/programs/locfile.h: Include "obstack.h".
63425         (struct locale_file): Change to store locale file contents instead
63426         of header.
63427         (init_locale_data): New prototype.
63428         (align_locale_data): Likewise.
63429         (add_locale_empty): Likewise.
63430         (add_locale_raw_data): Likewise.
63431         (add_locale_raw_obstack): Likewise.
63432         (add_locale_string): Likewise.
63433         (add_locale_wstring): Likewise.
63434         (add_locale_uint32): Likewise.
63435         (add_locale_uint32_array): Likewise.
63436         (add_locale_char): Likewise.
63437         (start_locale_structure): Likewise.
63438         (end_locale_structure): Likewise.
63439         (start_locale_prelude): Likewise.
63440         (end_locale_prelude): Likewise.
63441         (write_locale_data): Update prototype.
63442         * locale/programs/3level.h (struct TABLE): Remove result field.
63443         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63444         Use new locale_file interface.
63445         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63446         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63447         * locale/programs/ld-address.c (address_output): Use new
63448         locale_file interface.
63449         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63450         NO_ADD_LOCALE.
63451         (collate_finish): Don't call collseq_table_finalize.
63452         (collate_output): Use new locale_file interface.
63453         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63454         in file.
63455         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63456         (TABLE): Move defines earlier in file.
63457         (ELEMENT): Likewise.
63458         (DEFAULT): Likewise.
63459         (wctrans_table_add): Move macro and inline function earlier in
63460         file.
63461         (struct wctype_table): Move type earlier in file.
63462         (add_locale_wctype_table): New static prototype.
63463         (struct locale_ctype_t): Use logical types instead of struct iovec
63464         pointers for members.
63465         (ctype_output): Use new locale_file interface.
63466         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63467         new locale_file interface.
63468         (allocate_arrays): Update for use of new locale_file interface.
63469         * locale/programs/ld-identification.c (identification_output): Use
63470         new locale_file interface.
63471         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63472         * locale/programs/ld-messages.c (messages_output): Likewise.
63473         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63474         * locale/programs/ld-name.c (name_output): Likewise.
63475         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63476         * locale/programs/ld-paper.c (paper_output): Likewise.
63477         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63478         * locale/programs/ld-time.c (time_output): Likewise.
63480 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63482         * benchtests/Makefile: Add memrchr benchmark.
63483         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63484         benchmark as memrchr.
63485         * benchtests/bench-memrchr-ifunc.c: New file.
63486         * benchtests/bench-memrchr.c: New file.
63488 2013-09-06   Will Newton  <will.newton@linaro.org>
63490         * benchtests/Makefile (string-bench): Add memcpy.
63492 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63493             Cong Wang  <amwang@redhat.com>
63495         [BZ #15850]
63496         * sysdeps/unix/sysv/linux/bits/in.h
63497         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63498         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63499         before __USE_KERNEL_IPV6_DEFS uses.
63500         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63501         IPPROTO_BEETPH.
63502         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63503         sockaddr_in6, or ipv6_mreq.
63505 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63507         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63508         memory access for final bytes in some large inputs.
63509         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63511 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63513         * string/test-memrchr.c: New file.
63514         * string/test-memrchr-ifunc.c: New file.
63515         * string/Makefile: Add new memrchr testcase.
63517 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63519         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63520         fanotify_init returns EPERM.
63522 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63524         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63525         errors.
63526         (top level): Treat second token from macro or constant entries for
63527         allowed headers as allowed.
63528         * include/complex.h: Condition internal declarations on
63529         [!_ISOMAC].
63530         * include/fenv.h: Condition include of <stdbool.h> and internal
63531         declarations on [!_ISOMAC].
63533 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63535         [BZ #15923]
63536         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63538 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63540         * configure.in (--enable-versioning): Remove configure option.
63541         (libc_cv_asm_symver_directive): Remove configure test.
63542         (libc_cv_ld_version_script_option): Likewise.
63543         (VERSIONING): Remove variable and AC_SUBST.
63544         (DO_VERSIONING): Remove AC_DEFINE.
63545         * configure: Regenerated.
63546         * config.h.in (DO_VERSIONING): Remove macro.
63547         * Makerules [$(versioning) = yes]: Change conditionals to
63548         [$(build-shared) = yes].
63549         * config.make.in (versioning): Remove variable.
63550         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63551         [$(build-shared) = yes].
63552         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63553         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63554         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63555         [$(build-shared) = yes].
63556         * extra-lib.mk [$(versioning) = yes]: Likewise.
63557         * hurd/Makefile [$(versioning) = yes]: Likewise.
63558         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63559         [SHARED].
63560         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63561         [SHARED].
63562         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63563         [SHARED && !NO_HIDDEN].
63564         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63565         [SHARED].
63566         [SHARED && DO_VERSIONING]: Likewise..
63567         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63568         [$(build-shared) = yes].
63569         * manual/install.texi (--disable-versioning): Remove
63570         documentation.
63571         * INSTALL: Regenerated.
63572         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63573         to [SHARED].
63574         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63575         [$(build-shared) = yes].
63576         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63577         * sysdeps/i386/i686/multiarch/strstr-c.c
63578         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63579         [SHARED && !NO_HIDDEN].
63580         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63581         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63582         * sysdeps/powerpc/powerpc32/dl-machine.c
63583         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63584         * sysdeps/powerpc/powerpc32/sysdep.h
63585         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63586         to [SHARED && PIC && !NO_HIDDEN].
63587         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63588         conditional to [SHARED].
63590 2013-09-04   Will Newton  <will.newton@linaro.org>
63592         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63593         * benchtests/bench-string.h: Include bench-timing.h instead
63594         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63595         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63596         call to HP_TIMING_DIFF_INIT.
63597         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63598         instead of hp-timing.h macros.
63599         * benchtests/bench-memchr.c: Likewise.
63600         * benchtests/bench-memcmp.c: Likewise.
63601         * benchtests/bench-memcpy.c: Likewise.
63602         * benchtests/bench-memmem.c: Likewise.
63603         * benchtests/bench-memmove.c: Likewise.
63604         * benchtests/bench-memset.c: Likewise.
63605         * benchtests/bench-rawmemchr.c: Likewise.
63606         * benchtests/bench-strcasecmp.c: Likewise.
63607         * benchtests/bench-strcasestr.c: Likewise.
63608         * benchtests/bench-strcat.c: Likewise.
63609         * benchtests/bench-strchr.c: Likewise.
63610         * benchtests/bench-strcmp.c: Likewise.
63611         * benchtests/bench-strcpy.c: Likewise.
63612         * benchtests/bench-strcpy_chk.c: Likewise.
63613         * benchtests/bench-strlen.c: Likewise.
63614         * benchtests/bench-strncasecmp.c: Likewise.
63615         * benchtests/bench-strncat.c: Likewise.
63616         * benchtests/bench-strncmp.c: Likewise.
63617         * benchtests/bench-strncpy.c: Likewise.
63618         * benchtests/bench-strnlen.c: Likewise.
63619         * benchtests/bench-strpbrk.c: Likewise.
63620         * benchtests/bench-strrchr.c: Likewise.
63621         * benchtests/bench-strspn.c: Likewise.
63622         * benchtests/bench-strstr.c: Likewise.
63624 2013-09-04  Will Newton  <will.newton@linaro.org>
63626         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63628 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63630         [BZ #15427]
63631         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63632         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63633         * math/libm-test.inc (lgamma_test_data): Add more tests.
63634         * sysdeps/i386/fpu/libm-test-ulps: Update.
63635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63637 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
63639         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63641         Add ifunc.
63642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63643         Add strcmp-sse2-unaligned
63644         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63646 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63648         * Versions.def (libc): Add GLIBC_2.19.
63650 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63652         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63653         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63655 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63657         [BZ #14155]
63658         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63659         intermediate calculations in recurrence.
63660         (__ieee754_ynf): Likewise.
63661         * math/libm-test.inc (jn_test_data): Do not allow spurious
63662         underflow exception.  Add more tests.
63663         (yn_test_data): Add more tests.
63664         * sysdeps/i386/fpu/libm-test-ulps: Update.
63665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63667 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
63669         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63671 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63673         * csu/init-first.c: Fix then/than typos.
63674         * locale/programs/ld-collate.c: Likewise.
63675         * locale/programs/linereader.h: Likewise.
63676         * manual/charset.texi: Likewise.
63677         * manual/filesys.texi: Likewise.
63678         * manual/stdio.texi: Likewise.
63679         * manual/string.texi: Likewise.
63680         * stdlib/fmtmsg.c: Likewise.
63681         * sysdeps/i386/stpncpy.S: Likewise.
63682         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63683         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63684         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63685         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63687 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63689         * elf/dl-open.c: Fix typos.
63690         * iconvdata/gbbig5.c: Likewise.
63691         * iconvdata/iso-2022-jp.c: Likewise.
63692         * iconv/gconv_int.h: Likewise.
63693         * iconv/loop.c: Likewise.
63694         * nis/rpcsvc/nis.h: Likewise.
63695         * resolv/ns_name.c: Likewise.
63696         * stdio-common/vfscanf.c: Likewise.
63697         * streams/stropts.h: Likewise.
63698         * sunrpc/rpc_thread.c: Likewise.
63699         * sysdeps/i386/strpbrk.S: Likewise.
63700         * sysdeps/ieee754/k_standard.c: Likewise.
63701         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63703         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63704         * sysdeps/mach/hurd/profil.c: Likewise.
63705         * sysdeps/s390/dl-procinfo.h: Likewise.
63706         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63707         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63708         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63709         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63710         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63712 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
63714         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63717 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
63719         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63720         aix specific files.
63721         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63722         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63723         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63724         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63725         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63726         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63727         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63728         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63730 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63731             Roland McGrath  <roland@hack.frob.com>
63733         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63734         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63736 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63738         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63739         __executable_start symbol instead of _start.
63741 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63743         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63744         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63745         Move macros to...
63746         * sysdeps/gnu/ldsodefs.h: ... this new file.
63748         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63749         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63750         instead of ELFOSABI_LINUX.
63752         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63753         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63754         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63755         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63756         Likewise.
63757         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63758         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63759         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63760         Likewise.
63761         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63762         (ibm_extended_long_double): Add ieee_nan member.
63763         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63764         (do_test): New function.
63766         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63767         TEST_TRUNC.
63768         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63769         functions, renamed from truncdfsf_test, trunctfsf_test,
63770         trunctfdf_test.
63771         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63772         functions.
63773         (do_test): Run all these.
63775 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
63777         * argp/argp-help.c: Fix typos.
63778         * argp/argp-parse.c: Likewise.
63779         * debug/backtracesyms.c: Likewise.
63780         * elf/elf.h: Likewise.
63781         * malloc/malloc.c: Likewise.
63782         * nis/nis_print.c: Likewise.
63783         * resolv/res_comp.c: Likewise.
63784         * stdlib/stdlib.h: Likewise.
63785         * sunrpc/clnt_tcp.c: Likewise.
63786         * sunrpc/clnt_udp.c: Likewise.
63787         * sunrpc/clnt_unix.c: Likewise.
63788         * sysdeps/unix/bsd/ptsname.c: Likewise.
63789         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63790         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63792         Likewise.
63793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63794         Likewise.
63795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63796         Likewise.
63797         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63799 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63801         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63804 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
63806         [BZ #15897]
63807         * dlfcn/Makefile (tests): Add bug-dl-leaf.
63808         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63809         ($(objpfx)bug-dl-leaf): New rule.
63810         ($(objpfx)bug-dl-leaf.so): Likewise.
63811         ($(objpfx)bug-dl-leaf.out): Likewise.
63812         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63813         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63814         * dlfcn/bug-dl-leaf.c: New test.
63815         * dlfcn/bug-dl-leaf-lib.c: Likewise.
63816         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63817         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63818         (dlclose): Likewise.
63819         (dlmopen): Likewise.
63821 2013-08-27  Roland McGrath  <roland@hack.frob.com>
63823         * include/netdb.h [!_ISOMAC]:
63824         Don't include <tls.h>.
63825         (h_errno, __libc_h_errno): Move declaration and macros out of
63826         [_LIBC_REENTRANT].
63828         * include/resolv.h [_RESOLV_H_]:
63829         Don't include <tls.h>.
63830         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63831         * resolv/res_libc.c: Don't include <tls.h>.
63832         (_res): Use __attribute__ ((nocommon)) in place of
63833         __attribute__ ((section (".bss"))).
63835         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63836         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63838         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63840         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63841         only under [SIOCGIFCONF && SIOCGIFNETMASK].
63843         * resolv/res_mkquery.c: Include <sys/time.h>.
63845         * inet/ifreq.c: Moved to ...
63846         * sysdeps/unix/ifreq.c: ... here.
63847         * inet/ifreq.c: New file, true stub version.
63849         * socket/sa_len.c: New file.
63850         * socket/Makefile (aux): Add it.
63851         * sysdeps/unix/sysv/linux/Makefile
63852         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63853         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63854         and #include <socket/sa_len.c>.
63855         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63856         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63858         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63859         * bits/socket.h: ... here.
63861         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63862         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63863         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63865 2013-08-27  Andreas Schwab  <schwab@suse.de>
63867         [BZ #15736]
63868         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63869         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63870         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63871         * string/test-strcasecmp.c (test_main): Run tests in several
63872         locales.
63873         * string/test-strncasecmp.c (test_main): Likewise.
63875         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63876         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63877         to __strcasecmp_nonascii and __strncasecmp_nonascii.
63878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63879         (__strncasecmp_ssse3) [PIC]: Likewise.
63881 2013-08-26  Roland McGrath  <roland@hack.frob.com>
63883         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63885         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63886         instead of explicitly declaring xdecrypt.
63887         * nis/nss_nis/nis-publickey.c: Likewise.
63889 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63891         [BZ #15890]
63892         * nscd/aicache.c: Include res_hconf.h.
63893         (addhstaiX): Initialize res_hconf.
63895 2013-08-26  Andreas Schwab  <schwab@suse.de>
63897         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63898         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63900 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63902         * nscd/aicache.c (addhstaiX): Fix indentation.
63904 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
63906         * configure.ac: Quote $build_pt_chown test.
63907         * configure: Regenerated.
63909 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
63911         [BZ #15532]
63912         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63913         * math/s_cexpf.c (__cexpf): Likewise.
63914         * math/s_cexpl.c (__cexpl): Likewise.
63915         * math/libm-test.inc (cexp_test_data): Correct expected return
63916         value for NaN + i0.  Add another test.
63918 2013-08-22  David S. Miller  <davem@davemloft.net>
63920         * po/ca.po: Update Catalan translation from translation project.
63921         * po/uk.po: Add Ukrainian translations from translation project.
63923 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
63925         [BZ #15797]
63926         * math/s_fdim.c (__fdim): Check for infinite arguments if result
63927         is infinite, not alongside NaN test.
63928         * math/s_fdimf.c (__fdimf): Likewise.
63929         * math/s_fdiml.c (__fdiml): Likewise.
63930         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
63931         errno is unchanged.
63933 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
63935         * argp/argp-help.c: Fix typos.
63936         * crypt/speeds.c: Likewise.
63937         * csu/check_fds.c: Likewise.
63938         * elf/dl-load.c: Likewise.
63939         * elf/dl-open.c: Likewise.
63940         * elf/reldep3.c: Likewise.
63941         * elf/reldep.c: Likewise.
63942         * elf/sprof.c: Likewise.
63943         * iconv/iconv_charmap.c: Likewise.
63944         * iconv/skeleton.c: Likewise.
63945         * iconv/strtab.c: Likewise.
63946         * io/lockf64.c: Likewise.
63947         * libio/libioP.h: Likewise.
63948         * resolv/gai_notify.c: Likewise.
63949         * resolv/ns_name.c: Likewise.
63950         * resolv/ns_samedomain.c: Likewise.
63951         * resolv/res_send.c: Likewise.
63952         * stdlib/random.c: Likewise.
63953         * sunrpc/rpc/xdr.h: Likewise.
63954         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63955         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63956         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63957         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63958         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63961         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63962         * sysdeps/mach/hurd/check_fds.c: Likewise.
63963         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63964         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63966         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63967         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63968         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63969         * sysdeps/pthread/aio_notify.c: Likewise.
63970         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63971         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63972         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63973         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63974         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63976 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63978         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63979         version if bit_Slow_SSE4_2 is set.
63980         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63981         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63983 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63985         [BZ #15867]
63986         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63987         trampoline stack frame information.
63988         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63989         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63990         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63991         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63992         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63993         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63994         (_libc_vdso_platform_setup): Initialize the signal trampolines.
63995         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63996         sa_flags value.
63997         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63998         interrupting a syscall and set with option SA_SIGINFO.
64000 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64002         [BZ #15531]
64003         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64004         argument is infinite.
64005         * math/s_cprojf.c (__cprojf): Likewise.
64006         * math/s_cprojl.c (__cprojl): Likewise.
64007         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64008         * math/libm-test.inc (cproj_test_data): Add more tests.
64010         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64012         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64013         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64014         size.  Use __ffs to determine corresponding shift.
64016 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64017             Roland McGrath  <roland@hack.frob.com>
64019         * Makefile (INSTALL): Remove trailing blank lines from output of
64020         makeinfo.
64022 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64024         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64025         Align 32 bit compat elf_greg to 8 bytes.
64027 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64029         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64031 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64033         * string/strcoll_l.c (coll_seq): New structure.
64034         (get_next_seq_cached): New function.
64035         (get_next_seq): New function.
64036         (do_compare): New function.
64037         (STRCOLL): Use GNU style definition.  Simplify implementation
64038         by using get_next_seq, get_next_seq_cached and do_compare.
64040 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64042         [BZ #14699]
64043         CVE-2013-4237
64044         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64045         member.
64046         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64047         member.
64048         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64049         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64050         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64051         conditional.
64052         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64053         GETDENTS_64BIT_ALIGNED.
64054         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64055         * manual/filesys.texi (Reading/Closing Directory): Document
64056         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64057         strongly.
64058         * manual/conf.texi (Limits for Files): Add portability note to
64059         NAME_MAX, PATH_MAX.
64060         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64062 2013-08-13  Andreas Schwab  <schwab@suse.de>
64064         [BZ #15749]
64065         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64066         of fabs.
64067         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64068         LDBL_MAX_EXP >= 16384]: Add tests for it.
64070 2013-08-12  David S. Miller  <davem@davemloft.net>
64072         * version.h (RELEASE): Set to "development".
64073         (VERSION): Set to "2.18.90".
64074         * NEWS: Add 2.19 section.
64076 2013-08-03  David S. Miller  <davem@davemloft.net>
64078         * po/ko.po: Update Korean translation from translation project.
64080 2013-08-01  David S. Miller  <davem@davemloft.net>
64082         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64083         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64084         Bilka.
64086 2013-07-30  David S. Miller  <davem@davemloft.net>
64088         * po/fr.po: Update French translation from translation project.
64090 2013-07-28  David S. Miller  <davem@davemloft.net>
64092         * po/cs.po: Update Czech translation from translation project.
64094         * po/sv.po: Update Swedish translation from translation project.
64096 2013-07-27  David S. Miller  <davem@davemloft.net>
64098         * po/eo.po: Update Esperanto translation from translation project.
64100         * po/vi.po: Update Vietnamese translation from translation project.
64102         * po/de.po: Update German translation from translation project.
64104 2013-07-26  David S. Miller  <davem@davemloft.net>
64106         * po/bg.po: Update Bulgarian translation from translation project.
64108         * po/nl.po: Update Dutch translation from translation project.
64109         * po/pl.po: Update Polish translation from translation project.
64110         * po/ru.po: Update Russian translation from translation project.
64112 2013-07-24  David S. Miller  <davem@davemloft.net>
64114         * po/libc.pot: Update.
64116 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64118         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64119         variable page size.
64120         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64121         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64122         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64124 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64126         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64128 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64129             Andreas Schwab  <schwab@suse.de>
64130             Roland McGrath  <roland@hack.frob.com>
64131             Joseph Myers  <joseph@codesourcery.com>
64132             Carlos O'Donell  <carlos@redhat.com>
64134         [BZ #15755]
64135         * config.h.in: Define HAVE_PT_CHOWN.
64136         * config.make.in (build-pt-chown): New variable.
64137         * configure.in (--enable-pt_chown): New configure option.
64138         * configure: Regenerate.
64139         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64140         build-pt-chown is enabled.
64141         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64142         pt_chown to fix pty ownership.
64143         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64144         CLOSE_ALL_FDS.
64145         * manual/install.texi (Configuring and compiling): Mention
64146         --enable-pt_chown. Add @findex for grantpt.
64147         * INSTALL: Regenerate.
64149 2013-07-20  David S. Miller  <davem@davemloft.net>
64151         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64152         difference between 32-bit and 64-bit.
64154 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64156         [BZ #15711]
64157         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64158         Avoid system header dependency with -ffreestanding.
64159         ($(objpfx)bits/syscall%d): Likewise.
64161 2013-07-13  David S. Miller  <davem@davemloft.net>
64163         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64164         underflows from atanl/atan2l due to bug 15319.
64165         (casinh_test_data): Likewise.
64167 2013-07-07  David S. Miller  <davem@davemloft.net>
64169         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64171 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64173         * sysdeps/i386/fpu/libm-test-ulps: Update.
64174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64176 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64178         * configure.in (--enable-lock-elision): Fix message text.
64179         * INSTALL: Regenerate.
64180         * configure: Regenerate.
64182 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64186 2013-07-03  Andreas Jaeger  <aj@suse.de>
64188         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64189         define.
64190         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64191         (ptrace_peeksiginfo_args): Add.
64192         (__ptrace_peeksiginfo_flags): Add.
64193         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64195         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64197 2013-07-03  Allan McRae  <allan@archlinux.org>
64199         * sysdeps/i386/fpu/libm-test-ulps: Update.
64201 2013-07-02  David S. Miller  <davem@davemloft.net>
64203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64205 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64209 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64211         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64214 2013-07-02  Andi Kleen <ak@linux.intel.com>
64216         * config.h.in (ENABLE_LOCK_ELISION): Add.
64217         * configure.in (--enable-lock-elision): Add option.
64218         * manual/install.texi: Document --enable lock elision.
64219         * configure: Regenerate
64220         * INSTALL: Regenerate.
64222 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64224         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64225         SSE4.2 strcasecmp for libc.a.
64226         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64228 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64230         [BZ #13304]
64231         * soft-fp/op-common.h (_FP_FMA): New macro.
64232         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64233         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64234         (_FP_MUL_MEAT_1_imm): ... here.
64235         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64236         (_FP_MUL_MEAT_1_wide): ... here.
64237         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64238         (_FP_MUL_MEAT_1_hard): ... here.
64239         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64240         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64241         (_FP_MUL_MEAT_2_wide): ... here.
64242         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64243         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64244         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64245         (_FP_MUL_MEAT_2_gmp): ... here.
64246         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64247         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64248         (_FP_MUL_MEAT_4_wide): ... here.
64249         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64250         (_FP_MUL_MEAT_4_gmp): ... here.
64251         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64252         (_FP_WFRACBITS_DW_S): Likewise.
64253         (_FP_WFRACXBITS_DW_S): Likewise.
64254         (_FP_HIGHBIT_DW_S): Likewise.
64255         (FP_FMA_S): Likewise.
64256         (_FP_FRAC_HIGH_DW_S): Likewise.
64257         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64258         (_FP_WFRACBITS_DW_D): Likewise.
64259         (_FP_WFRACXBITS_DW_D): Likewise.
64260         (_FP_HIGHBIT_DW_D): Likewise.
64261         (FP_FMA_D): Likewise.
64262         (_FP_FRAC_HIGH_DW_D): Likewise.
64263         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64264         (_FP_WFRACBITS_DW_E): Likewise.
64265         (_FP_WFRACXBITS_DW_E): Likewise.
64266         (_FP_HIGHBIT_DW_E): Likewise.
64267         (FP_FMA_E): Likewise.
64268         (_FP_FRAC_HIGH_DW_E): Likewise.
64269         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64270         (_FP_WFRACBITS_DW_Q): Likewise.
64271         (_FP_WFRACXBITS_DW_Q): Likewise.
64272         (_FP_HIGHBIT_DW_Q): Likewise.
64273         (FP_FMA_Q): Likewise.
64274         (_FP_FRAC_HIGH_DW_Q): Likewise.
64275         * soft-fp/fmasf4.c: New file.
64276         * soft-fp/fmadf4.c: Likewise.
64277         * soft-fp/fmatf4.c: Likewise.
64279 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64282         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64283         Silvermont.
64284         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64285         macro.
64286         (index_Slow_SSE4_2): Likewise.
64287         (index_Prefer_PMINUB_for_stringop): Likewise.
64288         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64289         bit_Slow_SSE4_2 is set.
64290         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64291         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64293 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64295         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64296         rtld_global._dl_hwcap2.
64297         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64298         POWER8.
64299         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64300         POWER8 feature descriptions defined in _dl_hwcap2.
64301         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64302         string handling for POWER8 feature bits.
64303         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64304         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64305         _dl_powerpc_cap_flags.
64306         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64307         * sysdeps/powerpc/rtld-global-offsets.sym
64308         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64309         _dl_hwcap2 in the rtld_global_ro structure.
64311 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64313         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64314         hardware capabilities in support of AT_HWCAP2.
64315         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64316         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64317         GLRO(dl_hwcap2).
64318         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64319         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64320         explicitly the unknown a_type display mechanism is used.
64321         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64322         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64323         struct member.
64324         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64325         to macro prototype for AT_HWCAP2 support.
64326         * sysdeps/i386/dl-procinfo.h: Likewise.
64327         * sysdeps/s390/dl-procinfo.h: Likewise.
64328         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64329         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64330         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64331         return -1 for unknown a_type display fallback.
64332         * sysdeps/sparc/dl-procinfo.h: Likewise.
64333         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64334         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64336 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64338         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64339         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64341 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64343         [BZ #12492]
64344         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64345         mprotect making __stack_prot writable.
64347 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64348             Joseph Myers  <joseph@codesourcery.com>
64350         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64351         as being properly aligned.
64353 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64355         * dlfcn/modstatic5.c: New file.
64356         * dlfcn/tststatic5.c: New file.
64357         * dlfcn/Makefile (tests): Add tststatic5.
64358         (tests-static): Likewise.
64359         (modules-names): Add modstatic5.
64360         (tststatic5-ENV): New variable.
64361         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64363         [BZ #15022]
64364         * elf/dl-support.c (_dl_main_map): New variable.
64365         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64366         (_dl_nns, _dl_load_adds): Set to 1.
64367         (_dl_initial_searchlist): Refer to _dl_main_map.
64368         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64369         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64370         call to _dl_get_origin.
64371         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64372         around call_map.
64373         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64374         * dlfcn/modstatic3.c: New file.
64375         * dlfcn/tststatic3.c: New file.
64376         * dlfcn/tststatic4.c: New file.
64377         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64378         (tests-static): Likewise.
64379         (modules-names): Add modstatic3.
64380         (tststatic3-ENV, tststatic4-ENV): New variables.
64381         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64382         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64384 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64386         * configure.in (CC): Require GCC version 4.4 or later.
64387         * configure: Regenerated.
64388         * manual/install.texi (Tools for Compilation): Update GCC version
64389         requirement.
64390         * INSTALL: Regenerated.
64392 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64394         [BZ #15674]
64395         * string/test-memcmp.c (check2): New.
64396         (main): Call check2.
64398         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64400 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64402         [BZ #15022]
64403         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64404         over to...
64405         (dl_open_worker) [!SHARED]: ... here.
64407 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64409         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64411 2013-06-25  Richard Henderson  <rth@redhat.com>
64413         * locale/programs/locarchive.c: Include <libc-internal.h>
64415 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64417         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64418         trailing whitespace removed.
64420 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64422         [BZ #10283]
64423         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64424         * locale/programs/locarchive.c: Include libc-mmap.h.
64425         (prepare_address_space): Take two new outputs (the mmap base and len).
64426         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64427         values.
64428         (create_archive): Declare new mmap base and len values for
64429         prepare_address_space, and store the result in ah.
64430         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64431         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64432         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64433         Declare new mmap base and len values for
64434         prepare_address_space, and store the result in new_ah.
64435         (open_archive): Declare new mmap base and len values for
64436         prepare_address_space, and store the result in ah.
64437         (close_archive): If ah->mmap_base is not NULL, use that and
64438         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64439         * sysdeps/generic/libc-mmap.h: New file.
64441 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64443         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64444         (ALIGN_UP): Likewise.
64445         (PTR_ALIGN_DOWN): Likewise.
64446         (PTR_ALIGN_UP): Likewise.
64448 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64450         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64451         entry mapped to PPC_PLATFORM_POWER8.
64452         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64453         POWER8.
64454         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64455         (_dl_string_platform): Add case for exporting platform position for
64456         POWER8.
64457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64458         search path to sysdeps/powerpc/powerpc32/power8 directory.
64459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64460         search path to sysdeps/powerpc/powerpc64/power8 directory.
64461         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64462         power7 directories.
64463         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64464         power7 directories.
64466 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64468         * INSTALL: Regenerate.
64470         * nscd/connections.c (nscd_init): Fix comment.
64472 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64474         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64476         [BZ #15667]
64477         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64478         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64480 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64482         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64483         DL_DST_REQ_STATIC.
64484         (DL_DST_REQ_STATIC): Remove macro.
64486 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64488         [BZ #7006]
64489         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64490         with a shift of 0 bits.
64492 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64494         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64495         $(tststatic-ENV).
64497 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64499         [BZ #15655]
64500         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64502 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64504         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64505         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64506         accepts -fno-tree-loop-distribute-patterns.
64507         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64508         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64509         recursive call.
64510         * string/memset.c (memset): Likewise.
64511         * string/test-memmove.c (simple_memmove): Disable loop transformation
64512         to library calls.
64513         * string/test-memset.c (simple_memset): Likewise.
64514         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64515         * benchtests/bench-memset.c (simple_memset): Likewise.
64516         * configure: Regenerated.
64518 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64520         * math/test-misc.c (main): Ignore fesetround failure when failures
64521         of subsequent rounding tests would be ignored.
64523         [BZ #15654]
64524         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64525         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64526         * math/fegetenv.c (__fegetenv): Return 0.
64527         * math/fegetexcept.c (fegetexcept): Return 0.
64528         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64529         FE_TONEAREST.
64530         * math/feholdexcpt.c (feholdexcept): Return 0.
64531         * math/fesetenv.c (__fesetenv): Return 0.
64532         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64533         argument FE_TONEAREST.
64534         * math/feupdateenv.c (__feupdateenv): Return 0.
64535         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64537 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64539         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64540         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64541         ($(objpfx)rtld-%.os rules): Use them.
64543 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64545         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64546         fields.
64548 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64550         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64551         length of target pattern, then descending length of dependency pattern.
64552         * configure.in (AWK): Require gawk 3.1.2 or newer.
64553         * manual/install.texi (Tools for Compilation): Say that we do.
64554         * configure: Regenerated.
64556         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64557         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64558         * scripts/sysd-rules.awk: ... this new script.
64559         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64560         than a glob-style pattern.
64562 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64564         * math/test-misc.c (main): Do not treat incorrectly rounded
64565         conversions as failure unless ROUNDING_TESTS passes.
64567 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64569         [BZ #15631]
64570         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64571         restore exception state around main square root computation, then
64572         check for inexactness explicitly.
64574         * math/libm-test.inc (fma_test_data): Add another test.
64576 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64578         * manual/threads.texi (Non-POSIX Extensions): New document
64579         node.  Document pthread_getattr_default_np and
64580         pthread_setattr_default_np.
64582         * Versions.def (libpthread): Add GLIBC_2.18.
64583         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64585         Likewise.
64586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64587         Likewise.
64588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64589         Likewise.
64590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64591         Likewise.
64592         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64593         Likewise.
64594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64595         Likewise.
64596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64597         Likewise.
64598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64599         Likewise.
64600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64601         Likewise.
64603 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64606         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64608 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64609             H.J. Lu  <hjl.tools@gmail.com>
64611         [BZ #15627]
64612         * sysdeps/x86_64/rtld-memset.c: Remove file.
64613         * sysdeps/x86_64/rtld-memset.S: New file.
64615 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64617         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64618         (test_in_one_mode): Take arguments for whether the rounding mode
64619         is supported for each floating-point type.
64620         (do_test): Pass new arguments to test_in_one_mode using
64621         ROUNDING_TESTS.
64623 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64625         * posix/tst-waitid.c (do_test): Distinguish different instances of
64626         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64627         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64628         before entering the kernel for waitpid.
64630 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64632         * NEWS: Fix note on clock function precision.  Text by Roland
64633         McGrath.
64635 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64637         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64638         it into place only when and if the sanity check passes.
64640 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64642         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64643         output for whether conversion result is exact.  Take argument
64644         indicating whether type is IBM long double.
64645         (round_for_all): Change need_exact field to ibm_ld.
64646         * stdlib/tst-strtod-round.c (struct exactness): New type.
64647         (struct test): Change bool ld_ok field to struct exactness exact.
64648         (TEST): Update all definitions for change to field.
64649         (tests): Regenerate array contents.
64650         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64651         field value.  Check for IBM long double here.
64652         (do_test): Update calls to test_in_one_mode.
64654 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64656         [BZ #12515]
64657         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64658         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64660 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64662         [BZ #15605]
64663         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64664         generated by the compiler on loop optimizations.
64665         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64666         general definitions.
64668 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64670         * math/bug-nextafter.c: Include <math-tests.h>.
64671         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64672         the relevant type.
64673         * math/bug-nexttoward.c: Include <math-tests.h>.
64674         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64675         the relevant type.
64676         * math/test-misc.c: Include <math-tests.h>.
64677         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64678         the relevant type.
64680 2013-06-12  Andreas Jaeger  <aj@suse.de>
64682         * po/ia.po: Update Interlingua translation from translation
64683         project.
64685 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64687         * include/fenv.h: Include stdbool.h.
64688         (struct rm_ctx): New structure.
64689         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64690         Define macro.
64691         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64692         (SET_RESTORE_ROUNDF): Likewise.
64693         (SET_RESTORE_ROUNDL): Likewise.
64694         (SET_RESTORE_ROUND_NOEX): Likewise.
64695         (SET_RESTORE_ROUND_NOEXF): Likewise.
64696         (SET_RESTORE_ROUND_NOEXL): Likewise.
64697         (SET_RESTORE_ROUND_53BIT): Likewise.
64698         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64699         (libc_feresetround_noexf_ctx): Likewise.
64700         (libc_feresetround_noexl_ctx): Likewise.
64701         (libc_feholdsetround_53bit_ctx): Likewise.
64702         (libc_feresetround_53bit_ctx): Likewise.
64703         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64704         (libc_feholdexcept_setround_sse_ctx): New function.
64705         (libc_fesetenv_sse_ctx): Likewise.
64706         (libc_feupdateenv_sse_ctx): Likewise.
64707         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64708         (libc_feholdexcept_setround_387_ctx): Likewise.
64709         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64710         (libc_feholdsetround_387_prec_ctx): Likewise.
64711         (libc_feholdsetround_387_ctx): Likewise.
64712         (libc_feholdsetround_387_53bit_ctx): Likewise.
64713         (libc_feholdsetround_sse_ctx): Likewise.
64714         (libc_feresetround_sse_ctx): Likewise.
64715         (libc_feresetround_387_ctx): Likewise.
64716         (libc_feupdateenv_387_ctx): Likewise.
64717         (libc_feholdexcept_setroundf_ctx): Define macro.
64718         (libc_fesetenvf_ctx): Likewise.
64719         (libc_feupdateenvf_ctx): Likewise.
64720         (libc_feholdsetroundf_ctx): Likewise.
64721         (libc_feresetroundf_ctx): Likewise.
64722         (libc_feholdexcept_setround_ctx): Likewise.
64723         (libc_fesetenv_ctx): Likewise.
64724         (libc_feupdateenv_ctx): Likewise.
64725         (libc_feholdsetround_ctx): Likewise.
64726         (libc_feresetround_ctx): Likewise.
64727         (libc_feholdexcept_setroundl_ctx): Likewise.
64728         (libc_feupdateenvl_ctx): Likewise.
64729         (libc_feholdsetroundl_ctx): Likewise.
64730         (libc_feresetroundl_ctx): Likewise.
64731         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64732         (libc_feresetround_53bit_ctx): Likewise.
64734 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64736         * locale/iso-639.def: Convert to UTF-8.
64738 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
64740         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64741         (EXCEPTION_TESTS_double): Likewise.
64742         (EXCEPTION_TESTS_long_double): Likewise.
64743         (EXCEPTION_TESTS): Likewise.
64744         * math/libm-test.inc (test_exceptions): Only test exceptions if
64745         EXCEPTION_TESTS (FLOAT).
64747 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64749         * benchtests/Makefile (string-bench): Add strcpy_chk and
64750         stpcpy_chk.
64751         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64752         * benchtests/bench-stpcpy_chk.c: New file.
64753         * benchtests/bench-strcpy_chk-ifunc.c: New file.
64754         * benchtests/bench-strcpy_chk.c: New file.
64755         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64756         code.
64757         (do_test): Likewise.
64759 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64761         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64762         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64763         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64764         with tabs where appropriate.
64765         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64766         dl-procinfo.h.
64767         [PPC_PLATFORM_PPC440]: Likewise.
64768         [PPC_PLATFORM_PPC464]: Likewise.
64769         [PPC_PLATFORM_PPC476]: Likewise.
64770         (_dl_string_platform): Add support for detecting ppc405, ppc440,
64771         ppc464, and ppc476 platform strings merging from ports/
64772         dl-procinfo.h.
64774 2013-06-11  Andreas Schwab  <schwab@suse.de>
64776         [BZ #14991]
64777         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64778         (from_ucs4_idx): Regenerate.
64779         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64780         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64781         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64782         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64783         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64784         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64785         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64786         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64787         from FROM_LOOP and TO_LOOP specific macros.
64788         (BODY): Handle combining characters.
64789         * iconvdata/BIG5HKSCS.irreversible: Update.
64790         * iconvdata/BIG5HKSCS.precomposed: New file.
64791         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64792         characters.
64793         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64795 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64797         * include/sys/time.h: Fix indentation and add copyright header.
64799         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64800         (do_test): Likewise.
64801         * string/test-memchr.c (do_one_test): Likewise.
64802         (do_test): Likewise.
64803         * string/test-memcmp.c (do_one_test): Likewise.
64804         (do_test): Likewise.
64805         * string/test-memcpy.c (do_one_test): Likewise.
64806         (do_test): Likewise.
64807         * string/test-memmem.c (do_one_test): Likewise.
64808         (do_test): Likewise.
64809         (do_random_tests): Likewise.
64810         * string/test-memmove.c (do_one_test): Likewise.
64811         (do_test): Likewise.
64812         * string/test-memset.c (do_one_test): Likewise.
64813         (do_test): Likewise.
64814         * string/test-rawmemchr.c (do_one_test): Likewise.
64815         (do_test): Likewise.
64816         * string/test-strcasecmp.c (do_one_test): Likewise.
64817         (do_test): Likewise.
64818         * string/test-strcasestr.c (do_one_test): Likewise.
64819         (do_test): Likewise.
64820         * string/test-strcat.c (do_one_test): Likewise.
64821         (do_test): Likewise.
64822         * string/test-strchr.c (do_one_test): Likewise.
64823         (do_test): Likewise.
64824         * string/test-strcmp.c (do_one_test): Likewise.
64825         (do_test): Likewise.
64826         * string/test-strcpy.c (do_one_test): Likewise.
64827         (do_test): Likewise.
64828         * string/test-string.h: Likewise.
64829         (test_init): Likewise.
64830         * string/test-strlen.c (do_one_test): Likewise.
64831         (do_test): Likewise.
64832         * string/test-strncasecmp.c (do_one_test): Likewise.
64833         (do_test): Likewise.
64834         * string/test-strncat.c (do_one_test): Likewise.
64835         (do_test): Likewise.
64836         * string/test-strncmp.c (do_one_test): Likewise.
64837         (do_test_limit): Likewise.
64838         (do_test): Likewise.
64839         * string/test-strncpy.c (do_one_test): Likewise.
64840         (do_test): Likewise.
64841         * string/test-strnlen.c (do_one_test): Likewise.
64842         (do_test): Likewise.
64843         * string/test-strpbrk.c (do_one_test): Likewise.
64844         (do_test): Likewise.
64845         * string/test-strrchr.c (do_one_test): Likewise.
64846         (do_test): Likewise.
64847         * string/test-strspn.c (do_one_test): Likewise.
64848         (do_test): Likewise.
64849         * string/test-strstr.c (do_one_test): Likewise.
64850         (do_test): Likewise.
64852         * benchtests/Makefile (string-bench): Add string benchmarks.
64853         * benchtests/bench-bcopy-ifunc.c: New file.
64854         * benchtests/bench-bcopy.c: New file.
64855         * benchtests/bench-bzero-ifunc.c: New file.
64856         * benchtests/bench-bzero.c: New file.
64857         * benchtests/bench-memccpy-ifunc.c: New file.
64858         * benchtests/bench-memccpy.c: New file.
64859         * benchtests/bench-memchr-ifunc.c: New file.
64860         * benchtests/bench-memchr.c: New file.
64861         * benchtests/bench-memcmp-ifunc.c: New file.
64862         * benchtests/bench-memcmp.c: New file.
64863         * benchtests/bench-memmem-ifunc.c: New file.
64864         * benchtests/bench-memmem.c: New file.
64865         * benchtests/bench-memmove-ifunc.c: New file.
64866         * benchtests/bench-memmove.c: New file.
64867         * benchtests/bench-mempcpy-ifunc.c: New file.
64868         * benchtests/bench-mempcpy.c: New file.
64869         * benchtests/bench-memset-ifunc.c: New file.
64870         * benchtests/bench-memset.c: New file.
64871         * benchtests/bench-rawmemchr-ifunc.c: New file.
64872         * benchtests/bench-rawmemchr.c: New file.
64873         * benchtests/bench-stpcpy-ifunc.c: New file.
64874         * benchtests/bench-stpcpy.c: New file.
64875         * benchtests/bench-stpncpy-ifunc.c: New file.
64876         * benchtests/bench-stpncpy.c: New file.
64877         * benchtests/bench-strcasecmp-ifunc.c: New file.
64878         * benchtests/bench-strcasecmp.c: New file.
64879         * benchtests/bench-strcasestr-ifunc.c: New file.
64880         * benchtests/bench-strcasestr.c: New file.
64881         * benchtests/bench-strcat-ifunc.c: New file.
64882         * benchtests/bench-strcat.c: New file.
64883         * benchtests/bench-strchr-ifunc.c: New file.
64884         * benchtests/bench-strchr.c: New file.
64885         * benchtests/bench-strchrnul-ifunc.c: New file.
64886         * benchtests/bench-strchrnul.c: New file.
64887         * benchtests/bench-strcmp-ifunc.c: New file.
64888         * benchtests/bench-strcmp.c: New file.
64889         * benchtests/bench-strcpy-ifunc.c: New file.
64890         * benchtests/bench-strcpy.c: New file.
64891         * benchtests/bench-strcspn-ifunc.c: New file.
64892         * benchtests/bench-strcspn.c: New file.
64893         * benchtests/bench-strlen-ifunc.c: New file.
64894         * benchtests/bench-strlen.c: New file.
64895         * benchtests/bench-strncasecmp-ifunc.c: New file.
64896         * benchtests/bench-strncasecmp.c: New file.
64897         * benchtests/bench-strncat-ifunc.c: New file.
64898         * benchtests/bench-strncat.c: New file.
64899         * benchtests/bench-strncmp-ifunc.c: New file.
64900         * benchtests/bench-strncmp.c: New file.
64901         * benchtests/bench-strncpy-ifunc.c: New file.
64902         * benchtests/bench-strncpy.c: New file.
64903         * benchtests/bench-strnlen-ifunc.c: New file.
64904         * benchtests/bench-strnlen.c: New file.
64905         * benchtests/bench-strpbrk-ifunc.c: New file.
64906         * benchtests/bench-strpbrk.c: New file.
64907         * benchtests/bench-strrchr-ifunc.c: New file.
64908         * benchtests/bench-strrchr.c: New file.
64909         * benchtests/bench-strspn-ifunc.c: New file.
64910         * benchtests/bench-strspn.c: New file.
64911         * benchtests/bench-strstr-ifunc.c: New file.
64912         * benchtests/bench-strstr.c: New file.
64914         * benchtests/Makefile: Disable parallel execution of targets.
64915         (string-bench): Add memcpy.
64916         (benchset): New variable to store a list of benchmark sets.
64917         (bench-func): Renamed from bench.
64918         (bench-set): New target.
64919         (bench): Depend on bench-func and bench-set.
64920         * benchtests/README: Add section on benchmark sets.
64921         * benchtests/bench-memcpy-ifunc.c: New file.
64922         * benchtests/bench-memcpy.c: New file.
64923         * benchtests/bench-string.h: New file.
64925 2013-06-11  Andreas Schwab  <schwab@suse.de>
64927         [BZ #15577]
64928         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64929         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64930         values in the triple.
64931         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64932         terminator in the group key.
64934 2013-06-11  Andreas Jaeger  <aj@suse.de>
64936         * po/zh_TW.po: Update Chinese (traditional) translation from
64937         translation project.
64939 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64941         * include/time.h (__clock_gettime): Add libc_hidden_proto.
64942         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64943         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
64944         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64945         (clock_getcpuclockid): Likewise.
64946         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64947         Add weak_alias and libc_hidden_def.
64948         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64949         * rt/clock_gettime.c (clock_gettime): Rename to
64950         __clock_gettime.  Add weak_alias and libc_hidden_def.
64951         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64952         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64953         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
64954         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64955         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64956         Likewise.
64957         * rt/clock_settime.c (clock_settime): Rename to
64958         __clock_settime.  Add weak_alias and libc_hidden_def.
64959         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64961 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
64963         * mach/err_boot.sub: Remove trailing whitespace.
64964         * mach/err_ipc.sub: Likewise.
64965         * mach/err_mach.sub: Likewise.
64967         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64968         (ROUNDING_TESTS_double): Likewise.
64969         (ROUNDING_TESTS_long_double): Likewise.
64970         (ROUNDING_TESTS): Likewise.
64971         * math/libm-test.inc: Include <math-tests.h>.
64972         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64973         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64974         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64975         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64977 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64979         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64980         of assigning.
64982 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
64984         * sysdeps/gnu/errlist.awk: Do not generate space at end of
64985         otherwise empty TRANS lines.
64986         * sysdeps/gnu/errlist.c: Regenerated.
64988         * catgets/gencat.c (error_print): Use (void) in function
64989         definition.
64990         * crypt/crypt_util.c (__init_des): Likewise.
64991         * crypt/speeds.c (Stop): Likewise.
64992         (main): Likewise.
64993         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64994         * inet/ruserpass.c (token): Likewise.
64995         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64996         * intl/localealias.c (extend_alias_table): Likewise.
64997         * intl/plural-exp.c (init_germanic_plural): Likewise.
64998         * libio/fcloseall.c (__fcloseall): Likewise.
64999         * libio/genops.c (_IO_flush_all): Likewise.
65000         (_IO_flush_all_linebuffered): Likewise.
65001         (_IO_cleanup): Likewise.
65002         (_IO_iter_begin): Likewise.
65003         (_IO_iter_end): Likewise.
65004         (_IO_list_lock): Likewise.
65005         (_IO_list_unlock): Likewise.
65006         (_IO_list_resetlock): Likewise.
65007         * libio/getchar.c (getchar): Likewise.
65008         * libio/getchar_u.c (getchar_unlocked): Likewise.
65009         * libio/getwchar.c (getwchar): Likewise.
65010         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65011         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65012         * login/getpt.c (__getpt): Likewise.
65013         * login/tst-utmp.c (main): Likewise.
65014         * malloc/hooks.c (__malloc_check_init): Likewise.
65015         * malloc/malloc.c (__malloc_stats): Likewise.
65016         * malloc/mtrace.c (tr_break): Likewise.
65017         (mtrace): Likewise.
65018         (muntrace): Likewise.
65019         * misc/fstab.c (endfsent): Likewise.
65020         * misc/getclktck.c (__getclktck): Likewise.
65021         * misc/getdtsz.c (__getdtablesize): Likewise.
65022         * misc/gethostid.c (gethostid): Likewise.
65023         * misc/getpagesize.c (__getpagesize): Likewise.
65024         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65025         (__get_nprocs): Likewise.
65026         (__get_phys_pages): Likewise.
65027         (__get_avphys_pages): Likewise.
65028         * misc/getttyent.c (getttyent): Likewise.
65029         (setttyent): Likewise.
65030         (endttyent): Likewise.
65031         * misc/getusershell.c (getusershell): Likewise.
65032         (endusershell): Likewise.
65033         (setusershell): Likewise.
65034         (initshells): Likewise.
65035         * misc/hsearch.c (__hdestroy): Likewise.
65036         * misc/sync.c (sync): Likewise.
65037         * misc/syslog.c (closelog_internal): Likewise.
65038         (closelog): Likewise.
65039         * misc/ttyslot.c (ttyslot): Likewise.
65040         * misc/vhangup.c (vhangup): Likewise.
65041         * posix/fork.c (__fork): Likewise.
65042         * posix/getegid.c (__getegid): Likewise.
65043         * posix/geteuid.c (__geteuid): Likewise.
65044         * posix/getgid.c (__getgid): Likewise.
65045         * posix/getpid.c (__getpid): Likewise.
65046         * posix/getppid.c (__getppid): Likewise.
65047         * posix/getuid.c (__getuid): Likewise.
65048         * posix/pause.c (pause): Likewise.
65049         * posix/setpgrp.c (setpgrp): Likewise.
65050         * posix/setsid.c (__setsid): Likewise.
65051         * posix/test-vfork.c (noop): Likewise.
65052         * resolv/gethnamaddr.c (_endhtent): Likewise.
65053         (_gethtent): Likewise.
65054         (ht_endhostent): Likewise.
65055         (gethostent): Likewise.
65056         (dns_service): Likewise.
65057         * stdlib/drand48.c (drand48): Likewise.
65058         * stdlib/lrand48.c (lrand48): Likewise.
65059         * stdlib/mrand48.c (mrand48): Likewise.
65060         * stdlib/rand.c (rand): Likewise.
65061         * stdlib/random.c (__random): Likewise.
65062         * stdlib/setenv.c (clearenv): Likewise.
65063         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65064         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65065         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65066         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65067         (__get_nprocs): Likewise.
65068         (__get_phys_pages): Likewise.
65069         (__get_avphys_pages): Likewise.
65070         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65071         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65072         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65073         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65074         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65075         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65076         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65077         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65078         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65079         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65080         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65081         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65082         * sysdeps/posix/clock.c (clock): Likewise.
65083         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65084         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65085         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65086         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65087         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65088         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65089         (__get_nprocs_conf): Likewise.
65090         (__get_phys_pages): Likewise.
65091         (__get_avphys_pages): Likewise.
65092         * time/clock.c (clock): Likewise.
65093         * time/tzset.c (__tzname_max): Likewise.
65095 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65097         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65098         (__bswap_32): Do not use "register".
65099         * crypt/crypt.c (_ufc_doit_r): Likewise.
65100         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65101         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65102         * gmon/gmon.c (__monstartup): Likewise.
65103         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65104         * hurd/hurdmalloc.c (more_memory): Likewise.
65105         (malloc): Likewise.
65106         (free): Likewise.
65107         (realloc): Likewise.
65108         (malloc_fork_prepare): Likewise.
65109         (malloc_fork_parent): Likewise.
65110         (malloc_fork_child): Likewise.
65111         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65112         (_svcauth_des): Likewise.
65113         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65114         * inet/inet_net.c (inet_network): Likewise.
65115         * inet/inet_netof.c (inet_netof): Likewise.
65116         * inet/rcmd.c (__validuser2_sa): Likewise.
65117         * io/fts.c (fts_open): Likewise.
65118         (fts_load): Likewise.
65119         (fts_close): Likewise.
65120         (fts_read): Likewise.
65121         (fts_children): Likewise.
65122         (fts_build): Likewise.
65123         (fts_stat): Likewise.
65124         (fts_sort): Likewise.
65125         (fts_alloc): Likewise.
65126         (fts_lfree): Likewise.
65127         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65128         (_IO_file_xsgetn): Likewise.
65129         (_IO_file_xsgetn_mmap): Likewise.
65130         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65131         (_IO_cookie_write): Likewise.
65132         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65133         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65134         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65135         * malloc/obstack.c (_obstack_begin): Likewise.
65136         (_obstack_begin_1): Likewise.
65137         (_obstack_newchunk): Likewise.
65138         (_obstack_allocated_p): Likewise.
65139         (obstack_free): Likewise.
65140         (_obstack_memory_used): Likewise.
65141         * misc/getttyent.c (getttynam): Likewise.
65142         (getttyent): Likewise.
65143         (skip): Likewise.
65144         (value): Likewise.
65145         * misc/getusershell.c (initshells): Likewise.
65146         * misc/syslog.c (__vsyslog_chk): Likewise.
65147         * misc/ttyslot.c (ttyslot): Likewise.
65148         * nis/nis_hash.c (__nis_hash): Likewise.
65149         * posix/fnmatch_loop.c (FCT): Likewise.
65150         * posix/getconf.c (print_all): Likewise.
65151         (main): Likewise.
65152         * posix/getopt.c (exchange): Likewise.
65153         * posix/glob.c (globfree): Likewise.
65154         (prefix_array): Likewise.
65155         (__glob_pattern_type): Likewise.
65156         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65157         (NS_GET32): Likewise.
65158         (NS_PUT16): Likewise.
65159         (NS_PUT32): Likewise.
65160         * resolv/gethnamaddr.c (getanswer): Likewise.
65161         (gethostbyname2): Likewise.
65162         (gethostbyaddr): Likewise.
65163         (_gethtent): Likewise.
65164         (_gethtbyname2): Likewise.
65165         (_gethtbyaddr): Likewise.
65166         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65167         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65168         * resolv/res_init.c (__res_vinit): Likewise.
65169         (net_mask): Likewise.
65170         * resolv/res_mkquery.c (outchar): Likewise.
65171         (PRINT): Likewise.
65172         * stdio-common/printf_fp.c (outchar): Likewise.
65173         (PRINT): Likewise.
65174         * stdio-common/printf_fphex.c (outchar): Likewise.
65175         (PRINT): Likewise.
65176         * stdio-common/printf_size.c (outchar): Likewise.
65177         (PRINT): Likewise.
65178         * stdio-common/test_rdwr.c (main): Likewise.
65179         * stdio-common/tfformat.c (matches): Likewise.
65180         * stdio-common/vfprintf.c (outchar): Likewise.
65181         (printf_unknown): Likewise.
65182         (buffered_vfprintf): Likewise.
65183         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65184         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65185         (ReadFile): Likewise.
65186         * stdlib/qsort.c (SWAP): Likewise.
65187         (_quicksort): Likewise.
65188         * stdlib/setenv.c (__add_to_environ): Likewise.
65189         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65190         * stdlib/strtol_l.c (__strtol_l): Likewise.
65191         * stdlib/tst-strtod.c (main): Likewise.
65192         * stdlib/tst-strtol.c (main): Likewise.
65193         * stdlib/tst-strtoll.c (main): Likewise.
65194         * string/bits/string2.h (__strcmp_cc): Likewise.
65195         (__strcmp_cg): Likewise.
65196         (__strcspn_c1): Likewise.
65197         (__strcspn_c2): Likewise.
65198         (__strcspn_c3): Likewise.
65199         (__strspn_c1): Likewise.
65200         (__strspn_c2): Likewise.
65201         (__strspn_c3): Likewise.
65202         (__strsep_1c): Likewise.
65203         (__strsep_2c): Likewise.
65204         (__strsep_3c): Likewise.
65205         * string/memccpy.c (__memccpy): Likewise.
65206         * string/stpcpy.c (__stpcpy): Likewise.
65207         * string/strcmp.c (strcmp): Likewise.
65208         * string/strrchr.c (strrchr): Likewise.
65209         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65210         Likewise.
65211         * sysdeps/mach/hurd/getcwd.c
65212         (_hurd_canonicalize_directory_name_internal): Likewise.
65213         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65214         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65215         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65216         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65217         Likewise, in both definitions.
65218         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65219         definitions.
65220         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65221         64] (__bswap_64): Likewise.
65222         * time/test_time.c (main): Likewise.
65223         * time/tzfile.c (__tzfile_read): Likewise.
65224         (__tzfile_compute): Likewise.
65225         * time/tzset.c (__tzset_parse_tz): Likewise.
65226         (tzset_internal): Likewise.
65227         (compute_change): Likewise.
65228         * wcsmbs/wcscat.c (__wcscat): Likewise.
65229         * wcsmbs/wcschr.c (wcschr): Likewise.
65230         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65231         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65232         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65233         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65234         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65235         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65236         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65237         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65238         * wcsmbs/wmemset.c (wmemset): Likewise.
65240 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65242         * scripts/config.guess: Update to version 2013-05-16.
65243         * scripts/config.sub: Update to version 2013-04-24.
65244         * scripts/install-sh: Update to version 2011-11-20.07.
65245         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65246         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65248 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
65250         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65251         * elf/sln.c: Likewise.
65252         * hurd/hurd/ioctl.h: Likewise.
65253         * hurd/hurdmalloc.c: Likewise.
65254         * hurd/xattr.c: Likewise.
65255         * include/shlib-compat.h: Likewise.
65256         * inet/ruserpass.c: Likewise.
65257         * libio/iofgets_u.c: Likewise.
65258         * libio/iofgetws_u.c: Likewise.
65259         * locale/programs/ld-identification.c: Likewise.
65260         * locale/programs/ld-time.c: Likewise.
65261         * mach/msg-destroy.c: Likewise.
65262         * nss/nss_files/files-netgrp.c: Likewise.
65263         * resolv/res_data.c: Likewise.
65264         * soft-fp/op-1.h: Likewise.
65265         * soft-fp/op-2.h: Likewise.
65266         * soft-fp/op-4.h: Likewise.
65267         * soft-fp/op-common.h: Likewise.
65268         * stdio-common/printf_fphex.c: Likewise.
65269         * stdlib/strtod_l.c: Likewise.
65270         * sunrpc/rpc/clnt.h: Likewise.
65271         * sysdeps/generic/framestate.c: Likewise.
65272         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65273         * sysdeps/i386/bsd-setjmp.S: Likewise.
65274         * sysdeps/i386/__longjmp.S: Likewise.
65275         * sysdeps/i386/setjmp.S: Likewise.
65276         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65277         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65279         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65280         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65281         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65282         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65285         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65286         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65287         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65288         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65289         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65290         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65291         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65292         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65293         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65294         * sysdeps/ieee754/support.c: Likewise.
65295         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65296         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65297         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65298         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65299         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65300         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65301         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65302         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65303         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65304         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65305         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65306         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65307         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65308         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65309         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65310         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65311         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65314 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
65316         * posix/transbug.c: Remove executable mode.
65318 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65320         * crypt/speeds.c: Remove trailing whitespace.
65321         * dlfcn/default.c: Likewise.
65322         * elf/ifuncdep2.c: Likewise.
65323         * elf/ifuncmain1.c: Likewise.
65324         * elf/ifuncmain1vis.c: Likewise.
65325         * elf/testobj.h: Likewise.
65326         * elf/tst-stackguard1.c: Likewise.
65327         * gmon/sys/gmon.h: Likewise.
65328         * hurd/hurdmsg.c: Likewise.
65329         * hurd/new-fd.c: Likewise.
65330         * hurd/ports-get.c: Likewise.
65331         * iconvdata/ibm1008_420.c: Likewise.
65332         * inet/tst-getni1.c: Likewise.
65333         * inet/tst-getni2.c: Likewise.
65334         * libio/ioungetc.c: Likewise.
65335         * libio/wfiledoalloc.c: Likewise.
65336         * manual/libm-err-tab.pl: Likewise.
65337         * math/w_dremf.c: Likewise.
65338         * misc/ftruncate.c: Likewise.
65339         * posix/bug-glob2.c: Likewise.
65340         * posix/tst-pcre.c: Likewise.
65341         * posix/wait4.c: Likewise.
65342         * resolv/README: Likewise.
65343         * resolv/res_debug.h: Likewise.
65344         * resolv/tst-inet_ntop.c: Likewise.
65345         * setjmp/bug269-setjmp.c: Likewise.
65346         * soft-fp/extended.h: Likewise.
65347         * soft-fp/op-1.h: Likewise.
65348         * soft-fp/op-2.h: Likewise.
65349         * soft-fp/op-4.h: Likewise.
65350         * soft-fp/op-8.h: Likewise.
65351         * soft-fp/testit.c: Likewise.
65352         * stdio-common/bug16.c: Likewise.
65353         * stdlib/random.c: Likewise.
65354         * sunrpc/rpcsvc/rquota.x: Likewise.
65355         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65356         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65357         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65358         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65359         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65360         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65361         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65362         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65363         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65364         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65365         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65366         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65368         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65369         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65370         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65371         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65372         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65373         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65375         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65376         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65377         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65378         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65379         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65380         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65381         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65382         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65383         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65384         * sysdeps/ieee754/s_lib_version.c: Likewise.
65385         * sysdeps/mach/hurd/check_fds.c: Likewise.
65386         * sysdeps/mach/hurd/getsockname.c: Likewise.
65387         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65388         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65389         * sysdeps/powerpc/bits/link.h: Likewise.
65390         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65391         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65392         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65393         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65394         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65395         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65396         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65397         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65398         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65399         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65400         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65401         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65402         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65403         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65404         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65405         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65406         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65407         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65408         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65409         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65410         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65411         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65412         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65413         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65414         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65415         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65416         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65417         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65418         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65419         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65420         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65421         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65422         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65423         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65424         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65425         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65426         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65427         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65428         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65429         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65430         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65431         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65432         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65433         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65434         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65435         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65436         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65437         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65438         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65439         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65440         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65441         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65442         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65443         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65444         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65445         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65446         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65447         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65448         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65449         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65450         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65451         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65452         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65453         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65454         * sysdeps/powerpc/sysdep.h: Likewise.
65455         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65456         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65457         * sysdeps/sh/dl-trampoline.S: Likewise.
65458         * sysdeps/sh/memset.S: Likewise.
65459         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65460         * sysdeps/sh/strlen.S: Likewise.
65461         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65462         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65463         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65464         * sysdeps/sparc/sparc32/rem.S: Likewise.
65465         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65466         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65467         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65468         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65469         * sysdeps/sparc/sparc32/urem.S: Likewise.
65470         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65471         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65472         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65473         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65475         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65476         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65477         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65478         * sysdeps/unix/bsd/times.c: Likewise.
65479         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65480         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65484         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65485         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65486         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65488         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65489         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65490         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65491         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65492         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65493         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65494         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65495         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65496         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65497         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65498         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65499         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65500         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65501         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65502         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65503         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65504         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65505         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65506         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65507         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65508         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65509         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65510         * sysdeps/x86_64/strcspn.S: Likewise.
65512 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65514         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65515         generated file.  Regenerate properly from gen-translit.pl.
65516         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65517         locale/C-translit.h.
65519 2013-06-05  Andreas Schwab  <schwab@suse.de>
65521         [BZ #15100]
65522         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65523         week as 6 instead of -1.
65524         * time/tst-strptime.c (day_tests): Add test case.
65526 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65528         * sysdeps/generic/math_private.h
65529         (libc_feholdexcept_setround_53bit): Replace with
65530         libc_feholdsetround_53bit.
65531         (libc_feupdateenv_53bit): Replace with
65532         libc_feresetround_53bit.
65533         (SET_RESTORE_ROUND_53BIT): Adjust.
65535 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65537         * string/test-strchrnul.c: Add copyright header.
65539         * posix/tst-getaddrinfo4.c: Increase test timeout.
65541 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65543         [BZ #15536]
65544         * math/libm-test.inc (MAX_EXP): Remove
65545         (MIN_EXP): Define.
65546         (ulp): Use MIN_EXP - MANT_DIG.
65547         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65549 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65551         * po/be.po: Revert last change.
65552         * po/zh_CN.po: Likewise.
65553         * po/header.pot: Likewise.
65555 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65557         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65558         link-libc-deps to empty as target-specific variable.
65559         * Makerules (link-libc-args): New variable.
65560         (libc-for-link): Likewise.
65561         (link-libc-deps): Likewise.
65562         (lib%.so): Depend on $(link-libc-deps).  Link with
65563         $(link-libc-args).
65564         (build-module): Link with $(link-libc-args).
65565         (build-module-asneeded): Likewise.
65566         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65567         list of objects.
65568         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65569         target-specific variable.
65570         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65571         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65572         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65573         libc.
65574         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65575         libc and ld.so.
65576         ($(objpfx)libpcprofile.so): Likewise.
65577         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65578         libc_nonshared.a.
65579         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65580         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65581         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65582         $(link-libc-deps).
65583         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65584         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65585         * login/Makefile ($(objpfx)libutil.so): Likewise.
65586         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65587         * math/Makefile ($(objpfx)libm.so): Likewise.
65588         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65589         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65590         variable instead of depending directly on libc.
65591         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65592         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65593         $(link-libc-deps).
65594         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65595         libc.
65596         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65597         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65598         ($(objpfx)libanl.so): Likewise.
65599         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65600         ld.so.
65601         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65602         $(link-libc-deps).
65603         * sysdeps/i386/fpu/Makefile: Remove file.
65604         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65605         ($(objpfx)libm.so): Remove dependency on ld.so.
65607 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65609         [BZ # 15553]
65610         * nis/yp_xdr.c (XDRMAXNAME): Define.
65611         (XDRMAXRECORD): Define.
65612         (xdr_domainname): Use XDRMAXNAME.
65613         (xdr_mapname): Likewise.
65614         (xdr_peername): Likewise.
65615         (xdr_keydat): Use XDRMAXRECORD.
65616         (xdr_valdat): Likewise.
65618 2013-05-30  Jeff Law  <law@redhat.com>
65620         [BZ #14256]
65621         * manual/errno.texi (ESTALE): Update to account for more than
65622         just NFS file systems.
65623         * sysdeps/gnu/errlist.c: Regenerated.
65625 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65627         [BZ #15465]
65628         * elf/Makefile (tests): Add tst-null-argv.
65629         (modules-names):  Add tst-null-argv-lib.
65630         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65631         (tst-null-argv-ENV): Set environment for tst-null-argv.
65632         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65633         (RTLD_PROGNAME): New macro.
65634         * elf/tst-null-argv.c: New test case.
65635         * elf/tst-null-argv-lib.c: Library for test case.
65636         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65637         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65638         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65639         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65640         * elf/dl-init.c (call_init): Likewise.
65641         (_dl_init): Likewise.
65642         * elf/dl-load.c (print_search_path): Likewise.
65643         (_dl_map_object): Likewise.
65644         * elf/dl-lookup.c (do_lookup_x): Likewise.
65645         (add_dependency): Likewise.
65646         (_dl_lookup_symbol_x): Likewise.
65647         (_dl_debug_bindings): Likewise.
65648         * elf/dl-open.c (_dl_show_scope): Likewise.
65649         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65650         * elf/dl-version.c (match_symbol): Likewise.
65651         (_dl_check_map_versions): Likewise.
65652         * elf/rtld.c (dl_main): Likewise.
65653         (print_unresolved): Use RTLD_PROGNAME.
65654         (print_missing_version): Likewise.
65655         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65656         (elf_machine_rela): Likewise.
65657         * sysdeps/powerpc/powerpc32/dl-machine.c
65658         (__process_machine_rela): Likewise.
65659         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65660         Likewise.
65661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65662         Likewise.
65663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65664         Likewise.
65665         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65667         Likewise.
65668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65669         Likewise.
65670         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65672 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65674         * po/be.po: Add descriptive title.
65675         * po/zh_CN.po: Likewise.
65676         * po/header.pot: Likewise.
65678 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65680         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65681         error message.
65682         (enlarge_archive): Likewise.
65684 2013-05-28  Ben North  <ben@redfrontdoor.org>
65686         * manual/arith.texi (frexp): It is the magnitude of the return
65687         value which lies in [0.5, 1), not the return value itself.
65689 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65693 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65695         * stdio-common/bug26.c (main): Correct fscanf template.
65697         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65698         declare _dl_skip_args.
65700         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65701         Don't declare.
65703         * manual/platform.texi: Add missing @end deftypefun.
65705 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65707         [BZ #15529]
65708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65709         bit of mantissa of 2^16382.
65710         * math/libm-test.inc (hypot_test_data): Add more tests.
65712         * math/libm-test.inc: Add drem and pow10 to list of tested
65713         functions.
65714         (pow10_test): New function.
65715         (drem_test): Likewise.
65716         (drem_test_tonearest): Likewise.
65717         (drem_test_towardzero): Likewise.
65718         (drem_test_downward): Likewise.
65719         (drem_test_upward): Likewise.
65720         (main): Call the new functions.
65722         * math/libm-test.inc (finite_test_data): Remove.
65723         (finite_test): Run tests from isfinite_test_data.
65724         (gamma_test_data): Remove.
65725         (gamma_test): Run tests from lgamma_test_data.
65726         * sysdeps/i386/fpu/libm-test-ulps: Update.
65727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65729 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65731         * manual/platform.texi: Add PowerPC PPR function set documentation.
65732         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65733         implementation.
65735 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
65737         * math/libm-test.inc (MAX_EXP): Define.
65738         (ULPDIFF): Define.
65739         (ulp): New function.
65740         (check_float_internal): Use ULPDIFF.
65741         (cpow_test): Disable failing test.
65742         (check_ulp): Test ulp() implementation.
65743         (main): Call check_ulp before starting tests.
65745 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65747         * math/gen-libm-test.pl (generate_testfile): Do not handle
65748         START_DATA and END_DATA.
65749         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65750         END_DATA.
65751         (acos_tonearest_test_data): Likewise.
65752         (acos_towardzero_test_data): Likewise.
65753         (acos_downward_test_data): Likewise.
65754         (acos_upward_test_data): Likewise.
65755         (acosh_test_data): Likewise.
65756         (asin_test_data): Likewise.
65757         (asin_tonearest_test_data): Likewise.
65758         (asin_towardzero_test_data): Likewise.
65759         (asin_downward_test_data): Likewise.
65760         (asin_upward_test_data): Likewise.
65761         (asinh_test_data): Likewise.
65762         (atan_test_data): Likewise.
65763         (atanh_test_data): Likewise.
65764         (atan2_test_data): Likewise.
65765         (cabs_test_data): Likewise.
65766         (cacos_test_data): Likewise.
65767         (cacosh_test_data): Likewise.
65768         (carg_test_data): Likewise.
65769         (casin_test_data): Likewise.
65770         (casinh_test_data): Likewise.
65771         (catan_test_data): Likewise.
65772         (catanh_test_data): Likewise.
65773         (cbrt_test_data): Likewise.
65774         (ccos_test_data): Likewise.
65775         (ccosh_test_data): Likewise.
65776         (ceil_test_data): Likewise.
65777         (cexp_test_data): Likewise.
65778         (cimag_test_data): Likewise.
65779         (clog_test_data): Likewise.
65780         (clog10_test_data): Likewise.
65781         (conj_test_data): Likewise.
65782         (copysign_test_data): Likewise.
65783         (cos_test_data): Likewise.
65784         (cos_tonearest_test_data): Likewise.
65785         (cos_towardzero_test_data): Likewise.
65786         (cos_downward_test_data): Likewise.
65787         (cos_upward_test_data): Likewise.
65788         (cosh_test_data): Likewise.
65789         (cosh_tonearest_test_data): Likewise.
65790         (cosh_towardzero_test_data): Likewise.
65791         (cosh_downward_test_data): Likewise.
65792         (cosh_upward_test_data): Likewise.
65793         (cpow_test_data): Likewise.
65794         (cproj_test_data): Likewise.
65795         (creal_test_data): Likewise.
65796         (csin_test_data): Likewise.
65797         (csinh_test_data): Likewise.
65798         (csqrt_test_data): Likewise.
65799         (ctan_test_data): Likewise.
65800         (ctan_tonearest_test_data): Likewise.
65801         (ctan_towardzero_test_data): Likewise.
65802         (ctan_downward_test_data): Likewise.
65803         (ctan_upward_test_data): Likewise.
65804         (ctanh_test_data): Likewise.
65805         (ctanh_tonearest_test_data): Likewise.
65806         (ctanh_towardzero_test_data): Likewise.
65807         (ctanh_downward_test_data): Likewise.
65808         (ctanh_upward_test_data): Likewise.
65809         (erf_test_data): Likewise.
65810         (erfc_test_data): Likewise.
65811         (exp_test_data): Likewise.
65812         (exp_tonearest_test_data): Likewise.
65813         (exp_towardzero_test_data): Likewise.
65814         (exp_downward_test_data): Likewise.
65815         (exp_upward_test_data): Likewise.
65816         (exp10_test_data): Likewise.
65817         (exp2_test_data): Likewise.
65818         (expm1_test_data): Likewise.
65819         (fabs_test_data): Likewise.
65820         (fdim_test_data): Likewise.
65821         (finite_test_data): Likewise.
65822         (floor_test_data): Likewise.
65823         (fma_test_data): Likewise.
65824         (fma_towardzero_test_data): Likewise.
65825         (fma_downward_test_data): Likewise.
65826         (fma_upward_test_data): Likewise.
65827         (fmax_test_data): Likewise.
65828         (fmin_test_data): Likewise.
65829         (fmod_test_data): Likewise.
65830         (fpclassify_test_data): Likewise.
65831         (frexp_test_data): Likewise.
65832         (gamma_test_data): Likewise.
65833         (hypot_test_data): Likewise.
65834         (ilogb_test_data): Likewise.
65835         (isfinite_test_data): Likewise.
65836         (isgreater_test_data): Likewise.
65837         (isgreaterequal_test_data): Likewise.
65838         (isinf_test_data): Likewise.
65839         (isless_test_data): Likewise.
65840         (islessequal_test_data): Likewise.
65841         (islessgreater_test_data): Likewise.
65842         (isnan_test_data): Likewise.
65843         (isnormal_test_data): Likewise.
65844         (issignaling_test_data): Likewise.
65845         (isunordered_test_data): Likewise.
65846         (j0_test_data): Likewise.
65847         (j1_test_data): Likewise.
65848         (jn_test_data): Likewise.
65849         (ldexp_test_data): Likewise.
65850         (lgamma_test_data): Likewise.
65851         (lrint_test_data): Likewise.
65852         (lrint_tonearest_test_data): Likewise.
65853         (lrint_towardzero_test_data): Likewise.
65854         (lrint_downward_test_data): Likewise.
65855         (lrint_upward_test_data): Likewise.
65856         (llrint_test_data): Likewise.
65857         (llrint_tonearest_test_data): Likewise.
65858         (llrint_towardzero_test_data): Likewise.
65859         (llrint_downward_test_data): Likewise.
65860         (llrint_upward_test_data): Likewise.
65861         (log_test_data): Likewise.
65862         (log10_test_data): Likewise.
65863         (log1p_test_data): Likewise.
65864         (log2_test_data): Likewise.
65865         (logb_test_data): Likewise.
65866         (logb_downward_test_data): Likewise.
65867         (lround_test_data): Likewise.
65868         (llround_test_data): Likewise.
65869         (modf_test_data): Likewise.
65870         (nearbyint_test_data): Likewise.
65871         (nextafter_test_data): Likewise.
65872         (nexttoward_test_data): Likewise.
65873         (pow_test_data): Likewise.
65874         (pow_tonearest_test_data): Likewise.
65875         (pow_towardzero_test_data): Likewise.
65876         (pow_downward_test_data): Likewise.
65877         (pow_upward_test_data): Likewise.
65878         (remainder_test_data): Likewise.
65879         (remainder_tonearest_test_data): Likewise.
65880         (remainder_towardzero_test_data): Likewise.
65881         (remainder_downward_test_data): Likewise.
65882         (remainder_upward_test_data): Likewise.
65883         (remquo_test_data): Likewise.
65884         (rint_test_data): Likewise.
65885         (rint_tonearest_test_data): Likewise.
65886         (rint_towardzero_test_data): Likewise.
65887         (rint_downward_test_data): Likewise.
65888         (rint_upward_test_data): Likewise.
65889         (round_test_data): Likewise.
65890         (scalb_test_data): Likewise.
65891         (scalbn_test_data): Likewise.
65892         (scalbln_test_data): Likewise.
65893         (signbit_test_data): Likewise.
65894         (sin_test_data): Likewise.
65895         (sin_tonearest_test_data): Likewise.
65896         (sin_towardzero_test_data): Likewise.
65897         (sin_downward_test_data): Likewise.
65898         (sin_upward_test_data): Likewise.
65899         (sincos_test_data): Likewise.
65900         (sinh_test_data): Likewise.
65901         (sinh_tonearest_test_data): Likewise.
65902         (sinh_towardzero_test_data): Likewise.
65903         (sinh_downward_test_data): Likewise.
65904         (sinh_upward_test_data): Likewise.
65905         (sqrt_test_data): Likewise.
65906         (tan_test_data): Likewise.
65907         (tan_tonearest_test_data): Likewise.
65908         (tan_towardzero_test_data): Likewise.
65909         (tan_downward_test_data): Likewise.
65910         (tan_upward_test_data): Likewise.
65911         (tanh_test_data): Likewise.
65912         (tgamma_test_data): Likewise.
65913         (trunc_test_data): Likewise.
65914         (y0_test_data): Likewise.
65915         (y1_test_data): Likewise.
65916         (yn_test_data): Likewise.
65917         (significand_test_data): Likewise.
65919         * math/gen-libm-test.pl (@functions): Remove variable.
65920         (generate_testfile): Don't handle START and END lines.
65921         * math/libm-test.inc (START): New macro.
65922         (END): Likewise.
65923         (END_COMPLEX): Likewise.
65924         (acos_test): Use END macro without arguments.
65925         (acos_test_tonearest): Likewise.
65926         (acos_test_towardzero): Likewise.
65927         (acos_test_downward): Likewise.
65928         (acos_test_upward): Likewise.
65929         (acosh_test): Likewise.
65930         (asin_test): Likewise.
65931         (asin_test_tonearest): Likewise.
65932         (asin_test_towardzero): Likewise.
65933         (asin_test_downward): Likewise.
65934         (asin_test_upward): Likewise.
65935         (asinh_test): Likewise.
65936         (atan_test): Likewise.
65937         (atanh_test): Likewise.
65938         (atan2_test): Likewise.
65939         (cabs_test): Likewise.
65940         (cacos_test): Use END_COMPLEX macro without arguments.
65941         (cacosh_test): Likewise.
65942         (carg_test): Use END macro without arguments.
65943         (casin_test): Use END_COMPLEX macro without arguments.
65944         (casinh_test): Likewise.
65945         (catan_test): Likewise.
65946         (catanh_test): Likewise.
65947         (cbrt_test): Use END macro without arguments.
65948         (ccos_test): Use END_COMPLEX macro without arguments.
65949         (ccosh_test): Likewise.
65950         (ceil_test): Use END macro without arguments.
65951         (cexp_test): Use END_COMPLEX macro without arguments.
65952         (cimag_test): Use END macro without arguments.
65953         (clog_test): Use END_COMPLEX macro without arguments.
65954         (clog10_test): Likewise.
65955         (conj_test): Likewise.
65956         (copysign_test): Use END macro without arguments.
65957         (cos_test): Likewise.
65958         (cos_test_tonearest): Likewise.
65959         (cos_test_towardzero): Likewise.
65960         (cos_test_downward): Likewise.
65961         (cos_test_upward): Likewise.
65962         (cosh_test): Likewise.
65963         (cosh_test_tonearest): Likewise.
65964         (cosh_test_towardzero): Likewise.
65965         (cosh_test_downward): Likewise.
65966         (cosh_test_upward): Likewise.
65967         (cpow_test): Use END_COMPLEX macro without arguments.
65968         (cproj_test): Likewise.
65969         (creal_test): Use END macro without arguments.
65970         (csin_test): Use END_COMPLEX macro without arguments.
65971         (csinh_test): Likewise.
65972         (csqrt_test): Likewise.
65973         (ctan_test): Likewise.
65974         (ctan_test_tonearest): Likewise.
65975         (ctan_test_towardzero): Likewise.
65976         (ctan_test_downward): Likewise.
65977         (ctan_test_upward): Likewise.
65978         (ctanh_test): Likewise.
65979         (ctanh_test_tonearest): Likewise.
65980         (ctanh_test_towardzero): Likewise.
65981         (ctanh_test_downward): Likewise.
65982         (ctanh_test_upward): Likewise.
65983         (erf_test): Use END macro without arguments.
65984         (erfc_test): Likewise.
65985         (exp_test): Likewise.
65986         (exp_test_tonearest): Likewise.
65987         (exp_test_towardzero): Likewise.
65988         (exp_test_downward): Likewise.
65989         (exp_test_upward): Likewise.
65990         (exp10_test): Likewise.
65991         (exp2_test): Likewise.
65992         (expm1_test): Likewise.
65993         (fabs_test): Likewise.
65994         (fdim_test): Likewise.
65995         (finite_test): Likewise.
65996         (floor_test): Likewise.
65997         (fma_test): Likewise.
65998         (fma_test_towardzero): Likewise.
65999         (fma_test_downward): Likewise.
66000         (fma_test_upward): Likewise.
66001         (fmax_test): Likewise.
66002         (fmin_test): Likewise.
66003         (fmod_test): Likewise.
66004         (fpclassify_test): Likewise.
66005         (frexp_test): Likewise.
66006         (gamma_test): Likewise.
66007         (hypot_test): Likewise.
66008         (ilogb_test): Likewise.
66009         (isfinite_test): Likewise.
66010         (isgreater_test): Likewise.
66011         (isgreaterequal_test): Likewise.
66012         (isinf_test): Likewise.
66013         (isless_test): Likewise.
66014         (islessequal_test): Likewise.
66015         (islessgreater_test): Likewise.
66016         (isnan_test): Likewise.
66017         (isnormal_test): Likewise.
66018         (issignaling_test): Likewise.
66019         (isunordered_test): Likewise.
66020         (j0_test): Likewise.
66021         (j1_test): Likewise.
66022         (jn_test): Likewise.
66023         (ldexp_test): Likewise.
66024         (lgamma_test): Likewise.
66025         (lrint_test): Likewise.
66026         (lrint_test_tonearest): Likewise.
66027         (lrint_test_towardzero): Likewise.
66028         (lrint_test_downward): Likewise.
66029         (lrint_test_upward): Likewise.
66030         (llrint_test): Likewise.
66031         (llrint_test_tonearest): Likewise.
66032         (llrint_test_towardzero): Likewise.
66033         (llrint_test_downward): Likewise.
66034         (llrint_test_upward): Likewise.
66035         (log_test): Likewise.
66036         (log10_test): Likewise.
66037         (log1p_test): Likewise.
66038         (log2_test): Likewise.
66039         (logb_test): Likewise.
66040         (logb_test_downward): Likewise.
66041         (lround_test): Likewise.
66042         (llround_test): Likewise.
66043         (modf_test): Likewise.
66044         (nearbyint_test): Likewise.
66045         (nextafter_test): Likewise.
66046         (nexttoward_test): Likewise.
66047         (pow_test): Likewise.
66048         (pow_test_tonearest): Likewise.
66049         (pow_test_towardzero): Likewise.
66050         (pow_test_downward): Likewise.
66051         (pow_test_upward): Likewise.
66052         (remainder_test): Likewise.
66053         (remainder_test_tonearest): Likewise.
66054         (remainder_test_towardzero): Likewise.
66055         (remainder_test_downward): Likewise.
66056         (remainder_test_upward): Likewise.
66057         (remquo_test): Likewise.
66058         (rint_test): Likewise.
66059         (rint_test_tonearest): Likewise.
66060         (rint_test_towardzero): Likewise.
66061         (rint_test_downward): Likewise.
66062         (rint_test_upward): Likewise.
66063         (round_test): Likewise.
66064         (scalb_test): Likewise.
66065         (scalbn_test): Likewise.
66066         (scalbln_test): Likewise.
66067         (signbit_test): Likewise.
66068         (sin_test): Likewise.
66069         (sin_test_tonearest): Likewise.
66070         (sin_test_towardzero): Likewise.
66071         (sin_test_downward): Likewise.
66072         (sin_test_upward): Likewise.
66073         (sincos_test): Likewise.
66074         (sinh_test): Likewise.
66075         (sinh_test_tonearest): Likewise.
66076         (sinh_test_towardzero): Likewise.
66077         (sinh_test_downward): Likewise.
66078         (sinh_test_upward): Likewise.
66079         (sqrt_test): Likewise.
66080         (tan_test): Likewise.
66081         (tan_test_tonearest): Likewise.
66082         (tan_test_towardzero): Likewise.
66083         (tan_test_downward): Likewise.
66084         (tan_test_upward): Likewise.
66085         (tanh_test): Likewise.
66086         (tgamma_test): Likewise.
66087         (trunc_test): Likewise.
66088         (y0_test): Likewise.
66089         (y1_test): Likewise.
66090         (yn_test): Likewise.
66091         (significand_test): Likewise.
66093 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
66095         [BZ #15381]
66096         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66098 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66100         [BZ #14894]
66101         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66102         __ppc_mdoio and __ppc_mdoom.
66103         * manual/platform.texi: Document new functions __ppc_yield,
66104         __ppc_mdoio and __ppc_mdoom.
66106 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66108         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66109         (main): Mention "tls" pseudo-hwcap is legacy.
66110         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66112 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66114         * math/gen-libm-test.pl (parse_args): Output only string of
66115         arguments as text for test name, not full call or descriptions of
66116         tests for extra outputs.
66117         (generate_testfile): Do not pass function name to parse_args.
66118         Generate this_func variable from START.
66119         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66120         field to arg_str.
66121         (struct test_ff_f_data): Likewise.
66122         (test_ff_f_data_nexttoward): Likewise.
66123         (struct test_fi_f_data): Likewise.
66124         (struct test_fl_f_data): Likewise.
66125         (struct test_if_f_data): Likewise.
66126         (struct test_fff_f_data): Likewise.
66127         (struct test_c_f_data): Likewise.
66128         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66129         (struct test_fF_f1_data): Likewise.
66130         (struct test_ffI_f1_data): Likewise.
66131         (struct test_c_c_data): Rename test_name field to arg_str.
66132         (struct test_cc_c_data): Likewise.
66133         (struct test_f_i_data): Likewise.
66134         (struct test_ff_i_data): Likewise.
66135         (struct test_f_l_data): Likewise.
66136         (struct test_f_L_data): Likewise.
66137         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66138         and extra2_name.
66139         (COMMON_TEST_SETUP): New macro.
66140         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66141         (COMMON_TEST_CLEANUP): Likewise.
66142         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66143         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66144         macros.
66145         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66146         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66147         macros.
66148         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66149         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66150         cleanup macros.
66151         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66152         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66153         macros.
66154         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66155         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66156         macros.
66157         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66158         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66159         cleanup macros.
66160         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66161         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66162         cleanup macros.
66163         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66164         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66165         cleanup macros.
66166         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66167         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66168         macros.
66169         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66170         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66171         macros.
66172         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66173         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66174         macros.
66175         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66176         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66177         cleanup macros.
66178         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66179         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66180         cleanup macros.
66181         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66182         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66183         macros.
66184         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66185         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66186         cleanup macros.
66187         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66188         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66189         macros.
66190         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66191         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66192         macros.
66193         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66194         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66195         cleanup macros.
66196         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66198 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66200         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66201         to _sifields.sigfault.
66202         (si_addr_lsb): Define new macro.
66203         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66204         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66205         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66207 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66209         [BZ #15441]
66210         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66211         returns -1.
66212         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66213         null return -1.
66214         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66215         loading the domain.
66217 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66219         * math/gen-libm-test.pl (parse_args): Do not include expected
66220         result in test name.
66221         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66222         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66223         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66224         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66225         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66228 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66230         * benchtests/Makefile: Sort function entries.
66232         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66233         tanh, asinh, acosh, atanh.
66234         * benchtests/acos-inputs: New file.
66235         * benchtests/acosh-inputs: New file.
66236         * benchtests/asin-inputs: New file.
66237         * benchtests/asinh-inputs: New file.
66238         * benchtests/atanh-inputs: New file.
66239         * benchtests/cosh-inputs: New file.
66240         * benchtests/log-inputs: New file.
66241         * benchtests/sinh-inputs: New file.
66242         * benchtests/tanh-inputs: New file.
66244 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66246         [BZ #15339]
66247         * posix/tst-getaddrinfo4.c: New test.
66248         * posix/Makefile (tests): Add it.
66250 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66252         [BZ #15339]
66253         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66254         when no services were used.
66255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66256         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66258 2013-05-21  Andreas Schwab  <schwab@suse.de>
66260         [BZ #15014]
66261         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66262         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66263         successful.
66264         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66265         redundant variable declarations and reallocation of buffer when
66266         parsing as IPv6 address.  Always set NSS status when called from
66267         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66268         buffer too small.  Correct computation of needed size.
66269         * nss/Makefile (tests): Add test-digits-dots.
66270         * nss/test-digits-dots.c: New test.
66272 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66274         * benchtests/Makefile: Remove instructions for adding
66275         benchmark tests.
66276         * benchtests/README: New file to explain how to execute and
66277         enhance the benchmark tests.
66279 2013-05-21  Andreas Schwab  <schwab@suse.de>
66281         [BZ #15493]
66282         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66283         * setjmp/tst-sigsetjmp.c: New test.
66285 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66287         * sysdeps/x86_64/memset.S (memset): New implementation.
66288         (__bzero): Likewise.
66289         (__memset_tail): New function.
66291 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66293         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66294         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66295         __memcpy_sse2_unaligned ifunc selection.
66296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66297         Add memcpy-sse2-unaligned.S.
66298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66299         Add: __memcpy_sse2_unaligned.
66301 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66303         [BZ #15490]
66304         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66305         math_force_eval before restoring floating-point envrionment.
66306         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66307         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66308         Likewise.
66309         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66310         <math_private.h>.
66311         (__nearbyintl): Use math_force_eval before restoring
66312         floating-point environment.
66313         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66315         * math/gen-libm-test.pl (special_functions): Remove.
66316         (parse_args): Don't handle TEST_extra.  Handle functions with no
66317         return value.
66318         * math/libm-test.inc (struct test_sincos_data): Replace with
66319         struct test_fFF_11_data.
66320         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66321         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66322         (sincos_test_data): Change element type to struct
66323         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66324         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66325         RUN_TEST_LOOP_sincos.
66326         * math/README.libm-test: Don't mention special handling of
66327         individual functions.
66328         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66329         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66330         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66331         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66332         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66335         * math/gen-libm-test.pl (get_variable): Remove function.
66336         (parse_args): Don't show pointer parameters to call in test
66337         names.  Use "extra output N" in test names for extra outputs
66338         rather than naming variables.
66340 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66342         [BZ #15488]
66343         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66344         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66345         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66346         double tests.
66347         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66348         disable.
66349         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66350         check_long_double.
66352         * math/gen-libm-test.pl (@tests): Remove variable.
66353         ($count): Likewise.
66354         (new_test): Remove function.
66355         (show_exceptions): New function.
66356         (special_functions): Use show_exceptions instead of new_test.
66357         (parse_args): Likewise.
66358         (generate_testfile): Pass only function name in generated call to
66359         print_max_error or print_complex_max_error.
66360         (get_ulps): Do not handle complex tests specially.
66361         (output_test): Rename to ...
66362         (get_all_ulps_for_test): ... this.  Return a string rather than
66363         printing to a file.  Require ulps to be present.
66364         (output_ulps): Generate arrays rather than #defines.
66365         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66366         (struct ulp_data): New type.
66367         (BUILD_COMPLEX_ULP): Remove macro.
66368         (compare_ulp_data): New function.
66369         (find_ulps): Likewise.
66370         (find_test_ulps): Likewise.
66371         (find_function_ulps): Likewise.
66372         (find_complex_function_ulps): Likewise.
66373         (print_max_error): Determine allowed ulps using
66374         find_function_ulps.
66375         (print_complex_max_error): Determine allowed ulps using
66376         find_complex_function_ulps.
66377         (check_float_internal): Determine max ulps using find_test_ulps.
66378         (check_float): Do not take max_ulp parameter.  Update call to
66379         check_float_internal.
66380         (check_complex): Likewise.
66381         (check_int): Do not take max_ulp parameter.
66382         (check_long): Likewise.
66383         (check_bool): Likewise.
66384         (check_longlong): Likewise.
66385         (struct test_f_f_data): Remove max_ulp field.
66386         (struct test_ff_f_data): Likewise.
66387         (struct test_ff_f_data_nexttoward): Likewise.
66388         (struct test_fi_f_data): Likewise.
66389         (struct test_fl_f_data): Likewise.
66390         (struct test_if_f_data): Likewise.
66391         (struct test_fff_f_data): Likewise.
66392         (struct test_c_f_data): Likewise.
66393         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66394         (struct test_fF_f1_data): Likewise.
66395         (struct test_ffI_f1_data): Likewise.
66396         (struct test_c_c_data): Remove max_ulp field.
66397         (struct test_cc_c_data): Likewise.
66398         (struct test_f_i_data): Likewise.
66399         (struct test_ff_i_data): Likewise.
66400         (struct test_f_l_data): Likewise.
66401         (struct test_f_L_data): Likewise.
66402         (struct test_sincos_data): Likewise.
66403         (RUN_TEST_f_f): Do not handle ulps.
66404         (RUN_TEST_LOOP_f_f): Likewise.
66405         (RUN_TEST_2_f): Likewise.
66406         (RUN_TEST_LOOP_2_f): Likewise.
66407         (RUN_TEST_fff_f): Likewise.
66408         (RUN_TEST_LOOP_fff_f): Likewise.
66409         (RUN_TEST_c_f): Likewise.
66410         (RUN_TEST_LOOP_c_f): Likewise.
66411         (RUN_TEST_f_f1): Likewise.
66412         (RUN_TEST_LOOP_f_f1): Likewise.
66413         (RUN_TEST_fF_f1): Likewise.
66414         (RUN_TEST_LOOP_fF_f1): Likewise.
66415         (RUN_TEST_fI_f1): Likewise.
66416         (RUN_TEST_LOOP_fI_f1): Likewise.
66417         (RUN_TEST_ffI_f1): Likewise.
66418         (RUN_TEST_LOOP_ffI_f1): Likewise.
66419         (RUN_TEST_c_c): Likewise.
66420         (RUN_TEST_LOOP_c_c): Likewise.
66421         (RUN_TEST_cc_c): Likewise.
66422         (RUN_TEST_LOOP_cc_c): Likewise.
66423         (RUN_TEST_f_i): Likewise.
66424         (RUN_TEST_LOOP_f_i): Likewise.
66425         (RUN_TEST_f_i_tg): Likewise.
66426         (RUN_TEST_LOOP_f_i_tg): Likewise.
66427         (RUN_TEST_ff_i_tg): Likewise.
66428         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66429         (RUN_TEST_f_b): Likewise.
66430         (RUN_TEST_LOOP_f_b): Likewise.
66431         (RUN_TEST_f_b_tg): Likewise.
66432         (RUN_TEST_LOOP_f_b_tg): Likewise.
66433         (RUN_TEST_f_l): Likewise.
66434         (RUN_TEST_LOOP_f_l): Likewise.
66435         (RUN_TEST_f_L): Likewise.
66436         (RUN_TEST_LOOP_f_L): Likewise.
66437         (RUN_TEST_sincos): Likewise.
66438         (RUN_TEST_LOOP_sincos): Likewise.
66440 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66442         [BZ #15480]
66443         [BZ #15485]
66444         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66445         main case of finite arguments, set rounding mode to FE_TONEAREST
66446         and discard exceptions.
66447         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66448         exceptions.
66449         (remainder_tonearest_test_data): New variable.
66450         (remainder_test_tonearest): New function.
66451         (remainder_towardzero_test_data): New variable.
66452         (remainder_test_towardzero): New function.
66453         (remainder_downward_test_data): New variable.
66454         (remainder_test_downward): New function.
66455         (remainder_upward_test_data): New variable.
66456         (remainder_test_upward): New function.
66457         (main): Call the new test functions.
66459         * math/libm-test.inc (struct test_f_f1_data): Remove field
66460         extra_init.
66461         (struct test_fF_f1_data): Likewise.
66462         (struct test_ffI_f1_data): Likewise.
66463         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66464         based on value of EXTRA_EXPECTED.
66465         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66466         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66467         EXTRA_VAR based on value of EXTRA_EXPECTED.
66468         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66469         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66470         EXTRA_VAR based on value of EXTRA_EXPECTED.
66471         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66472         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66473         EXTRA_VAR based on value of EXTRA_EXPECTED.
66474         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66475         * math/gen-libm-test.pl (parse_args): Don't output initializers
66476         for extra output values.
66478         * math/libm-test.inc (check_int): Expect result to be exactly
66479         equal to expected value and do not handle ulps.
66480         (check_long): Likewise.
66481         (check_longlong): Likewise.
66483         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66484         exceptions.
66485         (cimag_test_data): Likewise.
66486         (conj_test_data): Likewise.
66487         (copysign_test_data): Likewise.
66488         (cproj_test_data): Likewise.
66489         (creal_test_data): Likewise.
66490         (fabs_test_data): Likewise.
66491         (fdim_test_data): Likewise.
66492         (finite_test_data): Likewise.
66493         (floor_test_data): Likewise.
66494         (fmax_test_data): Likewise.
66495         (fmin_test_data): Likewise.
66496         (fmod_test_data): Likewise.
66497         (fpclassify_test_data): Likewise.
66498         (frexp_test_data): Likewise.
66499         (ilogb_test_data): Likewise.
66500         (isfinite_test_data): Likewise.
66501         (isgreater_test_data): Likewise.
66502         (isgreaterequal_test_data): Likewise.
66503         (isinf_test_data): Likewise.
66504         (isless_test_data): Likewise.
66505         (islessequal_test_data): Likewise.
66506         (islessgreater_test_data): Likewise.
66507         (isnan_test_data): Likewise.
66508         (isnormal_test_data): Likewise.
66509         (issignaling_test_data): Likewise.
66510         (isunordered_test_data): Likewise.
66511         (ldexp_test_data): Likewise.
66512         (lrint_test_data): Likewise.
66513         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66514         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66515         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66516         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66517         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66518         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66519         test input.
66520         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66521         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66522         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66523         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66524         that test input.
66525         (lrint_downward_test_data): Test for "inexact" exceptions.
66526         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66527         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66528         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66529         test input.
66530         (lrint_upward_test_data): Test for "inexact" exceptions.
66531         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66532         test input.
66533         (llrint_test_data): Test for "inexact" exceptions.
66534         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66535         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66536         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66537         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66538         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66539         (llrint_downward_test_data): Test for "inexact" exceptions.
66540         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66541         (llrint_upward_test_data): Test for "inexact" exceptions.
66542         (logb_test_data): Likewise.
66543         (logb_downward_test_data): Likewise.
66544         (nextafter_test_data): Likewise.
66545         (nexttoward_test_data): Likewise.
66546         (remainder_test_data): Likewise.
66547         (remquo_test_data): Likewise.
66548         (scalbn_test_data): Likewise.
66549         (scalbln_test_data): Likewise.
66550         (signbit_test_data): Likewise.
66551         (sqrt_test_data): Likewise.
66552         (significand_test_data): Likewise.
66554 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66556         [BZ #15424]
66557         * benchtests/bench-modf.c (struct args): Mark arg0 as
66558         volatile.
66559         * scripts/bench.pl: Mark members of struct args as volatile.
66561 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66563         [BZ # 15497]
66564         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66565         negative infinity on POWER6 or lower.
66566         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66568 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66570         [BZ #15442]
66571         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66572         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66573         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66574         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66575         (_FP_SETQNAN): New macro.
66576         (_FP_SETQNAN_SEMIRAW): Likewise.
66577         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66578         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66579         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66580         (FP_EXTEND): Use _FP_FRAC_SNANP.
66581         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66582         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66583         into account.
66584         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66585         New macro.
66586         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66587         Likewise.
66589 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66591         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66592         with DIVIDE_BY_ZERO_EXCEPTION.
66593         (gamma_test_data): Likewise.
66594         (lgamma_test_data): Likewise.
66595         (log_test_data): Likewise.
66596         (log10_test_data): Likewise.
66597         (log2_test_data): Likewise.
66598         (tgamma_test_data): Likewise.
66600         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66601         (acos_test_tonearest): Likewise.
66602         (acos_test_towardzero): Likewise.
66603         (acos_test_downward): Likewise.
66604         (acos_test_upward): Likewise.
66605         (acosh_test): Likewise.
66606         (asin_test): Likewise.
66607         (asin_test_tonearest): Likewise.
66608         (asin_test_towardzero): Likewise.
66609         (asin_test_downward): Likewise.
66610         (asin_test_upward): Likewise.
66611         (asinh_test): Likewise.
66612         (atan_test): Likewise.
66613         (atanh_test): Likewise.
66614         (atan2_test): Likewise.
66615         (cabs_test): Likewise.
66616         (cacos_test): Likewise.
66617         (cacosh_test): Likewise.
66618         (casin_test): Likewise.
66619         (casinh_test): Likewise.
66620         (catan_test): Likewise.
66621         (catanh_test): Likewise.
66622         (cbrt_test): Likewise.
66623         (ccos_test): Likewise.
66624         (ccosh_test): Likewise.
66625         (cexp_test): Likewise.
66626         (clog_test): Likewise.
66627         (clog10_test): Likewise.
66628         (cos_test): Likewise.
66629         (cos_test_tonearest): Likewise.
66630         (cos_test_towardzero): Likewise.
66631         (cos_test_downward): Likewise.
66632         (cos_test_upward): Likewise.
66633         (cosh_test): Likewise.
66634         (cosh_test_tonearest): Likewise.
66635         (cosh_test_towardzero): Likewise.
66636         (cosh_test_downward): Likewise.
66637         (cosh_test_upward): Likewise.
66638         (cpow_test): Likewise.
66639         (csin_test): Likewise.
66640         (csinh_test): Likewise.
66641         (csqrt_test): Likewise.
66642         (ctan_test): Likewise.
66643         (ctan_test_tonearest): Likewise.
66644         (ctan_test_towardzero): Likewise.
66645         (ctan_test_downward): Likewise.
66646         (ctan_test_upward): Likewise.
66647         (ctanh_test): Likewise.
66648         (ctanh_test_tonearest): Likewise.
66649         (ctanh_test_towardzero): Likewise.
66650         (ctanh_test_downward): Likewise.
66651         (ctanh_test_upward): Likewise.
66652         (erf_test): Likewise.
66653         (erfc_test): Likewise.
66654         (exp_test): Likewise.
66655         (exp_test_tonearest): Likewise.
66656         (exp_test_towardzero): Likewise.
66657         (exp_test_downward): Likewise.
66658         (exp_test_upward): Likewise.
66659         (exp10_test): Likewise.
66660         (exp2_test): Likewise.
66661         (expm1_test): Likewise.
66662         (fmod_test): Likewise.
66663         (gamma_test): Likewise.
66664         (hypot_test): Likewise.
66665         (j0_test): Likewise.
66666         (j1_test): Likewise.
66667         (jn_test): Likewise.
66668         (lgamma_test): Likewise.
66669         (log_test): Likewise.
66670         (log10_test): Likewise.
66671         (log1p_test): Likewise.
66672         (log2_test): Likewise.
66673         (logb_test_downward): Likewise.
66674         (pow_test): Likewise.
66675         (pow_test_tonearest): Likewise.
66676         (pow_test_towardzero): Likewise.
66677         (pow_test_downward): Likewise.
66678         (pow_test_upward): Likewise.
66679         (remainder_test): Likewise.
66680         (remquo_test): Likewise.
66681         (sin_test): Likewise.
66682         (sin_test_tonearest): Likewise.
66683         (sin_test_towardzero): Likewise.
66684         (sin_test_downward): Likewise.
66685         (sin_test_upward): Likewise.
66686         (sincos_test): Likewise.
66687         (sinh_test): Likewise.
66688         (sinh_test_tonearest): Likewise.
66689         (sinh_test_towardzero): Likewise.
66690         (sinh_test_downward): Likewise.
66691         (sinh_test_upward): Likewise.
66692         (sqrt_test): Likewise.
66693         (tan_test): Likewise.
66694         (tan_test_tonearest): Likewise.
66695         (tan_test_towardzero): Likewise.
66696         (tan_test_downward): Likewise.
66697         (tan_test_upward): Likewise.
66698         (tanh_test): Likewise.
66699         (tgamma_test): Likewise.
66700         (y0_test): Likewise.
66701         (y1_test): Likewise.
66702         (yn_test): Likewise.
66704         * math/gen-libm-test.pl (adjust_arg): Remove function.
66705         (special_function): Remove argument $in_func.  Only handle
66706         generating output for tables of tests, not inside functions.
66707         (parse_args): Likewise.
66708         (generate_testfile): Remove variable $in_func.  Update call to
66709         parse_args.
66710         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66711         (MINUS_ZERO_INIT): Rename macro to minus_zero.
66712         (PLUS_INFTY_INIT): Rename macro to plus_infty.
66713         (MINUS_INFTY_INIT): Rename macro to minus_infty.
66714         (QNAN_VALUE_INIT): Rename macro to qnan_value.
66715         (MAX_VALUE_INIT): Rename macro to max_value.
66716         (MIN_VALUE_INIT): Rename macro to min_value.
66717         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66718         (plus_zero): Remove variable.
66719         (minus_zero): Likewise.
66720         (plus_infty): Likewise.
66721         (minus_infty): Likewise.
66722         (qnan_value): Likewise.
66723         (max_value): Likewise.
66724         (min_value): Likewise.
66725         (min_subnorm_value): Likewise.
66727 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66729         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66730         uint64_t or uint32_t usage.
66731         * crypt/sha256-block.c: Likewise.
66732         * crypt/sha256-crypt.c: Likewise.
66733         * crypt/sha256.c: Likewise.
66734         * crypt/sha512-block.c: Likewise.
66735         * crypt/sha512-crypt.c: Likewise.
66736         * crypt/sha512.c: Likewise.
66737         * debug/backtrace-tst.c: Likewise.
66738         * debug/pcprofiledump.c: Likewise.
66739         * elf/cache.c: Likewise.
66740         * elf/dl-cache.c: Likewise.
66741         * elf/dl-misc.c: Likewise.
66742         * elf/dl-profile.c: Likewise.
66743         * elf/dl-support.c: Likewise.
66744         * elf/ldconfig.c: Likewise.
66745         * elf/sprof.c: Likewise.
66746         * iconv/dummy-repertoire.c: Likewise.
66747         * iconv/iconv_charmap.c: Likewise.
66748         * iconv/skeleton.c: Likewise.
66749         * iconvdata/8bit-generic.c: Likewise.
66750         * iconvdata/cp737.h: Likewise.
66751         * iconvdata/cp775.h: Likewise.
66752         * iconvdata/ibm1008.h: Likewise.
66753         * iconvdata/ibm1025.h: Likewise.
66754         * iconvdata/ibm1046.h: Likewise.
66755         * iconvdata/ibm1097.h: Likewise.
66756         * iconvdata/ibm1112.h: Likewise.
66757         * iconvdata/ibm1122.h: Likewise.
66758         * iconvdata/ibm1123.h: Likewise.
66759         * iconvdata/ibm1124.h: Likewise.
66760         * iconvdata/ibm1129.h: Likewise.
66761         * iconvdata/ibm1130.h: Likewise.
66762         * iconvdata/ibm1132.h: Likewise.
66763         * iconvdata/ibm1133.h: Likewise.
66764         * iconvdata/ibm1137.h: Likewise.
66765         * iconvdata/ibm1140.h: Likewise.
66766         * iconvdata/ibm1141.h: Likewise.
66767         * iconvdata/ibm1142.h: Likewise.
66768         * iconvdata/ibm1143.h: Likewise.
66769         * iconvdata/ibm1144.h: Likewise.
66770         * iconvdata/ibm1145.h: Likewise.
66771         * iconvdata/ibm1146.h: Likewise.
66772         * iconvdata/ibm1147.h: Likewise.
66773         * iconvdata/ibm1148.h: Likewise.
66774         * iconvdata/ibm1149.h: Likewise.
66775         * iconvdata/ibm1153.h: Likewise.
66776         * iconvdata/ibm1154.h: Likewise.
66777         * iconvdata/ibm1155.h: Likewise.
66778         * iconvdata/ibm1156.h: Likewise.
66779         * iconvdata/ibm1157.h: Likewise.
66780         * iconvdata/ibm1158.h: Likewise.
66781         * iconvdata/ibm1160.h: Likewise.
66782         * iconvdata/ibm1161.h: Likewise.
66783         * iconvdata/ibm1162.h: Likewise.
66784         * iconvdata/ibm1163.h: Likewise.
66785         * iconvdata/ibm1164.h: Likewise.
66786         * iconvdata/ibm1166.h: Likewise.
66787         * iconvdata/ibm1167.h: Likewise.
66788         * iconvdata/ibm12712.h: Likewise.
66789         * iconvdata/ibm1390.h: Likewise.
66790         * iconvdata/ibm1399.h: Likewise.
66791         * iconvdata/ibm16804.h: Likewise.
66792         * iconvdata/ibm4517.h: Likewise.
66793         * iconvdata/ibm4899.h: Likewise.
66794         * iconvdata/ibm4909.h: Likewise.
66795         * iconvdata/ibm4971.h: Likewise.
66796         * iconvdata/ibm5347.h: Likewise.
66797         * iconvdata/ibm803.h: Likewise.
66798         * iconvdata/ibm856.h: Likewise.
66799         * iconvdata/ibm901.h: Likewise.
66800         * iconvdata/ibm902.h: Likewise.
66801         * iconvdata/ibm9030.h: Likewise.
66802         * iconvdata/ibm9066.h: Likewise.
66803         * iconvdata/ibm921.h: Likewise.
66804         * iconvdata/ibm922.h: Likewise.
66805         * iconvdata/ibm9448.h: Likewise.
66806         * iconvdata/isiri-3342.h: Likewise.
66807         * iconvdata/jis0201.h: Likewise.
66808         * include/link.h: Likewise.
66809         * include/netdb.h: Likewise.
66810         * inet/check_native.c: Likewise.
66811         * inet/check_pf.c: Likewise.
66812         * inet/getipv4sourcefilter.c: Likewise.
66813         * inet/getnameinfo.c: Likewise.
66814         * inet/getsourcefilter.c: Likewise.
66815         * inet/htonl.c: Likewise.
66816         * inet/setipv4sourcefilter.c: Likewise.
66817         * inet/setsourcefilter.c: Likewise.
66818         * inet/test-inet6_opt.c: Likewise.
66819         * inet/tst-network.c: Likewise.
66820         * locale/C-collate.c: Likewise.
66821         * locale/C-ctype.c: Likewise.
66822         * locale/C-time.c: Likewise.
66823         * locale/C-translit.h: Likewise.
66824         * locale/loadarchive.c: Likewise.
66825         * locale/programs/3level.h: Likewise.
66826         * locale/programs/charmap.c: Likewise.
66827         * locale/programs/charmap.h: Likewise.
66828         * locale/programs/ld-address.c: Likewise.
66829         * locale/programs/ld-collate.c: Likewise.
66830         * locale/programs/ld-ctype.c: Likewise.
66831         * locale/programs/ld-identification.c: Likewise.
66832         * locale/programs/ld-measurement.c: Likewise.
66833         * locale/programs/ld-messages.c: Likewise.
66834         * locale/programs/ld-monetary.c: Likewise.
66835         * locale/programs/ld-name.c: Likewise.
66836         * locale/programs/ld-numeric.c: Likewise.
66837         * locale/programs/ld-paper.c: Likewise.
66838         * locale/programs/ld-telephone.c: Likewise.
66839         * locale/programs/ld-time.c: Likewise.
66840         * locale/programs/linereader.c: Likewise.
66841         * locale/programs/locale.c: Likewise.
66842         * locale/programs/locarchive.c: Likewise.
66843         * locale/programs/locfile.h: Likewise.
66844         * locale/programs/repertoire.c: Likewise.
66845         * locale/programs/simple-hash.c: Likewise.
66846         * locale/programs/simple-hash.h: Likewise.
66847         * malloc/memusage.c: Likewise.
66848         * malloc/memusagestat.c: Likewise.
66849         * nis/nis_defaults.c: Likewise.
66850         * nis/nis_hash.c: Likewise.
66851         * nis/nis_print.c: Likewise.
66852         * nis/nis_xdr.c: Likewise.
66853         * nscd/connections.c: Likewise.
66854         * nscd/hstcache.c: Likewise.
66855         * nscd/nscd_gethst_r.c: Likewise.
66856         * nscd/nscd_getserv_r.c: Likewise.
66857         * nscd/nscd_helper.c: Likewise.
66858         * nscd/servicescache.c: Likewise.
66859         * nss/makedb.c: Likewise.
66860         * nss/nss_db/db-XXX.c: Likewise.
66861         * nss/nss_db/db-initgroups.c: Likewise.
66862         * nss/nss_db/db-netgrp.c: Likewise.
66863         * nss/nss_files/files-network.c: Likewise.
66864         * nss/nss_files/files-parse.c: Likewise.
66865         * posix/bug-regex5.c: Likewise.
66866         * posix/fnmatch_loop.c: Likewise.
66867         * posix/regcomp.c: Likewise.
66868         * posix/regexec.c: Likewise.
66869         * posix/tst-rfc3484-2.c: Likewise.
66870         * posix/tst-rfc3484-3.c: Likewise.
66871         * posix/tst-rfc3484.c: Likewise.
66872         * resolv/nss_dns/dns-canon.c: Likewise.
66873         * resolv/nss_dns/dns-network.c: Likewise.
66874         * resolv/res_init.c: Likewise.
66875         * resolv/res_mkquery.c: Likewise.
66876         * resolv/tst-aton.c: Likewise.
66877         * stdlib/cxa_atexit.c: Likewise.
66878         * stdlib/cxa_finalize.c: Likewise.
66879         * stdlib/gen-fpioconst.c: Likewise.
66880         * stdlib/strtol_l.c: Likewise.
66881         * string/tst-endian.c: Likewise.
66882         * sunrpc/auth_des.c: Likewise.
66883         * sunrpc/clnt_udp.c: Likewise.
66884         * sunrpc/rtime.c: Likewise.
66885         * sunrpc/svcauth_des.c: Likewise.
66886         * sunrpc/xdr.c: Likewise.
66887         * sunrpc/xdr_intXX_t.c: Likewise.
66888         * sunrpc/xdr_rec.c: Likewise.
66889         * sysdeps/generic/ldconfig.h: Likewise.
66890         * sysdeps/generic/ldsodefs.h: Likewise.
66891         * sysdeps/generic/memusage.h: Likewise.
66892         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66894         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66895         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66896         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66897         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66898         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66899         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66900         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66902         * sysdeps/posix/getaddrinfo.c: Likewise.
66903         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66904         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66905         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66906         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66907         * sysdeps/powerpc/test-gettimebase.c: Likewise.
66908         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66909         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66910         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66911         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66912         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66913         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66914         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66915         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66916         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66917         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66918         * sysdeps/x86_64/dl-tls.h: Likewise.
66919         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66920         * time/alt_digit.c: Likewise.
66921         * time/era.c: Likewise.
66922         * wcsmbs/tst-c16c32-1.c: Likewise.
66924 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66926         * math/libm-test.inc (struct test_sincos_data): New type.
66927         (RUN_TEST_LOOP_sincos): New macro.
66928         (sincos_test_data): New variable.
66929         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66931 2013-05-16  Richard Henderson  <rth@redhat.com>
66933         * math/atest-exp2.c (LIMB64): New macro.
66934         (CONSTSZ): New macro.
66935         (mp_exp1, mp_exp_m1, mp_log2): New variables.
66936         (hexdig): Move ...
66937         (print_mpn_fp): ... to function scope.
66938         (read_mpn_hex): Remove.
66939         (get_log2): Remove.
66940         (exp2_mpn): Use mp_log2.
66941         (main): Use mp_exp1.
66943 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66945         * math/libm-test.inc: Remove comment about not testing "inexact"
66946         exceptions.
66947         (INEXACT_EXCEPTION): New macro.
66948         (NO_INEXACT_EXCEPTION): Likewise.
66949         (INVALID_EXCEPTION_OK): Update value.
66950         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66951         (OVERFLOW_EXCEPTION_OK): Likewise.
66952         (UNDERFLOW_EXCEPTION_OK): Likewise.
66953         (IGNORE_ZERO_INF_SIGN): Likewise.
66954         (ERRNO_UNCHANGED): Likewise.
66955         (ERRNO_EDOM): Likewise.
66956         (ERRNO_ERANGE): Likewise.
66957         (test_exceptions): Handle testing "inexact" exceptions.
66958         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66959         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66960         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66961         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66962         INEXACT_EXCEPTION.
66963         (rint_towardzero_test_data): Likewise.
66964         (rint_downward_test_data): Likewise.
66965         (rint_upward_test_data): Likewise.
66967         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66968         with OVERFLOW_EXCEPTION.
66969         (exp10_test_data): Likewise.
66970         (exp2_test_data): Likewise.
66971         (expm1_test_data): Likewise.
66972         (lgamma_test_data): Likewise.
66973         (pow_test_data): Likewise.
66974         (tgamma_test_data): Likewise.
66975         (yn_test_data): Remove duplicate test of overflow.
66977         * math/libm-test.inc (struct test_cc_c_data): New type.
66978         (RUN_TEST_LOOP_cc_c): New macro.
66979         (cpow_test_data): New variable.
66980         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66982         * math/libm-test.inc (struct test_f_L_data): New type.
66983         (RUN_TEST_LOOP_f_L): New macro.
66984         (llrint_test_data): New variable.
66985         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66986         (llrint_tonearest_test_data): New variable.
66987         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66988         (llrint_towardzero_test_data): New variable.
66989         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66990         (llrint_downward_test_data): New variable.
66991         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66992         (llrint_upward_test_data): New variable.
66993         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66994         (llround_test_data): New variable.
66995         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66997 2013-05-13  Peter Collingbourne  <pcc@google.com>
66999         * math/atest-exp2.c (get_log2): Remove const attribute.
67001 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67003         * math/libm-test.inc (struct test_f_l_data): New type.
67004         (RUN_TEST_LOOP_f_l): New macro.
67005         (lrint_test_data): New variable.
67006         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67007         (lrint_tonearest_test_data): New variable.
67008         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67009         (lrint_towardzero_test_data): New variable.
67010         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67011         (lrint_downward_test_data): New variable.
67012         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67013         (lrint_upward_test_data): New variable.
67014         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67015         (lround_test_data): New variable.
67016         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67018 2013-05-15  Peter Collingbourne  <pcc@google.com>
67020         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67021         (EXTRACT_WORDS64) Use where appropriate.
67022         (INSERT_WORDS64) Likewise.
67024         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67025         constraints with x constraints.
67026         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67028         * malloc/obstack.c (_obstack_compat): Add initializer.
67030 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67032         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67033         si_trapno and add si_addr_lsb to _sifields.sigfault.
67034         (si_trapno): Remove macro.
67035         (si_addr_lsb): Define new macro.
67036         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67038 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67040         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67041         instead of TEST_f_l.
67042         (llrint_test_tonearest): Likewise.
67043         (llrint_test_towardzero): Likewise.
67044         (llrint_test_downward): Likewise.
67045         (llrint_test_upward): Likewise.
67046         (llround_test): Likewise.
67048         * math/libm-test.inc (struct test_f_i_data): Add comment.
67049         (RUN_TEST_LOOP_f_b): New macro.
67050         (RUN_TEST_LOOP_f_b_tg): Likewise.
67051         (finite_test_data): New variable.
67052         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67053         (isfinite_test_data): New variable.
67054         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67055         (isinf_test_data): New variable.
67056         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67057         (isnan_test_data): New variable.
67058         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67059         (isnormal_test_data): New variable.
67060         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67061         (issignaling_test_data): New variable.
67062         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67063         (signbit_test_data): New variable.
67064         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67066         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67067         with INVALID_EXCEPTION.
67068         (acosh_test_data): Likewise.
67069         (asin_test_data): Likewise.
67070         (atanh_test_data): Likewise.
67071         (fmod_test_data): Likewise.
67072         (log_test_data): Likewise.
67073         (log10_test_data): Likewise.
67074         (log2_test_data): Likewise.
67075         (pow_test_data): Likewise.
67076         (sqrt_test_data): Likewise.
67077         (y0_test_data): Likewise.
67078         (y1_test_data): Likewise.
67079         (yn_test_data): Likewise.
67081         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67082         function contents.
67084         * math/libm-test.inc (struct test_ff_i_data): New type.
67085         (RUN_TEST_LOOP_ff_i_tg): New macro.
67086         (isgreater_test_data): New variable.
67087         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67088         (isgreaterequal_test_data): New variable.
67089         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67090         (isless_test_data): New variable.
67091         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67092         (islessequal_test_data): New variable.
67093         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67094         (islessgreater_test_data): New variable.
67095         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67096         (isunordered_test_data): New variable.
67097         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67099 2013-05-14  David S. Miller  <davem@davemloft.net>
67101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67103 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67105         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67107         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67108         extra_test to int.
67109         (struct test_f_i_data): Change type of max_ulp to int.
67111         * math/libm-test.inc (test_ffI_f1_data): New type.
67112         (RUN_TEST_LOOP_ffI_f1): New macro.
67113         (remquo_test_data): New variable.
67114         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67116         * setjmp/tst-setjmp-fp.c: New file.
67117         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67118         (link-libm): New variable.
67119         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67121         * math/libm-test.inc (struct test_f_i_data): New type.
67122         (RUN_TEST_LOOP_f_i): New macro.
67123         (RUN_TEST_LOOP_f_i_tg): Likewise.
67124         (fpclassify_test_data): New variable.
67125         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67126         (ilogb_test_data): New variable.
67127         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67129         * math/libm-test.inc (scalbln_test): Correct function name in END
67130         call.
67132         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67133         (RUN_TEST_LOOP_fI_f1): New macro.
67134         (frexp_test_data): New variable.
67135         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67137         * math/libm-test.inc (struct test_fF_f1_data): New type.
67138         (RUN_TEST_LOOP_fF_f1): New macro.
67139         (modf_test_data): New variable.
67140         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67142         * math/libm-test.inc (struct test_f_f1_data): New type.
67143         (RUN_TEST_LOOP_f_f1): New macro.
67144         (gamma_test_data): New variable.
67145         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67146         (lgamma_test_data): New variable.
67147         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67149 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67151         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67152         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67153         (main): Comment "tls" pseudo-hwcap.
67155 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67157         * math/libm-test.inc (struct test_fl_f_data): New type.
67158         (RUN_TEST_LOOP_fl_f): New variable.
67159         (scalbln_test_data): New variable.
67160         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67162         * math/libm-test.inc (struct test_fi_f_data): New type.
67163         (RUN_TEST_LOOP_fi_f): New macro.
67164         (ldexp_test_data): New variable.
67165         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67166         (scalbn_test_data): New variable.
67167         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67169         * math/libm-test.inc (struct test_c_f_data): New type.
67170         (RUN_TEST_LOOP_c_f): New macro.
67171         (cabs_test_data): New variable.
67172         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67173         (carg_test_data): New variable.
67174         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67175         (cimag_test_data): New variable.
67176         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67177         (creal_test_data): New variable.
67178         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67180         * math/libm-test.inc (struct test_if_f_data): New type.
67181         (RUN_TEST_LOOP_if_f): New macro.
67182         (jn_test_data): New variable.
67183         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67184         (yn_test_data): New variable.
67185         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67187         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67189 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67191         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67192         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67194 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67196         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67197         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67198         (bench-deps): Add bench-timing.h.
67199         * benchtests-bench-skeleton.c: Include bench-timing.h.
67200         (main): Use TIMING_* macros instead of clock_gettime.
67201         * benchtests/bench-timing.h: New file.
67203         [BZ #14582]
67204         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67205         Renamed from _LIB_VERSION.
67206         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67208 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67210         * math/libm-test.inc (struct test_fff_f_data): New type.
67211         (RUN_TEST_LOOP_fff_f): New macro.
67212         (fma_test_data): New variable.
67213         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67214         (fma_towardzero_test_data): New variable.
67215         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67216         (fma_downward_test_data): New variable.
67217         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67218         (fma_upward_test_data): New variable.
67219         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67221         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67222         (struct test_c_c_data): New type.
67223         (RUN_TEST_LOOP_c_c): New macro.
67224         (cacos_test_data): New variable.
67225         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67226         (cacosh_test_data): New variable.
67227         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67228         (casin_test_data): New variable.
67229         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67230         (casinh_test_data): New variable.
67231         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67232         (catan_test_data): New variable.
67233         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67234         (catanh_test_data): New variable.
67235         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67236         (ccos_test_data): New variable.
67237         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67238         (ccosh_test_data): New variable.
67239         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67240         (cexp_test_data): New variable.
67241         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67242         (clog_test_data): New variable.
67243         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67244         (clog10_test_data): New variable.
67245         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67246         (conj_test_data): New variable.
67247         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67248         (cproj_test_data): New variable.
67249         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67250         (csin_test_data): New variable.
67251         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67252         (csinh_test_data): New variable.
67253         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67254         (csqrt_test_data): New variable.
67255         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67256         (ctan_test_data): New variable.
67257         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67258         (ctan_tonearest_test_data): New variable.
67259         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67260         (ctan_towardzero_test_data): New variable.
67261         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67262         (ctan_downward_test_data): New variable.
67263         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67264         (ctan_upward_test_data): New variable.
67265         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67266         (ctanh_test_data): New variable.
67267         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67268         (ctanh_tonearest_test_data): New variable.
67269         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67270         (ctanh_towardzero_test_data): New variable.
67271         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67272         (ctanh_downward_test_data): New variable.
67273         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67274         (ctanh_upward_test_data): New variable.
67275         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67276         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67277         of BUILD_COMPLEX.
67279         * math/libm-test.inc (struct test_ff_f_data): New type.
67280         (struct test_ff_f_data_nexttoward): Likewise.
67281         (RUN_TEST_LOOP_2_f): New macro.
67282         (RUN_TEST_LOOP_ff_f): Likewise.
67283         (atan2_test_data): New variable.
67284         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67285         (copysign_test_data): New variable.
67286         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67287         (fdim_test_data): New variable.
67288         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67289         (fmax_test_data): New variable.
67290         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67291         (fmin_test_data): New variable.
67292         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67293         (fmod_test_data): New variable.
67294         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67295         (hypot_test_data): New variable.
67296         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67297         (nextafter_test_data): New variable.
67298         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67299         (nexttoward_test_data): New variable.
67300         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67301         (pow_test_data): New variable.
67302         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67303         (pow_tonearest_test_data): New variable.
67304         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67305         (pow_towardzero_test_data): New variable.
67306         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67307         (pow_downward_test_data): New variable.
67308         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67309         (pow_upward_test_data): New variable.
67310         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67311         (remainder_test_data): New variable.
67312         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67313         (scalb_test_data): New variable.
67314         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67315         * sysdeps/i386/fpu/libm-test-ulps: Update.
67317 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67319         * math/libm-test.inc (fma_test): Use max_value instead of local
67320         variable fltmax.
67321         (nextafter_test): Likewise.
67323         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67324         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67325         (acos_downward_test_data): New variable.
67326         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67327         (acos_upward_test_data): New variable.
67328         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67329         (acosh_test_data): New variable.
67330         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67331         (asin_test_data): New variable.
67332         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67333         (asin_tonearest_test_data): New variable.
67334         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67335         (asin_towardzero_test_data): New variable.
67336         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67337         (asin_downward_test_data): New variable.
67338         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67339         (asin_upward_test_data): New variable.
67340         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67341         (asinh_test_data): New variable.
67342         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67343         (atan_test_data): New variable.
67344         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67345         (atanh_test_data): New variable.
67346         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67347         (cbrt_test_data): New variable.
67348         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67349         (ceil_test_data): New variable.
67350         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67351         (cos_test_data): New variable.
67352         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67353         (cos_tonearest_test_data): New variable.
67354         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67355         (cos_towardzero_test_data): New variable.
67356         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67357         (cos_downward_test_data): New variable.
67358         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67359         (cos_upward_test_data): New variable.
67360         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67361         (cosh_test_data): New variable.
67362         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67363         (cosh_tonearest_test_data): New variable.
67364         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67365         (cosh_towardzero_test_data): New variable.
67366         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67367         (cosh_downward_test_data): New variable.
67368         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67369         (cosh_upward_test_data): New variable.
67370         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67371         (erf_test_data): New variable.
67372         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67373         (erfc_test_data): New variable.
67374         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67375         (exp_test_data): New variable.
67376         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67377         (exp_tonearest_test_data): New variable.
67378         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67379         (exp_towardzero_test_data): New variable.
67380         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67381         (exp_downward_test_data): New variable.
67382         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67383         (exp_upward_test_data): New variable.
67384         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67385         (exp10_test_data): New variable.
67386         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67387         (exp2_test_data): New variable.
67388         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67389         (expm1_test_data): New variable.
67390         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67391         (fabs_test_data): New variable.
67392         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67393         (floor_test_data): New variable.
67394         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67395         (j0_test_data): New variable.
67396         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67397         (j1_test_data): New variable.
67398         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67399         (log_test_data): New variable.
67400         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67401         (log10_test_data): New variable.
67402         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67403         (log1p_test_data): New variable.
67404         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67405         (log2_test_data): New variable.
67406         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67407         (logb_test_data): New variable.
67408         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67409         (logb_downward_test_data): New variable.
67410         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67411         (nearbyint_test_data): New variable.
67412         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67413         (rint_test_data): New variable.
67414         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67415         (rint_tonearest_test_data): New variable.
67416         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67417         (rint_towardzero_test_data): New variable.
67418         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67419         (rint_downward_test_data): New variable.
67420         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67421         (rint_upward_test_data): New variable.
67422         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67423         (round_test_data): New variable.
67424         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67425         (sin_test_data): New variable.
67426         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67427         (sin_tonearest_test_data): New variable.
67428         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67429         (sin_towardzero_test_data): New variable.
67430         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67431         (sin_downward_test_data): New variable.
67432         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67433         (sin_upward_test_data): New variable.
67434         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67435         (sinh_test_data): New variable.
67436         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67437         (sinh_tonearest_test_data): New variable.
67438         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67439         (sinh_towardzero_test_data): New variable.
67440         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67441         (sinh_downward_test_data): New variable.
67442         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67443         (sinh_upward_test_data): New variable.
67444         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67445         (sqrt_test_data): New variable.
67446         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67447         (tan_test_data): New variable.
67448         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67449         (tan_tonearest_test_data): New variable.
67450         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67451         (tan_towardzero_test_data): New variable.
67452         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67453         (tan_downward_test_data): New variable.
67454         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67455         (tan_upward_test_data): New variable.
67456         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67457         (tanh_test_data): New variable.
67458         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67459         (tgamma_test_data): New variable.
67460         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67461         (trunc_test_data): New variable.
67462         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67463         (y0_test_data): New variable.
67464         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67465         (y1_test_data): New variable.
67466         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67467         (significand_test_data): New variable.
67468         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67470 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67472         [BZ #12387]
67473         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67475 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67477         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67479 2013-05-10  Andreas Jaeger  <aj@suse.de>
67481         [BZ #15448]
67482         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67483         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67485 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67487         * math/gen-libm-test.pl (adjust_arg): New function.
67488         (special_functions): Handle generating output in both functions
67489         and arrays.
67490         (parse_args): Likewise.
67491         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67492         $in_func argument to parse_args.
67493         * math/libm-test.inc (struct test_f_f_data): New type.
67494         (IF_ROUND_INIT_): New macro.
67495         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67496         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67497         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67498         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67499         (ROUND_RESTORE_): Likewise.
67500         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67501         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67502         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67503         (ROUND_RESTORE_FE_UPWARD): Likewise.
67504         (RUN_TEST_LOOP_f_f): New macro.
67505         (acos_test_data): New variable.
67506         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67507         (acos_tonearest_test_data): New variable.
67508         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67510 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67512         * benchtests/bench-skeleton.c (startup): Fix coding style.
67514 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67516         [BZ #6809]
67517         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67518         negative infinity argument.
67519         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67520         negative infinity argument.
67521         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67522         negative infinity argument.
67523         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67524         domain errors.
67526 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67528         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67529         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67530         * iconv/iconv_prog.c (main): Likewise.
67531         * locale/programs/charmap-dir.c (charmap_readdir)
67532         (fopen_uncompressed): Likewise.
67533         * locale/programs/locfile.c (siblings_uncached)
67534         (write_locale_data): Use lstat64 instead of lstat.
67535         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67536         stat.
67538 2013-05-10  Andreas Jaeger  <aj@suse.de>
67540         [BZ #15395]
67541         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67542         localization.
67543         Include <locale.h>.
67545 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67547         * elf/dl-close.c (_dl_close_worker): Add comments.
67549 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #15359]
67552         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67553         high part of pi/2.
67554         (__ieee754_rem_pio2l): Update comments.
67556         [BZ #15429]
67557         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67558         high part of pi/2.
67559         (__ieee754_rem_pio2l): Update comments.
67561         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67562         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67564         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67565         M_PI_4l.
67567         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67568         (M_PI_34_LOG10El): Likewise.
67569         (M_PI2_LOG10El): Likewise.
67570         (M_PI4_LOG10El): Likewise.
67571         (M_PI_LOG10El): Likewise.
67573 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67577 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67579         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67580         (MINUS_ZERO_INIT): Likewise.
67581         (PLUS_INFTY_INIT): Likewise.
67582         (MINUS_INFTY_INIT): Likewise.
67583         (QNAN_VALUE_INIT): Likewise.
67584         (MAX_VALUE_INIT): Likewise.
67585         (MIN_VALUE_INIT): Likewise.
67586         (MIN_SUBNORM_VALUE_INIT): Likewise.
67587         (plus_zero): Initialize with PLUS_ZERO_INIT.
67588         (minus_zero): Initialize with MINUS_ZERO_INIT.
67589         (plus_infty): Initialize with PLUS_INFTY_INIT.
67590         (minus_infty): Initialize with MINUS_INFTY_INIT.
67591         (qnan_value): Initialize with QNAN_VALUE_INIT.
67592         (max_value): Initialize with MAX_VALUE_INIT.
67593         (min_value): Initialize with MIN_VALUE_INIT.
67594         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67596         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67597         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67598         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67599         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67601         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67602         (RUN_TEST_2_f): Likewise.
67603         (RUN_TEST_ff_f): Likewise.
67604         (RUN_TEST_fi_f): Likewise.
67605         (RUN_TEST_fl_f): Likewise.
67606         (RUN_TEST_fff_f): Likewise.
67607         (RUN_TEST_c_f): Likewise.
67608         (RUN_TEST_f_f1): Likewise.
67609         (RUN_TEST_fF_f1): Likewise.
67610         (RUN_TEST_fI_f1): Likewise.
67611         (RUN_TEST_ffI_f1): Likewise.
67612         (RUN_TEST_c_c): Likewise.
67613         (RUN_TEST_cc_c): Likewise.
67614         (RUN_TEST_f_i): Likewise.
67615         (RUN_TEST_f_i_tg): Likewise.
67616         (RUN_TEST_ff_i_tg): Likewise.
67617         (RUN_TEST_f_b): Likewise.
67618         (RUN_TEST_f_b_tg): Likewise.
67619         (RUN_TEST_f_l): Likewise.
67620         (RUN_TEST_f_L): Likewise.
67621         (RUN_TEST_sincos): Likewise.
67622         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67623         whether to show exceptions.  Do not include ");\n" in return
67624         value.
67625         (special_functions): Output call to RUN_TEST_sincos instead of
67626         check_float calls.  Update calls to new_test.
67627         (parse_args): Output call to single RUN_TEST_* macro instead of
67628         check_* calls and other assignments.  Update calls to new_test.
67630         [BZ #2546]
67631         [BZ #2560]
67632         [BZ #5159]
67633         [BZ #15426]
67634         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67635         input to result for tgamma overflow.
67636         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67637         (gamma_coeff): New variable.
67638         (NCOEFF): New macro.
67639         (gamma_positive): New function.
67640         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67641         underflow here.  Use gamma_positive instead of exp (lgamma) for
67642         other arguments.
67643         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67644         (gamma_coeff): New variable.
67645         (NCOEFF): New macro.
67646         (gammaf_positive): New function.
67647         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67648         underflow here.  Use gamma_positive instead of exp (lgamma) for
67649         other arguments.
67650         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67651         (gamma_coeff): New variable.
67652         (NCOEFF): New macro.
67653         (gammal_positive): New function.
67654         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67655         underflow here.  Use gamma_positive instead of exp (lgamma) for
67656         other arguments.
67657         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67658         (gamma_coeff): New variable.
67659         (NCOEFF): New macro.
67660         (gammal_positive): New function.
67661         (__ieee754_gammal_r): Handle positive infinity, overflow and
67662         underflow here.  Handle NaN the same as positive infinity.  Remove
67663         check x < 0xffffffff for negative integers.  Use gamma_positive
67664         instead of exp (lgamma) for other arguments.
67665         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67666         (gamma_coeff): New variable.
67667         (NCOEFF): New macro.
67668         (gammal_positive): New function.
67669         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67670         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67671         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67675         * sysdeps/generic/math_private.h (__gamma_productf): New
67676         prototype.
67677         (__gamma_product): Likewise.
67678         (__gamma_productl): Likewise.
67679         * math/Makefile (libm-calls): Add gamma_product.
67680         * math/libm-test.inc (tgamma_test): Add more tests.
67681         * sysdeps/i386/fpu/libm-test-ulps: Update.
67682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67684 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
67686         * benchtests/bench-skeleton.c (main): Preheat CPU.
67688 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67690         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67692 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67694         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67695         and _dl_skip_args_internal.
67697 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67699         * manual/message.texi (Message Translation): Talk about users.
67700         Message to key mapping impacts design.
67702 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67704         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67706         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67708         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67709         * sysdeps/wordsize-64/glob64.c: ... here.
67711         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67712         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67713         New macros.
67715         * debug/getlogin_r_chk.c: Moved to ...
67716         * login/getlogin_r_chk.c: ... here.
67717         * debug/Makefile (routines): Move getlogin_r_chk to ...
67718         * login/Makefile (routines): ... here.
67719         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67720         * login/Versions (libc: GLIBC_2.4): ... here.
67722         * io/poll.c (__poll): Renamed from poll.
67723         Add libc_hidden_def.
67724         (poll): Define as weak alias.
67726         * debug/ptsname_r_chk.c: Moved to ...
67727         * login/ptsname_r_chk.c: ... here.
67728         * debug/Makefile (routines): Move ptsname_r_chk to ...
67729         * login/Makefile (routines): ... here.
67730         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67731         * login/Versions (libc: GLIBC_2.4): ... here.
67733         * posix/getlogin.c: Moved to ...
67734         * login/getlogin.c: ... here.
67735         * posix/getlogin_r.c: Moved to ...
67736         * login/getlogin_r.c: ... here.
67737         * posix/getlogin_r.c: Moved to ...
67738         * login/getlogin_r.c: ... here.
67739         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67740         * login/Makefile (routines): ... here.
67741         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67742         * login/Versions (libc: GLIBC_2.0): ... here.
67744         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67745         (setrlimit): Define as weak alias.
67747         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67748         Call __ names for open, ftruncate, and close.
67749         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67750         (truncate): Define as weak alias.
67752 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
67754         * math/gen-libm-test.pl (parse_args): Initialize x before each
67755         test of frexp, modf and remquo.
67757         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67758         test signgam value.
67760 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67762         [BZ #15418]
67763         [BZ #15419]
67764         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67765         internal tests.
67766         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67768 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67770         * elf/dl-writev.h: New file.
67771         * elf/dl-misc.c: Include it.
67772         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67773         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67775 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
67777         * math/libm-test.inc (noXFails): Remove variable.
67778         (noXPasses): Likewise.
67779         (BUILD_COMPLEX_INT): Remove macro.
67780         (print_screen): Remove xfail argument.
67781         (print_screen_max_error): Likewise.
67782         (update_stats): Likewise.
67783         (print_max_error): Likewise.  Update calls to other affected
67784         functions.
67785         (print_complex_max_error): Likewise.
67786         (test_single_exception): Update calls to print_screen.
67787         (test_single_errno): Likewise.
67788         (check_float_internal): Remove xfail argument.  Update calls to
67789         other affected functions.
67790         (check_float): Likewise.
67791         (check_complex): Likewise.
67792         (check_int): Likewise.
67793         (check_long): Likewise.
67794         (check_bool): Likewise.
67795         (check_longlong): Likewise.
67796         (main): Don't print noXFails and noXPasses.
67797         * math/gen-libm-test.pl (top level): Don't mention expected
67798         failure handling in comment.
67799         (new_test): Don't handle expected failures.
67800         (parse_args): Don't mention expected failure handling in comment.
67801         (generate_testfile): Don't handle expected failures.
67802         (parse_ulps): Likewise.
67803         (print_ulps_file): Likewise.
67804         (get_failure): Remove function.
67805         (output_test): Don't handle expected failures.
67806         * make/README.libm-test: Don't mention expected failure handling.
67808         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
67809         (minus_zero): Likewise.
67810         (plus_infty): Likewise.
67811         (minus_infty): Likewise.
67812         (qnan_value): Likewise.
67813         (max_value): Likewise.
67814         (min_value): Likewise.
67815         (min_subnorm_value): Likewise.
67816         (initialize): Do not initialize those variables dynamically.
67818 2013-05-03  Roland McGrath  <roland@hack.frob.com>
67820         * io/open.c (__open_2): Moved to ...
67821         * io/open_2.c: ... this new file.
67822         * io/open64.c (__open64_2): Moved to ...
67823         * io/open64_2.c: ... this new file.
67824         * io/openat.c (__openat_2): Moved to ...
67825         * io/openat_2.c: ... this new file.
67826         * io/openat64.c (__openat64_2): Moved to ...
67827         * io/openat64_2.c: ... this new file.
67828         * io/Makefile (routines): Add them.
67829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67830         * sysdeps/unix/sysv/linux/open_2.c: File removed.
67831         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67832         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67833         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67834         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67835         (__openat64): Add hidden_ver.
67836         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67837         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67839         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67840         Separately conditionalize setting of GLRO(dl_sysinfo) so
67841         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67842         as well, but the actual setting is only under [NEED_DL_SYSINFO].
67844 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67846         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67847         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67848         definition.
67849         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67850         * sysdeps/unix/sysv/linux/powerpc/init-first.c
67851         (_libc_vdso_platform_setup): Add __vdso_time initialization.
67852         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67853         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67855 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
67857         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67858         test signgam value.
67860         * math/libm-test.inc (hypot_test): Do not use
67861         IGNORE_ZERO_INF_SIGN.
67863 2013-05-03  Andreas Jaeger  <aj@suse.de>
67865         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67866         Linux 3.9.
67867         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67868         (PF_MAX): Adjust for VSOCK change.
67870 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67874 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
67876         [BZ #15264]
67877         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67878         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67879         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67881 2013-05-02  David S. Miller  <davem@davemloft.net>
67883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67885 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
67887         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67889 2013-05-01  Roland McGrath  <roland@hack.frob.com>
67891         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67893 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
67895         [BZ #14952]
67896         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67897         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67898         Use __attribute__ ((__gnu_inline__)).
67899         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67900         Don't use __attribute__ ((__gnu_inline__)).
67902 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
67904         [BZ #15423]
67905         * math/s_catan.c (__catan): Handle small real or imaginary part of
67906         input specially to avoid spurious underflow.
67907         * math/s_catanf.c (__catanf): Likewise.
67908         * math/s_catanh.c (__catanh): Likewise.
67909         * math/s_catanhf.c (__catanhf): Likewise.
67910         * math/s_catanhl.c (__catanhl): Likewise.
67911         * math/s_catanl.c (__catanl): Likewise.
67912         * math/libm-test.inc (catan_test): Add more tests.
67913         (catanh_test): Likewise.
67914         * sysdeps/i386/fpu/libm-test-ulps: Update.
67915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67917 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67921 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
67923         [BZ #15416]
67924         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67925         accurately for denominator in atan2.
67926         * math/s_catanf.c (__catanf): Likewise.
67927         * math/s_catanh.c (__catanh): Likewise.
67928         * math/s_catanhf.c (__catanhf): Likewise.
67929         * math/s_catanhl.c (__catanhl): Likewise.
67930         * math/s_catanl.c (__catanl): Likewise.
67931         * math/libm-test.inc (catan_test): Add more tests.
67932         (catanh_test): Likewise.
67933         * sysdeps/i386/fpu/libm-test-ulps: Update.
67934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67936 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67938         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67940         * benchtests/Makefile (bench): Remove slow benchmarks.
67941         * benchtests/atan-inputs: Add slow benchmark inputs.
67942         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67943         (BENCH_FUNC): Accept variant offset.
67944         (VARIANT): Define.
67945         * benchtests/bench-skeleton.c (main): Run benchmark for each
67946         variant.
67947         * benchtests/cos-inputs: Add slow benchmark inputs.
67948         * benchtests/exp-inputs: Likewise.
67949         * benchtests/pow-inputs: Likewise.
67950         * benchtests/sin-inputs: Likewise.
67951         * benchtests/slowatan-inputs: Remove.
67952         * benchtests/slowatan.c: Remove.
67953         * benchtests/slowcos-inputs: Remove.
67954         * benchtests/slowcos.c: Remove.
67955         * benchtests/slowexp-inputs: Remove.
67956         * benchtests/slowexp.c: Remove.
67957         * benchtests/slowpow-inputs: Remove.
67958         * benchtests/slowpow.c: Remove.
67959         * benchtests/slowsin-inputs: Remove.
67960         * benchtests/slowsin.c: Remove.
67961         * benchtests/slowtan-inputs: Remove.
67962         * benchtests/slowtan.c: Remove.
67963         * benchtests/tan-inputs: Add slow benchmark inputs.
67964         * scripts/bench.pl: Parse comments and directives.
67966         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
67967         in CPPFLAGS.
67968         ($(objpfx)bench-%.c): Remove *-ITER.
67969         * benchtests/bench-modf.c: Remove definition of ITER.
67970         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67971         (main): Loop for DURATION seconds instead of fixed number of
67972         iterations.
67973         * scripts/bench.pl: Don't expect iterations in parameters.
67975 2013-04-29  Roland McGrath  <roland@hack.frob.com>
67977         * io/fchdir.c (__fchdir): Renamed from fchdir.
67978         (fchdir): Define as weak alias.
67980 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67982         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67983         (ERRNO_EDOM): Likewise.
67984         (ERRNO_ERANGE): Likewise.
67985         (noErrnoTests): New variable.
67986         (init_max_error): Set errno to 0.
67987         (test_single_errno): New function.
67988         (test_errno): Likewise.
67989         (check_float_internal): Call test_errno.  Set errno to 0.
67990         (check_complex): Refer to errno tests in comment.
67991         (check_int): Call test_errno.  Set errno to 0.
67992         (check_long): Likewise.
67993         (check_bool): Likewise.
67994         (check_longlong): Likewise.
67995         (cos_test): Use ERRNO_* flags for errno tests instead of
67996         check_int.
67997         (expm1_test): Likewise.
67998         (fmod_test): Likewise.
67999         (ilogb_test): Likewise.
68000         (lgamma_test): Likewise.
68001         (pow_test): Likewise.
68002         (remainder_test): Likewise.
68003         (sin_test): Likewise.
68004         (tan_test): Likewise.
68005         (yn_test): Likewise.
68006         (initialize): Set errno to 0.
68007         (main): Print number of errno tests.
68008         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68010 2013-04-29  Andreas Jaeger  <aj@suse.de>
68012         [BZ #15084]
68013         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68014         and RES_USEVC.
68016         [BZ #15085]
68017         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68018         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68019         unimplemented.
68021         [BZ #15380]
68022         * stdlib/random.c (__initstate): Return NULL if
68023         __initstate fails.
68025         [BZ #15086]
68026         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68027         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68028         RES_SNGLKUPREOP.
68030 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68034 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68036         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68037         of individual tests.
68038         (casin_test): Likewise.
68039         (casinh_test): Likewise.
68041 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68043         [BZ #15409]
68044         * math/s_catan.c (__catan): Handle arguments with large real or
68045         imaginary part separately without squaring.
68046         * math/s_catanf.c (__catanf): Likewise.
68047         * math/s_catanh.c (__catanh): Likewise.
68048         * math/s_catanhf.c (__catanhf): Likewise.
68049         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68050         and redefine.
68051         (__catanhl): Handle arguments with large real or imaginary part
68052         separately without squaring.
68053         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68054         and redefine.
68055         (__catanl): Handle arguments with large real or imaginary part
68056         separately without squaring.
68057         * math/libm-test.inc (catan_test): Add more tests.
68058         (catanh_test): Likewise.
68059         * sysdeps/i386/fpu/libm-test-ulps: Update.
68060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68062 2013-04-27  Andreas Jaeger  <aj@suse.de>
68064         [BZ #15007]
68065         * stdlib/stdlib.h: Update guards for qecvt.
68066         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68067         <stdlib.h>.
68069 2013-04-27  Allan McRae  <allan@archlinux.org>
68071         * sysdeps/i386/fpu/libm-test-ulps: Update.
68073 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68075         [BZ #15406]
68076         * math/s_catan.c: Include <float.h>.
68077         (__catan): Ensure underflow exception occurs for underflowed
68078         result.
68079         * math/s_catanf.c: Include <float.h>.
68080         (__catanf): Ensure underflow exception occurs for underflowed
68081         result.
68082         * math/s_catanh.c: Include <float.h>.
68083         (__catanh): Ensure underflow exception occurs for underflowed
68084         result.
68085         * math/s_catanhf.c: Include <float.h>.
68086         (__catanhf): Ensure underflow exception occurs for underflowed
68087         result.
68088         * math/s_catanhl.c: Include <float.h>.
68089         (__catanhl): Ensure underflow exception occurs for underflowed
68090         result.
68091         * math/s_catanl.c: Include <float.h>.
68092         (__catanl): Ensure underflow exception occurs for underflowed
68093         result.
68094         * math/libm-test.inc (catan_test): Add more tests.
68095         (catanh_test): Likewise.
68097         [BZ #15405]
68098         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68099         underflowed result.
68100         * math/s_ccoshf.c (__ccoshf): Likewise.
68101         * math/s_ccoshl.c (__ccoshl): Likewise.
68102         * math/s_csin.c (__csin): Likewise.
68103         * math/s_csinf.c (__csinf): Likewise.
68104         * math/s_csinh.c (__csinh): Likewise.
68105         * math/s_csinhf.c (__csinhf): Likewise.
68106         * math/s_csinhl.c (__csinhl): Likewise.
68107         * math/s_csinl.c (__csinl): Likewise.
68108         * math/libm-test.inc (ccos_test): Add more tests.
68109         (ccosh_test): Likewise.
68110         (csin_test): Likewise.
68111         (csinh_test): Likewise.
68113 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68115         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68116         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68117         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68118         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68119         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68120         powerpc/power5+/fpu folders.
68121         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68124 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68128 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68130         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68131         additions to variable.
68132         [$(config-machine) = x86_64] (modules-names): Likewise.
68133         ($(objpfx)tst-audit3): Remove dependency.
68134         ($(objpfx)tst-audit3.out): Likewise.
68135         ($(objpfx)tst-audit4): Likewise.
68136         ($(objpfx)tst-audit4.out): Likewise.
68137         ($(objpfx)tst-audit5): Likewise.
68138         ($(objpfx)tst-audit5.out): Likewise.
68139         ($(objpfx)tst-audit6): Likewise.
68140         ($(objpfx)tst-audit6.out): Likewise.
68141         ($(objpfx)tst-audit7): Likewise.
68142         ($(objpfx)tst-audit7.out): Likewise.
68143         (tst-audit3-ENV): Remove variable.
68144         (tst-audit4-ENV): Likewise.
68145         (tst-audit5-ENV): Likewise.
68146         (tst-audit6-ENV): Likewise.
68147         (tst-audit7-ENV): Likewise.
68148         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68149         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68150         addition to variable.
68151         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68152         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68153         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68154         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68155         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68156         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68157         tst-audit3, tst-audit4 and tst-audit5.
68158         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68159         tst-audit6 and tst-audit7.
68160         [$(subdir) = elf] (modules-names): Add audit modules for those
68161         tests.
68162         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68163         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68164         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68165         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68166         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68167         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68168         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68169         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68170         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68171         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68172         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68173         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68174         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68175         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68176         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68177         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68178         Likewise.
68179         [$(subdir) = elf && $(config-cflags-avx) = yes]
68180         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68181         [$(subdir) = elf && $(config-cflags-avx) = yes]
68182         (CFLAGS-tst-auditmod4a.c): Likewise.
68183         [$(subdir) = elf && $(config-cflags-avx) = yes]
68184         (CFLAGS-tst-auditmod4b.c): Likewise.
68185         [$(subdir) = elf && $(config-cflags-avx) = yes]
68186         (CFLAGS-tst-auditmod6b.c): Likewise.
68187         [$(subdir) = elf && $(config-cflags-avx) = yes]
68188         (CFLAGS-tst-auditmod6c.c): Likewise.
68189         [$(subdir) = elf && $(config-cflags-avx) = yes]
68190         (CFLAGS-tst-auditmod7b.c): Likewise.
68191         * elf/tst-audit3.c: Move to ...
68192         * sysdeps/x86_64/tst-audit3.c: ... here.
68193         * elf/tst-audit4.c: Move to ...
68194         * sysdeps/x86_64/tst-audit4.c: ... here.
68195         * elf/tst-audit5.c: Move to ...
68196         * sysdeps/x86_64/tst-audit5.c: ... here.
68197         * elf/tst-audit6.c: Move to ...
68198         * sysdeps/x86_64/tst-audit6.c: ... here.
68199         * elf/tst-audit7.c: Move to ...
68200         * sysdeps/x86_64/tst-audit7.c: ... here.
68201         * elf/tst-auditmod3a.c: Move to ...
68202         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68203         * elf/tst-auditmod3b.c: Move to ...
68204         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68205         * elf/tst-auditmod4a.c: Move to ...
68206         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68207         * elf/tst-auditmod4b.c: Move to ...
68208         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68209         * elf/tst-auditmod5a.c: Move to ...
68210         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68211         * elf/tst-auditmod5b.c: Move to ...
68212         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68213         * elf/tst-auditmod6a.c: Move to ...
68214         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68215         * elf/tst-auditmod6b.c: Move to ...
68216         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68217         * elf/tst-auditmod6c.c: Move to ...
68218         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68219         * elf/tst-auditmod7a.c: Move to ...
68220         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68221         * elf/tst-auditmod7b.c: Move to ...
68222         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68224 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68226         [BZ #15366]
68227         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68228         define unconditionally.
68229         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68230         define unconditionally.
68231         (INT8_C, INT16_C, etc.): Likewise.
68233 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68235         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68236         __ehdr_start with hidden visibility.
68238         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68240 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68242         * math/libm-test.inc (cos_test): Use accurate hex constants.
68243         (sincost_test): Likewise.
68245 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68247         * math/libm-test.inc (catan_test): Add more tests.
68248         (catanh_test): Likewise.
68250         * math/s_catanf.c (__catanf): Use suffixed floating-point
68251         constants.
68252         * math/s_catanhf.c (__catanhf): Likewise.
68253         * math/s_catanhl.c (__catanhl): Likewise.
68254         * math/s_catanl.c (__catanl): Likewise.
68256         [BZ #15394]
68257         * math/s_catan.c (__catan): Calculate imaginary part of result
68258         with log1p not log unless computing log of number close to 0.
68259         * math/s_catanf.c (__catanf): Likewise.
68260         * math/s_catanl.c (__catanl): Likewise.
68261         * math/s_catanh.c (__catanh): Calculate real part of result with
68262         log1p not log unless computing log of number close to 0.
68263         * math/s_catanhf.c (__catanhf): Likewise.
68264         * math/s_catanhl.c (__catanhl): Likewise.
68265         * math/libm-test.inc (catan_test): Add more tests.
68266         (catanh_test): Likewise.
68267         * sysdeps/i386/fpu/libm-test-ulps: Update.
68268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68270 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68272         * benchtests/Makefile: Mention files in which fast and slow
68273         paths of math functions are implemented.
68275 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68277         * sysdeps/posix/timespec_get.c: New file.
68279 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68281         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68282         POWER.
68283         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68284         for POWER.
68285         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68286         powerpc/power5/fpu folders.
68287         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68288         * benchtests/Makefile: Add modf testcase.
68289         * benchtests/bench-modf.c: New file: Benchmark test for mo
68291 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68293         [BZ #14888]
68294         * time/Makefile (tests): Add tst-strptime-whitespace.
68295         * time/strptime_l.c (get_number): Use ISSPACE.
68296         (__strptime_internal): Likewise.
68297         * time/tst-strptime-whitespace.c: New test case.
68299 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68301         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68302         member.
68303         (_nss_files_init): Set it here.
68305 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68307         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68308         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68309         unsigned.
68311 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68313         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68315 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68318         size just once.
68320 2013-04-21  David S. Miller  <davem@davemloft.net>
68322         * po/ru.po: Update Russion translation from translation project.
68324 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68326         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68327         and setfsgid.
68329 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68331         * configure.in: Remove i386 configure warning. Remove i386 case.
68332         * configure: Regenerate.
68333         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68334         Add example to error message.
68335         * sysdeps/i386/configure: Regenerate.
68337 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68339         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68340         slowtan.
68341         * benchtests/cos-inputs: New file.
68342         * benchtests/slowcos-inputs: New file.
68343         * benchtests/slowcos.c: New file.
68344         * benchtests/slowtan-inputs: New file.
68345         * benchtests/slowtan.c: New file.
68346         * benchtests/tan-inputs: New file.
68348 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68350         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68351         considered kosher.
68353 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68355         * benchtests/Makefile: Include cppflags-iterator.mk to add
68356         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68358         * Makefile.in (bench-clean): New target.
68359         * benchtests/Makefile (bench-clean): Likewise.
68361 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68363         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68365 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68367         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68369 2013-04-15  Andreas Schwab  <schwab@suse.de>
68371         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68373         * nscd/pwdcache.c (cache_addpw): Likewise.
68374         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68375         more than recsize.
68377 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68379         * benchtests/Makefile (bench): Write all output to
68380         bench-out.tmp together.
68382 2013-04-15  Andreas Schwab  <schwab@suse.de>
68384         * nscd/nscd.c (main): Don't fork again after closing files.
68386 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68388         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68390         * benchtests/Rules (bench-deps): Collect dependencies into a
68391         single variable.  Add Makefile to dependencies.
68392         ($(objpfx)bench-%.c): Depend on bench-deps.
68394 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68395             Xavier Roche  <roche+kml2@exalead.com>
68397         [BZ #15361]
68398         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68399         just that it's a file descriptor.
68400         * manual/llio.texi (Synchronizing AIO Operations): Update description
68401         for EBADF error from aio_fsync.
68403 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68405         * Rules (bench): Move target definition...
68406         * benchtests/Makefile: ... here.
68408 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68410         * math/libm-test.inc (cos_test): Fix PI/2 test.
68411         (sincos_test): Likewise.
68412         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68413         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68415 2013-04-11  Andreas Schwab  <schwab@suse.de>
68417         [BZ #13988]
68418         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68419         accept exponent character only when digits were seen.
68420         * stdio-common/Makefile (tests): Add bug26.
68421         * stdio-common/bug26.c: New file.
68423         [BZ #14293]
68424         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68425         non-freeable.
68427 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68429         * Makeconfig (rtld-prefix): Define built linker prefix.
68430         * Rules (run-bench): Use it.
68431         * math/Makefile (run-regen-ulps): Likewise.
68433         * Rules (bench): Remove eval.
68435 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68436             Roland McGrath  <roland@hack.frob.com>
68437             Ondrej Bilka  <neleai@seznam.cz>
68439         [BZ #15346]
68440         * time/getdate.c: Include ctype.h and alloca.h.
68441         (__getdate_r): Trim leading and trailing spaces of input.
68442         * time/tst-getdate.c (tests): Add tests with leading and
68443         trailing spaces.
68445 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68447         [BZ #14280]
68448         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68449         when computing value.
68451 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68453         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68454         Use testrun.sh to run libm tests.
68456         [BZ #15309]
68457         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68459 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68461         [BZ #15264]
68462         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68464 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68466         * Makefile.in (regen-ulps): New target.
68467         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68468         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68469         [ifneq (no,$(PERL)] (regen-ulps): New target.
68470         [ifeq (no,$(PERL)] (regen-ulps): New target.
68471         * math/libm-test.inc (ulps_file_name): Define.
68472         (output_dir): New variable.
68473         (options): Add "output-dir" option.
68474         (parse_opt): Handle 'o' case.
68475         (main): If output_dir is non-NULL use it as a prefix
68476         otherwise use "".
68477         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68479 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68481         [BZ #10060, #10062]
68482         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68483         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68484         fail configure if __sync_val_compare_and_swap is not inlined.
68485         * sysdeps/i386/configure: Regenerate.
68486         * configure.in: Build for i686 when configured for i386.
68487         * configure: Regenerate.
68488         * README: Remove i386 reference.
68490 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68492         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68493         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68495 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68497         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68498         (lmsnanval): New variables.
68499         (F): Add conversion tests.
68500         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68501         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68503         * stdio-common/tstdiomisc.c (F): Properly collect individual
68504         tests' results.
68506         [BZ #14686, #15336]
68507         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68508         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68509         Instead, use input NaN values or generate a qNaN by arithmetic
68510         operation.  Also fix bugs to comply with the standard.
68511         * math/libm-test.inc (remainder_test): Add more tests.
68513         [BZ #15335, #15342]
68514         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68516         input NaN values or generate a qNaN by arithmetic operation.
68518         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68519         unreachable code.
68521         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68522         definitions.
68524 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68526         [BZ #14478]
68527         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68528         underflowed result.
68529         * math/s_cexpf.c (__cexpf): Likewise.
68530         * math/s_cexpl.c (__cexpl): Likewise.
68531         * math/libm-test.inc (cexp_test): Add more tests.
68533 2013-04-03  Andreas Schwab  <schwab@suse.de>
68535         [BZ #15330]
68536         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68537         order arrays from heap if bigger than alloca cutoff.
68539 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68541         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68542         (SNAN_TESTS_double): Refer to GCC PR56831.
68543         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68544         GCC PR56828.
68546 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68548         * Rules (bench): Move bench.out after the run is complete.
68550         * Rules (bench): Echo currently running benchmark.
68552         * benchtests/Makefile (bench): Add atan and slowatan.
68553         * benchtests/atan-inputs: New file.
68554         * benchtests/slowatan-inputs: New file.
68555         * benchtests/slowatan.c: New file.
68557         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68558         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68559         its value.
68561         [BZ #15305]
68562         * sysdeps/unix/sysv/linux/kernel-features.h
68563         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68564         __ASSUME_XFS_RESTRICTED_CHOWN.
68565         * sysdeps/unix/sysv/linux/pathconf.c
68566         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68567         Save and restore errno.
68569 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68571         [BZ #15327]
68572         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68573         arguments using __kernel_casinh.
68574         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68575         arguments using __kernel_casinhf.
68576         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68577         arguments using __kernel_casinhl.
68578         * math/libm-test.inc (cacosh_test): Add more tests.
68579         * sysdeps/i386/fpu/libm-test-ulps: Update.
68580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68582 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68584         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68587         * bench/Makefile (bench): Add sin and slowsin.
68588         * benchtests/sin-inputs: New file.
68589         * benchtests/slowsin-inputs: New file.
68590         * benchtests/slowsin.c: New file.
68592         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68593         (bench): Add slowexp and slowpow.
68594         (exp-ITER): Increase iterations.
68595         (pow-ITER): Likewise.
68596         * benchtests/exp-inputs: Change input.
68597         * benchtests/pow-inputs: Likewise.
68598         * benchtests/slowexp-inputs: New file.
68599         * benchtests/slowexp.c: New file.
68600         * benchtests/slowpow-inputs: New file.
68601         * benchtests/slowpow.c: New file.
68603 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68605         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68606         instructions.
68607         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68608         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68609         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68610         * benchtests/Makefile: Add rint benchtest.
68611         * benchtests/rint-inputs: Input for rint benchtest.
68613 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68615         * Versions.def (libm): Add GLIBC_2.18.
68616         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68617         hidden libm prototypes.
68618         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68619         * math/Makefile (libm-calls): Add s_issignaling.
68620         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68621         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68622         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68623         declaration.
68624         * math/math.h [__USE_GNU] (issignaling): New macro.
68625         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68626         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68627         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68628         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68629         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68630         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68631         * manual/arith.texi (issignaling): New section.
68632         * manual/libm-err-tab.pl (@all_functions): Update comment.
68633         * math/gen-libm-test.pl (parse_args): Apply special handling for
68634         issignaling.
68635         * math/libm-test.inc (print_float, issignaling_test): New
68636         functions.
68637         (check_float_internal): Add issignaling checks.
68638         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68639         default definition.
68640         * sysdeps/powerpc/math-tests.h: New file.
68641         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68642         tests.
68643         * math/test-snan.c (TEST_FUNC): Likewise.
68645 2013-03-30  David S. Miller  <davem@davemloft.net>
68647         * po/de.po: Update from translation team.
68649 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68651         [BZ #10357]
68652         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68653         imaginary part less than 1.0 and real part less than 0.5
68654         specially.
68655         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68656         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68657         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68658         (cacos_test): Add more tests.
68659         (casin_test): Likewise.
68660         (casinh_test): Likewise.
68661         * sysdeps/i386/fpu/libm-test-ulps: Update.
68662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68664 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68666         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68667         ONE with its value.
68669         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68670         (__pow_mp): Replace ONE and MONE with their values.
68671         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68672         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68674         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68675         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68678         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68680         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68681         (__pow_mp): Replace ZERO and MZERO with their values.
68682         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68683         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68684         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68686         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68687         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68688         (__sqr): Likewise.
68690         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68692         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68694 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68696         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68697         Declare with __attribute__ ((weak)).
68698         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68699         Call __call_tls_dtors only if it's not NULL.
68701 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68703         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68704         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68705         magic __ehdr_start linker symbol if it's defined.
68706         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68707         them up here if it was already done.
68709         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68710         (_dl_aux_init): Use const in cast when setting it.
68711         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68712         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68713         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68715         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68716         Declare them here.
68717         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68718         * csu/libc-tls.c: Nor here.
68719         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68721         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68722         (__libc_message): Never call vsyslog.
68724 2013-03-28  Alan Modra  <amodra@gmail.com>
68726         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68727         Define as empty.
68728         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68729         Likewise.
68731 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68733         [BZ #15214]
68734         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68735         underflow.
68736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68738 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68740         [BZ #15304]
68741         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68742         Don't add gid passed as argument.
68744         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68746 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
68748         [BZ #15307]
68749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68750         imaginary part between 1.0 and 1.5 and real part less than 0.5
68751         specially.
68752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68754         * math/libm-test.inc (cacos_test): Add more tests.
68755         (casin_test): Likewise.
68756         (casinh_test): Likewise.
68757         * sysdeps/i386/fpu/libm-test-ulps: Update.
68758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68760 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68762         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68763         constants.
68764         (norm): Likewise.
68765         (denorm): Likewise.
68766         (__dbl_mp): Likewise.
68767         (add_magnitudes): Likewise.
68768         (sub_magnitudes): Likewise.
68769         (__add): Likewise.
68770         (__sub): Likewise.
68771         (__mul): Likewise.
68772         (__sqr): Likewise.
68773         (__inv): Likewise.
68774         (__dvd): Likewise.
68776         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68777         commented code.
68778         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68779         (__dubcos): Likewise.
68780         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68781         (__ieee754_acos): Likewise.
68782         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68783         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68784         (__exp1): Likewise.
68785         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68787         (log1): Likewise.
68788         (my_log2): Likewise.
68789         (checkint): Likewise.
68790         * sysdeps/ieee754/dbl-64/e_remainder.c
68791         (__ieee754_remainder): Likewise.
68792         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68793         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68794         (bsloww): Likewise.
68795         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68797         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68798         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68799         MANTISSA_STORE_T to store computations on mantissa.  Use
68800         macros for rounding and division.
68801         (denorm): Likewise.
68802         (__dbl_mp): Likewise.
68803         (add_magnitudes): Likewise.
68804         (sub_magnitudes): Likewise.
68805         (__mul): Likewise.
68806         (__sqr): Likewise.
68807         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68808         powers of two in terms of TWOPOW macro.
68809         (mp_no): Make type of mantissa as MANTISSA_T.
68810         [!RADIXI]: Define RADIXI.
68811         [!TWO52]: Define TWO52.
68812         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68814 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68816         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68817         llroundl symbol when building for PPC32.
68819 2013-03-24  Mark H Weaver  <mhw@netris.org>
68821         * manual/arith.texi (Normalization Functions): Fix prototypes for
68822         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68824 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68826         [BZ #13889]
68827         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68828         high value to check if expl overflow.
68829         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68830         to check for underflow and overflow.
68831         * math/libm-test.inc: Add exp test.
68833 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
68835         [BZ #11120]
68836         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68837         with NOT_IN_libc.
68839 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68841         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68842         symbol.
68844 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68846         * math/gen-libm-test.pl (parse_args, special_functions): Properly
68847         wrap blocks consisting of several statements.
68849         * sysdeps/generic/math-tests.h: New file.
68850         * sysdeps/i386/fpu/math-tests.h: Likewise.
68851         * math/test-snan.c: Include it.
68852         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68854 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68856         [BZ #15285]
68857         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68858         (__ieee754_j0l): Do not improve calculations using cos of twice
68859         input for inputs above LDBL_MAX / 2.0L.
68860         (__ieee754_y0l): Likewise.
68861         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68862         (__ieee754_j1l): Do not improve calculations using cos of twice
68863         input for inputs above LDBL_MAX / 2.0L.
68864         (__ieee754_y1l): Likewise.
68865         * math/libm-test.inc (j0_test): Add another test.
68866         (j1_test): Likewise.
68867         (y0_test): Likewise.
68868         (y1_test): Likewise.
68869         * sysdeps/i386/fpu/libm-test-ulps: Update.
68871 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68873         * Rules ($(objpfx)bench-%.c): Include code from a C source
68874         file.
68876 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68878         [BZ #15287]
68879         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68880         imaginary part 1.0 and real part less than 0.5 specially.
68881         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68882         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68883         * math/libm-test.inc (cacos_test): Add more tests.
68884         (casin_test): Likewise.
68885         (casinh_test): Likewise.
68886         * sysdeps/i386/fpu/libm-test-ulps: Update.
68887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68889 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68891         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68892         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68894 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
68896         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68897         * config.make.in (config-cflags-sse4): Remove variable.
68898         (config-cflags-avx): Likewise.
68899         (config-cflags-sse2avx): Likewise.
68900         (config-cflags-novzeroupper): Likewise.
68901         (config-asflags-i686): Likewise.
68902         (have-mfma4): Likewise.
68903         (have-as-vis3): Likewise.
68904         (MIG): Likewise.
68905         * configure.in (MIG): Do not AC_SUBST.
68906         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68907         (libc_cv_cc_sse4): Do not AC_SUBST.
68908         (libc_cv_cc_avx): Likewise.
68909         (libc_cv_cc_sse2avx): Likewise.
68910         (libc_cv_cc_novzeroupper): Likewise.
68911         (libc_cv_cc_fma4): Likewise.
68912         (libc_cv_as_i686): Likewise.
68913         (libc_cv_sparc_as_vis3): Likewise.
68914         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68915         LIBC_CONFIG_VAR.
68916         (config-asflags-i686): Likewise.
68917         (config-cflags-avx): Likewise.
68918         (config-cflags-sse2avx): Likewise.
68919         (have-mfma4): Likewise.
68920         (config-cflags-novzeroupper): Likewise.
68921         * sysdeps/mach/configure.in (MIG): Likewise.
68922         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68923         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68924         LIBC_CONFIG_VAR.
68925         (config-cflags-avx): Likewise.
68926         (config-cflags-sse2avx): Likewise.
68927         (have-mfma4): Likewise.
68928         (config-cflags-novzeroupper): Likewise.
68929         * configure: Regenerated.
68930         * sysdeps/i386/configure: Likewise.
68931         * sysdeps/mach/configure: Likewise.
68932         * sysdeps/sparc/configure: Likewise.
68933         * sysdeps/x86_64/configure: Likewise.
68935 2013-03-20  Roland McGrath  <roland@hack.frob.com>
68937         [BZ #14812]
68938         * locale/programs/localedef.c (options): Put N_ translation marker
68939         on argument names, not just descriptions.
68941 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68943         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68945 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
68947         [BZ #14176]
68948         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68950 2013-03-19  Roland McGrath  <roland@hack.frob.com>
68952         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68953         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68954         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68955         [!BEFORE_ABORT] (before_abort): New function.
68956         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68957         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68958         (writev_for_fatal): New function.
68959         (WRITEV_FOR_FATAL): New macro; call that.
68960         (backtrace_and_maps): New function.
68961         (BEFORE_ABORT): New macro; call that.
68962         (struct str_list): Type removed.
68963         (__libc_message, __libc_fatal): Functions removed.
68964         Include <sysdeps/posix/libc_fatal.c> instead.
68966 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
68968         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68969         constants.
68970         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68971         double constants.
68973 2013-03-19  Andreas Schwab  <schwab@suse.de>
68975         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68976         * sysdeps/gnu/configure: Regenerate.
68978         * configure.in: Substitute libc_cv_rtlddir.
68979         * configure: Regenerate.
68980         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68981         * Makeconfig (rtlddir, inst_rtlddir): New variables.
68982         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68983         * elf/Makefile (install-others, CFLAGS-interp.c)
68984         (ldso_install, common-ldd-rewrite): Likewise.
68985         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68986         $(inst_slibdir)/$(rtld-installed-name).
68987         * scripts/rellns-sh: Add -p option.
68988         * Makerules (make-shlib-link): Use rellns-sh to get relative name
68989         for source.
68991 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68993         * manual/nptl.texi: Renamed to ...
68994         * manual/threads.texi: ... this.
68995         * manual/Makefile (chapters): Update.
68997 2013-03-18  Roland McGrath  <roland@hack.frob.com>
68999         [BZ #14812]
69000         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69001         on argument names, not just descriptions.
69002         * malloc/memusagestat.c (options): Likewise.
69003         * nss/getent.c (options): Likewise.
69005 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69007         [BZ #14812]
69008         * iconv/iconv_prog.c (options): Put N_ translation marker
69009         on argument names, not just descriptions.
69010         * iconv/iconvconfig.c (options): Likewise.
69012 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69014         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69015         implementation which is faster on all x86_64 architectures.
69016         Tested on AMD, Intel Nehalem, SNB, IVB.
69017         * sysdeps/x86_64/strnlen.S: Likewise.
69019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69020         Remove all multiarch strlen and strnlen versions.
69021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69022         Remove strlen and strnlen related parts.
69024         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69025         Inline strlen part.
69026         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69028         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69029         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69030         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69031         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69032         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69033         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69035 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69037         * manual/memory.texi (Malloc Tunable Parameters):
69038         Sort parameters alphabetically. Add comments for missing entries.
69040 2013-03-17  David S. Miller  <davem@davemloft.net>
69042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69044 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69046         [BZ #15283]
69047         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69048         for arguments at most half maximum finite value.
69049         * math/libm-test.inc (j0_test): Add more tests.
69050         (j1_test): Likewise.
69051         (y0_test): Likewise.
69052         (y1_test): Likewise.
69053         * sysdeps/i386/fpu/libm-test-ulps: Update.
69054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69056         [BZ #14155]
69057         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69058         1 / x and functions P and Q for arguments above 0x1p256L.
69059         (__ieee754_y0l): Likewise.
69060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69061         (__ieee754_y1l): Likewise.
69062         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69063         (j1_test): Likewise.
69064         (y0_test): Likewise.
69065         (y1_test): Likewise.
69067 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69069         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69070         variable.
69072 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69074         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69075         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69076         zero since it's initialized to EXEC_PAGESIZE.
69078         * sysdeps/unix/sysv/linux/ldsodefs.h
69079         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69080         * sysdeps/generic/ldsodefs.h: ... here.
69082 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69084         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69086         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69087         math/test-snan.c.
69088         * math/test-snan.c: Renamed from
69089         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69090         * math/Makefile (tests): Add test-snan.
69091         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69092         test-powerpc-snan.
69094         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69095         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69096         functions.
69097         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69098         __builtin_nan family of functions.
69099         * math/libm-test.inc (initialize): Initialize qnan_value with
69100         __builtin_nan family of functions.
69101         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69102         Remove variables.
69103         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69104         Remove functions.
69105         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69106         storage class.  Initialize qNaN_var and sNaN_var with
69107         __builtin_nan and __builtin_nans families of functions,
69108         respectively.
69110         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69111         (sqrt_test): Remove duplicate test with qNaN input.
69112         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69113         (round_test, signbit_test, significand_test): Note missing +/-Inf
69114         as well as qNaN tests.
69116         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69117         qNaN_var.  Fix a few strings, too.
69118         * math/libm-test.inc (nan_value): Rename to qnan_value.
69119         * math/gen-libm-test.pl (%beautify): Adjust to that.
69120         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69121         * math/test-misc.c (main): Likewise.
69122         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69123         to __qnan_bytes, and __qnan_union, respectively.
69124         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69125         Likewise.
69126         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69127         and lqnanval, respectively.
69128         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69129         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69130         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69131         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69133         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69134         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69135         doubles.
69137         * math/test-misc.c (main): Fix copy'n'pastos.
69138         * misc/tst-efgcvt.c (special): Likewise.
69140         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69141         Remove declarations.
69143 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69145         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69146         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69147         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69148         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69150 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69152         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69153         macro to return vdso values correctly in IFUNC implementations.
69154         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69155         Optimization by using IFUNC.
69157 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69158             Richard Henderson  <rth@redhat.com>
69159             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69161         * Makefile.in (bench): New target.
69162         * NEWS: Mention the benchmark framework.
69163         * Rules (bench): Likewise.
69164         (binaries-bench): Generate binaries for functions to
69165         benchmark.
69166         * benchtests/Makefile: New makefile for benchmark tests.
69167         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69168         programs.
69169         * benchtests/exp-inputs: New input file for EXP function.
69170         * benchtests/pow-inputs: New input file for POW function.
69171         * scripts/bench.pl: New script to generate source files for
69172         benchmark programs.
69174 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69176         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69177         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69178         computations on mantissa.  Use macros for rounding and
69179         division.
69180         (denorm): Likewise.
69181         (__dbl_mp): Likewise.
69182         (add_magnitudes): Likewise.
69183         (sub_magnitudes): Likewise.
69184         (__mul): Likewise.
69185         (__sqr): Likewise.
69186         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69187         powers of two in terms of TWOPOW macro.
69188         (mp_no): Make type of mantissa as MANTISSA_T.
69189         [!RADIXI]: Define RADIXI.
69190         [!TWO52]: Define TWO52.
69191         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69193         * manual/nptl.texi (cindex): Modify threads to pthreads.
69195 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69197         * sysdeps/x86_64/preconfigure: Regenerated.
69199 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69201         [BZ #14155]
69202         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69203         0x1p28 and above.
69204         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69205         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69206         0x1p28 and above.
69207         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69208         * math/libm-test.inc (j0_test): Do not allow one spurious
69209         underflow exception.
69210         (y1_test): Likewise.
69212 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69214         * manual/Makefile (chapters): Add nptl.
69215         * manual/debug.texi (Debugging Support): Add link to Threads
69216         chapter.
69217         * manual/nptl.texi: New file.
69219         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69221 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69223         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69224         for non-NULL pointer before the memory validity test. Pointed
69225         out by Holger Brunck <holger.brunck@keymile.com>.
69227 2013-03-13  Andreas Schwab  <schwab@suse.de>
69229         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69230         instead of .os.
69232 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69234         * timezone/zic.c: Update from tzcode 2013b.
69236 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69238         * manual/install.texi (Configuring and compiling):
69239         Mention i686 and i586.
69240         * INSTALL: Regenerate.
69242 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69244         * sysdeps/init_array/elf-init.c: New file.
69245         * csu/elf-init.c
69246         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69247         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69249         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69250         __gmon_start__ as global, but as static with a .preinit_array pointer.
69251         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69252         * sysdeps/init_array/crti.S: New file, empty except for comments.
69253         * sysdeps/init_array/crtn.S: Likewise.
69255 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
69257         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69258         definining bcopy.
69259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69260         Remove Prefer_SSE_for_memop.
69261         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69262         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69263         HAS_PREFER_SSE_FOR_MEMOP.
69264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69265         memset-x86-64.
69266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69267         Remove bzero, memset ifunc support.
69268         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69269         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69270         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69271         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69273 2013-03-11  Andreas Schwab  <schwab@suse.de>
69275         [BZ #15234]
69276         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69277         by SHLIB_COMPAT.
69278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69279         (GLIBC_2.16): Remove pthread_atfork.
69281 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69283         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69284         (ptestcases.h): Likewise.
69286 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69288         * Makeconfig ($(common-objpfx)config.status): Depend on
69289         sysdeps/*/preconfigure{,.in} too.
69291 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69293         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69294         (__free_hook): Use void * instead of __malloc_ptr_t.
69295         (__malloc_hook): Likewise.
69296         (__realloc_hook): Likewise.
69297         (__memalign_hook): Likewise.
69298         (__after_morecore_hook): Likewise.
69299         * malloc/arena.c (save_malloc_hook): Likewise.
69300         (save_free_hook): Likewise.
69301         * malloc/hooks.c (malloc_hook_ini): Likewise.
69302         (realloc_hook_ini): Likewise.
69303         (memalign_hook_ini): Likewise.
69304         * malloc/malloc.c (malloc_hook_ini): Likewise.
69305         (realloc_hook_ini): Likewise.
69306         (memalign_hook_ini): Likewise.
69307         (__free_hook): Likewise.
69308         (__malloc_hook): Likewise.
69309         (__realloc_hook): Likewise.
69310         (__memalign_hook): Likewise.
69311         (__libc_malloc): Likewise.
69312         (__libc_free): Likewise.
69313         (__libc_realloc): Likewise.
69314         (__libc_memalign): Likewise.
69315         (__libc_valloc): Likewise.
69316         (__libc_pvalloc): Likewise.
69317         (__libc_calloc): Likewise.
69318         (__posix_memalign): Likewise.
69319         * malloc/morecore.c (__sbrk): Likewise.
69320         (__default_morecore): Likewise.
69322         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69324         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69325         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69326         __malloc_ptrdiff_t.
69328         * malloc/malloc.h (__malloc_size_t): Remove macro.
69329         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69330         __malloc_size_t.
69331         (old_memalign_hook): Likewise.
69332         (old_realloc_hook): Likewise.
69333         (struct hdr): Likewise.
69334         (flood): Likewise.
69335         (mallochook): Likewise.
69336         (memalignhook): Likewise.
69337         (reallochook): Likewise.
69338         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69339         (tr_old_realloc_hook): Likewise.
69340         (tr_old_memalign_hook): Likewise.
69341         (tr_mallochook): Likewise.
69342         (tr_reallochook): Likewise.
69343         (tr_memalignhook): Likewise.
69345 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69348         default_ldbl_pack and using as default implementation.
69349         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69350         implementation.
69351         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69352         redundant definition.
69353         (ldbl_insert_mantissa): Likewise.
69354         (ldbl_canonicalize): Likewise.
69355         (ldbl_nearbyint): Likewise.
69356         (ldbl_pack): Rename to ldbl_pack_ppc.
69357         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69358         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69359         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69361 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69364         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69365         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69366         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69368         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69369         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69370         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69372 2013-03-07  Andreas Jaeger  <aj@suse.de>
69374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69375         bits/mman-linux.h.
69377 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69379         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69380         Include mpa.h and declare __MPEXP.
69381         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69382         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69383         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69384         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69385         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69386         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69387         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69389         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69390         (__slowpow): Use long double EXPL and LOGL functions to
69391         compute POW.
69392         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69393         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69394         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69395         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69396         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69400         intermediate variable to calculate exponent.
69401         (__sqr): Likewise.
69402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69403         Likewise.
69404         (__sqr): Likewise.
69406         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69407         [!NO__SQR]: Define __sqr.
69408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69409         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69410         sysdeps/ieee754/dbl-64/mpa.c.
69411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69413         [BZ #12723]
69414         * posix/Makefile (tests): Add tst-pathconf.
69415         * posix/tst-pathconf.c: New test case.
69416         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69417         _PC_PIPE_BUF.
69418         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69420 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69422         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69424 2013-03-06  Andreas Jaeger  <aj@suse.de>
69426         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69427         definition via __MAP_ANONYMOUS.
69429         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69430         it's not part of Linux headers.
69432         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69433         (MAP_HUGE_MASK): Define.
69435         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69436         Define.
69437         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69438         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69439         Define.
69440         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69441         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69442         Define.
69443         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69444         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69445         Define.
69446         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69448         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69449         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69450         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69451         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69452         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69453         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69455         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69456         Handle f2fs.
69458         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69459         Handle f2fs and efivarfs.
69461         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69462         f2fs.
69464         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69465         (EFIVARFS_MAGIC): Add.
69466         (F2FS_LINK_MAX): Add.
69468 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69470         * stdio-common/vfprintf.c: Replace __builtin_expect with
69471         __glibc_unlikely.
69473 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69475         [BZ #13550]
69476         * sysdeps/generic/bp-sym.h: Remove file.
69477         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69478         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69479         <bp-sym.h> and <bp-asm.h>.
69480         (__longjmp): Don't use BP_SYM.
69481         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69482         and <bp-asm.h>.
69483         (memcpy): Don't use BP_SYM.
69484         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69485         <bp-sym.h> and <bp-asm.h>.
69486         (memcpy): Don't use BP_SYM.
69487         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69488         <bp-asm.h>.
69489         (memcpy): Don't use BP_SYM.
69490         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69491         <bp-asm.h>.
69492         (memset): Don't use BP_SYM.
69493         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69494         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69495         (__bzero): Don't use BP_SYM.
69496         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69497         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69498         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69499         <bp-sym.h> and <bp-asm.h>.
69500         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69501         pointers.
69502         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69503         <bp-sym.h> and <bp-asm.h>.
69504         (memcpy): Don't use BP_SYM.
69505         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69506         <bp-sym.h> and <bp-asm.h>.
69507         (memset): Don't use BP_SYM.
69508         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69509         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69510         (__bzero): Don't use BP_SYM.
69511         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69512         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69513         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69514         <bp-sym.h> and <bp-asm.h>.
69515         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69516         pointers.
69517         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69518         <bp-sym.h> and <bp-asm.h>.
69519         (memcpy): Don't use BP_SYM.
69520         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69521         <bp-sym.h> and <bp-asm.h>.
69522         (memset): Don't use BP_SYM.
69523         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69524         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69525         (__bzero): Don't use BP_SYM.
69526         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69527         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69528         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69529         <bp-sym.h> and <bp-asm.h>.
69530         (__memchr): Don't use BP_SYM.
69531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69532         <bp-sym.h> and <bp-asm.h>.
69533         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69534         pointers.
69535         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69536         <bp-sym.h> and <bp-asm.h>.
69537         (memcpy): Don't use BP_SYM.
69538         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69539         <bp-sym.h> and <bp-asm.h>.
69540         (__mempcpy): Don't use BP_SYM.
69541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69542         <bp-sym.h> and <bp-asm.h>.
69543         (__memrchr): Don't use BP_SYM.
69544         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69545         <bp-sym.h> and <bp-asm.h>.
69546         (memset): Don't use BP_SYM.
69547         (__bzero): Likewise.
69548         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69549         <bp-sym.h> and <bp-asm.h>.
69550         (__rawmemchr): Don't use BP_SYM.
69551         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69552         <bp-sym.h> and <bp-asm.h>.
69553         (__STRCMP): Don't use BP_SYM.
69554         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69555         <bp-sym.h> and <bp-asm.h>.
69556         (strchr): Don't use BP_SYM.
69557         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69558         <bp-sym.h> and <bp-asm.h>.
69559         (__strchrnul): Don't use BP_SYM.
69560         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69561         <bp-sym.h> and <bp-asm.h>.
69562         (strlen): Don't use BP_SYM.
69563         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69564         <bp-sym.h> and <bp-asm.h>.
69565         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69566         pointers.
69567         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69568         <bp-sym.h> and <bp-asm.h>.
69569         (__strnlen): Don't use BP_SYM.
69570         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69571         <bp-sym.h> and <bp-asm.h>.
69572         (__GI__setjmp): Don't use BP_SYM.
69573         (_setjmp): Likewise.
69574         (__sigsetjmp): Likewise.
69575         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69576         (L(start_addresses)): Don't use BP_SYM.
69577         (_start): Likewise.
69578         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69579         <bp-asm.h>.
69580         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69581         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69582         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69583         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69584         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69585         <bp-asm.h>.
69586         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69587         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69588         about bounded pointers.
69589         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69590         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69591         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69592         <bp-asm.h>.
69593         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69594         about bounded pointers.  Remove GKM FIXME comments.
69595         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69596         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69597         <bp-asm.h>.
69598         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69599         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69600         Remove GKM FIXME comments.
69601         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69602         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69603         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69604         <bp-asm.h>.
69605         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69606         about bounded pointers.  Remove GKM FIXME comment.
69607         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69608         and <bp-asm.h>.
69609         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69610         pointers.
69611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69612         <bp-sym.h> and <bp-asm.h>.
69613         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69615         <bp-sym.h> and <bp-asm.h>.
69616         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69617         comment.
69619 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69621         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69622         call free(NULL).
69624 2013-03-05  David S. Miller  <davem@davemloft.net>
69626         * po/es.po: Update from translation team.
69628 2013-03-05  Andreas Jaeger  <aj@suse.de>
69630         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69631         <bits/mman-linux.h>.
69632         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69633         is fine.
69634         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69635         <bits/mman-linux.h> to end of file.
69636         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69637         is fine.
69638         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69639         <bits/mman-linux.h> to end of file.
69640         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69641         is fine.
69642         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69643         <bits/mman-linux.h> to end of file.
69645         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69646         (MCL_CURRENT, MCL_FUTURE): Define here.
69648 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69650         [BZ #15232]
69651         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69652         attribute_hidden.
69653         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69655 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69657         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69658         fourth parameter needed for rt_sigprocmask syscall.
69659         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69660         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69661         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69662         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69663         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69664         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69666 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69668         [BZ #13550]
69669         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69670         comment about bounded pointers.
69671         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69672         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69674 2013-03-04  Andreas Jaeger  <aj@suse.de>
69676         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69677         common definitions.
69679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69680         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69681         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69682         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69683         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69684         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69686 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69688         [BZ #15055]
69689         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69690         __ieee754_sqrl instead of __sqrl.
69692 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69694         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69695         * sysdeps/powerpc/fpu_control.h: ... here.
69696         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69697         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69698         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69699         * sysdeps/powerpc/bits/mathinline.h: ... here.
69701 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69703         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69704         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69705         to just [NEED_DL_SYSINFO_DSO].
69706         * elf/dl-support.c: Likewise.
69707         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69708         * elf/rtld.c (dl_main): Likewise.
69709         * elf/setup-vdso.h (setup_vdso): Likewise.
69710         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69711         * sysdeps/unix/sysv/linux/dl-sysdep.c
69712         (_dl_discover_osversion): Likewise.
69714 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
69716         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69717         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69719 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
69721         * NEWS: Mention libm performance improvements and non-x86 PI
69722         futex support.
69724         * csu/libc-start.c (__pthread_initialize_minimal): Change
69725         function arguments.
69726         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69728 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
69730         [BZ #13550]
69731         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69732         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69733         <bp-sym.h> and <bp-asm.h>.
69734         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69735         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69736         and <bp-asm.h>.
69737         (memcpy): Don't use BP_SYM.
69738         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69739         <bp-asm.h>.
69740         (__mpn_add_n): Don't use BP_SYM.
69741         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69742         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69743         and <bp-asm.h>.
69744         (__mpn_addmul_1): Don't use BP_SYM.
69745         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69746         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69747         <bp-sym.h>.
69748         (_setjmp): Don't use BP_SYM.
69749         (__novmx_setjmp): Likewise.
69750         (__GI__setjmp): Likewise.
69751         (__vmx_setjmp): Likewise.
69752         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69753         <bp-sym.h>.
69754         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69755         (__bzero): Don't use BP_SYM.
69756         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69757         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69758         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69759         <bp-sym.h> and <bp-asm.h>.
69760         (memcpy): Don't use BP_SYM.
69761         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69762         <bp-sym.h> and <bp-asm.h>.
69763         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69764         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69765         <bp-sym.h> and <bp-asm.h>.
69766         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69767         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69768         <bp-asm.h>.
69769         (__mpn_lshift): Don't use BP_SYM.
69770         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69771         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69772         <bp-asm.h>.
69773         (memset): Don't use BP_SYM.
69774         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69775         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69776         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69777         <bp-asm.h>.
69778         (__mpn_mul_1): Don't use BP_SYM.
69779         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69781         <bp-sym.h> and <bp-asm.h>.
69782         (memcmp): Don't use BP_SYM.
69783         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69784         <bp-sym.h> and <bp-asm.h>.
69785         (memcpy): Don't use BP_SYM.
69786         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69787         <bp-sym.h> and <bp-asm.h>.
69788         (memset): Don't use BP_SYM.
69789         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69790         <bp-sym.h> and <bp-asm.h>.
69791         (strncmp): Don't use BP_SYM.
69792         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69793         <bp-sym.h> and <bp-asm.h>.
69794         (memcpy): Don't use BP_SYM.
69795         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69796         <bp-sym.h> and <bp-asm.h>.
69797         (memset): Don't use BP_SYM.
69798         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69799         <bp-sym.h> and <bp-asm.h>.
69800         (__memchr): Don't use BP_SYM.
69801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69802         <bp-sym.h> and <bp-asm.h>.
69803         (memcmp): Don't use BP_SYM.
69804         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69805         <bp-sym.h> and <bp-asm.h>.
69806         (memcpy): Don't use BP_SYM.
69807         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69808         <bp-sym.h> and <bp-asm.h>.
69809         (__mempcpy): Don't use BP_SYM.
69810         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69811         <bp-sym.h> and <bp-asm.h>.
69812         (__memrchr): Don't use BP_SYM.
69813         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69814         <bp-sym.h> and <bp-asm.h>.
69815         (memset): Don't use BP_SYM.
69816         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69817         <bp-sym.h> and <bp-asm.h>.
69818         (__rawmemchr): Don't use BP_SYM.
69819         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69820         <bp-sym.h> and <bp-asm.h>.
69821         (__STRCMP): Don't use BP_SYM.
69822         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69823         <bp-sym.h> and <bp-asm.h>.
69824         (strchr): Don't use BP_SYM.
69825         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69826         <bp-sym.h> and <bp-asm.h>.
69827         (__strchrnul): Don't use BP_SYM.
69828         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69829         <bp-sym.h> and <bp-asm.h>.
69830         (strlen): Don't use BP_SYM.
69831         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69832         <bp-sym.h> and <bp-asm.h>.
69833         (strncmp): Don't use BP_SYM.
69834         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69835         <bp-sym.h> and <bp-asm.h>.
69836         (__strnlen): Don't use BP_SYM.
69837         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69838         <bp-asm.h>.
69839         (__mpn_rshift): Don't use BP_SYM.
69840         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69841         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69842         <bp-sym.h> and <bp-asm.h>.
69843         (__sigsetjmp): Don't use BP_SYM.
69844         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69845         (L(start_addresses)): Don't use BP_SYM.
69846         (_start): Likewise.
69847         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69848         <bp-asm.h>.
69849         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69850         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69851         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69852         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69853         <bp-asm.h>.
69854         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69855         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69856         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69857         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69858         <bp-asm.h>.
69859         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69860         comments.
69861         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69862         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69863         <bp-asm.h>.
69864         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
69865         FIXME comments.
69866         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69867         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69868         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69869         <bp-asm.h>.
69870         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69871         comment.
69872         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69873         and <bp-asm.h>.
69874         (strncmp): Don't use BP_SYM,
69875         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69876         <bp-asm.h>.
69877         (__mpn_sub_n): Don't use BP_SYM.
69878         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69879         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69880         and <bp-asm.h>.
69881         (__mpn_submul_1): Don't use BP_SYM.
69882         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69884         <bp-sym.h> and <bp-asm.h>.
69885         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69887         <bp-sym.h> and <bp-asm.h>.
69888         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69889         comment.
69891 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69894         Use ZK to minimize writes to Z.
69895         (sub_magnitudes): Simplify code a bit.
69896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69897         Use ZK to minimize writes to Z.
69898         (sub_magnitudes): Simplify code a bit.
69900 2013-02-27  Roland McGrath  <roland@hack.frob.com>
69902         * csu/gmon-start.c: Add special exception to license text.
69904 2013-02-27  Richard Henderson  <rth@redhat.com>
69906         * scripts/config.guess: Update from config.git.
69907         * scripts/config.sub: Likewise.
69909 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69911         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69913         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69915         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69917         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69919         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69921 2013-02-26  Roland McGrath  <roland@hack.frob.com>
69923         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69924         [$(build-shared = yes].
69926 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69928         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69929         (__mul): Reduce iterations for calculating mantissa.
69931         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69932         MPTWO.
69933         (__mpranred): Likewise.
69935         [BZ #15160]
69936         * malloc/memusagestat.c (main): Draw graphs for heap and stack
69937         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69939 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
69941         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69942         Define __attribute__.
69944 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69946         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69947         unused.
69948         * posix/regex_internal.h (__attribute): Remove.
69949         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69950         (re_string_context_at): Likewise.
69951         (bitset_not): Use __attribute__ and mark function as possibly
69952         unused.
69953         (bitset_merge): Likewise.
69954         (bitset_mask): Likewise.
69955         (re_string_char_size_at): Likewise.
69956         (re_string_wchar_at): Likewise.
69957         (re_string_elem_size_at): Likewise.
69959 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69961         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69962         code.
69963         (cc32): Likewise.
69965         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69966         (__acr): Likewise.
69967         (__cpy): Likewise.
69968         (norm): Likewise.
69969         (denorm): Likewise.
69970         (__dbl_mp): Likewise.
69971         (add_magnitudes): Likewise.
69972         (sub_magnitudes): Likewise.
69973         (__mul): Likewise.
69974         (__inv): Likewise.
69976         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69977         style.
69979         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69980         style.
69982         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69983         code.
69985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69986         up changes with default code.
69987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69988         Likewise.
69990 2013-02-24  Allan McRae  <allan@archlinux.org>
69992         * manual/socket.texi (The Internet Namespace): Order menu items
69993         to match that in the file.
69995         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69996         node listing of the info page menu.
69998 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70000         [BZ #13550]
70001         * sysdeps/i386/bp-asm.h: Remove file.
70002         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70003         (PARMS): Do not use macros from bp-asm.h.
70004         (S1): Likewise.
70005         (S2): Likewise.
70006         (SIZE): Likewise.
70007         (__mpn_add_n): Do not use BP_SYM
70008         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70009         "bp-asm.h".
70010         (PARMS): Do not use macros from bp-asm.h.
70011         (S1): Likewise.
70012         (SIZE): Likewise.
70013         (__mpn_addmul_1): Do not use BP_SYM
70014         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70015         "bp-asm.h".
70016         (PARMS): Do not use macros from bp-asm.h.
70017         (SIGMSK): Likewise.
70018         (_setjmp): Likewise.  Do not use BP_SYM.
70019         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70020         "bp-asm.h".
70021         (PARMS): Do not use macros from bp-asm.h.
70022         (SIGMSK): Likewise.
70023         (setjmp): Likewise.  Do not use BP_SYM.
70024         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70025         "bp-asm.h".
70026         (PARMS): Do not use macros from bp-asm.h.
70027         (__frexp): Do not use BP_SYM.
70028         (frexp): Likewise.
70029         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70030         "bp-asm.h".
70031         (PARMS): Do not use macros from bp-asm.h.
70032         (__frexpf): Do not use BP_SYM.
70033         (frexpf): Likewise.
70034         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70035         "bp-asm.h".
70036         (PARMS): Do not use macros from bp-asm.h.
70037         (__frexpl): Do not use BP_SYM.
70038         (frexpl): Likewise.
70039         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70040         "bp-asm.h".
70041         (PARMS): Do not use macros from bp-asm.h.
70042         (__remquo): Do not use BP_SYM.
70043         (remquo): Likewise.
70044         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70045         "bp-asm.h".
70046         (PARMS): Do not use macros from bp-asm.h.
70047         (__remquof): Do not use BP_SYM.
70048         (remquof): Likewise.
70049         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70050         "bp-asm.h".
70051         (PARMS): Do not use macros from bp-asm.h.
70052         (__remquol): Do not use BP_SYM.
70053         (remquol): Likewise.
70054         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70055         "bp-asm.h".
70056         (PARMS): Do not use macros from bp-asm.h.
70057         (DEST): Likewise.
70058         (SRC): Likewise.
70059         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70060         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70061         "bp-asm.h".
70062         (PARMS): Do not use macros from bp-asm.h.
70063         (strlen): Do not use BP_SYM.
70064         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70065         "bp-asm.h".
70066         (PARMS): Do not use macros from bp-asm.h.
70067         (S1): Likewise.
70068         (S2): Likewise.
70069         (SIZE): Likewise.
70070         (__mpn_add_n): Do not use BP_SYM.
70071         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70072         "bp-asm.h".
70073         (PARMS): Do not use macros from bp-asm.h.
70074         (S1): Likewise.
70075         (SIZE): Likewise.
70076         (__mpn_addmul_1): Do not use BP_SYM.
70077         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70078         weak_alias.
70079         (bzero): Likewise.
70080         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70081         "bp-asm.h".
70082         (PARMS): Do not use macros from bp-asm.h.
70083         (S): Likewise.
70084         (SIZE): Likewise.
70085         (__mpn_lshift): Do not use BP_SYM.
70086         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70087         "bp-asm.h".
70088         (PARMS): Do not use macros from bp-asm.h.
70089         (DEST): Likewise.
70090         (SRC): Likewise.
70091         (LEN): Likewise.
70092         (memcpy): Likewise.  Do not use BP_SYM.
70093         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70094         libc_hidden_def and weak_alias.
70095         (mempcpy): Do not use BP_SYM in weak_alias.
70096         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70097         "bp-asm.h".
70098         (PARMS): Do not use macros from bp-asm.h.
70099         (DEST): Likewise.
70100         (LEN): Likewise.
70101         [!BZERO_P] (CHR): Likewise.
70102         (memset): Likewise.  Do not use BP_SYM.
70103         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70104         "bp-asm.h".
70105         (PARMS): Do not use macros from bp-asm.h.
70106         (S1): Likewise.
70107         (SIZE): Likewise.
70108         (__mpn_mul_1): Do not use BP_SYM.
70109         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70110         "bp-asm.h".
70111         (PARMS): Do not use macros from bp-asm.h.
70112         (S): Likewise.
70113         (SIZE): Likewise.
70114         (__mpn_rshift): Do not use BP_SYM.
70115         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70116         "bp-asm.h".
70117         (PARMS): Do not use macros from bp-asm.h.
70118         (STR): Likewise.
70119         (CHR): Likewise.
70120         (strchr): Likewise.  Do not use BP_SYM.
70121         (index): Do not use BP_SYM in weak_alias.
70122         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70123         "bp-asm.h".
70124         (PARMS): Do not use macros from bp-asm.h.
70125         (DEST): Likewise.
70126         (SRC): Likewise.
70127         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70128         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70129         "bp-asm.h".
70130         (PARMS): Do not use macros from bp-asm.h.
70131         (strlen): Do not use BP_SYM.
70132         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70133         "bp-asm.h".
70134         (PARMS): Do not use macros from bp-asm.h.
70135         (S1): Likewise.
70136         (S2): Likewise.
70137         (SIZE): Likewise.
70138         (__mpn_sub_n): Do not use BP_SYM.
70139         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70140         "bp-asm.h".
70141         (PARMS): Do not use macros from bp-asm.h.
70142         (S1): Likewise.
70143         (SIZE): Likewise.
70144         (__mpn_submul_1): Do not use BP_SYM.
70145         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70146         "bp-asm.h".
70147         (PARMS): Do not use macros from bp-asm.h.
70148         (S1): Likewise.
70149         (S2): Likewise.
70150         (SIZE): Likewise.
70151         (__mpn_add_n): Do not use BP_SYM.
70152         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70153         weak_alias.
70154         (bzero): Likewise.
70155         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70156         "bp-asm.h".
70157         (PARMS): Do not use macros from bp-asm.h.
70158         (BLK2): Likewise.
70159         (LEN): Likewise.
70160         (memcmp): Do not use BP_SYM.
70161         (bcmp): Do not use BP_SYM in weak_alias.
70162         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70163         "bp-asm.h".
70164         (PARMS): Do not use macros from bp-asm.h.
70165         (DEST): Likewise.
70166         (SRC): Likewise.
70167         (LEN): Likewise.
70168         (memcpy): Likewise.  Do not use BP_SYM.
70169         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70170         "bp-asm.h".
70171         (PARMS): Do not use macros from bp-asm.h.
70172         (DEST): Likewise.
70173         (SRC): Likewise.
70174         (LEN): Likewise.
70175         (memmove): Likewise.  Do not use BP_SYM.
70176         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70177         "bp-asm.h".
70178         (PARMS): Do not use macros from bp-asm.h.
70179         (DEST): Likewise.
70180         (SRC): Likewise.
70181         (LEN): Likewise.
70182         (__mempcpy): Likewise.  Do not use BP_SYM.
70183         (mempcpy): Do not use BP_SYM in weak_alias.
70184         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70185         "bp-asm.h".
70186         (PARMS): Do not use macros from bp-asm.h.
70187         (DEST): Likewise.
70188         (LEN): Likewise.
70189         [!BZERO_P] (CHR): Likewise.
70190         (memset): Likewise.  Do not use BP_SYM.
70191         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70192         "bp-asm.h".
70193         (PARMS): Do not use macros from bp-asm.h.
70194         (STR2): Likewise.
70195         (strcmp): Do not use BP_SYM.
70196         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70197         "bp-asm.h".
70198         (PARMS): Do not use macros from bp-asm.h.
70199         (STR): Likewise.
70200         (DELIM): Likewise.
70201         [USE_AS_STRTOK_R] (SAVE): Likewise.
70202         (FUNCTION): Likewise.  Do not use BP_SYM.
70203         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70204         aliases.
70205         (strtok_r): Likewise.
70206         (__GI___strtok_r): Likewise.
70207         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70208         (PARMS): Do not use macros from bp-asm.h.
70209         (S): Likewise.
70210         (SIZE): Likewise.
70211         (__mpn_lshift): Do not use BP_SYM.
70212         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70213         (PARMS): Do not use macros from bp-asm.h.
70214         (STR): Likewise.
70215         (CHR): Likewise.
70216         (__memchr): Do not use BP_SYM.
70217         (memchr): Do not use BP_SYM in weak_alias.
70218         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70219         (PARMS): Do not use macros from bp-asm.h.
70220         (BLK2): Likewise.
70221         (LEN): Likewise.
70222         (memcmp): Do not use BP_SYM.
70223         (bcmp): Do not use BP_SYM in weak_alias.
70224         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70225         (PARMS): Do not use macros from bp-asm.h.
70226         (S1): Likewise.
70227         (SIZE): Likewise.
70228         (__mpn_mul_1): Do not use BP_SYM.
70229         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70230         "bp-asm.h".
70231         (PARMS): Do not use macros from bp-asm.h.
70232         (STR): Likewise.
70233         (CHR): Likewise.
70234         (__rawmemchr): Do not use BP_SYM.
70235         (rawmemchr): Do not use BP_SYM in weak_alias.
70236         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70237         (PARMS): Do not use macros from bp-asm.h.
70238         (S): Likewise.
70239         (SIZE): Likewise.
70240         (__mpn_rshift): Do not use BP_SYM.
70241         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70242         (PARMS): Do not use macros from bp-asm.h.
70243         (SIGMSK): Likewise.
70244         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70245         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70246         (_start): Do not use BP_SYM.
70247         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70248         (PARMS): Do not use macros from bp-asm.h.
70249         (DEST): Likewise.
70250         (SRC): Likewise.
70251         (__stpcpy): Likewise.  Do not use BP_SYM.
70252         (stpcpy): Do not use BP_SYM in weak_alias.
70253         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70254         "bp-asm.h".
70255         (PARMS): Do not use macros from bp-asm.h.
70256         (DEST): Likewise.
70257         (SRC): Likewise.
70258         (LEN): Likewise.
70259         (__stpncpy): Likewise.  Do not use BP_SYM.
70260         (stpncpy): Do not use BP_SYM in weak_alias.
70261         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70262         (PARMS): Do not use macros from bp-asm.h.
70263         (STR): Likewise.
70264         (CHR): Likewise.
70265         (strchr): Likewise.  Do not use BP_SYM.
70266         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70267         "bp-asm.h".
70268         (PARMS): Do not use macros from bp-asm.h.
70269         (STR): Likewise.
70270         (CHR): Likewise.
70271         (__strchrnul): Likewise.  Do not use BP_SYM.
70272         (strchrnul): Do not use BP_SYM in weak_alias.
70273         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70274         "bp-asm.h".
70275         (PARMS): Do not use macros from bp-asm.h.
70276         (STOP): Likewise.
70277         (strcspn): Do not use BP_SYM.
70278         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70279         "bp-asm.h".
70280         (PARMS): Do not use macros from bp-asm.h.
70281         (STR): Likewise.
70282         (STOP): Likewise.
70283         (strpbrk): Likewise.  Do not use BP_SYM.
70284         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70285         "bp-asm.h".
70286         (PARMS): Do not use macros from bp-asm.h.
70287         (STR): Likewise.
70288         (CHR): Likewise.
70289         (strrchr): Likewise.  Do not use BP_SYM.
70290         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70291         (PARMS): Do not use macros from bp-asm.h.
70292         (SKIP): Likewise.
70293         (strspn): Do not use BP_SYM.
70294         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70295         (PARMS): Do not use macros from bp-asm.h.
70296         (STR): Likewise.
70297         (DELIM): Likewise.
70298         (SAVE): Likewise.
70299         (FUNCTION): Likewise.  Do not use BP_SYM.
70300         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70301         aliases.
70302         (strtok_r): Likewise.
70303         (__GI___strtok_r): Likewise.
70304         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70305         (PARMS): Do not use macros from bp-asm.h.
70306         (S1): Likewise.
70307         (S2): Likewise.
70308         (SIZE): Likewise.
70309         (__mpn_sub_n): Do not use BP_SYM.
70310         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70311         "bp-asm.h".
70312         (PARMS): Do not use macros from bp-asm.h.
70313         (S1): Likewise.
70314         (SIZE): Likewise.
70315         (__mpn_submul_1): Do not use BP_SYM.
70316         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70317         <bp-sym.h>.
70318         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70319         and <bp-asm.h>.
70320         (PARMS): Do not use macros from bp-asm.h.
70321         (FLAGS): Likewise.
70322         (PTID): Likewise.
70323         (TLS): Likewise.
70324         (CTID): Likewise.
70325         (__clone): Do not use BP_SYM.
70326         (clone): Do not use BP_SYM in weak_alias.
70327         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70328         and <bp-asm.h>.
70329         (PARMS): Do not use macros from bp-asm.h.
70330         (LEN): Likewise.
70331         (__mmap64): Do not use BP_SYM.
70332         (mmap64): Do not use BP_SYM in weak_alias.
70333         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70334         <bp-sym.h> and <bp-asm.h>.
70335         (PARMS): Do not use macros from bp-asm.h.
70336         (__posix_fadvise64_l64): Do not use BP_SYM.
70337         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70338         (PARMS): Do not use macros from bp-asm.h.
70339         (NSOPS): Likewise.
70340         (semtimedop): Do not use BP_SYM.
70341         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70342         and <bp-asm.h>.
70344 2013-02-21  Allan McRae  <allan@archlinux.org>
70346         * manual/message.texi (Charset conversion in gettext):
70347         Move @end statement to beginning of line.
70349 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70352         static.
70353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70354         Likewise.
70356         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70357         (denorm): Likewise.
70358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70361 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70363         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70364         tail-call to the resolved function if pltexit isn't needed.
70366 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70369         or Y being zero as being unlikely.
70370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70371         Likewise.
70373 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70375         * manual/nss.texi (System Databases and Name Service Switch):
70376         Remove frobnicate @pxref.
70378 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70380         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70381         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70383 2013-02-20  Petr Machata  <pmachata@redhat.com>
70385         * elf/elf.h (R_ARM_TARGET1): New macro.
70386         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70387         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70388         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70389         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70390         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70391         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70392         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70393         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70394         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70395         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70396         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70397         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70398         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70399         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70400         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70401         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70402         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70403         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70404         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70405         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70406         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70407         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70408         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70409         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70410         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70411         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70412         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70413         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70414         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70415         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70416         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70417         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70418         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70419         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70420         (R_ARM_THM_GOT_BREL12): Likewise.
70421         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70422         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70423         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70424         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70425         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70426         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70427         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70428         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70429         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70431 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70433         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70434         __attribute_used__ to __attribute__ ((unused)).
70436 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70438         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70439         powerpc mpa.c.
70440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70441         comment formatting.
70442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70444 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70446         [BZ #13550]
70447         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70448         Remove macro.
70449         (ENTER): Remove both macro definitions.
70450         (LEAVE): Likewise.
70451         (CHECK_BOUNDS_LOW): Likewise.
70452         (CHECK_BOUNDS_HIGH): Likewise.
70453         (CHECK_BOUNDS_BOTH): Likewise.
70454         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70455         (RETURN_BOUNDED_POINTER): Likewise.
70456         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70457         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70458         (POP_ERRNO_LOCATION_RETURN): Likewise.
70459         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70460         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70461         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70462         macros.
70463         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70464         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70465         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70466         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70467         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70468         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70469         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70470         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70471         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70472         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70473         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70474         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70475         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70476         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70477         removed macros.
70478         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70479         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70480         macros.
70481         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70482         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70483         * sysdeps/i386/i586/memset.S (memset): Likewise.
70484         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70485         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70486         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70487         macros.
70488         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70489         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70490         Change uses of L(2) to L(out).
70491         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70492         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70493         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70494         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70495         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70496         removed macros.
70497         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70498         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70499         macros.
70500         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70501         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70502         (RETURN): Do not use macro LEAVE.
70503         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70504         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70505         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70506         * sysdeps/i386/i686/memset.S (memset): Likewise.
70507         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70508         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70509         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70510         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70511         Likewise.
70512         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70513         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70514         L(1_2) and L(1_3) into L(1).
70515         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70516         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70517         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70518         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70519         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70520         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70521         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70522         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70523         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70524         macros.
70525         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70526         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70527         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70528         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70529         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70530         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70531         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70532         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70533         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70534         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70535         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70536         * sysdeps/i386/strspn.S (strspn): Likewise.
70537         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70538         conditional code.
70539         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70540         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70541         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70542         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70543         L(1_3) into L(1_1).
70544         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70545         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70546         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70547         macros.
70548         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70550 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70552         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70553         macro.
70555 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70557         * math/atest-exp.c (exp_mpn): Remove ROUND.
70558         * math/atest-exp2.c (exp_mpn): Likewise.
70559         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70561         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70562         * stdlib/tst-tls-atexit-lib.c: Likewise.
70563         * stdlib/tst-tls-atexit.c: Likewise.
70565 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70567         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70568         and __attribute_alloc_size__.
70570 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70572         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70573         __attribute_alloc_size__.
70574         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70575         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70577 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70579         * include/programs/xmalloc.h: New file.
70580         * catgets/gencat.c: Include it.
70581         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70582         * elf/pldd.c: Likewise.
70583         * iconv/iconv_charmap.c: Likewise.
70584         * iconv/iconvconfig.c: Likewise.
70585         * iconv/strtab.c: Likewise.
70586         * locale/programs/locale.c: Likewise.
70587         * locale/programs/localedef.h: Likewise.
70588         * locale/programs/simple-hash.c: Likewise.
70589         * nscd/nscd.h: Likewise.
70590         * nss/makedb.c: Likewise.
70591         * sysdeps/generic/ldconfig.h: Likewise.
70593 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70595         * Versions.def: Add GLIBC_2.18.
70596         * include/link.h (struct link_map): New member l_tls_dtor_count.
70597         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70598         (__call_tls_dtors): Likewise.
70599         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70600         __cxa_thread_atexit_impl.
70601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70602         Likewise.
70603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70604         Likewise.
70605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70606         Likewise.
70607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70608         Likewise.
70609         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70611         Likewise.
70612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70613         Likewise.
70614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70616         Likewise.
70617         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70618         (tests): Add test case tst-tls-atexit.
70619         (modules-names): Add shared library for tst-tls-atexit.
70620         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70621         (GLIBC_PRIVATE): Add __call_tls_dtors.
70622         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70623         for libstdc++.
70624         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70625         * stdlib/tst-tls-atexit.c: New test case.
70626         * stdlib/tst-tls-atexit-lib.c: New test case.
70628         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70630         * elf/Versions (ld): Add _dl_find_dso_for_object.
70631         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70632         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70633         (dl_open_worker): Use _dl_find_dso_for_object.
70634         * elf/dl-sym.c (do_sym): Likewise.
70635         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70637 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70639         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70640         Syntactic changes only.
70641         (_dl_runtime_profile): Do a tail-call to the resolved function.
70643 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70645         [BZ #13550]
70646         * sysdeps/x86_64/bp-asm.h: Remove file.
70647         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70648         <bp-sym.h> and <bp-asm.h>.
70649         (__clone): Do not use BP_SYM.
70650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70651         <bp-sym.h> and <bp-asm.h>.
70652         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70653         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70654         "bp-asm.h".
70655         (_setjmp): Do not use BP_SYM.
70656         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70657         "bp-asm.h".
70658         (setjmp): Do not use BP_SYM.
70659         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70660         libc_hidden_def.
70661         (mempcpy): Do not use BP_SYM in weak_alias.
70662         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70663         "bp-asm.h".
70664         (strchr): Do not use BP_SYM.
70665         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70666         "bp-asm.h".
70667         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70668         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70669         (_start): Do not use BP_SYM.
70670         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70671         "bp-asm.h".
70672         (strcat): Do not use BP_SYM.
70673         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70674         "bp-asm.h".
70675         (STRCMP): Do not use BP_SYM.
70676         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70677         "bp-asm.h".
70678         (STRCPY): Do not use BP_SYM.
70679         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70680         "bp-asm.h".
70681         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70682         "bp-asm.h".
70683         (FUNCTION): Do not use BP_SYM.
70684         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70685         weak_alias.
70686         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70688 2013-02-17  Andreas Jaeger  <aj@suse.de>
70690         * time/Versions: Sort entries.
70691         * string/Versions: Likewise.
70692         * resolv/Versions: Likewise.
70693         * posix/Versions: Likewise.
70694         * iconv/Versions: Likewise.
70695         * elf/Versions: Likewise.
70696         * wcsmbs/Versions: Likewise.
70698 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70700         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70701         loop termination condition.
70703         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70704         variable to calculate EZ.
70705         (__sqr): Likewise.
70707         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70708         the lower precision input.
70710 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
70712         [BZ #13550]
70713         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70714         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70715         (run-via-rtld-prefix): Do not handle %-bp tests.
70716         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70717         (all-object-suffixes): Remove .ob.
70718         (bppfx): Remove variable.
70719         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70720         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70721         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70722         [$(build-bounded) = yes] (libtype.ob): Likewise.
70723         * Makerules (elide-routines.ob): Remove variable.
70724         (do-tests-clean): Do not handle *-bp.out.
70725         (common-mostlyclean): Do not handle *-bp and *-bp.out.
70726         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70727         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70728         (tests): Do not include $(tests-bp.out).
70729         (xtests): Do not include $(xtests-bp.out).
70730         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70731         [$(build-bounded) = yes] ($(addprefix
70732         $(objpfx),$(binaries-bounded))): Remove rule.
70733         ($(objpfx)%-bp.out): Remove rule.
70734         * config.make.in (build-bounded): Remove variable.
70735         * crypt/Makefile [$(build-bounded) = yes]
70736         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70737         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70738         append to variable.
70739         [$(build-bounded) = yes] (install-lib): Likewise.
70740         [$(build-bounded) = yes] (generated): Likewise.
70741         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70742         Remove rule.
70743         * intl/Makefile [$(build-bounded) = yes]
70744         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70745         * math/Makefile [$(build-bounded) = yes]
70746         ($(tests:%=$(objpfx)%-bp): Likewise.
70747         * misc/Makefile [$(build-bounded) = yes]
70748         ($(objpfx)tst-tsearch-bp): Likewise.
70749         * nptl/Makeconfig (bounded-thread-library): Remove variable.
70750         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70751         Remove dependency.
70752         * string/Makefile (o-objects.ob): Remove variable.
70753         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70754         (CFLAGS-.ob): Remove variable.
70755         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70756         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70757         both definitions of variable.
70758         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70759         (ASFLAGS-.ob): Remove variable.
70761 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
70763         [BZ #13550]
70764         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70765         Remove __BOUNDED_POINTERS__ from condition.
70766         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70767         * string/bits/string2.h [!__NO_STRING_INLINES &&
70768         !__BOUNDED_POINTERS__]: Likewise.
70769         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70770         Likewise.
70771         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70772         Remove conditional code.
70773         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70774         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70775         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70776         condition.
70778         [BZ #13550]
70779         * csu/libc-start.c: Do not include <bp-sym.h>.
70780         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70781         * elf/dl-open.c: Do not include <bp-sym.h>.
70782         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70783         * math/fegetenv.c: Do not include <bp-sym.h>.
70784         (fegetenv): Do not use BP_SYM in versioned symbols.
70785         * nptl/sysdeps/pthread/bits/libc-lockP.h
70786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70787         <bp-sym.h>.
70788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70789         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70791         (__pthread_mutex_destroy): Likewise.
70792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70793         (__pthread_mutex_lock): Likewise.
70794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70795         (__pthread_mutex_trylock): Likewise.
70796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70797         (__pthread_mutex_unlock): Likewise.
70798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70799         (__pthread_mutexattr_init): Likewise.
70800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70801         (__pthread_mutexattr_destroy): Likewise.
70802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70803         (__pthread_mutexattr_settype): Likewise.
70804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70805         (__pthread_rwlock_init): Likewise.
70806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70807         (__pthread_rwlock_destroy): Likewise.
70808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70809         (__pthread_rwlock_rdlock): Likewise.
70810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70811         (__pthread_rwlock_tryrdlock): Likewise.
70812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70813         (__pthread_rwlock_wrlock): Likewise.
70814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70815         (__pthread_rwlock_trywrlock): Likewise.
70816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70817         (__pthread_rwlock_unlock): Likewise.
70818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70819         (__pthread_key_create): Likewise.
70820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70821         (__pthread_setspecific): Likewise.
70822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70823         (__pthread_getspecific): Likewise.
70824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70825         Likewise.
70826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70827         (_pthread_cleanup_push_defer): Likewise.
70828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70829         (_pthread_cleanup_pop_restore): Likewise.
70830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70831         (pthread_setcancelstate): Likewise.
70832         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70833         <bp-sym.h>.
70834         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70835         (memchr): Do not use BP_SYM in weak_alias.
70836         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70837         (fegetenv): Do not use BP_SYM in versioned symbols.
70838         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70839         (fesetenv): Do not use BP_SYM in versioned symbols.
70840         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70841         (feupdateenv): Do not use BP_SYM in versioned symbols.
70842         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70843         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70844         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70845         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70846         (open64): Do not use BP_SYM in weak_alias.
70847         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70848         (fegetenv): Do not use BP_SYM in versioned symbols.
70849         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70850         (fesetenv): Do not use BP_SYM in versioned symbols.
70851         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70852         (feupdateenv): Do not use BP_SYM in versioned symbols.
70853         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70854         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70855         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70856         (feraiseexcept): Do not use BP_SYM in versioned symbols.
70857         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70858         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70859         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70860         <bp-sym.h>.
70861         (__libc_start_main): Do not use BP_SYM.
70863 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70866         redundant return line.
70867         (norm): Likewise.
70868         (denorm): Likewise.
70869         (dbl_mp): Likewise.
70870         (sub_magnitudes): Likewise.
70871         (__add): Likewise.
70872         (__sub): Likewise.
70873         (__mul): Likewise.
70874         (__inv): Likewise.
70875         (__dvd): Likewise.
70876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70877         (norm): Likewise.
70878         (denorm): Likewise.
70879         (dbl_mp): Likewise.
70880         (sub_magnitudes): Likewise.
70881         (__add): Likewise.
70882         (__sub): Likewise.
70883         (__mul): Likewise.
70884         (__inv): Likewise.
70885         (__dvd): Likewise.
70887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70888         instead of __mul.
70889         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70890         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70891         (cc32): Likewise.
70893         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70894         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70895         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70896         of __mul for squares.
70897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70898         function
70899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70900         Likewise.
70901         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70902         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70904 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
70906         [BZ #13550]
70907         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70908         code.
70909         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70910         prototype or function definition.  Rename ubp_* variables and
70911         parameters.  Remove argv definitions conditional on
70912         [__BOUNDED_POINTERS__].
70913         * debug/backtrace.c (__backtrace): Do not use __unbounded.
70914         * elf/dl-runtime.c (_dl_fixup): Likewise.
70915         * include/set-hooks.h (RUN_HOOK): Likewise.
70916         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70917         definition.
70918         * string/strcpy.c (strcpy): Do not use __unbounded.
70919         * sysdeps/generic/frame.h (struct layout): Likewise.
70920         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70921         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70922         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70923         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70924         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70925         (__backtrace): Likewise.
70926         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70927         use __ptrvalue.
70928         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70929         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70930         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70931         Likewise.
70932         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70933         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70934         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70935         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70936         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70937         Do not use __unbounded.
70938         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70939         Rename __unboundedrlimits parameter to rlimits in prototype.
70940         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70941         Do not use __unbounded.
70942         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70943         not use __ptrvalue.
70944         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70945         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70946         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70947         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70948         __ptrvalue or __unbounded.
70949         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70950         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70951         use __unbounded.
70952         (__new_msgctl): Do not use __ptrvalue.
70953         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70954         __unbounded.
70955         (__libc_msgrcv): Do not use __ptrvalue.
70956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70957         startup_info): Do not use __unbounded.
70958         (__libc_start_main): Likewise.  Rename ubp_* variables and
70959         parameters.  Remove argv definitions conditional on
70960         [__BOUNDED_POINTERS__].
70961         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70962         __ptrvalue.
70963         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70964         use __unbounded.
70965         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70966         or __ptrvalue.
70967         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70968         use __unbounded.
70969         (__new_shmctl): Do not use __ptrvalue.
70970         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70971         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70972         Likewise.
70973         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70974         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70975         (__libc_sigaction): Likewise.
70976         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70977         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70978         Likewise.
70979         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70981 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
70983         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70985         * string/mempcpy.c: Implement by calling memcpy.
70987 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
70989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70991         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70992         evaluation.
70994         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70995         values in the mantissa.
70997         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70998         minimize writes to Z.
70999         (sub_magnitudes): Simplify code a bit.
71001 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71003         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71004         from the message.  The linker prefixes all warnings with that already.
71006 2013-02-12  Andreas Schwab  <schwab@suse.de>
71008         [BZ #15078]
71009         * posix/regexec.c (extend_buffers): Add parameter min_len.
71010         (check_matching): Pass minimum needed length.
71011         (clean_state_log_if_needed): Likewise.
71012         (get_subexp): Likewise.
71013         * posix/Makefile (tests): Add bug-regex34.
71014         (bug-regex34-ENV): Define.
71015         * posix/bug-regex34.c: New file.
71017         [BZ #11561]
71018         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71019         elements compare against the byte sequence of it, not its name.
71020         * posix/Makefile (tests): Add bug-regex35.
71021         (bug-regex35-ENV): Define.
71022         * posix/bug-regex35.c: New file.
71024 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71026         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71027         comment.
71028         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71029         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71030         (CHECK_EOL): Add undef.
71032 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
71034         * bits/stdlib-bsearch.h: New file.
71035         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71036         * stdlib/stdlib.h: Likewise.
71038 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71040         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71041         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71042         declaration.
71043         * manual/search.texi (Array Search Function): Add missing const in
71044         lfind prototype.
71045         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71046         declaration to use rlim_t.
71047         (Basic Scheduling Functions): Remove erroneous const from
71048         sched_getparam prototype.  Remove erroneous * from
71049         sched_get_priority_max and sched_get_priority_min prototypes.
71050         (Resource Usage): Fix summary @comment on vtimes to refer to
71051         sys/vtimes.h rather than vtimes.h.
71052         Add missing *s in vtimes prototype.
71053         (Limits on Resources): Fix ulimit prototype to return long int.
71054         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71055         prototypes to use long int rather than double.
71056         (BSD Random): Fix initstate and setstate to use char *, not void *.
71057         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71058         prototype to make second argument 'struct aiocb64 *const[]'.
71059         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71060         (Status of AIO Operations): Remove erroneous const in aio_return and
71061         aio_return64 prototypes.
71062         (Synchronizing I/O): Fix sync prototype to return void.
71063         * manual/startup.texi (Suboptions): Remove an erroneous const in
71064         getsubopt prototype.
71065         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71066         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71067         use size_t rather than int.
71068         (Scanning All Users): Likewise for getpwent_r.
71069         (Setting Groups): Add missing const to setgroups prototype.
71070         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71071         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71072         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71073         'const void *' rather than 'const char *'.
71074         (Host Address Functions): Likewise for inet_ntop.
71075         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71076         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71077         ssize_t for return value.
71078         (Sending Data): Likewise for send, sendto, sendmsg.
71079         (Socket Option Functions): Add a missing const in setsockopt prototype.
71080         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71081         use wchar_t for the argument.
71082         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71083         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71084         take no arguments.
71085         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71086         double/float/long double for second argument.
71087         Fix return types of significand, significandf, significandl.
71088         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71089         argument in fchmod prototype.
71090         (File Owner): Use uid_t and gid_t in fchown prototype.
71091         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71092         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71093         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71094         use 'const struct dirent **' as argument types to CMP function pointer
71095         argument.
71096         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71097         (File Times): Fix summary magic @comment for struct utimbuf and utime
71098         to refer to utime.h, not time.h.
71099         * manual/string.texi (Argz Functions): Add missing const in
71100         argz_extract and argz_next prototypes.
71101         (Finding Tokens in a String): Likewise for basename.
71102         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71103         (Copying and Concatenation): Fix typo in wmemmove prototype.
71104         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71105         (Signal Stack): Remove erroneous const in sigstack prototype.
71106         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71107         prototype.
71108         (Simple Calendar Time): Likewise for stime.
71109         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71110         prototype.
71111         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71112         say sys/sysctl.h instead.
71113         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71114         and vsyslog prototypes.
71116 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71118         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71119         Remove.
71121 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71123         * misc/sys/mman.h: Fix typo in mremap comment.
71125 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71127         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71128         the '\0' terminator.
71130 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71132         [BZ #13550]
71133         * debug/segfault.c: Don't include <bp-checks.h>.
71134         * sysdeps/generic/bp-checks.h: Remove file.
71135         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71136         (__GETDENTS): Don't use CHECK_N.
71137         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71138         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71139         (__getgroups): Don't use CHECK_N.
71140         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71141         (setgroups): Don't use CHECK_N.
71142         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71143         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71144         (__libc_msgrcv): Don't use CHECK_N.
71145         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71146         (__libc_msgsnd): Don't use CHECK_N.
71147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71148         <bp-checks.h>.
71149         (__libc_pread): Don't use CHECK_N.
71150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71151         include <bp-checks.h>.
71152         (__libc_pread64): Don't use CHECK_N.
71153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71154         include <bp-checks.h>.
71155         (__libc_pwrite): Don't use CHECK_N.
71156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71157         include <bp-checks.h>.
71158         (__libc_pwrite64): Don't use CHECK_N.
71159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71160         <bp-checks.h>.
71161         (__libc_pread): Don't use CHECK_N.
71162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71163         include <bp-checks.h>.
71164         (__libc_pread64): Don't use CHECK_N.
71165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71166         include <bp-checks.h>.
71167         (__libc_pwrite): Don't use CHECK_N.
71168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71169         include <bp-checks.h>.
71170         (__libc_pwrite64): Don't use CHECK_N.
71171         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71172         (do_pread): Don't use CHECK_N.
71173         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71174         (do_pread64): Don't use CHECK_N.
71175         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71176         (do_pwrite): Don't use CHECK_N.
71177         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71178         (do_pwrite64): Don't use CHECK_N.
71179         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71180         (__libc_readv): Don't use CHECK_N.
71181         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71182         (semop): Don't use CHECK_N.
71183         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71184         <bp-checks.h>.
71185         (semtimedop): Don't use CHECK_N.
71186         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71187         (__libc_pread): Don't use CHECK_N.
71188         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71189         <bp-checks.h>.
71190         (__libc_pread64): Don't use CHECK_N.
71191         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71192         <bp-checks.h>.
71193         (__libc_pwrite): Don't use CHECK_N.
71194         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71195         <bp-checks.h>.
71196         (__libc_pwrite64): Don't use CHECK_N.
71197         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71198         <bp-checks.h>.
71199         (__libc_msgrcv): Don't use CHECK_N.
71200         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71201         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71202         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71203         (__libc_writev): Don't use CHECK_N.
71205 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71207         * string/strcpy.c: Removed unused variable.
71209         * Makeconfig (+sysdep-includes): Define with := rather than =.
71210         Use an existing include/ subdir of each sysdeps dir before it.
71212 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71214         * nscd/connection.c (register_traced_file): Comment function.
71215         [HAVE_INOTIFY] (union __inev): Define.
71216         [HAVE_INOTIFY] (inotify_check_files): New function.
71217         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71218         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71219         clear_db_cache.
71220         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71222 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71224         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71225         loaded if not already and that a failure is permanent.
71227 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71229         [BZ #15006]
71230         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71231         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71233 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71235         [BZ #13550]
71236         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71237         (CHECK_1_NULL_OK): Likewise.
71238         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71239         (__fxstat): Do not use CHECK_1.
71240         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71241         <bp-checks.h>.
71242         (___fxstat64): Do not use CHECK_1.
71243         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71244         <bp-checks.h>.
71245         (__fxstatat): Do not use CHECK_1.
71246         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71247         <bp-checks.h>.
71248         (__fxstatat64): Do not use CHECK_1.
71249         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71250         <bp-checks.h>.
71251         (__fxstat): Do not use CHECK_1.
71252         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71253         <bp-checks.h>.
71254         (__fxstatat): Do not use CHECK_1.
71255         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71256         <bp-checks.h>.
71257         (__getresgid): Do not use CHECK_1.
71258         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71259         <bp-checks.h>.
71260         (__getresuid): Do not use CHECK_1.
71261         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71262         <bp-checks.h>.
71263         (__lxstat): Do not use CHECK_1.
71264         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71265         <bp-checks.h>.
71266         (__old_msgctl): Do not use CHECK_1.
71267         (__new_msgctl): Likewise.
71268         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71269         <bp-checks.h>.
71270         (__new_setrlimit): Do not use CHECK_1.
71271         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71272         <bp-checks.h>.
71273         (__old_shmctl): Do not use CHECK_1.
71274         (__new_shmctl): Likewise.
71275         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71276         <bp-checks.h>.
71277         (__xstat): Do not use CHECK_1.
71278         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71279         (__lxstat): Do not use CHECK_1.
71280         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71281         <bp-checks.h>.
71282         (___lxstat64): Do not use CHECK_1.
71283         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71284         (__old_msgctl): Do not use CHECK_1.
71285         (__new_msgctl): Likewise.
71286         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71287         <bp-checks.h>.
71288         (__gettimeofday): Do not use CHECK_1.
71289         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71290         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71291         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71292         <bp-checks.h>.
71293         (__gettimeofday): Do not use CHECK_1.
71294         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71295         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71296         (__new_shmctl): Do not use CHECK_1.
71297         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71298         <bp-checks.h>.
71299         (do_sigtimedwait): Do not use CHECK_1.
71300         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71301         <bp-checks.h>.
71302         (do_sigwaitinfo): Do not use CHECK_1.
71303         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71304         <bp-checks.h>.
71305         (msgctl): Do not use CHECK_1.
71306         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71307         <bp-checks.h>.
71308         (shmctl): Do not use CHECK_1.
71309         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71310         (ustat): Do not use CHECK_1.
71311         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71312         <bp-checks.h>.
71313         (__fxstat): Do not use CHECK_1.
71314         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71315         <bp-checks.h>.
71316         (__fxstatat): Do not use CHECK_1.
71317         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71318         <bp-checks.h>.
71319         (__lxstat): Do not use CHECK_1.
71320         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71321         <bp-checks.h>.
71322         (__xstat): Do not use CHECK_1.
71323         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71324         (__xstat): Do not use CHECK_1.
71325         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71326         (___xstat64): Do not use CHECK_1.
71328         [BZ #13550]
71329         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71330         definitions.
71331         (CHECK_BOUNDS_HIGH): Likewise.
71332         * string/strcpy.c: Do not include <bp-checks.h>.
71333         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71335 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71337         * nscd/nscd-client.h (__nscd_drop_map_ref):
71338         Add __attribute__ ((unused)).
71339         * nis/nss-nisplus.h (niserr2nss): Likewise.
71341         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71342         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71344         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71345         Remove inline keyword.
71346         * include/rounding-mode.h (round_away): Likewise.
71347         * libio/wfileops.c (adjust_wide_data): Likewise.
71348         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71349         (__m128i_strloadu_tolower): Likewise.
71350         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71351         (__m128i_strloadu_tolower): Likewise.
71352         * time/mktime.c (ydhms_diff): Likewise.
71353         * locale/elem-hash.h (elem_hash): Likewise.
71354         * locale/setlocale.c (setdata): Likewise.
71355         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71356         (re_string_wchar_at): Likewise.
71357         (bitset_not, bitset_merge, bitset_mask): Likewise.
71358         [!(__GNUC__ > 3)] (inline): Remove macro.
71359         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71360         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71361         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71362         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71363         * string/memcmp.c (memcmp_bytes): Likewise.
71364         * locale/programs/locarchive.c (compute_hashval): Likewise.
71365         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71366         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71367         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71368         * nss/getent.c (print_rpc, print_protocols): Likewise.
71369         (print_passwd, print_group, print_aliases): Likewise.
71370         * nis/nss-nisplus.h (niserr2nss): Likewise.
71371         * nscd/connections.c (restart_p): Likewise.
71372         Change return type to bool.
71374 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71376         * Makeconfig (all-Depend-files): Add existing
71377         $(sorted-subdirs:=/Depend) files.
71378         (all-subdirs): Remove nss.
71379         * sysdeps/unix/inet/Subdirs: Add it here instead.
71380         * hesiod/Depend: New file.
71382         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71383         instead of calling alloca.
71385         * io/lseek.c (__lseek): Rename to __libc_lseek.
71386         Define __lseek as an alias.
71388         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71390 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71392         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71393         else clause and remove check for non-standard endianness.
71395 2013-02-04  David S. Miller  <davem@davemloft.net>
71397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71399 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71401         [BZ #13550]
71402         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71403         (__ubp_memchr): Remove prototype.
71404         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71405         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71406         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71407         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71408         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71409         Remove alias.
71410         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71411         (__ubp_memchr): Likewise.
71412         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71413         (__ubp_memchr): Likewise.
71414         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71415         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71416         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71417         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71418         CHECK_STRING.
71419         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71420         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71421         (__getcwd): Do not use CHECK_STRING.
71422         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71423         <bp-checks.h>.
71424         (__real_chown): Do not use CHECK_STRING.
71425         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71426         <bp-checks.h>.
71427         (fchownat): Do not use CHECK_STRING.
71428         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71429         CHECK_STRING.
71430         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71431         <bp-checks.h>.
71432         (__lchown): Do not use CHECK_STRING.
71433         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71434         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71435         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71436         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71438         include <bp-checks.h>.
71439         (truncate64): Do not use CHECK_STRING.
71440         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71441         <bp-checks.h>.
71442         (__real_chown): Do not use CHECK_STRING.
71443         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71444         <bp-checks.h>.
71445         (__lchown): Do not use CHECK_STRING.
71446         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71447         <bp-checks.h>.
71448         (__chown): Do not use CHECK_STRING.
71449         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71450         <bp-checks.h>.
71451         (truncate64): Do not use CHECK_STRING.
71452         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71453         Likewise.
71454         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71455         (__xmknod): Do not use CHECK_STRING.
71456         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71457         <bp-checks.h>.
71458         (__xmknodat): Do not use CHECK_STRING.
71459         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71460         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71462 2013-02-04  Andreas Schwab  <schwab@suse.de>
71464         [BZ #14142]
71465         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71466         * include/netdb.h: Likewise for h_errno.
71467         * elf/tst-stackguard1.c: Include <tls.h>.
71469 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71471         * elf/link.h (struct link_map): Extend the l_addr comment.
71472         * include/link.h (struct link_map): Likewise.
71474 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71476         [BZ #13550]
71477         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71478         (BOUNDED_1): Remove macro.
71479         * debug/backtrace.c: Don't include <bp-checks.h>.
71480         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71481         (__backtrace): Likewise.
71482         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71483         <bp-checks.h>.
71484         (__backtrace): Don't use BOUNDED_1.
71485         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71486         <bp-checks.h>.
71487         (__backtrace): Don't use BOUNDED_1.
71488         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71489         (__backtrace): Don't use BOUNDED_1.
71490         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71491         (shmat): Don't use BOUNDED_N.
71493 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71495         [BZ #13550]
71496         * sysdeps/generic/bp-start.h: Remove file.
71497         * csu/libc-start.c: Don't include <bp-start.h>.
71498         (LIBC_START_MAIN): Set up __environ directly instead of using
71499         INIT_ARGV_and_ENVIRON.
71500         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71501         <bp-start.h>.
71503         [BZ #13550]
71504         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71505         definitions.
71506         (CHECK_FCNTL): Likewise.
71507         (CHECK_N_PAGES): Likewise.
71509         [BZ #13550]
71510         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71511         definitions.
71512         (CHECK_SIGSET_NULL_OK): Likewise.
71513         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71514         <bp-checks.h>.
71515         (sigpending): Don't use CHECK_SIGSET.
71516         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71517         <bp-checks.h>.
71518         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71519         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71520         <bp-checks.h>.
71521         (do_sigsuspend): Don't use CHECK_SIGSET.
71522         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71523         use CHECK_SIGSET.
71524         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71525         (do_sigwait): Don't use CHECK_SIGSET.
71526         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71527         use CHECK_SIGSET.
71528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71529         include <bp-checks.h>.
71530         (sigpending): Don't use CHECK_SIGSET.
71531         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71532         include <bp-checks.h>.
71533         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71534         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71535         <bp-checks.h>.
71536         (sigpending): Don't use CHECK_SIGSET.
71537         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71538         <bp-checks.h>.
71539         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71541         [BZ #13550]
71542         * sysdeps/generic/bp-semctl.h: Remove file.
71543         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71544         <bp-checks.h> and <bp-semctl.h>.
71545         (__old_semctl): Don't use CHECK_SEMCTL.
71546         (__new_semctl): Likewise.
71547         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71548         and <bp-semctl.h>.
71549         (__old_semctl): Don't use CHECK_SEMCTL.
71550         (__new_semctl): Likewise.
71551         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71552         <bp-checks.h> and <bp-semctl.h>.
71553         (__old_semctl): Don't use CHECK_SEMCTL.
71554         (__new_semctl): Likewise.
71555         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71556         <bp-checks.h> and <bp-semctl.h>.
71557         (semctl): Don't use CHECK_SEMCTL.
71559         [BZ #13550]
71560         * Makerules (elide-bp-thunks): Remove variable.
71561         (elide-routines.oS): Don't use $(elide-bp-thunks).
71562         (elide-routines.os): Likewise.
71563         (elide-routines.o): Likewise.
71564         (elide-routines.op): Likewise.
71565         (elide-routines.og): Likewise.
71566         (objects): Don't use $(bp-thunks).
71567         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71568         include.
71569         (common-generated): Do not add s-proto-bp.d.
71570         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71571         (int): Likewise.
71572         (typ): Likewise.
71573         Do not generate makefile rules for bounded-pointer thunks.
71574         * sysdeps/generic/bp-thunks.h: Remove file.
71575         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71576         * sysdeps/unix/s-proto-bp.S: Likewise.
71578         [BZ #15062]
71579         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71580         parts of result separately when argument is not close to line from
71581         -i to i and one part of argument is small.
71582         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71583         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71584         * math/libm-test.inc (cacos_test): Add more tests.
71585         (casin_test): Likewise.
71586         (casinh_test): Likewise.
71587         * sysdeps/i386/fpu/libm-test-ulps: Update.
71588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71590 2013-01-31  David S. Miller  <davem@davemloft.net>
71592         * po/de.po: Update from translation team.
71594 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71596         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71598 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71600         * configure.in (_AC_PROG_CC_C89): New definition.
71601         * configure: Regenerate.
71603         * configure.in (AC_PROG_CPP): New definition.
71604         * configure: Regenerate.
71606 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71608         * debug/tst-backtrace.h: New file.
71609         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71610         (ret): Remove variable.
71611         (x): Likewise.
71612         (FAIL): Remove macro.
71613         (NO_INLINE): Likewise.
71614         (fn1): Use match function instead of strstr.
71615         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71616         (ret): Remove variable.
71617         (x): Likewise.
71618         (FAIL): Remove macro.
71619         (NO_INLINE): Likewise.
71620         (fn): Use match function instead of strstr.
71621         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71622         (ret): Remove variable.
71623         (x): Likewise.
71624         (FAIL): Remove macro.
71625         (NO_INLINE): Likewise.
71626         (handle_signal): Use match function instead of strstr.
71627         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71628         (ret): Remove variable.
71629         (x): Likewise.
71630         (FAIL): Remove macro.
71631         (NO_INLINE): Likewise.
71632         (handle_signal): Use match function instead of strstr.
71634 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71636         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71638 2013-01-23  David S. Miller  <davem@davemloft.net>
71640         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71641         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71642         argument of CAS if possible.
71643         * sysdeps/sparc/sparc64/bits/atomic.h
71644         (__arch_compare_and_exchange_val_32_acq): Likewise.
71645         (__arch_compare_and_exchange_val_64_acq): Likewise.
71647 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71649         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71650         * sysdeps/posix/ulimit.c: ... this.
71651         Include <limits.h>.
71652         * sysdeps/unix/bsd/ulimit.c: Remove file.
71654 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71656         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71657         (LDFLAGS-tst-array5): Likewise.
71659 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71661         [BZ #15036]
71662         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71663         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71664         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71665         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71667 2013-01-21  David S. Miller  <davem@davemloft.net>
71669         * sysdeps/sparc/backtrace.c: New file.
71670         * sysdeps/sparc/sparc32/backtrace.h: New file.
71671         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71672         * sysdeps/sparc/sparc64/backtrace.h: New file.
71673         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71674         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71675         -funwind-tables.
71677 2013-01-21  Andreas Schwab  <schwab@suse.de>
71679         [BZ #15020]
71680         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71681         closed its stdout.
71683 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71685         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71686         "mpa2.h".
71687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71689 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71690             Mark Mitchell  <mark@codesourcery.com>
71691             Tom de Vries  <tom@codesourcery.com>
71692             Paul Pluzhnikov  <ppluzhnikov@google.com>
71694         * debug/tst-backtrace2.c: New file.
71695         * debug/tst-backtrace3.c: Likewise.
71696         * debug/tst-backtrace4.c: Likewise.
71697         * debug/tst-backtrace5.c: Likewise.
71698         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71699         (CFLAGS-tst-backtrace3.c): Likewise.
71700         (CFLAGS-tst-backtrace4.c): Likewise.
71701         (CFLAGS-tst-backtrace5.c): Likewise.
71702         (LDFLAGS-tst-backtrace2): Likewise.
71703         (LDFLAGS-tst-backtrace3): Likewise.
71704         (LDFLAGS-tst-backtrace4): Likewise.
71705         (LDFLAGS-tst-backtrace5): Likewise.
71706         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71707         tst-backtrace4 and tst-backtrace5.
71709 2013-01-18  Anton Blanchard  <anton@samba.org>
71710             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71712         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71713         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71715         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71717         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71718         "+r" and remove output regs list as redundant.  Add explicit inline
71719         asm to specify register of return val to work around compiler codegen
71720         bug.  Remove (int) cast on return value.  Add return type parameter to
71721         use in macro so that this macro does not truncate return value for
71722         64-bit values.
71723         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71724         pass to INTERNAL_VSYSCALL_NCS.
71725         (INLINE_VSYSCALL): Add 'long int' as return type to
71726         INTERNAL_VSYSCALL_NCS macro invocation.
71727         (INTERNAL_VSYSCALL): Add 'long int' as return type to
71728         INTERNAL_VSYSCALL_NCS macro invocation.
71729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71731 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71733         [BZ #14496]
71734         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71735         Fix application of SIMD FP exception mask.
71737         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71738         mp_no from a power of two.
71739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71740         __mpexp_twomm1.  Use __pow_mp.
71742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71743         multiplication.
71745 2013-01-17  David S. Miller  <davem@davemloft.net>
71747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71749 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71751         [BZ #15023]
71752         * include/complex.h: Condition contents on [!_COMPLEX_H].
71753         (__kernel_casinhf): New prototype.
71754         (__kernel_casinh): Likewise.
71755         (__kernel_casinhl): Likewise.
71756         * math/Makefile (libm_calls): Add k_casinh.
71757         * math/k_casinh.c: New file.
71758         * math/k_casinhf.c: Likewise.
71759         * math/k_casinhl.c: Likewise.
71760         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71761         finite nonzero arguments.
71762         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71763         finite nonzero arguments.
71764         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71765         finite nonzero arguments.
71766         * math/s_casinh.c: Do not include <float.h>.
71767         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71768         * math/s_casinhf.c: Do not include <float.h>.
71769         (__casinhf): Move code for finite nonzero arguments to
71770         k_casinhf.c.
71771         * math/s_casinhl.c: Do not include <float.h>.
71772         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71773         redefine.
71774         (__casinhl): Move code for finite nonzero arguments to
71775         k_casinhl.c.
71776         * math/libm-test.inc (cacos_test): Add more tests.
71777         * sysdeps/i386/fpu/libm-test-ulps: Update.
71778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71780 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
71782         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71783         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71784         [!HAVE_MREMAP]: Remove [defined linux] case.
71785         * malloc/arena.c: Do not include <malloc-sysdep.h>.
71787 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
71789         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71791 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
71793         * elf/elf.h (R_386_SIZE32): New relocation.
71794         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71795         R_386_SIZE32.
71796         (elf_machine_rela): Likewise.
71797         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71798         R_X86_64_SIZE64 and R_X86_64_SIZE32.
71800 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71802         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71803         (FP_FAST_FMA): Do not define.
71804         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71805         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71806         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71807         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71808         !_SOFT_FLOAT]: Likewise.
71809         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71810         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71811         value.
71812         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71813         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71814         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71815         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71816         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71817         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71818         file.
71820 2013-01-16  Andreas Schwab  <schwab@suse.de>
71822         [BZ #14327]
71823         * include/stdlib.h (__mktemp): Add declaration.
71824         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71825         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71827 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71829         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71830         definitions.
71831         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71832         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71833         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71834         definitions here.
71835         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71836         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71837         definitions.
71838         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71839         and ONE.
71840         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71841         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71842         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71843         definitions.
71844         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71845         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71846         definitions.
71847         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71849         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71851 2013-01-15  David S. Miller  <davem@davemloft.net>
71853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71854         trunc{,f} to libm-sysdep_routes.
71855         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71857         file.
71858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71860         file.
71861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71862         file.
71863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71865         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71866         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71867         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71868         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71869         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71870         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71873         nearbyint{,f} to libm-sysdep_routes.
71874         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71876         New file.
71877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71878         file.
71879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71880         New file.
71881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71882         file.
71883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71885         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71886         file.
71887         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71888         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71889         file.
71890         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71891         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71892         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71894         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71895         libc_feholdexcept and libc_fesetenv.
71897 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
71899         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71901 2013-01-14  David S. Miller  <davem@davemloft.net>
71903         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71904         (SPARC_ASM_VIS2_IFUNC): Likewise.
71905         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71907         use of 'siam' instruction.
71908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71909         Likewise.
71910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71911         Likewise.
71912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71913         Likewise.
71914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71919         file.
71920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71921         file.
71922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71923         file.
71924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71925         file.
71926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71928         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71929         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71931         new VIS2 routines.
71932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71935         Likewise.
71936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71941         routines to libm-sysdep_routines.
71942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71945         fdim/fdimf to libm-sysdep_routines.
71946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71947         file.
71948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71950         file.
71951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71954         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71955         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71956         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71957         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71959 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71961         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71962         to optimize copies.
71964         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71969         local variable MPTWO.
71970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71971         Likewise.
71973 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71975         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71976         GLOB_NOESCAPE.
71978 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71980         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71982 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71984         * manual/pattern.texi (glob_t): Document gl_flags.
71985         (glob64_t): Likewise.
71987 2013-01-11  David S. Miller  <davem@davemloft.net>
71989         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71990         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71991         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
71992         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71993         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71994         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71995         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71996         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71997         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71998         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71999         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72000         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72001         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72003         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72004         sparc V9 rather than using V8 code.
72005         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72006         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72008         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72009         Move to...
72010         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72011         Here.
72013 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72015         [BZ #14941]
72016         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72017         not in the main loop.
72018         * configure: Regenerated.
72020 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72022         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72023         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72024         to just #else.
72025         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72026         [!__GLIBC_HAVE_LONG_LONG] case.
72027         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72028         condition to just #else.
72029         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72030         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72031         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72032         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72033         unconditional.
72034         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72035         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72036         #elif condition to just #else.
72037         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72038         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72039         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72040         #elif condition to just #else.
72042 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72044         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72045         (EF_MIPS_ARCH_64): Fix value.
72046         (EF_MIPS_ARCH_32R2): New.
72047         (EF_MIPS_ARCH_64R2): New.
72049 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72051         * Makeconfig (+link-pie-before-libc): New.
72052         (+link-pie-after-libc): Likewise.
72053         (+link-pie-tests): Likewise.
72054         (+link-pie): Rewritten.
72055         (link-before-libc): Remove $(config-LDFLAGS).
72056         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72057         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72058         (config-LDFLAGS): Renamed to ...
72059         (rtld-LDFLAGS): This.
72060         (rtld-tests-LDFLAGS): New macro.
72061         (link-libc-rpath-link): Likewise.
72062         (link-libc-tests-rpath-link): Likewise.
72063         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72064         (link-libc): Prepand $(link-libc-rpath-link).
72065         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72066         (test-program-prefix): New macro.
72067         (test-via-rtld-prefix): Likewise.
72068         (test-program-cmd): Likewise.
72069         (host-test-program-cmd): Likewise.
72070         * Makefile ($(common-objpfx)testrun.sh): Replace
72071         $(run-program-prefix) with $(test-program-prefix).
72072         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72073         $(rtld-LDFLAGS).
72074         ($(common-objpfx)shlib.lds): Likewise.
72075         (build-module-helper): Likewise.
72076         ($(common-objpfx)format.lds): Likewise.
72077         * Rules (binaries-pie-tests): New.
72078         (binaries-pie-notests): Likewise.
72079         (binaries-pie): Rewritten.
72080         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72081         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72082         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72083         (make-test-out): Replace $(host-built-program-cmd) with
72084         $(host-test-program-cmd).
72085         * config.make.in (build-hardcoded-path-in-tests): New variable.
72086         * configure.in (--enable-hardcoded-path-in-tests): New configure
72087         option.
72088         (hardcoded_path_in_tests): New AC_SUBST.
72089         * configure: Regenerated.
72090         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72091         $(built-program-cmd) with $(test-program-cmd).
72092         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72093         (test_program_cmd): This.
72094         * elf/Makefile ($(objpfx)order.out): Run test with
72095         $(test-program-prefix).
72096         ($(objpfx)order2.out): Likewise.
72097         ($(objpfx)tst-initorder.out): Likewise.
72098         ($(objpfx)tst-initorder2.out): Likewise.
72099         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72100         $(test-program-cmd).
72101         ($(objpfx)tst-array1-static.out): Likewise.
72102         ($(objpfx)tst-array2.out): Likewise.
72103         ($(objpfx)tst-array3.out): Likewise.
72104         ($(objpfx)tst-array4.out): Likewise.
72105         ($(objpfx)tst-array5.out): Likewise.
72106         ($(objpfx)tst-array5-static.out): Likewise.
72107         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72108         $(test-program-cmd).
72109         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72110         $(run-program-prefix) with $(test-program-prefix).
72111         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72112         (test_program_prefix): This.
72113         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72114         $(run-program-prefix) with $(test-program-prefix).
72115         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72116         (test_program_prefix): This.
72117         * iconvdata/tst-tables.sh: Likewise.
72118         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72119         $(run-program-prefix) with $(test-program-prefix).
72120         ($(objpfx)tst-translit.out): Likewise.
72121         ($(objpfx)tst-gettext2.out): Likewise.
72122         ($(objpfx)tst-gettext4.out): Likewise.
72123         ($(objpfx)tst-gettext6.out): Likewise.
72124         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72125         (test_program_prefix): This.
72126         * intl/tst-gettext2.sh: Likewise.
72127         * intl/tst-gettext4.sh  Likewise.
72128         * intl/tst-gettext6.sh: Likewise.
72129         * intl/tst-translit.sh: Likewise.
72130         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72131         with $(test-program-cmd).
72132         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72133         $(run-program-prefix) with $(test-program-prefix).
72134         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72135         (test_program_prefix): This.
72136         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72137         $(run-program-prefix) with $(test-program-prefix).
72138         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72139         (test_program_prefix): This.
72140         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72141         * posix/Makefile ($(objpfx)globtest.out): Replace
72142         $(run-via-rtld-prefix) and $(test-wrapper) with
72143         $(test-program-prefix) and $(test-via-rtld-prefix).
72144         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72145         $(test-program-prefix).
72146         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72147         $(host-test-program-cmd).
72148         (tst-spawn-ARGS): Likewise.
72149         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72150         $(test-program-prefix).
72151         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72152         (test_via_rtld_prefix): This.
72153         (test_wrapper): Renamed to ...
72154         (test_program_prefix): This.
72155         (run_program_prefix): Replaced by test_program_prefix.
72156         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72157         (test_program_prefix): This.
72158         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72159         with $(host-test-program-cmd).
72160         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72161         $(run-program-prefix) with $(test-program-prefix).
72162         ($(objpfx)tst-printf.out): Likewise.
72163         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72164         $(test-program-cmd).
72165         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72166         (test_program_prefix): This.
72167         * stdio-common/tst-unbputc.sh: Likewise.
72168         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72169         $(run-program-prefix) with $(test-program-prefix).
72170         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72171         (test_program_prefix): This.
72172         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72173         $(built-program-cmd) with $(test-program-cmd).
72175 2013-01-11  Andreas Jaeger  <aj@suse.de>
72177         [BZ #15003]
72178         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72179         value. Sync with Linux 3.7.
72181 2013-01-10  David S. Miller  <davem@davemloft.net>
72183         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72184         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72185         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72187 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72189         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72190         never set.
72191         * configure: Regenerated.
72193 2013-01-10  David S. Miller  <davem@davemloft.net>
72195         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72196         sparc V9 rather than using V8 code.
72197         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72198         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72200 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72202         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72203         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72204         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72205         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72206         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72207         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72208         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72209         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72210         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72211         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72212         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72213         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72214         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72215         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72216         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72217         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72218         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72219         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72220         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72221         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72222         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72223         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72224         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72225         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72226         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72227         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72228         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72230 2013-01-10  David S. Miller  <davem@davemloft.net>
72232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72234 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72236         * posix/Makefile (tests-static): New variable.
72237         (tests): Add $(tests-static).
72238         (tst-exec-static-ARGS): New variable.
72239         (tst-spawn-static-ARGS): Likewise.
72240         * posix/tst-exec-static.c: New file.
72241         * posix/tst-spawn-static.c: Likewise.
72242         * posix/tst-exec.c: Support run directly.
72243         * posix/tst-spawn.c: Likewise.
72245 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72247         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72248         long.
72249         * math/bits/mathcalls.h (llrint): Likewise.
72250         (llround): Likewise.
72251         * stdlib/stdlib.h (struct drand48_data): Likewise.
72252         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72253         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72254         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72255         Likewise.
72256         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72257         Likewise.
72258         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72259         (elf_greg_t): Likewise.
72260         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72261         (__jmp_buf): Likewise.
72262         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72263         definitions.
72264         (llrint): Likewise, for all definitions.
72265         (llrintl): Likewise.
72267         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72268         Remove [__GNUC__] condition.
72269         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72270         condition to just [__USE_ISOC99].
72271         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72273 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72275         [BZ #14200]
72276         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72277         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72278         defined.
72279         (_POSIX_V6_ILP32_OFF32): Likewise.
72280         (_XBS5_ILP32_OFF32): Likewise.
72281         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72282         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72284 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72286         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72289         doubles __mpexp_twomm1.  Adjust usage.
72290         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72291         Remove.
72293 2013-01-10  Andreas Schwab  <schwab@suse.de>
72295         [BZ #14964]
72296         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72297         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72299 2013-01-09  David S. Miller  <davem@davemloft.net>
72301         [BZ #15003]
72302         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72303         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72304         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72305         (TCP_FASTOPEN): Define.
72306         (tcp_repair_opt): New structure.
72307         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72308         enum values.
72309         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72310         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72311         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72312         (tcp_cookie_transactions): New structure.
72314 2013-01-09  Anton Blanchard  <anton@samba.org>
72316         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72317         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72319         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72321 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72323         * include/features.h (__USE_ANSI): Remove.
72325 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72327         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72329         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72331 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72333         * sysdeps/s390/fpu/libm-test-ulps: Update.
72335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72337         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72338         (__acr): Likewise.
72339         (__cpy): Likewise.
72340         (norm): Likewise.
72341         (denorm): Likewise.
72342         (__mp_dbl): Likewise.
72343         (__dbl_mp): Likewise.
72344         (add_magnitudes): Likewise.
72345         (sub_magnitudes): Likewise.
72346         (__add): Likewise.
72347         (__sub): Likewise.
72348         (__mul): Likewise.
72349         (__inv): Likewise.
72350         (__dvd): Likewise.
72351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72352         (__acr): Likewise.
72353         (__cpy): Likewise.
72354         (norm): Likewise.
72355         (denorm): Likewise.
72356         (__mp_dbl): Likewise.
72357         (__dbl_mp): Likewise.
72358         (add_magnitudes): Likewise.
72359         (sub_magnitudes): Likewise.
72360         (__add): Likewise.
72361         (__sub): Likewise.
72362         (__mul): Likewise.
72363         (__inv): Likewise.
72364         (__dvd): Likewise.
72365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72366         (__acr): Likewise.
72367         (__cpy): Likewise.
72368         (norm): Likewise.
72369         (denorm): Likewise.
72370         (__mp_dbl): Likewise.
72371         (__dbl_mp): Likewise.
72372         (add_magnitudes): Likewise.
72373         (sub_magnitudes): Likewise.
72374         (__add): Likewise.
72375         (__sub): Likewise.
72376         (__mul): Likewise.
72377         (__inv): Likewise.
72378         (__dvd): Likewise.
72380 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72382         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72383         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72384         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72385         2 && __USE_EXTERN_INLINES]: Likewise.
72387 2013-01-08  Andreas Jaeger  <aj@suse.de>
72389         [BZ #14985]
72390         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72391         Remove.
72392         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72393         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72395 2013-01-07  Anton Blanchard  <anton@samba.org>
72397         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72398         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72399         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72400         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72401         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72402         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72403         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72404         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72406         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72407         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72408         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72409         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72410         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72411         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72412         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72413         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72414         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72415         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72416         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72417         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72418         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72419         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72420         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72421         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72422         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72423         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72424         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72426         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72427         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72429         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72430         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72431         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72435         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72438         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72439         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72441 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72443         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72444         (__MALLOC_PMT): Likewise.
72445         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72446         [__GNUC__], only on [_LIBC].
72447         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72448         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72449         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72450         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72451         forward declaration.
72452         (realloc_hook_ini): Likewise.
72453         (memalign_hook_ini): Likewise.
72454         (__libc_memalign): Do not use __MALLOC_PMT in variable
72455         declaration.
72456         (__libc_valloc): Likewise.
72457         (__libc_pvalloc): Likewise.
72458         (__libc_calloc): Likewise.
72459         (__posix_memalign): Likewise.
72461         [BZ #14996]
72462         * math/s_casinh.c: Include <float.h>.
72463         (__casinh): Do not do computation with squaring and square root
72464         for large arguments.
72465         * math/s_casinhf.c: Include <float.h>.
72466         (__casinhf): Do not do computation with squaring and square root
72467         for large arguments.
72468         * math/s_casinhl.c: Include <float.h>.
72469         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72470         (__casinhl): Do not do computation with squaring and square root
72471         for large arguments.
72472         * math/libm-test.inc (casin_test): Add more tests.
72473         (casinh_test): Likewise.
72474         * sysdeps/i386/fpu/libm-test-ulps: Update.
72475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72477 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72479         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72480         (__x86_64_raw_data_cache_size): Likewise.
72481         (__x86_64_data_cache_size_half): Likewise.
72482         (__x86_64_raw_data_cache_size_half): Likewise.
72483         (__x86_64_shared_cache_size): Likewise.
72484         (__x86_64_raw_shared_cache_size): Likewise.
72485         (__x86_64_shared_cache_size_half): Likewise.
72486         (__x86_64_raw_shared_cache_size_half): Likewise.
72487         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72488         to ...
72489         (__x86_data_cache_size): This.
72490         (__x86_64_raw_data_cache_size): Renamed to ...
72491         (__x86_raw_data_cache_size): This.
72492         (__x86_64_data_cache_size_half): Renamed to ...
72493         (__x86_data_cache_size_half): This.
72494         (__x86_64_raw_data_cache_size_half): Renamed to ...
72495         (__x86_raw_data_cache_size_half): This.
72496         (__x86_64_shared_cache_size): Renamed to ...
72497         (__x86_shared_cache_size): This.
72498         (__x86_64_raw_shared_cache_size): Renamed to ...
72499         (__x86_raw_shared_cache_size): This.
72500         (__x86_64_shared_cache_size_half): Renamed to ...
72501         (__x86_shared_cache_size_half): This.
72502         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72503         (__x86_raw_shared_cache_size_half): This.
72504         * sysdeps/x86_64/memcpy.S: Updated.
72505         * sysdeps/x86_64/memset.S: Likewise.
72506         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72507         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72510 2013-01-04  David S. Miller  <davem@davemloft.net>
72512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72514 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72516         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72517         1 to avoid redefinition warning.
72518         (__USE_GNU): Don't define.
72519         (init_signaling_nan): Protoize.
72521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72523 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72525         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72527         (__cpymn): Likewise.
72528         (norm): Remove commented code.
72529         (denorm): Likewise.
72530         (__mp_dbl): Likewise.
72531         (__inv): Likewise.
72532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72533         (__cpymn): Likewise.
72534         (norm): Remove commented code.
72535         (denorm): Likewise.
72536         (__mp_dbl): Likewise.
72537         (__inv): Likewise.
72539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72540         mp_no value for 1.0 and 2.0.
72541         (norm): Use RADIXI instead of radixi.d.
72542         (denorm): Likewise.
72543         (__mul): Use 0.0 instead of zero.d.
72544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72545         mp_no value for 1.0 and 2.0.
72546         (norm): Use RADIXI instead of radixi.d.
72547         (denorm): Likewise.
72548         (__mul): Use 0.0 instead of zero.d.
72550 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72552         [BZ #14994]
72553         * math/s_casinh.c (__casinh): Reduce finite argument to first
72554         quadrant then set signs of results at the end.
72555         * math/s_casinhf.c (__casinhf): Likewise.
72556         * math/s_casinhl.c (__casinhl): Likewise.
72557         * math/libm-test.inc (casin_test): Add more tests.
72558         (casinh_test): Likewise.
72559         * sysdeps/i386/fpu/libm-test-ulps: Update.
72560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72562 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72564         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72566         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72568         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72569         declarations.
72570         (denorm): Likewise.
72571         (__mp_dbl): Likewise.
72572         (__inv): Likewise.
72574         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72575         and adjust the header comment.
72577         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72578         variable name from declaration.
72580 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72583         Initialize COMMON_CPUID_INDEX_7 element.
72584         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72585         (CPUID_RTM): Likewise.
72586         (HAS_RTM): Likewise.
72587         (COMMON_CPUID_INDEX_7): New enum.
72589 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72591         [BZ #14981]
72592         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72593         size is zero, record memory as freed.
72595 2013-01-03  Andreas Jaeger  <aj@suse.de>
72597         * po/ia.po: Add new Interlingua translation.
72599 2012-01-03  Allan McRae  <allan@archlinux.org>
72601         * locale/programs/localedef.c: Fix description of '--posix' flag.
72603 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72605         * NEWS: Update dates in second copyright notice.
72606         * README: Update copyright dates in example.
72607         * manual/libc.texinfo: Update copyright dates.
72608         * scripts/test-installation.pl: Update copyright date in --version
72609         output.
72611         * hurd/ctty-input.c: Fix copyright notice formatting.
72612         * hurd/ctty-output.c: Likewise.
72613         * hurd/dtable.c: Likewise.
72614         * hurd/hurd-raise.c: Likewise.
72615         * hurd/hurdprio.c: Likewise.
72616         * hurd/msgportdemux.c: Likewise.
72617         * misc/sys/file.h: Likewise.
72618         * misc/sys/ioctl.h: Likewise.
72619         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72620         * sysdeps/mach/hurd/chdir.c: Likewise.
72621         * sysdeps/mach/hurd/fchdir.c: Likewise.
72622         * sysdeps/mach/hurd/rename.c: Likewise.
72623         * sysdeps/mach/hurd/rmdir.c: Likewise.
72624         * sysdeps/mach/hurd/seekdir.c: Likewise.
72625         * sysdeps/mach/hurd/setsid.c: Likewise.
72626         * sysdeps/posix/wait3.c: Likewise.
72628         * All files with FSF copyright notices: Update copyright dates
72629         using scripts/update-copyrights.
72630         * intl/plural.c: Regenerated.
72631         * locale/programs/charmap-kw.h: Likewise.
72632         * locale/programs/locfile-kw.h: Likewise.
72634 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72636         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72637         four values.
72639         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72640         calculation loop and add branch prediction.
72642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72643         check access beyond bounds of m1np.
72645         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72646         MPTWO.
72647         (__inv): Remove local variable MPTWO to use the global
72648         constant.
72649         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72650         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72651         variable MPTWO.
72652         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72653         MP3HALFS static const.
72655 2013-01-01  David S. Miller  <davem@davemloft.net>
72657         * po/ca.po: Update from translation team.
72659 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72661         * scripts/update-copyrights: New file.
72662         * Makeconfig: Reformat copyright notice.
72663         * ctype/ctype.h: Likewise.
72664         * debug/swprintf_chk.c: Likewise.
72665         * elf/dl-cache.c: Likewise.
72666         * elf/dl-debug.c: Likewise.
72667         * elf/dl-object.c: Likewise.
72668         * grp/initgroups.c: Likewise.
72669         * hurd/Makefile: Likewise.
72670         * hurd/hurd/signal.h: Likewise.
72671         * hurd/hurdfault.c: Likewise.
72672         * hurd/hurdioctl.c: Likewise.
72673         * hurd/hurdlookup.c: Likewise.
72674         * hurd/intr-msg.c: Likewise.
72675         * iconv/gconv_open.c: Likewise.
72676         * libio/swprintf.c: Likewise.
72677         * locale/lc-ctype.c: Likewise.
72678         * locale/nl_langinfo.c: Likewise.
72679         * mach/Machrules: Likewise.
72680         * mach/Makefile: Likewise.
72681         * malloc/obstack.h: Likewise.
72682         * manual/Makefile: Likewise.
72683         * manual/tsort.awk: Likewise.
72684         * misc/bits/stab.def: Likewise.
72685         * nis/nis_print_group_entry.c: Likewise.
72686         * nis/nis_table.c: Likewise.
72687         * nis/nss_compat/compat-pwd.c: Likewise.
72688         * nis/nss_compat/compat-spwd.c: Likewise.
72689         * po/Makefile: Likewise.
72690         * posix/fnmatch.c: Likewise.
72691         * posix/regex.h: Likewise.
72692         * resolv/Makefile: Likewise.
72693         * resolv/nss_dns/dns-network.c: Likewise.
72694         * resolv/res_hconf.c: Likewise.
72695         * scripts/gen-sorted.awk: Likewise.
72696         * soft-fp/soft-fp.h: Likewise.
72697         * stdio-common/printf.h: Likewise.
72698         * stdlib/monetary.h: Likewise.
72699         * stdlib/random.c: Likewise.
72700         * stdlib/random_r.c: Likewise.
72701         * sysdeps/generic/Makefile: Likewise.
72702         * sysdeps/gnu/Makefile: Likewise.
72703         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72704         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72705         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72707         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72708         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72709         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72710         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72711         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72713         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72714         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72715         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72716         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72717         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72718         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72719         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72721         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72723         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72724         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72725         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72726         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72731         * sysdeps/mach/hurd/errnos.awk: Likewise.
72732         * sysdeps/mach/hurd/fork.c: Likewise.
72733         * sysdeps/mach/hurd/getcwd.c: Likewise.
72734         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72735         * sysdeps/mach/hurd/mmap.c: Likewise.
72736         * sysdeps/mach/hurd/utimes.c: Likewise.
72737         * sysdeps/mach/hurd/xmknod.c: Likewise.
72738         * sysdeps/posix/profil.c: Likewise.
72739         * sysdeps/posix/readdir_r.c: Likewise.
72740         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72741         * sysdeps/powerpc/bits/setjmp.h: Likewise.
72742         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72743         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72745         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72746         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72747         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72749         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72750         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72751         * sysdeps/pthread/lio_listio.c: Likewise.
72752         * sysdeps/sparc/dl-procinfo.h: Likewise.
72753         * sysdeps/unix/i386/sysdep.S: Likewise.
72754         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72755         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72756         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72757         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72759         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72760         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72761         * sysdeps/unix/sysv/linux/speed.c: Likewise.
72762         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72763         * sysdeps/wordsize-32/divdi3.c: Likewise.
72764         * time/sys/time.h: Likewise.
72765         * wcsmbs/Makefile: Likewise.
72767 2013-01-01  David S. Miller  <davem@davemloft.net>
72769         * po/fr.po: Update from translation team.
72771         * catgets/gencat.c: Update copyright year.
72772         * csu/version.c: Likewise.
72773         * debug/catchsegv.sh: Likewise.
72774         * debug/pcprofiledump.c: Likewise.
72775         * debug/xtrace.sh: Likewise.
72776         * elf/ldconfig.c: Likewise.
72777         * elf/ldd.bash.in: Likewise.
72778         * elf/pldd.c: Likewise.
72779         * elf/sotruss.ksh: Likewise.
72780         * elf/sprof.c: Likewise.
72781         * iconv/iconv_prog.c: Likewise.
72782         * iconv/iconvconfig.c: Likewise.
72783         * locale/programs/locale.c: Likewise.
72784         * locale/programs/localedef.c: Likewise.
72785         * login/programs/pt_chown.c: Likewise.
72786         * malloc/memusage.sh: Likewise.
72787         * malloc/memusagestat.c: Likewise.
72788         * malloc/mtrace.pl: Likewise.
72789         * nscd/nscd.c: Likewise.
72790         * nss/getent.c: Likewise.
72791         * nss/makedb.c: Likewise.
72792         * posix/getconf.c: Likewise.
72794 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72796         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72797         numbers.
72799 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
72801         * math/bits/mathcalls.h (modf): Use __nonnull.
72803 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72805         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72806         (split): Use macro CN instead of the bare value.
72807         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72808         could be used.
72809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72810         instead of the bare value.
72811         (power1): Likewise.
72813 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72815         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72816         __ATAN_TWOM.
72817         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72819         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72820         their values.
72821         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72822         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72823         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72824         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72826 2012-12-28  Andreas Jaeger  <aj@suse.de>
72828         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
72829         values are from Linux 3.7.
72831         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72832         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
72834 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72836         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72837         TRUE case.
72839         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72840         (norm): Likewise.
72841         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72842         variables with preprocessor constants.
72843         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72844         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72845         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72847 2012-12-27  Bruno Haible  <bruno@clisp.org>
72849         [BZ #14317]
72850         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72851         only if needed.
72853 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72855         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72856         and use variable directly.
72857         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72859         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72860         MPONE.
72861         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72863         variable MPONE.
72864         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72866         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72867         include directive.  Remove local variable MPONE.
72868         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72869         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72870         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72872 2012-12-25  David S. Miller  <davem@davemloft.net>
72874         * version.h (RELEASE): Set to "development".
72875         (VERSION): Set to "2.17.90".
72876         * NEWS: Add 2.18 section.
72878 2012-12-21  David S. Miller  <davem@davemloft.net>
72880         * po/hr.po: Update from translation team.
72882 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72884         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72886 2012-12-19  Steve Ellcey  <sellcey@mips.com>
72888         * NEWS:  Mention new memcpy for MIPS.
72890 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72892         * manual/contrib.texi (Contributors): Spelling correction.
72894 2012-12-15  David S. Miller  <davem@davemloft.net>
72896         * po/ru.po: Update from translation team.
72898 2012-12-13  David S. Miller  <davem@davemloft.net>
72900         * NEWS: Mention IFUNC testsuite enhancements.
72902         * po/pl.po: Update from translation team.
72903         * po/bg.po: Likewise.
72905         * manual/contrib.texi (Contributors): Update entries for Hongjiu
72906         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
72908 2012-12-11  David S. Miller  <davem@davemloft.net>
72910         * po/sv.po: Update from translation team.
72912         * po/vi.po: Update from translation team.
72914         * po/cs.po: Update from translation team.
72916         * po/de.po: Update from translation team.
72917         * po/eo.po: Likewise.
72918         * po/nl.po: Likewise.
72920 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
72922         [BZ #14246]
72923         * manual/argp.texi (Argp Helper Functions): Move node to follow
72924         Argp Parsing State.
72926         [BZ #14872]
72927         * manual/conf.texi (Limits on File System Capacity): Mention if
72928         terminating null is included in the max size.
72930 2012-12-10  Andreas Jaeger  <aj@suse.de>
72932         * po/cs.po: Update from translation team.
72934 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
72936         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72937         void pointer and cast to uintptr_t.
72938         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72939         path.
72940         * sysdeps/s390/s390-64/memcpy.S: Likewise.
72941         * sysdeps/s390/s390-64/memset.S: Likewise.
72943 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
72945         [BZ #14833]
72946         * menual/message.texi (Message Translation): Fix typos.
72947         (Helper programs for gettext): Likewise.
72949 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
72951         [BZ #14898]
72952         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72953         Change to -1.
72955 2012-12-07  David S. Miller  <davem@davemloft.net>
72957         * po/libc.pot: Update.
72959 2012-12-07  Richard Henderson  <rth@redhat.com>
72961         [BZ #10114]
72962         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72963         normal/normal case to before the switch.
72964         (_FP_DIV): Likewise.
72966 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
72967             Mike Frysinger  <vapier@gentoo.org>
72969         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72970         check for __NR_fadvise64_64.
72972 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
72974         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72975         0, not just to plain "0" as a statement.
72976         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72977         with cw.
72979 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
72981         * NEWS: Use sourceware.org in Bugzilla URL.
72983 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72986         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72988         * stdio-common/tst-put-error.c (do_test): Add newline to the
72989         padded test to ensure flush.
72991 2012-12-05  Jeff Law  <law@redhat.com>
72993         * sunrpc/etc.rpc (fedfs_admin): Add entry.
72995 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
72997         * README: Don't refer to ports add-on as distributed separately.
72998         Mention AArch64 in list of systems supported in the ports add-on.
73000         * LICENSES: Add more non-FSF copyright and license notices.
73002         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73003         ((unused)).
73005         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73007         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73008         10000 as width of padded output.
73010 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73012         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73014         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73015         variable LX with __attribute__ ((unused)).
73016         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73017         Likewise.
73018         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73019         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73020         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73021         with __attribute__ ((unused)).
73023 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73025         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73027 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73029         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73030         (CFLAGS-nldbl-acos.c): New variable.
73031         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73032         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73033         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73034         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73035         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73036         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73037         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73038         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73039         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73040         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73041         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73042         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73043         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73044         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73045         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73046         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73047         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73048         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73049         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73050         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73051         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73052         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73053         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73054         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73055         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73056         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73057         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73058         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73059         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73060         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73061         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73062         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73063         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73064         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73065         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73066         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73067         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73068         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73069         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73070         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73071         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73072         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73073         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73074         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73075         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73076         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73077         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73078         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73079         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73080         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73081         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73082         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73083         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73084         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73085         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73086         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73087         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73088         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73089         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73090         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73091         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73092         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73093         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73094         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73095         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73096         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73097         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73098         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73099         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73100         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73101         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73102         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73103         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73104         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73105         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73106         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73107         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73108         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73109         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73110         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73111         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73112         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73113         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73114         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73115         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73116         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73117         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73118         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73119         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73120         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73121         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73122         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73123         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73124         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73125         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73126         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73127         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73130         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73132         [BZ #14914]
73133         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73134         whole low double instead of just low 47 bits when splitting values
73135         into two parts.
73137 2012-12-03  Allan McRae  <allan@archlinux.org>
73139         * manual/stdio.texi (Predefined Printf Handlers): Remove
73140         @hsep and @vsep usage.
73142 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73144         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73145         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73147 2012-12-03  Jeff Law  <law@redhat.com>
73149         * time/sys/time.h (settimeofday): Do not mark TV argument
73150         as __nonnull.
73152 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73154         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73155         when currently writing and seek to current position when not.
73156         * libio/Makefile (tests): Remove bug-fclose1.
73157         * libio/bug-fclose1.c: Delete.
73159 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73161         * manual/arith.texi (feenableexcept): Fix typo.
73162         (fedisableexcept): Likewise.
73164 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73166         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73167         second, differently-typed declaration, rather than a cast.
73169 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73171         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73172         * include/rpc/svc.h: ... here.
73174 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73176         [BZ #13013]
73177         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73178         depending n and resplen2 to catch cases where answer
73179         equals answerp2.
73181 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73183         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73184         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73186 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73190 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73192         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73194 2012-11-28  Jeff Law  <law@redhat.com>
73196         [BZ #13761]
73197         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73198         dataset_temporary.  Track alloca usage into alloca_used.
73199         If dataset is large allocate and release it via malloc/free.
73201 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73203         [BZ #14197]
73204         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73206 2012-11-28  David S. Miller  <davem@davemloft.net>
73208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73210 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73212         [BZ #14803]
73213         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73214         of pi/2 rounded to nearest to 64 bits.
73215         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73216         nearest to 64 bits.
73217         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73218         bits.
73220 2012-11-28  Jeff Law <law@redhat.com>
73221             Martin Osvald <mosvald@redhat.com>
73223         [BZ #14889]
73224         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73225         * sunrpc/svc.c: Include time.h.
73226         (__svc_accept_failed): New function.
73227         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73228         any reason other than EINTR, call __svc_accept_failed.
73229         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73230         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73232 2012-11-28  Andreas Schwab  <schwab@suse.de>
73234         * scripts/abilist.awk: Also handle indirect functions in .opd
73235         section.
73237 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73239         [BZ #13881]
73240         * sysdeps/x86/fpu/powl_helper.c: New file.
73241         * sysdeps/x86/fpu/Makefile: Likewise.
73242         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73243         (p3): New object.
73244         (__ieee754_powl): Use __powl_helper for finite arguments except
73245         integer exponents below 8.
73246         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73247         (p3): New object.
73248         (__ieee754_powl): Use __powl_helper for finite arguments except
73249         integer exponents below 8.
73250         * math/libm-test.inc (pow_test): Add more tests and enable some
73251         previously disabled tests.
73252         * sysdeps/i386/fpu/libm-test-ulps: Update.
73253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73255 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73256             Carlos O'Donell  <carlos_odonell@mentor.com>
73258         * nss/makedb.c (is_prime): Assert that input is odd and greater
73259         than 4.  Note that fact in a comment too.
73260         (next_prime): Add 4 to input.
73262 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73264         [BZ #11741]
73265         * libio/Makefile (tests): Add test case tst-fwrite-error.
73266         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73267         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73268         * libio/tst-fwrite-error.c: New test case.
73270 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73272         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73273         before casting to void *.
73274         * include/libc-internal.h (__pointer_type): New macro.
73275         (__integer_if_pointer_type_sub): Likewise.
73276         (__integer_if_pointer_type): Likewise.
73277         (cast_to_integer): Likewise.
73278         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73279         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73280         before casting to atomic64_t.
73281         (atomic_exchange_acq): Likewise.
73282         (__arch_exchange_and_add_body): Likewise.
73283         (__arch_add_body): Likewise.
73284         (atomic_add_negative): Likewise.
73285         (atomic_add_zero): Likewise.
73287 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73289         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73290         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73291         (add_fdes): Likewise.
73292         (linear_search_fdes): Likewise.
73293         (binary_search_unencoded_fdes): Likewise.
73295 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73297         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73299 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73301         * configure.in: Autodetect C++ header directories.
73302         * configure: Regenerated.
73304 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73306         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73308 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73312 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73314         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73315         LDBL_MANT_DIG == 106]: Disable some tests.
73316         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73317         Likewise.
73318         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73319         Likewise.
73321         [BZ #14871]
73322         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73323         input for small inputs.  Return +/- pi/2 for large inputs.
73324         * math/libm-test.inc (atan_test): Add more tests.
73326         * sysdeps/generic/unwind-dw2-fde-glibc.c
73327         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73328         __attribute__ ((unused)).
73330         [BZ #14645]
73331         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73332         x * y if x and y are nonzero and z is zero.
73334         [BZ #14811]
73335         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73336         nonzero exponents with absolute value below 0x1p-117 to +/-
73337         0x1p-117.
73339         [BZ #14869]
73340         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73341         up arguments below 2**-450, not just those below 2**-500.
73342         * math/libm-test.inc (hypot_test): Add another test.
73344         [BZ #14868]
73345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73346         Return a+b for ratio over 2**120, not 2**60.
73347         * math/libm-test.inc (hypot_test): Add another test.
73349         * math/libm-test.inc (clog_test): Use
73350         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73351         (clog10_test): Likewise.
73353         [BZ #6778]
73354         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73356 2012-11-22  Andreas Schwab  <schwab@suse.de>
73358         * sysdeps/i386/fpu/libm-test-ulps: Update.
73360 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73362         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73363         printf output with newline.
73365 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73367         [BZ #14865]
73368         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73369         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73370         -z nodlopen, -z initfirst and -z execstack support.
73371         * configure: Regenerated.
73373         * elf/elf.h (DF_1_NODIRECT): New macro.
73374         (DF_1_IGNMULDEF): Likewise.
73375         (DF_1_NOKSYMS): Likewise.
73376         (DF_1_NOHDR): Likewise.
73377         (DF_1_EDITED): Likewise.
73378         (DF_1_NORELOC): Likewise.
73379         (DF_1_SYMINTPOSE): Likewise.
73380         (DF_1_GLOBAUDIT): Likewise.
73381         (DF_1_SINGLETON): Likewise.
73382         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73383         DT_1_SUPPORTED_MASK bits.
73384         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73386 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73388         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73390 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73392         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73393         macro.
73395         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73396         (sendmmsg): Move declarations...
73397         * socket/sys/socket.h: ... here.
73398         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73399         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73400         include it from...
73401         * socket/recvmmsg.c: ... this new file.
73402         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73403         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73404         definition of __sendmmsg hidden.
73405         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73406         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73407         Move ENOSYS stub into and include it from...
73408         * socket/sendmmsg.c: ... this new file.
73409         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73410         (sysdep_routines): Move recvmmsg and sendmmsg...
73411         * socket/Makefile (routines): ... here.
73412         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73413         (GLIBC_PRIVATE): Add __sendmmsg.
73414         * include/sys/socket.h (__sendmmsg): Add declarations.
73415         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73416         sendmmsg.
73418 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73420         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73421         variable I1 with __attribute__ ((unused)).
73422         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73424 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73426         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73427         DUMMY variables with __attribute__ ((unused)).
73429         * bits/byteswap.h: Include <bits/types.h>.
73430         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73432 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73434         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73435         string_t.  Do not manually set errno.
73436         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73437         length with __strnlen.  Make sure to both set errno and return it on
73438         failure.
73440 2012-11-19  David S. Miller  <davem@davemloft.net>
73442         With help from Joseph Myers.
73443         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73444         very large arguments properly.
73445         * math/libm-test.inc (atan_test): New tests.
73446         (atan2_test): New tests.
73447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73450 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73452         [BZ #14856]
73453         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73454         Define to 3.
73456         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73457         [POSIX] (EADDRNOTAVAIL): Likewise.
73458         [POSIX] (EAFNOSUPPORT): Likewise.
73459         [POSIX] (EALREADY): Likewise.
73460         [POSIX] (ECONNABORTED): Likewise.
73461         [POSIX] (ECONNREFUSED): Likewise.
73462         [POSIX] (ECONNRESET): Likewise.
73463         [POSIX] (EDESTADDRREQ): Likewise.
73464         [POSIX] (EDQUOT): Likewise.
73465         [POSIX] (EHOSTUNREACH): Likewise.
73466         [POSIX] (EIDRM): Likewise.
73467         [POSIX] (EISCONN): Likewise.
73468         [POSIX] (ELOOP): Likewise.
73469         [POSIX] (EMULTIHOP): Likewise.
73470         [POSIX] (ENETDOWN): Likewise.
73471         [POSIX] (ENETUNREACH): Likewise.
73472         [POSIX] (ENOBUFS): Likewise.
73473         [POSIX] (ENODATA): Likewise.
73474         [POSIX] (ENOLINK): Likewise.
73475         [POSIX] (ENOMSG): Likewise.
73476         [POSIX] (ENOPROTOOPT): Likewise.
73477         [POSIX] (ENOSR): Likewise.
73478         [POSIX] (ENOSTR): Likewise.
73479         [POSIX] (ENOTCONN): Likewise.
73480         [POSIX] (ENOTSOCK): Likewise.
73481         [POSIX] (EOPNOTSUPP): Likewise.
73482         [POSIX] (EOVERFLOW): Likewise.
73483         [POSIX] (EPROTO): Likewise.
73484         [POSIX] (EPROTONOSUPPORT): Likewise.
73485         [POSIX] (EPROTOTYPE): Likewise.
73486         [POSIX] (ESTALE): Likewise.
73487         [POSIX] (ETIME): Likewise.
73488         [POSIX] (ETXTBSY): Likewise.
73489         [POSIX] (EWOULDBLOCK): Likewise.
73490         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73491         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73492         [POSIX] (SEEK_CUR): Likewise.
73493         [POSIX] (SEEK_END): Likewise.
73494         [POSIX || UNIX98] (mode_t): Do not require.
73495         [POSIX] (off_t): Likewise.
73496         [POSIX] (pid_t): Likewise.
73497         [POSIX] (sys/stat.h): Do not allow header.
73498         [POSIX] (unistd.h): Likewise.
73499         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73500         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73501         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73502         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73503         require.
73504         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73505         sigevent): Specify elements.
73506         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73507         entry.
73508         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73509         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73511         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73512         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73513         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73514         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73515         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73516         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73517         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73518         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73519         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73520         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73521         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73522         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73523         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73524         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73525         Likewise.
73526         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73527         Likewise.
73528         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73529         Likewise.
73530         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73531         Likewise.
73532         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73533         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73534         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73535         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73536         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73537         Specify lower bound on value.
73538         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73539         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73540         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73541         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73542         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73543         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73544         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73545         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73546         value.
73547         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73548         as optional.
73549         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73550         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73551         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73552         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73553         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73554         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73555         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73556         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73557         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73558         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73559         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73560         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73561         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73562         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73563         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73564         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73565         entry.
73566         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73567         optional.
73568         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73569         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73570         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73571         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73572         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73573         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73574         Likewise.
73575         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73576         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73577         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73578         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73579         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73580         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73581         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73582         as optional.
73583         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73584         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73585         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73586         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73587         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73588         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73589         specify as optional.
73590         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73591         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73592         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73593         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73594         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73595         [XPG3] (NL_LANGMAX): Likewise.
73596         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73597         [POSIX || XPG3] (NL_NMAX): Likewise.
73598         [POSIX || XPG3] (NL_SETMAX): Likewise.
73599         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73600         [XPG3] (NZERO): Likewise.
73601         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73602         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73603         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73604         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73605         (REG_ERANGE): Expect.
73606         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73607         optional-constant.
73608         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73609         Use (void) in prototype.
73610         [POSIX] (*_t): Allow.
73611         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73612         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73613         (WRDE_BADVAL): Expect.
73615         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73616         expect.
73617         [XPG3 || XPG4] (O_RSYNC): Likewise.
73618         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73619         Likewise.
73620         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73621         [XPG3 || XPG4] (sigqueue): Likewise.
73622         [XPG3 || XPG4] (sigtimedwait): Likewise.
73623         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73624         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73625         [XPG3 || XPG4] (vsnprintf): Likewise.
73626         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73627         Likewise.
73628         [XPG3 || XPG4] (blksize_t): Likewise.
73629         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73630         Likewise.
73631         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73632         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73633         [XPG3 || XPG4] (struct itimerspec): Likewise.
73634         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73635         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73636         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73637         [XPG3 || XPG4] (clockid_t): Likewise.
73638         [XPG3 || XPG4] (timer_t): Likewise.
73639         [XPG3 || XPG4] (clock_getres): Likewise.
73640         [XPG3 || XPG4] (clock_gettime): Likewise.
73641         [XPG3 || XPG4] (clock_settime): Likewise.
73642         [XPG3 || XPG4] (nanosleep): Likewise.
73643         [XPG3 || XPG4] (timer_create): Likewise.
73644         [XPG3 || XPG4] (timer_delete): Likewise.
73645         [XPG3 || XPG4] (timer_gettime): Likewise.
73646         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73647         [XPG3 || XPG4] (timer_settime): Likewise.
73648         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73649         [XPG3 || XPG4] (getlogin_r): Likewise.
73650         [XPG3 || XPG4] (pread): Likewise.
73651         [XPG3 || XPG4] (pthread_atfork): Likewise.
73652         [XPG3 || XPG4] (pwrite): Likewise.
73654         [BZ #14835]
73655         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73656         <bits/siginfo.h>.
73658 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73660         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73661         finalizing MALLSTREAM.
73663         * sysdeps/mach/hurd/syncfs.c: New file.
73665 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73667         [BZ #14719]
73668         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73669         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73670         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73671         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73672         (_nss_dns_gethostbyname4_r): Likewise.
73673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73674         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73676 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73678         [BZ #13763]
73679         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73681 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73683         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73684         * elf/cache.c (print_entry): Print ",AArch64" for
73685         FLAG_AARCH64_LIB64
73687         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73688         * elf/cache.c (print_entry): Print ",hard-float" for
73689         FLAG_ARM_LIBHF.
73691 2012-11-18  David S. Miller  <davem@davemloft.net>
73693         With help from Joseph Myers.
73694         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73695         cutoff to 2**-13.
73696         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73697         cutoff to 2**-25.
73698         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73699         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73700         small.
73701         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73702         * math/libm-test.inc (y0_test): New tests.
73703         (y1_test): New tests.
73704         * sysdeps/i386/fpu/libm-test-ulps: Update.
73705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73708 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73710         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73711         64-bit targets.
73712         * configure: Regenerated.
73714 2012-11-17  David S. Miller  <davem@davemloft.net>
73716         [BZ #14811]
73717         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73718         nonzero exponents with absolute value below 0x1p-128 to +/-
73719         0x1p-128.
73721 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
73723         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73725         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73727         * posix/getconf-speclist.c: New file.
73728         * posix/posix-envs.def: Likewise.
73729         * posix/confstr.c (START_ENV_GROUP): New macro.
73730         (END_ENV_GROUP): Likewise.
73731         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73732         (KNOWN_PRESENT_ENV_STRING): Likewise.
73733         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73734         (UNKNOWN_ENVIRONMENT): Likewise.
73735         (confstr): Include posix-envs.def instead of handling
73736         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73737         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73738         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73739         (END_ENV_GROUP): Likewise.
73740         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73741         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73742         (UNKNOWN_ENVIRONMENT): Likewise.
73743         (__sysconf): Include posix-envs.def instead of handling associated
73744         cases directly here.
73745         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73746         preprocessing getconf-speclist.c rather than running getconf or
73747         generating empty file.
73749 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
73751         * scripts/check-local-headers.sh: Ignore 'mach' headers.
73753 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
73755         [BZ #14672]
73756         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73758 2012-11-16  David S. Miller  <davem@davemloft.net>
73760         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73761         smaller than LDBL_EPSILON/2.0L, just return xm1.
73763 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
73765         * elf/tst-array1.c (init): Set constructor priority to 1000.
73766         (fini): Set destructor priority to 1000.
73767         * elf/tst-array2dep.c: Likewise.
73769 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73771         [BZ #11741]
73772         * libio/fileops.c (_IO_new_file_write): Correctly return error.
73773         (_IO_new_file_xsputn): Also return EOF if none of the input
73774         data was written when overflow failed.
73775         * libio/iopadn.c (_IO_padn): Likewise.
73776         * libio/iowpadn.c (_IO_wpadn): Likewise.
73777         * stdio-common/tst-put-error.c: Add copyright notice.
73778         (do_test): Add case for printing padded string.
73779         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73780         _IO_padn returned error.
73781         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73782         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73783         return EOF.
73785 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73787         * libio/libioP.h: Add comment note that the references to C++
73788         bits are now obsolete.
73790 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73792         * math/libm-test.inc (check_complex): Use asprintf.
73794 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
73796         * debug/pcprofiledump.c (print_version): Update copyright year.
73797         * malloc/memusagestat.c (print_version): Likewise.
73799 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73801         [BZ #14831]
73802         * elf/Makefile (tests): Add tst-audit8.
73803         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73804         ($(objpfx)tst-audit8.out): New target.
73805         (tst-audit8-ENV): New variable.
73806         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73807         audit if l_reloc_result is NULL.
73808         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73809         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73810         * elf/tst-audit8.c: New file.
73812 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73814         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73815         * misc/Makefile (CFLAGS-select.c): Define.
73816         * posix/Makefile (CFLAGS-pause.c): Define.
73818 2012-11-13  David S. Miller  <davem@davemloft.net>
73820         * crypt/Makefile: Move test targets after toplevel Rules
73821         inclusion.  Grab any necessary sysdep routines when linking.
73822         * crypt/md5.c (md5_process_block): Remove define, we will always
73823         name it __md5_process_block.
73824         (md5_finish_ctx): Update md5_process_block call.
73825         (md5_stream): Likewise.
73826         (md5_process_bytes): Likewise.
73827         (md5_process_block): Rename to __md5_process_block and move to ...
73828         * crypt/md5-block.c: ... here.
73829         * crypt/sha256.c (sha256_process_block): Move to ...
73830         * crypt/sha256-block.c: ... here.
73831         * crypt/sha512.c (sha512_process_block): Move to ...
73832         * crypt/sha512-block.c: ... here.
73833         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73834         path.
73835         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73836         * sysdeps/sparc/sparc64/multiarch/Makefile
73837         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73838         crypt subdir.
73839         (localedef-aux): Add md5 crypto assembler when in locale subdir.
73840         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73841         multiarch changes.
73842         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73843         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73844         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73845         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73846         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73847         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73848         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73849         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73850         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73851         file.
73852         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73853         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73854         file.
73855         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73857 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
73859         * timezone/tzselect.ksh: Update from tzcode git revision
73860         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73861         * timezone/zdump.c: Likewise.
73862         * timezone/zic.c: Likewise.
73863         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73864         in TZVERSION setting, not $(PKGVERSION).
73865         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
73866         REPORT_BUGS_TO settings.
73868         [BZ #14838]
73869         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73870         macro.
73872 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73874         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73875         detection to immediately after _FP_ROUND().
73876         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73877         bits are 0.
73879 2012-11-11  David S. Miller  <davem@davemloft.net>
73881         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73882         inttypes.h
73883         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73884         __close rather than their public counterparts.
73886 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
73888         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73889         file.
73890         [UNIX98] (sem_timedwait): Do not expect.
73891         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73892         [XPG4 || UNIX98] (sockatmark): Do not expect.
73893         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73894         (clock_getcpuclockid): Do not expect.
73895         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73896         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73897         Do not expect.
73898         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73899         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73900         [UNIX98] (vwscanf): Likewise.
73901         [UNIX98] (vswscanf): Likewise.
73903 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
73905         * timezone/version.h: Remove file.
73906         * timezone/README: Do not refer to version.h.
73907         * timezone/Makefile ($(objpfx)zic.o): New dependency on
73908         $(objpfx)version.h.
73909         ($(objpfx)zdump.o): Likewise.
73910         ($(objpfx)version.h): New target.
73912         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73913         2012i.
73914         * timezone/README: Don't mention modification to tzselect.ksh.
73915         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73916         work on unmodified tzselect.ksh.  Substitute version numbers in
73917         tzselect.ksh.
73919         * Makefile (format-me): Remove.
73920         (INSTALL): Adjust indentation.  Use commands directly instead of
73921         using $(format-me).
73923         * aclocal.m4 (ACX_PKGVERSION): New macro.
73924         (ACX_BUGURL): Likewise.
73925         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73926         (PKGVERSION): New AC_DEFINE_UNQUOTED.
73927         (REPORT_BUGS_TO): Likewise.
73928         * configure: Regenerated.
73929         * config.h.in (PKGVERSION): New macro.
73930         (REPORT_BUGS_TO): Likewise.
73931         * config.make.in (PKGVERSION): New variable.
73932         (PKGVERSION_TEXI): Likewise.
73933         (REPORT_BUGS_TO): Likewise.
73934         (REPORT_BUGS_TEXI): Likewise.
73935         * Makefile (format-me): Use -I$(common-objpfx)manual.
73936         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73937         ($(common-objpfx)manual/%): New target.
73938         (manual/%): Remove target.
73939         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73940         (print_version): Use PKGVERSION.
73941         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73942         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73943         and REPORT_BUGS_TO.
73944         ($(objpfx)xtrace): Likewise.
73945         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73946         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73947         (print_version): Use PKGVERSION.
73948         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73949         (do_version): Use PKGVERSION.
73950         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73951         REPORT_BUGS_TO.
73952         (common-ldd-rewrite): Likewise.
73953         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73954         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73955         (print_version): Use PKGVERSION.
73956         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73957         * elf/pldd.c (argp_program_bug_address): Remove variable.
73958         (more_help): New function.
73959         (argp): Use more_help.
73960         (print_version): Use PKGVERSION.
73961         * elf/sln.c (main): Use PKGVERSION.
73962         (usage): Use REPORT_BUGS_TO.
73963         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73964         (top level): Use PKGVERSION.
73965         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73966         (print_version): Use PKGVERSION.
73967         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73968         (print_version): Use PKGVERSION.
73969         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73970         (print_version): Use PKGVERSION.
73971         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73972         (print_version): Use PKGVERSION.
73973         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73974         (print_version): Use PKGVERSION.
73975         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73976         (print_version): Use PKGVERSION.
73977         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73978         and BUGURL.
73979         ($(objpfx)memusage): Likewise.
73980         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73981         (do_version): Use PKGVERSION.
73982         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73983         (print_version): Use PKGVERSION.
73984         * malloc/mtrace.pl ($PACKAGE): Remove variable.
73985         ($PKGVERSION): New variable.
73986         ($REPORT_BUGS_TO): Likewise.
73987         (usage): Use $REPORT_BUGS_TO.
73988         (top level): Use $PKGVERSION.
73989         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73990         ($(objpfx)pkgvers.texi): New rule.
73991         ($(objpfx)stamp-pkgvers): Likewise.
73992         * manual/install.texi: Include pkgvers.texi.
73993         (--with-pkgversion): Document new configure option.
73994         (--with-bugurl): Likewise.
73995         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73996         than necessarily for this particular distribution.  Use
73997         REPORT_BUGS_TO for where to report bugs.
73998         * INSTALL: Regenerated.
73999         * manual/libc.texinfo: Include pkgvers.texi.
74000         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74001         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74002         (print_version): Use PKGVERSION.
74003         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74004         (print_version): Use PKGVERSION.
74005         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74006         (print_version): Use PKGVERSION.
74007         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74008         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74009         macro.
74010         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74011         (print_version): Use PKGVERSION.
74012         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74013         (print_version): Use PKGVERSION.
74014         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74015         and PKGVERSION.
74017         * timezone/checktab.awk: Update from tzcode 2012i.
74018         * timezone/ialloc.c: Likewise.
74019         * timezone/private.h: Likewise.
74020         * timezone/scheck.c: Likewise.
74021         * timezone/tzfile.h: Likewise.
74022         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74023         (TZVERSION): Hardcode tzcode version number.
74024         * timezone/zdump.c: Update from tzcode 2012i.
74025         * timezone/zic.c: Likewise.
74026         * timezone/version.h: New file.
74027         * timezone/README: Describe version.h.  Update upstream location.
74029         [BZ #14824]
74030         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74031         (mktemp): Enable declaration.
74032         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74033         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74034         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74036         Likewise.
74037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74038         Likewise.
74039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74040         Likewise.
74041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74042         Likewise.
74043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74044         Likewise.
74045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74046         Likewise.
74048         [BZ #14821]
74049         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74050         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74051         for copies of such integer values.
74052         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74053         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74055 2012-11-09  Andreas Jaeger  <aj@suse.de>
74057         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74058         definitions and declarations that are provided by
74059         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74061 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74063         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74064         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74065         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74066         definition.
74068 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74070         * elf/elf.h: Update comment before AArch64 relocations.
74072 2012-11-07  David S. Miller  <davem@davemloft.net>
74074         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74075         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74076         (__start_context): Declare.
74077         (__makecontext_ret): Delete.
74078         (__makecontext): Hook up __start_context instead of
74079         __makecontext_ret.
74080         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74081         (sysdep_routines): Add __start_context when in stdlib.
74083 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74085         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74086         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74087         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74088         hardcoded "nm".
74089         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74090         (READELF): New variable.  Use it instead of hardcoded "readelf".
74092 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74094         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74095         * sysdeps/x86/Makefile: Here.
74096         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74097         * sysdeps/x86/tst-xmmymm.sh: This.
74099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74101         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74102         expectations.
74103         [UNIX98] (pthread_barrier_t): Do not expect.
74104         [UNIX98] (pthread_barrierattr_t): Likewise.
74105         [UNIX98] (pthread_spinlock_t): Likewise.
74106         [UNIX98] (pthread_barrier_destroy): Likewise.
74107         [UNIX98] (pthread_barrier_init): Likewise.
74108         [UNIX98] (pthread_barrier_wait): Likewise.
74109         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74110         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74111         [UNIX98] (pthread_barrierattr_init): Likewise.
74112         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74113         [UNIX98] (pthread_getcpuclockid): Likewise.
74114         [UNIX98] (pthread_mutex_timedlock): Likewise.
74115         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74116         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74117         [UNIX98] (pthread_sigmask): Likewise.
74118         [UNIX98] (pthread_spin_destroy): Likewise.
74119         [UNIX98] (pthread_spin_init): Likewise.
74120         [UNIX98] (pthread_spin_lock): Likewise.
74121         [UNIX98] (pthread_spin_trylock): Likewise.
74122         [UNIX98] (pthread_spin_unlock): Likewise.
74123         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74124         Do not expect.
74125         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74126         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74127         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74128         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74129         [XPG3 || XPG4] (pthread_key_t): Likewise.
74130         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74131         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74132         [XPG3 || XPG4] (pthread_once_t): Likewise.
74133         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74134         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74135         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74136         [XPG3 || XPG4] (pthread_t): Likewise.
74138         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74139         not expect.
74140         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74142         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74143         Change function return type to int.
74145         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74146         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74147         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74148         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74149         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74150         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74151         [!POSIX] (posix_madvise): Likewise.
74152         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74153         && !UNIX98].
74154         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74155         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74156         (mode_t): Likewise.
74157         (posix_mem_offset): Likewise.
74158         (posix_typed_mem_get_info): Likewise.
74159         (posix_typed_mem_open): Likewise.
74161         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74162         Change condition to [XOPEN2K8].
74164         * conform/conformtest.pl: Preprocess allow-header data with -x c
74165         instead of from stdin.
74166         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74167         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74168         [C99-based standards] (cerfc): Likewise.
74169         [C99-based standards] (cexp2): Likewise.
74170         [C99-based standards] (cexpm1): Likewise.
74171         [C99-based standards] (clog10): Likewise.
74172         [C99-based standards] (clog1p): Likewise.
74173         [C99-based standards] (clog2): Likewise.
74174         [C99-based standards] (clgamma): Likewise.
74175         [C99-based standards] (ctgamma): Likewise.
74176         [C99-based standards] (cerff): Likewise.
74177         [C99-based standards] (cerfcf): Likewise.
74178         [C99-based standards] (cexp2f): Likewise.
74179         [C99-based standards] (cexpm1f): Likewise.
74180         [C99-based standards] (clog10f): Likewise.
74181         [C99-based standards] (clog1pf): Likewise.
74182         [C99-based standards] (clog2f): Likewise.
74183         [C99-based standards] (clgammaf): Likewise.
74184         [C99-based standards] (ctgammaf): Likewise.
74185         [C99-based standards] (cerfl): Likewise.
74186         [C99-based standards] (cerfcl): Likewise.
74187         [C99-based standards] (cexp2l): Likewise.
74188         [C99-based standards] (cexpm1l): Likewise.
74189         [C99-based standards] (clog10l): Likewise.
74190         [C99-based standards] (clog1pl): Likewise.
74191         [C99-based standards] (clog2l): Likewise.
74192         [C99-based standards] (clgammal): Likewise.
74193         [C99-based standards] (ctgammal): Likewise.
74194         * conform/data/inttypes.h-data [C99-based standards]: Include
74195         stdint.h-data.  Remove all expectations for stdint.h contents.
74196         [C99-based standards] (PRI*): Do not allow.
74197         [C99-based standards] (SCN*): Likewise.
74198         [C99-based standards] (*_t): Likewise.
74199         [C99-based-standards] (PRId8): Expect macro.
74200         [C99-based-standards] (PRIi8): Likewise.
74201         [C99-based-standards] (PRIo8): Likewise.
74202         [C99-based-standards] (PRIu8): Likewise.
74203         [C99-based-standards] (PRIx8): Likewise.
74204         [C99-based-standards] (PRIX8): Likewise.
74205         [C99-based-standards] (SCNd8): Likewise.
74206         [C99-based-standards] (SCNi8): Likewise.
74207         [C99-based-standards] (SCNo8): Likewise.
74208         [C99-based-standards] (SCNu8): Likewise.
74209         [C99-based-standards] (SCNx8): Likewise.
74210         [C99-based-standards] (PRIdLEAST8): Likewise.
74211         [C99-based-standards] (PRIiLEAST8): Likewise.
74212         [C99-based-standards] (PRIoLEAST8): Likewise.
74213         [C99-based-standards] (PRIuLEAST8): Likewise.
74214         [C99-based-standards] (PRIxLEAST8): Likewise.
74215         [C99-based-standards] (PRIXLEAST8): Likewise.
74216         [C99-based-standards] (SCNdLEAST8): Likewise.
74217         [C99-based-standards] (SCNiLEAST8): Likewise.
74218         [C99-based-standards] (SCNoLEAST8): Likewise.
74219         [C99-based-standards] (SCNuLEAST8): Likewise.
74220         [C99-based-standards] (SCNxLEAST8): Likewise.
74221         [C99-based-standards] (PRIdFAST8): Likewise.
74222         [C99-based-standards] (PRIiFAST8): Likewise.
74223         [C99-based-standards] (PRIoFAST8): Likewise.
74224         [C99-based-standards] (PRIuFAST8): Likewise.
74225         [C99-based-standards] (PRIxFAST8): Likewise.
74226         [C99-based-standards] (PRIXFAST8): Likewise.
74227         [C99-based-standards] (SCNdFAST8): Likewise.
74228         [C99-based-standards] (SCNiFAST8): Likewise.
74229         [C99-based-standards] (SCNoFAST8): Likewise.
74230         [C99-based-standards] (SCNuFAST8): Likewise.
74231         [C99-based-standards] (SCNxFAST8): Likewise.
74232         [C99-based-standards] (PRId16): Likewise.
74233         [C99-based-standards] (PRIi16): Likewise.
74234         [C99-based-standards] (PRIo16): Likewise.
74235         [C99-based-standards] (PRIu16): Likewise.
74236         [C99-based-standards] (PRIx16): Likewise.
74237         [C99-based-standards] (PRIX16): Likewise.
74238         [C99-based-standards] (SCNd16): Likewise.
74239         [C99-based-standards] (SCNi16): Likewise.
74240         [C99-based-standards] (SCNo16): Likewise.
74241         [C99-based-standards] (SCNu16): Likewise.
74242         [C99-based-standards] (SCNx16): Likewise.
74243         [C99-based-standards] (PRIdLEAST16): Likewise.
74244         [C99-based-standards] (PRIiLEAST16): Likewise.
74245         [C99-based-standards] (PRIoLEAST16): Likewise.
74246         [C99-based-standards] (PRIuLEAST16): Likewise.
74247         [C99-based-standards] (PRIxLEAST16): Likewise.
74248         [C99-based-standards] (PRIXLEAST16): Likewise.
74249         [C99-based-standards] (SCNdLEAST16): Likewise.
74250         [C99-based-standards] (SCNiLEAST16): Likewise.
74251         [C99-based-standards] (SCNoLEAST16): Likewise.
74252         [C99-based-standards] (SCNuLEAST16): Likewise.
74253         [C99-based-standards] (SCNxLEAST16): Likewise.
74254         [C99-based-standards] (PRIdFAST16): Likewise.
74255         [C99-based-standards] (PRIiFAST16): Likewise.
74256         [C99-based-standards] (PRIoFAST16): Likewise.
74257         [C99-based-standards] (PRIuFAST16): Likewise.
74258         [C99-based-standards] (PRIxFAST16): Likewise.
74259         [C99-based-standards] (PRIXFAST16): Likewise.
74260         [C99-based-standards] (SCNdFAST16): Likewise.
74261         [C99-based-standards] (SCNiFAST16): Likewise.
74262         [C99-based-standards] (SCNoFAST16): Likewise.
74263         [C99-based-standards] (SCNuFAST16): Likewise.
74264         [C99-based-standards] (SCNxFAST16): Likewise.
74265         [C99-based-standards] (PRId32): Likewise.
74266         [C99-based-standards] (PRIi32): Likewise.
74267         [C99-based-standards] (PRIo32): Likewise.
74268         [C99-based-standards] (PRIu32): Likewise.
74269         [C99-based-standards] (PRIx32): Likewise.
74270         [C99-based-standards] (PRIX32): Likewise.
74271         [C99-based-standards] (SCNd32): Likewise.
74272         [C99-based-standards] (SCNi32): Likewise.
74273         [C99-based-standards] (SCNo32): Likewise.
74274         [C99-based-standards] (SCNu32): Likewise.
74275         [C99-based-standards] (SCNx32): Likewise.
74276         [C99-based-standards] (PRIdLEAST32): Likewise.
74277         [C99-based-standards] (PRIiLEAST32): Likewise.
74278         [C99-based-standards] (PRIoLEAST32): Likewise.
74279         [C99-based-standards] (PRIuLEAST32): Likewise.
74280         [C99-based-standards] (PRIxLEAST32): Likewise.
74281         [C99-based-standards] (PRIXLEAST32): Likewise.
74282         [C99-based-standards] (SCNdLEAST32): Likewise.
74283         [C99-based-standards] (SCNiLEAST32): Likewise.
74284         [C99-based-standards] (SCNoLEAST32): Likewise.
74285         [C99-based-standards] (SCNuLEAST32): Likewise.
74286         [C99-based-standards] (SCNxLEAST32): Likewise.
74287         [C99-based-standards] (PRIdFAST32): Likewise.
74288         [C99-based-standards] (PRIiFAST32): Likewise.
74289         [C99-based-standards] (PRIoFAST32): Likewise.
74290         [C99-based-standards] (PRIuFAST32): Likewise.
74291         [C99-based-standards] (PRIxFAST32): Likewise.
74292         [C99-based-standards] (PRIXFAST32): Likewise.
74293         [C99-based-standards] (SCNdFAST32): Likewise.
74294         [C99-based-standards] (SCNiFAST32): Likewise.
74295         [C99-based-standards] (SCNoFAST32): Likewise.
74296         [C99-based-standards] (SCNuFAST32): Likewise.
74297         [C99-based-standards] (SCNxFAST32): Likewise.
74298         [C99-based-standards] (PRId64): Likewise.
74299         [C99-based-standards] (PRIi64): Likewise.
74300         [C99-based-standards] (PRIo64): Likewise.
74301         [C99-based-standards] (PRIu64): Likewise.
74302         [C99-based-standards] (PRIx64): Likewise.
74303         [C99-based-standards] (PRIX64): Likewise.
74304         [C99-based-standards] (SCNd64): Likewise.
74305         [C99-based-standards] (SCNi64): Likewise.
74306         [C99-based-standards] (SCNo64): Likewise.
74307         [C99-based-standards] (SCNu64): Likewise.
74308         [C99-based-standards] (SCNx64): Likewise.
74309         [C99-based-standards] (PRIdLEAST64): Likewise.
74310         [C99-based-standards] (PRIiLEAST64): Likewise.
74311         [C99-based-standards] (PRIoLEAST64): Likewise.
74312         [C99-based-standards] (PRIuLEAST64): Likewise.
74313         [C99-based-standards] (PRIxLEAST64): Likewise.
74314         [C99-based-standards] (PRIXLEAST64): Likewise.
74315         [C99-based-standards] (SCNdLEAST64): Likewise.
74316         [C99-based-standards] (SCNiLEAST64): Likewise.
74317         [C99-based-standards] (SCNoLEAST64): Likewise.
74318         [C99-based-standards] (SCNuLEAST64): Likewise.
74319         [C99-based-standards] (SCNxLEAST64): Likewise.
74320         [C99-based-standards] (PRIdFAST64): Likewise.
74321         [C99-based-standards] (PRIiFAST64): Likewise.
74322         [C99-based-standards] (PRIoFAST64): Likewise.
74323         [C99-based-standards] (PRIuFAST64): Likewise.
74324         [C99-based-standards] (PRIxFAST64): Likewise.
74325         [C99-based-standards] (PRIXFAST64): Likewise.
74326         [C99-based-standards] (SCNdFAST64): Likewise.
74327         [C99-based-standards] (SCNiFAST64): Likewise.
74328         [C99-based-standards] (SCNoFAST64): Likewise.
74329         [C99-based-standards] (SCNuFAST64): Likewise.
74330         [C99-based-standards] (SCNxFAST64): Likewise.
74331         [C99-based-standards] (PRIdMAX): Likewise.
74332         [C99-based-standards] (PRIiMAX): Likewise.
74333         [C99-based-standards] (PRIoMAX): Likewise.
74334         [C99-based-standards] (PRIuMAX): Likewise.
74335         [C99-based-standards] (PRIxMAX): Likewise.
74336         [C99-based-standards] (PRIXMAX): Likewise.
74337         [C99-based-standards] (SCNdMAX): Likewise.
74338         [C99-based-standards] (SCNiMAX): Likewise.
74339         [C99-based-standards] (SCNoMAX): Likewise.
74340         [C99-based-standards] (SCNuMAX): Likewise.
74341         [C99-based-standards] (SCNxMAX): Likewise.
74342         [C99-based-standards] (PRIdPTR): Likewise.
74343         [C99-based-standards] (PRIiPTR): Likewise.
74344         [C99-based-standards] (PRIoPTR): Likewise.
74345         [C99-based-standards] (PRIuPTR): Likewise.
74346         [C99-based-standards] (PRIxPTR): Likewise.
74347         [C99-based-standards] (PRIXPTR): Likewise.
74348         [C99-based-standards] (SCNdPTR): Likewise.
74349         [C99-based-standards] (SCNiPTR): Likewise.
74350         [C99-based-standards] (SCNoPTR): Likewise.
74351         [C99-based-standards] (SCNuPTR): Likewise.
74352         [C99-based-standards] (SCNxPTR): Likewise.
74353         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74354         allow.
74355         * conform/data/stdint.h-data: Update comments to clarify
74356         requirements.
74357         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74358         type.
74359         [C99-based standards] (INT8_MAX): Likewise.
74360         [C99-based standards] (INT16_MIN): Likewise.
74361         [C99-based standards] (INT16_MAX): Likewise.
74362         [C99-based standards] (INT32_MIN): Likewise.
74363         [C99-based standards] (INT32_MAX): Likewise.
74364         [C99-based standards] (INT64_MIN): Likewise.
74365         [C99-based standards] (INT64_MAX): Likewise.
74366         [C99-based standards] (UINT8_MAX): Likewise.
74367         [C99-based standards] (UINT16_MAX): Likewise.
74368         [C99-based standards] (UINT32_MAX): Likewise.
74369         [C99-based standards] (UINT64_MAX): Likewise.
74370         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74371         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74372         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74373         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74374         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74375         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74376         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74377         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74378         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74379         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74380         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74381         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74382         [C99-based standards] (INT_FAST8_MIN): Likewise.
74383         [C99-based standards] (INT_FAST8_MAX): Likewise.
74384         [C99-based standards] (INT_FAST16_MIN): Likewise.
74385         [C99-based standards] (INT_FAST16_MAX): Likewise.
74386         [C99-based standards] (INT_FAST32_MIN): Likewise.
74387         [C99-based standards] (INT_FAST32_MAX): Likewise.
74388         [C99-based standards] (INT_FAST64_MIN): Likewise.
74389         [C99-based standards] (INT_FAST64_MAX): Likewise.
74390         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74391         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74392         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74393         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74394         [C99-based standards] (INTPTR_MIN): Likewise.
74395         [C99-based standards] (INTPTR_MAX): Likewise.
74396         [C99-based standards] (UINTPTR_MAX): Likewise.
74397         [C99-based standards] (INTMAX_MIN): Likewise.
74398         [C99-based standards] (INTMAX_MAX): Likewise.
74399         [C99-based standards] (UINTMAX_MAX): Likewise.
74400         [C99-based standards] (PTRDIFF_MIN): Likewise.
74401         [C99-based standards] (PTRDIFF_MAX): Likewise.
74402         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74403         [C99-based standards] (SIZE_MAX): Likewise.
74404         [C99-based standards] (WCHAR_MAX): Likewise.
74405         [C99-based standards] (WINT_MAX): Likewise.
74406         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74407         constraint on value.
74408         [C99-based standards] (WCHAR_MIN): Likewise.
74409         [C99-based standards] (WINT_MIN): Likewise.
74410         [C99-based standards] (*_t): Allow.
74411         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74412         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74413         Include math.h-data and complex.h-data.  Remove all expectations
74414         of math.h and complex.h contents.
74415         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74416         at end of line.
74417         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74418         (struct tm): Expect tag.
74419         [C99-based-standards] (wcstof): Expect function.
74420         [C99-based-standards] (wcstold): Likewise.
74421         [C99-based-standards] (wcstoll): Likewise.
74422         [C99-based-standards] (wcstoull): Likewise.
74423         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74424         macro-int-constant.  Specify type.
74425         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74426         constraint on value.
74427         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74428         Specify type.
74429         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74430         Specify value.
74431         [ISO C standards]: Do not allow headers.
74432         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74433         wcs[abcdefghijklmnopqrstuvwxyz]*.
74434         [ISO C standards] (*_t): Do not allow.
74435         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74436         Expect function.
74437         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74438         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74439         Specify type.
74440         [ISO C standards]: Do not allow headers.
74441         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74442         is[abcdefghijklmnopqrstuvwxyz]*.
74443         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74444         to[abcdefghijklmnopqrstuvwxyz]*.
74445         [ISO C standards] (*_t): Do not allow.
74446         * conform/data/stdalign.h-data: New file.
74447         * conform/data/stdbool.h-data: Likewise.
74448         * conform/data/stdnoreturn.h-data: Likewise.
74450 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74452         [BZ #14815]
74453         * manual/filesys.texi (Directory Entries): Typo fix.
74454         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74456 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74458         * elf/elf.h (EM_AARCH64): New macro.
74459         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74460         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74461         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74462         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74463         (R_AARCH64_TLSDESC): Likewise.
74464         (NT_ARM_TLS): Likewise.
74465         (NT_ARM_HW_BREAK): Likewise.
74466         (NT_ARM_HW_WATCH): Likewise.
74468 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74470         [BZ #14811]
74471         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74472         (__ieee754_powl): Saturate nonzero exponents with absolute value
74473         below 0x1p-79 to +/- 0x1p-79.
74474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74475         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74476         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74477         nonzero exponents with absolute value below 0x1p-32 to +/-
74478         0x1p-32.
74479         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74480         (__ieee754_powl): Saturate nonzero exponents with absolute value
74481         below 0x1p-79 to +/- 0x1p-79.
74482         * math/libm-test.inc (pow_test): Add more tests.
74484 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74486         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74487         _dl_s390_cap_flags with kernel. Increase string length.
74488         (_dl_s390_platforms): Add z196 and zEC12.
74490 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74492         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74493         Change XOPEN21K to XOPEN2K.
74495 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74497         * string/memmove.c: Use memcpy when possible.
74499 2012-11-06  Andreas Jaeger  <aj@suse.de>
74501         * po/eo.po: Update from translation team.
74503 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74505         [BZ #14793]
74506         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74507         exponent and small x and y exponents, scale x or y up.  Increase
74508         by 2 the exponent used in scaling up.
74509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74510         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74511         * math/libm-test.inc (fma_test): Add more tests.
74512         (fma_test_towardzero): Likewise.
74513         (fma_test_downward): Likewise.
74514         (fma_test_upward): Likewise.
74516 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74518         [BZ #14805]
74519         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74520         fenv_t *.
74522         [BZ #14801]
74523         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74524         namespace for names of struct fields.
74525         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74526         fenv_t fields.
74527         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74528         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74530 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74532         [BZ #3665]
74533         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74535 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74537         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74538         PTR_DEMANGLE.
74540         [BZ #5246]
74541         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74542         PTR_DEMANGLE.
74544 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74546         [BZ #14797]
74547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74548         definitely overflow as x * y not x * y + z.
74549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74551         * math/libm-test.inc (fma_test): Add more tests.
74552         (fma_test_towardzero): Likewise.
74553         (fma_test_downward): Likewise.
74554         (fma_test_upward): Likewise.
74556 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74558         [BZ #157]
74560         * include/stub-tag.h: Remove file.
74561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74562         '#include' of it.
74563         * manual/maint.texi (Porting): Don't reference it.
74564         * Makerules ($(objpfx)stubs): Likewise.
74565         * dirent/closedir.c: Don't include <stub-tag.h>.
74566         * dirent/dirfd.c: Likewise.
74567         * dirent/fdopendir.c: Likewise.
74568         * dirent/getdents.c: Likewise.
74569         * dirent/getdents64.c: Likewise.
74570         * dirent/opendir.c: Likewise.
74571         * dirent/readdir.c: Likewise.
74572         * dirent/readdir64.c: Likewise.
74573         * dirent/readdir64_r.c: Likewise.
74574         * dirent/readdir_r.c: Likewise.
74575         * dirent/rewinddir.c: Likewise.
74576         * dirent/seekdir.c: Likewise.
74577         * dirent/telldir.c: Likewise.
74578         * gmon/profil.c: Likewise.
74579         * grp/setgroups.c: Likewise.
74580         * inet/if_index.c: Likewise.
74581         * io/access.c: Likewise.
74582         * io/chdir.c: Likewise.
74583         * io/chmod.c: Likewise.
74584         * io/chown.c: Likewise.
74585         * io/close.c: Likewise.
74586         * io/dup.c: Likewise.
74587         * io/dup2.c: Likewise.
74588         * io/dup3.c: Likewise.
74589         * io/euidaccess.c: Likewise.
74590         * io/faccessat.c: Likewise.
74591         * io/fchdir.c: Likewise.
74592         * io/fchmod.c: Likewise.
74593         * io/fchmodat.c: Likewise.
74594         * io/fchown.c: Likewise.
74595         * io/fchownat.c: Likewise.
74596         * io/fcntl.c: Likewise.
74597         * io/flock.c: Likewise.
74598         * io/fstatfs.c: Likewise.
74599         * io/fstatfs64.c: Likewise.
74600         * io/fstatvfs.c: Likewise.
74601         * io/fstatvfs64.c: Likewise.
74602         * io/futimens.c: Likewise.
74603         * io/fxstat.c: Likewise.
74604         * io/fxstat64.c: Likewise.
74605         * io/fxstatat.c: Likewise.
74606         * io/fxstatat64.c: Likewise.
74607         * io/getcwd.c: Likewise.
74608         * io/isatty.c: Likewise.
74609         * io/lchmod.c: Likewise.
74610         * io/lchown.c: Likewise.
74611         * io/link.c: Likewise.
74612         * io/linkat.c: Likewise.
74613         * io/lseek.c: Likewise.
74614         * io/lseek64.c: Likewise.
74615         * io/lxstat64.c: Likewise.
74616         * io/mkdir.c: Likewise.
74617         * io/mkdirat.c: Likewise.
74618         * io/mkfifo.c: Likewise.
74619         * io/mkfifoat.c: Likewise.
74620         * io/open.c: Likewise.
74621         * io/open64.c: Likewise.
74622         * io/openat.c: Likewise.
74623         * io/openat64.c: Likewise.
74624         * io/pipe.c: Likewise.
74625         * io/pipe2.c: Likewise.
74626         * io/poll.c: Likewise.
74627         * io/posix_fadvise.c: Likewise.
74628         * io/posix_fadvise64.c: Likewise.
74629         * io/posix_fallocate.c: Likewise.
74630         * io/posix_fallocate64.c: Likewise.
74631         * io/read.c: Likewise.
74632         * io/readlink.c: Likewise.
74633         * io/readlinkat.c: Likewise.
74634         * io/rmdir.c: Likewise.
74635         * io/sendfile.c: Likewise.
74636         * io/sendfile64.c: Likewise.
74637         * io/statfs.c: Likewise.
74638         * io/statfs64.c: Likewise.
74639         * io/statvfs.c: Likewise.
74640         * io/statvfs64.c: Likewise.
74641         * io/symlink.c: Likewise.
74642         * io/symlinkat.c: Likewise.
74643         * io/ttyname.c: Likewise.
74644         * io/ttyname_r.c: Likewise.
74645         * io/umask.c: Likewise.
74646         * io/unlink.c: Likewise.
74647         * io/unlinkat.c: Likewise.
74648         * io/utime.c: Likewise.
74649         * io/utimensat.c: Likewise.
74650         * io/write.c: Likewise.
74651         * io/xmknod.c: Likewise.
74652         * io/xmknodat.c: Likewise.
74653         * io/xstat.c: Likewise.
74654         * io/xstat64.c: Likewise.
74655         * login/getpt.c: Likewise.
74656         * login/grantpt.c: Likewise.
74657         * login/unlockpt.c: Likewise.
74658         * math/e_acoshl.c: Likewise.
74659         * math/e_acosl.c: Likewise.
74660         * math/e_asinl.c: Likewise.
74661         * math/e_atan2l.c: Likewise.
74662         * math/e_atanhl.c: Likewise.
74663         * math/e_coshl.c: Likewise.
74664         * math/e_expl.c: Likewise.
74665         * math/e_fmodl.c: Likewise.
74666         * math/e_gammal_r.c: Likewise.
74667         * math/e_hypotl.c: Likewise.
74668         * math/e_j0l.c: Likewise.
74669         * math/e_j1l.c: Likewise.
74670         * math/e_jnl.c: Likewise.
74671         * math/e_lgammal_r.c: Likewise.
74672         * math/e_log10l.c: Likewise.
74673         * math/e_log2l.c: Likewise.
74674         * math/e_logl.c: Likewise.
74675         * math/e_powl.c: Likewise.
74676         * math/e_rem_pio2l.c: Likewise.
74677         * math/e_sinhl.c: Likewise.
74678         * math/e_sqrtl.c: Likewise.
74679         * math/fclrexcpt.c: Likewise.
74680         * math/fedisblxcpt.c: Likewise.
74681         * math/feenablxcpt.c: Likewise.
74682         * math/fegetenv.c: Likewise.
74683         * math/fegetexcept.c: Likewise.
74684         * math/fegetround.c: Likewise.
74685         * math/feholdexcpt.c: Likewise.
74686         * math/fesetenv.c: Likewise.
74687         * math/fesetround.c: Likewise.
74688         * math/feupdateenv.c: Likewise.
74689         * math/fgetexcptflg.c: Likewise.
74690         * math/fraiseexcpt.c: Likewise.
74691         * math/fsetexcptflg.c: Likewise.
74692         * math/ftestexcept.c: Likewise.
74693         * math/k_cosl.c: Likewise.
74694         * math/k_rem_pio2l.c: Likewise.
74695         * math/k_sinl.c: Likewise.
74696         * math/k_tanl.c: Likewise.
74697         * math/s_asinhl.c: Likewise.
74698         * math/s_atanl.c: Likewise.
74699         * math/s_cbrtl.c: Likewise.
74700         * math/s_erfl.c: Likewise.
74701         * math/s_expm1l.c: Likewise.
74702         * math/s_log1pl.c: Likewise.
74703         * math/s_tanhl.c: Likewise.
74704         * misc/acct.c: Likewise.
74705         * misc/brk.c: Likewise.
74706         * misc/chflags.c: Likewise.
74707         * misc/chroot.c: Likewise.
74708         * misc/fchflags.c: Likewise.
74709         * misc/fgetxattr.c: Likewise.
74710         * misc/flistxattr.c: Likewise.
74711         * misc/fremovexattr.c: Likewise.
74712         * misc/fsetxattr.c: Likewise.
74713         * misc/fsync.c: Likewise.
74714         * misc/ftruncate.c: Likewise.
74715         * misc/futimes.c: Likewise.
74716         * misc/futimesat.c: Likewise.
74717         * misc/getdomain.c: Likewise.
74718         * misc/getdtsz.c: Likewise.
74719         * misc/gethostid.c: Likewise.
74720         * misc/gethostname.c: Likewise.
74721         * misc/getloadavg.c: Likewise.
74722         * misc/getpagesize.c: Likewise.
74723         * misc/getsysstats.c: Likewise.
74724         * misc/getxattr.c: Likewise.
74725         * misc/gtty.c: Likewise.
74726         * misc/ioctl.c: Likewise.
74727         * misc/lgetxattr.c: Likewise.
74728         * misc/listxattr.c: Likewise.
74729         * misc/llistxattr.c: Likewise.
74730         * misc/lremovexattr.c: Likewise.
74731         * misc/lsetxattr.c: Likewise.
74732         * misc/lutimes.c: Likewise.
74733         * misc/madvise.c: Likewise.
74734         * misc/mincore.c: Likewise.
74735         * misc/mlock.c: Likewise.
74736         * misc/mlockall.c: Likewise.
74737         * misc/mmap.c: Likewise.
74738         * misc/mprotect.c: Likewise.
74739         * misc/msync.c: Likewise.
74740         * misc/munlock.c: Likewise.
74741         * misc/munlockall.c: Likewise.
74742         * misc/munmap.c: Likewise.
74743         * misc/preadv.c: Likewise.
74744         * misc/preadv64.c: Likewise.
74745         * misc/ptrace.c: Likewise.
74746         * misc/pwritev.c: Likewise.
74747         * misc/pwritev64.c: Likewise.
74748         * misc/readv.c: Likewise.
74749         * misc/reboot.c: Likewise.
74750         * misc/remap_file_pages.c: Likewise.
74751         * misc/removexattr.c: Likewise.
74752         * misc/revoke.c: Likewise.
74753         * misc/select.c: Likewise.
74754         * misc/setdomain.c: Likewise.
74755         * misc/setegid.c: Likewise.
74756         * misc/seteuid.c: Likewise.
74757         * misc/sethostid.c: Likewise.
74758         * misc/sethostname.c: Likewise.
74759         * misc/setregid.c: Likewise.
74760         * misc/setreuid.c: Likewise.
74761         * misc/setxattr.c: Likewise.
74762         * misc/sstk.c: Likewise.
74763         * misc/stty.c: Likewise.
74764         * misc/swapoff.c: Likewise.
74765         * misc/swapon.c: Likewise.
74766         * misc/sync.c: Likewise.
74767         * misc/syncfs.c: Likewise.
74768         * misc/syscall.c: Likewise.
74769         * misc/truncate.c: Likewise.
74770         * misc/ualarm.c: Likewise.
74771         * misc/usleep.c: Likewise.
74772         * misc/ustat.c: Likewise.
74773         * misc/utimes.c: Likewise.
74774         * misc/vhangup.c: Likewise.
74775         * misc/writev.c: Likewise.
74776         * posix/_exit.c: Likewise.
74777         * posix/alarm.c: Likewise.
74778         * posix/execve.c: Likewise.
74779         * posix/fexecve.c: Likewise.
74780         * posix/fork.c: Likewise.
74781         * posix/fpathconf.c: Likewise.
74782         * posix/getaddrinfo.c: Likewise.
74783         * posix/getegid.c: Likewise.
74784         * posix/geteuid.c: Likewise.
74785         * posix/getgid.c: Likewise.
74786         * posix/getgroups.c: Likewise.
74787         * posix/getlogin.c: Likewise.
74788         * posix/getlogin_r.c: Likewise.
74789         * posix/getpgid.c: Likewise.
74790         * posix/getpid.c: Likewise.
74791         * posix/getppid.c: Likewise.
74792         * posix/getresgid.c: Likewise.
74793         * posix/getresuid.c: Likewise.
74794         * posix/getsid.c: Likewise.
74795         * posix/getuid.c: Likewise.
74796         * posix/glob64.c: Likewise.
74797         * posix/nanosleep.c: Likewise.
74798         * posix/pathconf.c: Likewise.
74799         * posix/pause.c: Likewise.
74800         * posix/posix_madvise.c: Likewise.
74801         * posix/pread.c: Likewise.
74802         * posix/pread64.c: Likewise.
74803         * posix/pwrite.c: Likewise.
74804         * posix/pwrite64.c: Likewise.
74805         * posix/sched_getaffinity.c: Likewise.
74806         * posix/sched_getp.c: Likewise.
74807         * posix/sched_gets.c: Likewise.
74808         * posix/sched_primax.c: Likewise.
74809         * posix/sched_primin.c: Likewise.
74810         * posix/sched_rr_gi.c: Likewise.
74811         * posix/sched_setaffinity.c: Likewise.
74812         * posix/sched_setp.c: Likewise.
74813         * posix/sched_sets.c: Likewise.
74814         * posix/sched_yield.c: Likewise.
74815         * posix/setgid.c: Likewise.
74816         * posix/setlogin.c: Likewise.
74817         * posix/setpgid.c: Likewise.
74818         * posix/setresgid.c: Likewise.
74819         * posix/setresuid.c: Likewise.
74820         * posix/setsid.c: Likewise.
74821         * posix/setuid.c: Likewise.
74822         * posix/sleep.c: Likewise.
74823         * posix/spawni.c: Likewise.
74824         * posix/sysconf.c: Likewise.
74825         * posix/times.c: Likewise.
74826         * posix/wait.c: Likewise.
74827         * posix/wait3.c: Likewise.
74828         * posix/wait4.c: Likewise.
74829         * posix/waitpid.c: Likewise.
74830         * resolv/gai_sigqueue.c: Likewise.
74831         * resource/getpriority.c: Likewise.
74832         * resource/getrlimit.c: Likewise.
74833         * resource/getrusage.c: Likewise.
74834         * resource/nice.c: Likewise.
74835         * resource/setpriority.c: Likewise.
74836         * resource/setrlimit.c: Likewise.
74837         * resource/ulimit.c: Likewise.
74838         * rt/aio_cancel.c: Likewise.
74839         * rt/aio_fsync.c: Likewise.
74840         * rt/aio_read.c: Likewise.
74841         * rt/aio_sigqueue.c: Likewise.
74842         * rt/aio_suspend.c: Likewise.
74843         * rt/aio_write.c: Likewise.
74844         * rt/clock_getres.c: Likewise.
74845         * rt/clock_gettime.c: Likewise.
74846         * rt/clock_nanosleep.c: Likewise.
74847         * rt/clock_settime.c: Likewise.
74848         * rt/lio_listio.c: Likewise.
74849         * rt/mq_close.c: Likewise.
74850         * rt/mq_getattr.c: Likewise.
74851         * rt/mq_notify.c: Likewise.
74852         * rt/mq_open.c: Likewise.
74853         * rt/mq_receive.c: Likewise.
74854         * rt/mq_send.c: Likewise.
74855         * rt/mq_setattr.c: Likewise.
74856         * rt/mq_timedreceive.c: Likewise.
74857         * rt/mq_timedsend.c: Likewise.
74858         * rt/mq_unlink.c: Likewise.
74859         * rt/shm_open.c: Likewise.
74860         * rt/shm_unlink.c: Likewise.
74861         * rt/timer_create.c: Likewise.
74862         * rt/timer_delete.c: Likewise.
74863         * rt/timer_getoverr.c: Likewise.
74864         * rt/timer_gettime.c: Likewise.
74865         * rt/timer_settime.c: Likewise.
74866         * setjmp/__longjmp.c: Likewise.
74867         * setjmp/setjmp.c: Likewise.
74868         * signal/kill.c: Likewise.
74869         * signal/killpg.c: Likewise.
74870         * signal/raise.c: Likewise.
74871         * signal/sigaction.c: Likewise.
74872         * signal/sigaltstack.c: Likewise.
74873         * signal/sigblock.c: Likewise.
74874         * signal/sigignore.c: Likewise.
74875         * signal/sigintr.c: Likewise.
74876         * signal/signal.c: Likewise.
74877         * signal/sigpause.c: Likewise.
74878         * signal/sigpending.c: Likewise.
74879         * signal/sigqueue.c: Likewise.
74880         * signal/sigreturn.c: Likewise.
74881         * signal/sigset.c: Likewise.
74882         * signal/sigsetmask.c: Likewise.
74883         * signal/sigstack.c: Likewise.
74884         * signal/sigsuspend.c: Likewise.
74885         * signal/sigtimedwait.c: Likewise.
74886         * signal/sigvec.c: Likewise.
74887         * signal/sigwait.c: Likewise.
74888         * signal/sigwaitinfo.c: Likewise.
74889         * signal/sysv_signal.c: Likewise.
74890         * socket/accept.c: Likewise.
74891         * socket/accept4.c: Likewise.
74892         * socket/bind.c: Likewise.
74893         * socket/connect.c: Likewise.
74894         * socket/getpeername.c: Likewise.
74895         * socket/getsockname.c: Likewise.
74896         * socket/getsockopt.c: Likewise.
74897         * socket/isfdtype.c: Likewise.
74898         * socket/listen.c: Likewise.
74899         * socket/recv.c: Likewise.
74900         * socket/recvfrom.c: Likewise.
74901         * socket/recvmsg.c: Likewise.
74902         * socket/send.c: Likewise.
74903         * socket/sendmsg.c: Likewise.
74904         * socket/sendto.c: Likewise.
74905         * socket/setsockopt.c: Likewise.
74906         * socket/shutdown.c: Likewise.
74907         * socket/sockatmark.c: Likewise.
74908         * socket/socket.c: Likewise.
74909         * socket/socketpair.c: Likewise.
74910         * stdio-common/ctermid.c: Likewise.
74911         * stdio-common/cuserid.c: Likewise.
74912         * stdio-common/remove.c: Likewise.
74913         * stdio-common/rename.c: Likewise.
74914         * stdio-common/renameat.c: Likewise.
74915         * stdio-common/tempname.c: Likewise.
74916         * stdlib/getcontext.c: Likewise.
74917         * stdlib/makecontext.c: Likewise.
74918         * stdlib/setcontext.c: Likewise.
74919         * stdlib/swapcontext.c: Likewise.
74920         * stdlib/system.c: Likewise.
74921         * streams/fattach.c: Likewise.
74922         * streams/fdetach.c: Likewise.
74923         * streams/getmsg.c: Likewise.
74924         * streams/getpmsg.c: Likewise.
74925         * streams/putmsg.c: Likewise.
74926         * streams/putpmsg.c: Likewise.
74927         * sysdeps/unix/bsd/getpt.c: Likewise.
74928         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74929         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74930         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74932         Likewise.
74933         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74934         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74935         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74936         * sysvipc/msgctl.c: Likewise.
74937         * sysvipc/msgget.c: Likewise.
74938         * sysvipc/msgrcv.c: Likewise.
74939         * sysvipc/msgsnd.c: Likewise.
74940         * sysvipc/semctl.c: Likewise.
74941         * sysvipc/semget.c: Likewise.
74942         * sysvipc/semop.c: Likewise.
74943         * sysvipc/semtimedop.c: Likewise.
74944         * sysvipc/shmat.c: Likewise.
74945         * sysvipc/shmctl.c: Likewise.
74946         * sysvipc/shmdt.c: Likewise.
74947         * sysvipc/shmget.c: Likewise.
74948         * termios/tcdrain.c: Likewise.
74949         * termios/tcflow.c: Likewise.
74950         * termios/tcflush.c: Likewise.
74951         * termios/tcgetattr.c: Likewise.
74952         * termios/tcgetpgrp.c: Likewise.
74953         * termios/tcsendbrk.c: Likewise.
74954         * termios/tcsetattr.c: Likewise.
74955         * termios/tcsetpgrp.c: Likewise.
74956         * time/adjtime.c: Likewise.
74957         * time/clock.c: Likewise.
74958         * time/getitimer.c: Likewise.
74959         * time/gettimeofday.c: Likewise.
74960         * time/setitimer.c: Likewise.
74961         * time/settimeofday.c: Likewise.
74962         * time/stime.c: Likewise.
74963         * time/time.c: Likewise.
74965 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
74967         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74968         /usr/old/bin.
74970         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74971         instead of spaces.
74972         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74974 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
74976         [BZ #14796]
74977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74978         FE_TONEAREST before applying Dekker multiplication and Knuth
74979         addition.  Clear inexact exceptions and check for exact zero
74980         results afterwards.
74981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74982         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74983         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74984         * math/libm-test.inc (fma_test): Add more tests.
74985         (fma_test_towardzero): Likewise.
74986         (fma_test_downward): Likewise.
74987         (fma_test_upward): Likewise.
74988         * sysdeps/generic/math_private.h (default_libc_fesetround): New
74989         function.
74990         (libc_fesetround): New macro.
74991         (libc_fesetroundf): Likewise.
74992         (libc_fesetroundl): Likewise.
74993         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74994         function.
74995         (libc_fesetround_387): Likewise.
74996         (libc_fesetroundf): New macro.
74997         (libc_fesetround): Likewise.
74998         (libc_fesetroundl): Likewise.
74999         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75000         function.
75001         (libc_fesetroundf): New macro.
75002         (libc_fesetround): Likewise.
75003         (libc_fesetroundl): Likewise.
75004         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75005         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75006         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75007         libm_hidden_ver.
75008         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75009         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75010         libm_hidden_def.
75011         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75012         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75013         libm_hidden_ver.
75014         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75015         libm_hidden_def.
75017         [BZ #3439]
75018         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75019         integer constant usable in #if and use that to give value to enum
75020         constant.
75021         (FE_DIVBYZERO): Likewise.
75022         (FE_UNDERFLOW): Likewise.
75023         (FE_OVERFLOW): Likewise.
75024         (FE_INVALID): Likewise.
75025         (FE_INVALID_SNAN): Likewise.
75026         (FE_INVALID_ISI): Likewise.
75027         (FE_INVALID_IDI): Likewise.
75028         (FE_INVALID_ZDZ): Likewise.
75029         (FE_INVALID_IMZ): Likewise.
75030         (FE_INVALID_COMPARE): Likewise.
75031         (FE_INVALID_SOFTWARE): Likewise.
75032         (FE_INVALID_SQRT): Likewise.
75033         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75034         (FE_TONEAREST): Likewise.
75035         (FE_TOWARDZERO): Likewise.
75036         (FE_UPWARD): Likewise.
75037         (FE_DOWNWARD): Likewise.
75038         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75039         (FE_DIVBYZERO): Likewise.
75040         (FE_OVERFLOW): Likewise.
75041         (FE_UNDERFLOW): Likewise.
75042         (FE_INEXACT): Likewise.
75043         (FE_TONEAREST): Likewise.
75044         (FE_DOWNWARD): Likewise.
75045         (FE_UPWARD): Likewise.
75046         (FE_TOWARDZERO): Likewise.
75047         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75048         (FE_UNDERFLOW): Likewise.
75049         (FE_OVERFLOW): Likewise.
75050         (FE_DIVBYZERO): Likewise.
75051         (FE_INVALID): Likewise.
75052         (FE_TONEAREST): Likewise.
75053         (FE_TOWARDZERO): Likewise.
75054         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75055         (FE_OVERFLOW): Likewise.
75056         (FE_UNDERFLOW): Likewise.
75057         (FE_DIVBYZERO): Likewise.
75058         (FE_INEXACT): Likewise.
75059         (FE_TONEAREST): Likewise.
75060         (FE_TOWARDZERO): Likewise.
75061         (FE_UPWARD): Likewise.
75062         (FE_DOWNWARD): Likewise.
75063         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75064         (FE_DIVBYZERO): Likewise.
75065         (FE_OVERFLOW): Likewise.
75066         (FE_UNDERFLOW): Likewise.
75067         (FE_INEXACT): Likewise.
75068         (FE_TONEAREST): Likewise.
75069         (FE_DOWNWARD): Likewise.
75070         (FE_UPWARD): Likewise.
75071         (FE_TOWARDZERO): Likewise.
75073 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75075         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75077 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75079         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75080         commands.  Quote $PWD.
75081         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75082         -x" by "export".
75083         (remove_newlines): Remove.
75085 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75087         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75088         * stdlib/stdlib.h (atof): Moved to ...
75089         * include/bits/stdlib-float.h: Here.  New file.
75090         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75091         * stdlib/bits/stdlib-float.h: New file.
75092         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75093         -mno-sse -mno-mmx.
75094         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75095         <xmmintrin.h>.
75097 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75099         * conform/conformtest.pl (@headers): Add fenv.h.
75100         * conform/data/fenv.h-data: New file.
75101         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75102         include of <math/fenv.h>.
75104         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75105         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75106         && !UNIX98].  Enables tests for XOPEN2K8.
75107         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75108         POSIX2008]: Likewise.
75110         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75111         (struct rusage): Do not expect type or its members.
75113         [BZ #3439]
75114         * math/math.h (FP_NAN): Define macro to integer constant usable in
75115         #if and use that to give value to enum constant.
75116         (FP_INFINITE): Likewise.
75117         (FP_ZERO): Likewise.
75118         (FP_SUBNORMAL): Likewise.
75119         (FP_NORMAL): Likewise.
75121 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75123         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75124         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75125         arguments.
75127 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75129         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75130         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75131         autoconf-time if not.
75132         * configure.in: Remove AC_PREREQ.
75134 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75136         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75137         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75138         of the internal implementation.
75140 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75142         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75143         except include of <misc/sys/syslog.h>.
75145 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75148         function returns with a NULL context exit with zero.
75150 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75152         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75154 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75156         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75157         (run_program_cmd): This.
75158         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75159         (tst_langinfo): New variable.  Use it.
75161 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75163         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75164         floating point opcodes.
75166 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75168         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75169         variable.
75171         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75173         * sysdeps/mach/hurd/powerpc: Remove directory.
75174         * sysdeps/mach/powerpc: Likewise.
75176 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75178         * scripts/check-local-headers.sh: Ignore c++ headers.
75180 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75182         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75183         __libc_cleanup_region_start argument.
75185 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75187         [BZ #14784]
75188         [BZ #14785]
75189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75190         x * y using scaling, not as x * y + z.
75191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75192         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75193         * math/libm-test.inc (fma_test): Add more tests.
75194         (fma_test_towardzero): Likewise.
75195         (fma_test_downward): Likewise.
75196         (fma_test_upward): Likewise.
75198 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75200         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75202 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75204         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75205         New variable.
75207 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75209         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75211 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75214         Fix sort order.
75215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75216         Likewise.
75218 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75221         Fix the order of the list for glibc 2.17.
75222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75223         Likewise.
75225 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75229 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75231         [BZ #14610]
75232         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75233         for low part of x being zero before using __atanl (y).
75234         * math/libm-test.inc (atan2_test): Add another test.
75236         * manual/install.texi (Configuring and compiling): Document
75237         general use of test-wrapper and test-wrapper-env.
75238         * INSTALL: Regenerated.
75240         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75241         (__fma): Do not extract and scale down low bits on after-rounding
75242         systems when result rounded to normal precision would have normal
75243         exponent.
75244         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75245         (__fmal): Do not extract and scale down low bits on after-rounding
75246         systems when result rounded to normal precision would have normal
75247         exponent.
75248         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75249         (__fmal): Do not extract and scale down low bits on after-rounding
75250         systems when result rounded to normal precision would have normal
75251         exponent.
75252         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75253         macro.
75254         (fma_test): Add more tests.
75255         (fma_test_towardzero): Likewise.
75256         (fma_test_downward): Likewise.
75257         (fma_test_upward): Likewise.
75259 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75261         * sysdeps/i386/tininess.h: Renamed to ...
75262         * sysdeps/x86/tininess.h: This.
75263         * sysdeps/x86_64/tininess.h: Removed.
75265 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75267         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75268         input.  Use $(build-program-cmd).
75269         ($(objpfx)tst-array1-static.out): Likewise.
75270         ($(objpfx)tst-array2.out): Likewise.
75271         ($(objpfx)tst-array3.out): Likewise.
75272         ($(objpfx)tst-array4.out): Likewise.
75273         ($(objpfx)tst-array5.out): Likewise.
75274         ($(objpfx)tst-array5-static.out): Likewise.
75276 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75278         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75279         if defined.
75281         * nss/nsswitch.h (nss_interface_function): Provide new
75282         macro for use with NSS functions.
75283         * grp/initgroups.c: Use new macro.
75284         * nss/getXXbyYY.c: Likewise.
75285         * nss/getXXbyYY_r.c: Likewise.
75286         * nss/getXXent.c: Likewise.
75287         * nss/getXXent_r.c: Likewise.
75288         * sysdeps/posix/getaddrinfo.c: Likewise.
75290 2012-10-30  Andreas Jaeger  <aj@suse.de>
75292         * po/ru.po: Update Russion translation from translation project.
75294 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75296         [BZ #14152]
75297         [BZ #14783]
75298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75299         result and shift together with sticky bit instead of replicating
75300         round-to-nearest rounding.
75301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75302         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75303         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75304         missing underflow exceptions.
75305         (fma_test_towardzero): Add more tests.
75306         (fma_test_downward): Likewise.
75307         (fma_test_upward): Likewise.
75309         [BZ #14047]
75310         * sysdeps/generic/tininess.h: New file.
75311         * sysdeps/i386/tininess.h: Likewise.
75312         * sysdeps/sh/tininess.h: Likewise.
75313         * sysdeps/x86_64/tininess.h: Likewise.
75314         * stdlib/tst-strtod-underflow.c: Likewise.
75315         * stdlib/tst-tininess.c: Likewise.
75316         * stdlib/strtod_l.c: Include <tininess.h>.
75317         (round_and_return): Do not set errno for exact underflow cases.
75318         Force an underflow exception when setting errno for underflow.
75319         Determine underflow based on rounding to normal precision if
75320         TININESS_AFTER_ROUNDING.
75321         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75322         ERANGE for exact underflow cases.
75323         * stdlib/Makefile (tests): Add tst-tininess and
75324         tst-strtod-underflow.
75325         ($(objpfx)tst-tininess): Use $(link-libm).
75326         ($(objpfx)tst-strtod-underflow): Likewise.
75328 2012-10-30  Andreas Jaeger  <aj@suse.de>
75330         [BZ #14767]
75331         * elf/Makefile (tests): Remove conditional for have-initfini-array
75332         since this is now always required and the variable does not exist
75333         anymore.
75334         (tests-static): Likewise.
75335         (modules-names): Likewise.
75337         * po/eo.po: Add Esperanto translation from translation project.
75339         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75340         merged with constructor/destructor.
75341         (init_array): Likewise.
75342         * elf/tst-array2dep.c (fini_array): Likewise.
75343         (init_array): Likewise.
75345 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75347         * manual/message.texi: Delete @cartouche tags.
75349 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75351         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75352         EOPNOTSUPP.
75353         * sysdeps/mach/hurd/fsync.c: Likewise.
75355         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75356         [_POSIX_REALTIME_SIGNALS]: Change condition to
75357         [_POSIX_REALTIME_SIGNALS > 0].
75359 2012-10-27  Andreas Jaeger  <aj@suse.de>
75361         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75362         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75363         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75364         [__WORDSIZE != 64]: Likewise.
75366 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75368         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75369         *  iconvdata/tst-tables.sh: Likewise.
75371 2012-10-25  David S. Miller  <davem@davemloft.net>
75373         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75374         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75375         of strtoull.
75377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75378         ifunc-impl-list.c
75379         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75380         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75381         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75382         file.
75384 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75386         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75387         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75388         __getdirentries.
75390 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75391             Jim Blandy  <jimb@codesourcery.com>
75393         * scripts/cross-test-ssh.sh: New file.
75394         * manual/install.texi (Configuring and compiling): Document use of
75395         cross-test-ssh.sh.
75396         * INSTALL: Regenerated.
75398 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75400         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75401         EOPNOTSUPP.
75403 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75405         * Makeconfig (run-program-prefix): Fix comment.
75407 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75408             Jim Blandy  <jimb@codesourcery.com>
75410         * Makeconfig (test-wrapper): New variable,
75411         (test-wrapper-env): Likewise.
75412         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75413         (run-built-tests): Define to yes.
75414         (run-program-prefix): Use $(test-wrapper).
75415         (built-program-cmd): Likewise.
75416         * Rules (make-test-out): Use $(test-wrapper-env) and
75417         $(host-built-program-cmd).
75418         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75419         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75420         tst-pathopt.sh.
75421         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75422         $(test-wrapper-env) to tst-rtld-load-self.sh.
75423         ($(objpfx)order2.out): Use $(test-wrapper).
75424         ($(objpfx)tst-initorder.out): Likewise.
75425         ($(objpfx)tst-initorder2.out): Likewise.
75426         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75427         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75428         (test_wrapper_env): New variable.  Use it to run ld.so.
75429         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75430         Use it to run ld.so.
75431         (test_wrapper_env): Likewise.
75432         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75433         $(test-wrapper) to run-iconv-test.sh.
75434         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75435         (ICONV): Use $test_wrapper.
75436         * posix/Makefile ($(objpfx)globtest.out): Pass
75437         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75438         globtest.sh, not $(run-program-prefix).
75439         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75440         (test_wrapper): Likewise.
75441         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75442         set together with run_via_rtld_prefix.
75443         (run_program_prefix): Define in terms of test_wrapper and
75444         run_via_rtld_prefix.
75446 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75448         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75449         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75450         Targets removed.
75452         [BZ #14743]
75453         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75454         Declare __clock_getres, __clock_gettime, __clock_settime,
75455         __clock_nanosleep, and __clock_getcpuclockid.
75456         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75457         Remove librt_hidden_def (clock_gettime).
75458         * sysdeps/unix/clock_gettime.c: Likewise.
75459         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75461         * rt/clock_getres.c: Define __clock_getres as an alias.
75462         * sysdeps/posix/clock_getres.c: Likewise.
75463         * rt/clock_settime.c: Define __clock_settime as an alias.
75464         * sysdeps/unix/clock_settime.c: Likewise.
75465         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75466         * sysdeps/unix/clock_nanosleep.c: Likewise.
75467         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75468         * rt/clock-compat.c: New file.
75469         * rt/Makefile (librt-routines): Add clock-compat and move
75470         $(clock-routines) to ...
75471         (routines): ... here, new variable.
75472         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75473         Don't add get_clockfreq here.
75474         * rt/Versions (libc: GLIBC_2.17): New version set.
75475         Add clock_* symbols here.
75476         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75477         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75478         (GLIBC_2.17): Add clock_* symbols.
75479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75481         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75483         Likewise.
75484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75485         Likewise.
75486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75490         * NEWS: Mention the move.
75492         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75493         Use __open, __read, __close rather than their public counterparts.
75494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75495         (__get_clockfreq_via_cpuinfo): Likewise.
75496         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75497         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75499         * config.h.in (HAVE_IFUNC): New #undef.
75500         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75501         was successful.
75502         * configure: Regenerated.
75504 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75506         * configure.in: Move READELF check to start of file.
75507         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75508         libc_cv_asm_gnu_indirect_function in the process.
75509         * configure: Regenerated.
75511 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75513         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75514         send the output to /dev/null.
75515         (libc_cv_cc_with_libunwind): Likewise.
75516         (libc_cv_as_noexecstack): Likewise.
75517         * configure: Regenerate.
75519 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75521         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75523         * posix/globtest.sh (TMPDIR): Do not set.
75524         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75525         (testout): Likewise.
75527 2012-10-24  Andreas Jaeger  <aj@suse.de>
75529         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75530         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75531         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75532         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75533         posix_fadvise64, posix_fallocate64.
75535         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75536         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75537         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75538         Likewise.
75539         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75540         Likewise.
75541         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75544         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75545         <bits/fcntl-linux.h>.
75546         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75549         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75550         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75551         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75552         [__WORDSIZE != 64]: Likewise.
75554 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75556         * Makeconfig (run-built-tests): New variable.
75557         * Rules [$(cross-compiling) = yes]: Change condition to
75558         [$(run-built-tests) = no].
75559         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75560         to [$(run-built-tests) = yes].
75561         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75562         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75563         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75564         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75565         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75566         * io/Makefile [$(cross-compiling) = no]: Likewise.
75567         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75568         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75569         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75570         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75571         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75572         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75573         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75574         * string/Makefile [$(cross-compiling) = no]: Likewise.
75576         * posix/Makefile ($(objpfx)globtest.out): Pass
75577         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75578         $(rtld-installed-name).
75579         * posix/globtest.sh (elf_objpfx): Remove variable.
75580         (rtld_installed_name): Likewise.
75581         (library_path): Likewise.
75582         (run_program_prefix): New variable.  Use for running globtest
75583         binary.
75585 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75586             Joseph Myers  <joseph@codesourcery.com>
75588         * Makeconfig (host-built-program-cmd): New variable.
75589         * elf/Makefile (tst-stackguard1-ARGS): Use
75590         $(host-built-program-cmd).
75591         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75592         (tst-spawn-ARGS): Likewise.
75593         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75595 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75596             Jim Blandy  <jimb@codesourcery.com>
75598         * Makeconfig (run-via-rtld-prefix): New variable.
75599         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75600         (built-program-cmd): Likewise.
75602 2012-10-22  Andreas Jaeger  <aj@suse.de>
75604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75605         __O_RSYNC if it exists, otherwise to O_SYNC.
75607 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75608             Joseph Myers  <joseph@codesourcery.com>
75610         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75611         /dev/null.
75612         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75613         from /dev/null
75614         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75615         /dev/null.
75617 2012-10-22  Andreas Jaeger  <aj@suse.de>
75619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75620         Define always.
75621         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75624         bits/fcntl-linux.h.
75626         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75627         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75630         to __O_LARGEFILE.
75631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75632         to __O_LARGEFILE.
75634 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75635             Joseph Myers  <joseph@codesourcery.com>
75637         * config.make.in (NM): New variable.
75639 2012-10-21  Andreas Jaeger  <aj@suse.de>
75641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75642         definitions and declarations that are provided by
75643         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75645 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75647         [BZ #14683]
75648         * elf/Makefile (tests-static): Add tst-leaks1-static.
75649         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75650         ($(objpfx)tst-leaks1-static): New rule.
75651         ($(objpfx)tst-leaks1-static-mem): Likewise.
75652         (tst-leaks1-static-ENV): New macro.
75653         * elf/dl-open.c (dl_open_worker): Check the main application
75654         only if SHARED is defined.
75655         * elf/tst-leaks1-static.c: New file.
75657 2012-10-20  Andreas Jaeger  <aj@suse.de>
75659         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75660         generic values for Linux.
75661         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75662         and declarations that are provided by <bits/fcntl-linux.h> and
75663         include <bits/fcntl-linux.h>.
75664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75665         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75667 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75669         * io/fcntl.h: Move include of <bits/types.h> to the top and
75670         include it unconditionally.
75672 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75674         * wcsmbs/Makefile (tests-ifunc): New variable.
75675         (tests): Add $(tests-ifunc).
75676         * wcsmbs/test-wcschr-ifunc.c: New file.
75677         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75678         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75679         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75680         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75681         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75683         * string/Makefile (tests-ifunc): New variable.
75684         (tests): Add $(tests-ifunc).
75685         * string/test-memccpy.c (TEST_NAME): New macro.
75686         * string/test-memchr.c (TEST_NAME): Likewise.
75687         * string/test-memcmp.c (TEST_NAME): Likewise.
75688         * string/test-memcpy.c (TEST_NAME): Likewise.
75689         * string/test-memmem.c (TEST_NAME): Likewise.
75690         * string/test-memmove.c (TEST_NAME): Likewise.
75691         * string/test-memset.c (TEST_NAME): Likewise.
75692         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75693         * string/test-stpcpy.c (TEST_NAME): Likewise.
75694         * string/test-stpncpy.c (TEST_NAME): Likewise.
75695         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75696         * string/test-strcasestr.c (TEST_NAME): Likewise.
75697         * string/test-strcat.c (TEST_NAME): Likewise.
75698         * string/test-strchr.c (TEST_NAME): Likewise.
75699         * string/test-strcmp.c(TEST_NAME): Likewise.
75700         * string/test-strcpy.c (TEST_NAME): Likewise.
75701         * string/test-strcspn.c (TEST_NAME): Likewise.
75702         * string/test-strlen.c (TEST_NAME): Likewise.
75703         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75704         * string/test-strncmp.c (TEST_NAME): Likewise.
75705         * string/test-strncpy.c (TEST_NAME): Likewise.
75706         * string/test-strnlen.c (TEST_NAME): Likewise.
75707         * string/test-strpbrk.c (TEST_NAME): Likewise.
75708         * string/test-strrchr.c (TEST_NAME): Likewise.
75709         * string/test-strspn.c (TEST_NAME): Likewise.
75710         * string/test-strstr.c (TEST_NAME): Likewise.
75711         * string/test-bcopy-ifunc.c: New file.
75712         * string/test-bzero-ifunc.c: Likewise.
75713         * string/test-memccpy-ifunc.c: Likewise.
75714         * string/test-memchr-ifunc.c: Likewise.
75715         * string/test-memcmp-ifunc.c: Likewise.
75716         * string/test-memcpy-ifunc.c: Likewise.
75717         * string/test-memmem-ifunc.c: Likewise.
75718         * string/test-memmove-ifunc.c: Likewise.
75719         * string/test-mempcpy-ifunc.c: Likewise.
75720         * string/test-memset-ifunc.c: Likewise.
75721         * string/test-rawmemchr-ifunc.c: Likewise.
75722         * string/test-stpcpy-ifunc.c: Likewise.
75723         * string/test-stpncpy-ifunc.c: Likewise.
75724         * string/test-strcasecmp-ifunc.c: Likewise.
75725         * string/test-strcasestr-ifunc.c: Likewise.
75726         * string/test-strcat-ifunc.c: Likewise.
75727         * string/test-strchr-ifunc.c: Likewise.
75728         * string/test-strchrnul-ifunc.c: Likewise.
75729         * string/test-strcmp-ifunc.c: Likewise.
75730         * string/test-strcpy-ifunc.c: Likewise.
75731         * string/test-strcspn-ifunc.c: Likewise.
75732         * string/test-strlen-ifunc.c: Likewise.
75733         * string/test-strncasecmp-ifunc.c: Likewise.
75734         * string/test-strncat-ifunc.c: Likewise.
75735         * string/test-strncmp-ifunc.c: Likewise.
75736         * string/test-strncpy-ifunc.c: Likewise.
75737         * string/test-strnlen-ifunc.c: Likewise.
75738         * string/test-strpbrk-ifunc.c: Likewise.
75739         * string/test-strrchr-ifunc.c: Likewise.
75740         * string/test-strspn-ifunc.c: Likewise.
75741         * string/test-strstr-ifunc.c: Likewise.
75743         * debug/Makefile (tests-ifunc): New variable.
75744         (tests): Add $(tests-ifunc).
75745         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75746         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75747         * debug/test-stpcpy_chk-ifunc.c: New file.
75748         * debug/test-strcpy_chk-ifunc.c: Likewise.
75750 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
75752         [BZ #13601]
75753         * elf/dl-load.c (open_verify): Retry read if the entire ELF
75754         header is not read in.
75756 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
75758         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
75759         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
75760         directly.  Pass built executable to script as
75761         $(built-program-cmd).
75762         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
75763         $testprogram without using LD_LIBRARY_PATH and $ldso.
75765         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75766         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75767         $(rtld-installed-name).
75768         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75769         (rtld_installed_name): Likewise.
75770         (library_path): Likewise.
75771         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
75772         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75773         $(run-program-prefix) to tst-tables.sh.
75774         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
75775         it to run tst-table-from and tst-table-to.
75776         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75777         Pass it to tst-table.sh.
75778         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75779         $(run-program-prefix) to tst-gettext.sh.
75780         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75781         tst-translit.sh.
75782         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75783         tst-gettext2.sh.
75784         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
75785         to run tst-gettext.
75786         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
75787         to run tst-gettext2.
75788         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
75789         to run tst-translit.
75790         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75791         $(run-program-prefix) to tst-mtrace.sh.
75792         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
75793         to run tst-mtrace.
75794         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75795         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75796         $(rtld-installed-name).
75797         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75798         (rtld_installed_name): Likewise.
75799         (run_program_prefix): New variable.  Use it to run wordexp-test.
75801         * Makeconfig (ARCH): Remove all definitions.
75802         (machine): Likewise.
75803         [ARCH]: Remove conditional code.
75804         [!objdir]: Give error.
75805         [!objdir] (objpfx): Remove.
75806         [!objdir] (common-objpfx): Likewise.
75807         [!objdir] (common-objdir): Likewise.
75808         * configure.in (config_makefile): Remove.  Hardcode Makefile in
75809         AC_CONFIG_FILES call.
75810         * configure: Regenerated.
75812         [BZ #13888]
75813         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75814         or TMPDIR.
75815         (testout): Likewise.
75817         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75818         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75819         $(rtld-installed-name).
75820         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75821         (rtld_installed_name): Likewise.
75822         (runit): Remove function.
75823         (run_getconf): New variable,  Use it for running getconf binary.
75825 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
75827         [BZ #14716]
75828         * string/test-memmem.c (check_result): New function.
75829         (do_one_test): Use it.
75830         (check1): New function.
75831         (test_main): Use it.
75833 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
75835         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75837 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
75839         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75840         (_G_LSEEK64): Likewise.
75841         (_G_MMAP64): Likewise.
75842         (_G_FSTAT64): Likewise.
75843         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75844         (_G_LSEEK64): Likewise.
75845         (_G_MMAP64): Likewise.
75846         (_G_FSTAT64): Likewise.
75847         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75848         unconditional.  Call __mmap64 directly.
75849         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75850         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
75851         __lseek64 directly.
75852         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75853         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
75854         __mmap64 directly.
75855         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75856         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75857         __lseek64 directly.
75858         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75859         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75860         __lseek64 directly.
75861         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75862         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
75863         __lseek64 directly.
75864         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75865         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
75866         __fxstat64 directly.
75867         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75868         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75869         unconditional.
75870         (freopen64) [!_G_OPEN64]: Remove conditional code.
75871         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75872         unconditional.
75873         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75874         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75875         unconditional.
75876         (ftello64) [!_G_LSEEK64]: Remove conditional code.
75877         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75878         unconditional.
75879         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75880         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75881         unconditional.
75882         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75883         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75884         unconditional.
75885         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75886         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75887         unconditional.
75888         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75889         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75890         unconditional.
75891         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75893 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
75895         [BZ #12140]
75896         * manual/memory.texi (Malloc Tunable Parameters): Add note
75897         about free list pointers overwriting some perturb bytes.
75898         Wording suggested by Roland McGrath.
75900 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
75902         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75903         (lgamma_test): Likewise.
75904         (tgamma_test): Likewise.
75906 2012-10-16  Florian Weimer  <fweimer@redhat.com>
75908         [BZ #14700]
75909         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75910         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75912 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
75914         * NEWS: Mention BZ #14716.
75915         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75916         when removing AVAILABLE1_USES_J macro.
75918 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
75920         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75921         (__bswap_64): __uint64_t for unsigned 64-bit int.
75923 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
75925         * include/string.h (memmem): Declare libc hidden alias.
75926         * string/memmem.c (memmem): Define libc hidden alias.
75927         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75928         __read, __close instead of open, read, close.
75930 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
75932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75933         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75934         global and hidden.
75935         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75936         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75937         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75938         Likewise.
75939         (__rawmemchr_sse2): Likewise.
75940         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75941         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75942         (__strchr_sse2): Likewise.
75943         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75944         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75945         (__strcasecmp_sse2): Likewise.
75946         (__strncasecmp_sse2): Likewise.
75947         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75948         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75949         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75950         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75951         (__strrchr_sse2): Likewise.
75952         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75953         ifunc-impl-list.c.
75954         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75955         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75956         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75957         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75958         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75959         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
75961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75962         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75963         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75964         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75965         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75966         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75967         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75968         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75969         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75970         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75971         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75972         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75973         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75974         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75975         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75976         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75977         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75978         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75979         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75980         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75981         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75982         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75983         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75985         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75986         global and hidden.
75987         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75988         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75989         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75990         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75991         Likewise.
75992         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75993         Likewise.
75994         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75995         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75996         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75997         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75998         ifunc-impl-list.c.
75999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76000         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76001         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76002         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76003         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76004         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76005         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76006         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76008         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76009         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76010         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76011         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76012         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76013         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76014         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76015         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76016         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76017         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76018         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76019         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76020         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76021         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76022         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76023         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76024         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76025         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76026         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76027         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76029         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76030         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76031         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76032         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76033         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76034         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76035         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76036         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76037         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76038         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76039         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76041         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76042         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76043         * include/ifunc-impl-list.h: New file.
76044         * misc/ifunc-impl-list.c: Likewise.
76045         * misc/Makefile (routines): Add ifunc-impl-list.
76046         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76047         * string/test-string.h: Include <ifunc-impl-list.h>.
76048         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76049         TEST_NAME]: New variables.
76050         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76051         are defined.
76052         (test_init): Call __libc_ifunc_impl_list to initialize
76053         func_list if TEST_IFUNC and TEST_NAME are defined.
76055         * string/Makefile (strop-tests): Add bcopy and bzero.
76056         * string/test-bcopy.c: New file.
76057         * string/test-bzero.c: Likewise.
76058         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76059         defined.
76060         * string/test-memset.c: Support bzero test if TEST_BZERO is
76061         defined.
76062         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76063         __libc_memmove.
76064         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76065         __libc_memset.
76066         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76067         of memset.
76069 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76071         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76072         * configure: Regenerated.
76074         * Makeconfig (+link-static-before-libc): Don't include
76075         $(link-static-libc).
76077         * libio/libio.h (_IO_pos_t): Remove.
76079 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76081         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76082         McGrath.
76084 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76086         * crypt/crypt-entry.c: Include fips-private.h.
76087         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76088         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76089         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76090         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76092 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76094         * crypt/crypt-private.h: Include stdbool.h.
76095         (_ufc_setup_salt_r): Return bool.
76096         * crypt/crypt-entry.c: Include errno.h.
76097         (__crypt_r): Return NULL with EINVAL for bad salt.
76098         * crypt/crypt_util.c (bad_for_salt): New.
76099         (_ufc_setup_salt_r): Check that salt is long enough and within
76100         the specified alphabet.
76101         * crypt/badsalttest.c: New file.
76102         * crypt/Makefile (tests): Add it.
76103         ($(objpfx)badsalttest): New.
76105 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76107         * NEWS: Add entry for BZ #14602.
76109 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76111         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76112         type-generic.
76113         * math/libm-test.inc: Update comment listing what functions and
76114         macros are tested.
76115         (isgreater_test): New function.
76116         (isgreaterequal_test): Likewise.
76117         (isless_test): Likewise.
76118         (islessequal_test): Likewise.
76119         (islessgreater_test): Likewise.
76120         (isunordered_test): Likewise.
76121         (main): Call the new functions.
76123 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76125         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76126         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76127         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76128         * sysdeps/i386/configure: Regenerated.
76129         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76130         * sysdeps/mach/configure: Regenerated.
76131         * sysdeps/mach/hurd/configure: Regenerated.
76132         * sysdeps/powerpc/configure: Regenerated.
76133         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76134         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76135         * sysdeps/s390/s390-32/configure: Regenerated.
76136         * sysdeps/s390/s390-64/configure: Regenerated.
76137         * sysdeps/sh/configure: Regenerated.
76138         * sysdeps/sparc/configure: Regenerated.
76139         * sysdeps/unix/sysv/linux/configure: Regenerated.
76140         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76141         * sysdeps/x86_64/configure: Regenerated.
76143         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76144         defined.  Don't check if MAP is NULL.
76146 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76148         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76149         (_G_stat64): Likewise.
76150         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76151         (_G_stat64): Likewise.
76152         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76153         instead of struct _G_stat64.
76154         * libio/fileops.c (mmap_remap_check): Likewise.
76155         (decide_maybe_mmap): Likewise.
76156         (_IO_new_file_seekoff): Likewise.
76157         (_IO_file_stat): Likewise.
76158         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76159         _G_off64_t.
76160         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76161         instead of struct _G_stat64.
76162         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76164 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76166         [BZ #14602]
76167         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76168         Replace with ...
76169         (CHECK_EOL): New macro.
76170         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76171         CHECK_EOL.
76172         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76173         Replace with CHECK_EOL.
76174         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76175         Replace with CHECK_EOL.
76177 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76179         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76180         type-generic.
76181         * math/libm-test.inc: Update comment listing what functions and
76182         macros are tested.
76183         (finite_test): New function.
76184         (isinf_test): Likewise.
76185         (isnan_test): Likewise.
76186         (fpclassify_test): Test subnormal input.
76187         (isfinite_test): Likewise.
76188         (isnormal_test): Likewise.
76189         (main): Call the new functions.
76191 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76193         [BZ #14660]
76194         * Makerules (%.dynsym): Force C locale when running
76195         $(OBJDUMP) --dynamic-syms.
76197 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76199         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76200         <stdint.h>.
76202 2012-10-06  David S. Miller  <davem@davemloft.net>
76204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76205         upper 32-bits of the length value in %o2 since we use branch-on-register
76206         tests which consider the entire 64-bit register.
76208 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76210         * string/test-strstr.c (check2): Add a test for page boundary.
76212 2012-10-05  David S. Miller  <davem@davemloft.net>
76214         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76215         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76216         file.
76217         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76218         sysdep_routines.
76219         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76220         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76221         and bzero when HWCAP_SPARC_CRYPTO is present.
76223 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76225         [BZ #14602]
76226         * string/test-strstr.c (check2): New function.
76227         (test_main): Call check2.
76229         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76230         and bug-strchr1.
76231         * string/bug-strcasestr1.c (do_test): Moved to ...
76232         * string/test-strcasestr.c (check1): Here.  New function.
76233         (do_one_test): Break out result checking code into ...
76234         (check_result): This.  New function.
76235         (do_one_test): Call check_result.
76236         (test_main): Call check1.
76237         * string/bug-strchr1.c (do_test): Moved to ...
76238         * string/test-strchr.c (check1): Here.  New function.
76239         (do_one_test): Break out result checking code into ...
76240         (check_result): This.  New function.
76241         (do_one_test): Call check_result.
76242         (test_main): Call check1.
76243         * string/bug-strstr1.c (main): Moved to ...
76244         * string/test-strstr.c (check1): Here.  New function.
76245         (do_one_test): Break out result checking code into ...
76246         (check_result): This.  New function.
76247         (do_one_test): Call check_result.
76248         (test_main): Call check1.
76249         * string/bug-strcasestr1.c: Removed.
76250         * string/bug-strchr1.c: Likewise.
76251         * string/bug-strstr1.c: Likewise.
76253         * elf/Makefile (dl-routines): Add hwcaps.
76254         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76255         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76256         (_dl_important_hwcaps): Moved to ...
76257         * elf/dl-hwcaps.c: Here.  New file.
76258         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76260         [BZ #14557]
76261         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76262         if IS_IN_rtld isn't defined.
76264         * elf/dl-support.c (_dl_sysinfo_map): New.
76265         Include "get-dynamic-info.h" and "setup-vdso.h".
76266         (_dl_non_dynamic_init): Call setup_vdso.
76267         * elf/dynamic-link.h: Don't include <assert.h>.
76268         (elf_get_dynamic_info): Moved to ...
76269         * elf/get-dynamic-info.h: Here.  New file.
76270         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76271         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76272         * elf/setup-vdso.h: Here.  New file.
76273         * elf/rtld.c: Include "setup-vdso.h".
76274         (dl_main): Call setup_vdso.
76276 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76278         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76279         creal in comment listing functions tested.  List finite, isinf,
76280         isnan, isless, islessequal, isgreater, isgreaterequal,
76281         islessgreater, isunordered, lgamma_r and pow10 as functions and
76282         macros not tested.  Mention which functions not tested are aliases
76283         for other functions.  Fix typo.  Note that signs of NaNs are not
76284         tested.
76286         * scripts/config.guess: Update from config.git.
76287         * scripts/config.sub: Likewise.
76289 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76291         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76292         * misc/madvise.c (madvise): Renamed to __madvise.
76293         Make madvise a weak alias.
76294         * include/sys/mman.h: Declare __madvise.
76295         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76296         * sysdeps/unix/syscalls.list
76297         (madvise): Make __madvise the strong name, and madvise a weak alias.
76298         * sysdeps/unix/sysv/linux/syscalls.list
76299         (madvise, mmap): Remove redundant entries.
76300         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76301         * malloc/malloc.c (mtrim): Likewise.
76302         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76304 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76306         * sysdeps/mach/hurd/dl-cache.c: File removed.
76307         * config.h.in (USE_LDCONFIG): New #undef.
76308         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76309         * configure: Regenerated.
76310         * elf/Makefile (dl-routines): Add dl-cache only under
76311         [$(use-ldconfig) = yes].
76312         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76313         cache on [USE_LDCONFIG].
76314         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76315         [USE_LDCONFIG].
76316         * elf/rtld.c (dl_main): Likewise.
76318 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76320         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76321         _SC_LEVEL4_CACHE_LINESIZE.
76323 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76325         * sysdeps/unix/bsd/confstr.h: File removed.
76327 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76329         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76330         sys/sdt-config.h.
76332 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76334         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76335         Make 'mapoff' field ElfW(Off) rather than off_t.
76337 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76339         * nscd/Makefile: Remove nscd-cflags and all its users.
76340         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76341         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76343         [BZ #10631]
76344         * malloc.c (malloc_printerr): Clarify error message.
76346 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76348         [BZ #14648]
76349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76350         Set bit_FMA_Usable if FMA is supported.
76351         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76352         macro.
76353         (bit_FMA4_Usable): Updated.
76354         (index_FMA_Usable): New macro.
76355         (CPUID_FMA): Likewise.
76356         (HAS_FMA): Defined with bit_FMA_Usable.
76358 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76360         * bits/types.h (__swblk_t): Type removed.
76361         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76362         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76364         (__SWBLK_T_TYPE): Likewise.
76365         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76366         (__SWBLK_T_TYPE): Likewise.
76367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76368         (__SWBLK_T_TYPE): Likewise.
76369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76370         (__SWBLK_T_TYPE): Likewise.
76372 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76373             Honza Horak <hhorak@redhat.com>
76375         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76376         (xdr_mapname): Use YPMAXMAP as maxsize.
76377         (xdr_peername): Use YPMAXPEER as maxsize.
76378         (xdr_keydat): Use YPAXRECORD as maxsize.
76379         (xdr_valdat): Use YPMAXRECORD as maxsize.
76381 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76383         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76385         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76386         * csu/init-first.c: ... here.
76387         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76388         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76389         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76390         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76391         * sysdeps/i386/init-first.c: File removed.
76392         * sysdeps/sh/init-first.c: File removed.
76394 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76396         [BZ #14645]
76397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76398         if x * y might underflow to zero and z is zero.
76399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76401         * math/libm-test.inc (min_subnorm_value): New variable.
76402         (fma_test): Add more tests.
76403         (fma_test_towardzero): Likewise.
76404         (fma_test_downward): Likewise.
76405         (fma_test_upward): Likewise.
76406         (initialize): Set min_subnorm_value.
76408 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76410         [BZ #14638]
76411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76412         0 + 0.
76413         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76414         mode for addition resulting in exact zero.
76415         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76417         exact 0 + 0.
76418         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76419         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76420         * math/libm-test.inc (fma_test): Add more tests.
76421         (fma_test_towardzero): New function.
76422         (fma_test_downward): Likewise.
76423         (fma_test_upward): Likewise.
76424         (main): Call the new functions.
76426 2012-09-28  David S. Miller  <davem@davemloft.net>
76428         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76430 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76432         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76433         instead of SIGALRM.
76435         * sysdeps/gnu/_G_config.h: Moved to ...
76436         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76437         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76438         * sysdeps/generic/_G_config.h: ... here.
76440         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76442         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76444         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76445         Conditionalize target on [libnss_test1.so-version].
76447         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76449         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76450         (elfobjdir): Move out of conditionals.
76452         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76453         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76454         (__nss_lookup_function): Conditionalize label remove_from_tree on
76455         [!DO_STATIC_NSS || SHARED], matching its only use.
76457 2012-09-28  David S. Miller  <davem@davemloft.net>
76459         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76460         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76461         file.
76462         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76463         sysdep_routines.
76464         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76465         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76466         when HWCAP_SPARC_CRYPTO is present.
76468 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76470         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76472 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76474         [BZ #6530]
76475         * stdio-common/vfprintf.c (process_string_arg): Revert
76476         2000-07-22 change.
76478 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76480         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76481         for testcase.
76482         * stdio-common/tst-sprintf.c: Include <locale.h>
76483         (main): Test sprintf's handling of incomplete multibyte
76484         characters.
76486 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76488         * elf/dl-runtime.c (VERSYMIDX): Removed.
76489         * elf/dl-version.c (VERSYMIDX): Likewise.
76490         * elf/do-rel.h (VERSYMIDX): Likewise.
76491         (VALIDX): Likewise.
76492         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76493         * elf/rtld.c (VALIDX): Likewise.
76494         (ADDRIDX): Likewise.
76495         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76496         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76497         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76498         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76499         (VALIDX): Likewise.
76500         (ADDRIDX): Likewise.
76502 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76504         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76506 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76508         [BZ #11438]
76509         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76510         to global scope.
76511         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76512         addresses are in the same scope as 192.0.2/24.
76513         * posix/gai.conf: Document new scope table defaults.
76515 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76517         [BZ #5298]
76518         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76519         for ftell.  Compute offsets from write pointers instead.
76520         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76522 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76524         [BZ #14543]
76525         * libio/Makefile (tests): New test case tst-fseek.
76526         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76527         combination works in wide mode.
76528         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76529         state when the external buffer state changes.
76531 2012-09-27  David S. Miller  <davem@davemloft.net>
76533         [BZ #14376]
76534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76535         pass reloc->r_addend in as the 'high' argument to
76536         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76540 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76542         * rt/tst-aio2.c: Include <pthread.h>.
76543         * rt/tst-aio3.c: Likewise.
76545 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76547         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76549 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76551         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76552         contents on [SHARED].
76554 2012-09-26  Marek Polacek  <polacek@redhat.com>
76556         [BZ #14530]
76557         [BZ #13741]
76558         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76559         for C++ and GCC <4.3 as well as for non GCC compilers.
76561 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76565 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76567         * Makefile.in (all, install): Declare with .PHONY.
76568         Reported by Michael Hope <michael.hope@linaro.org>.
76570 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76572         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76573         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76574         system header.
76575         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76576         Likewise.
76577         (sydep_routines): Add the new and the internal functions.
76578         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76579         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76581         (GLIBC_2.17): Add the new function.
76582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76583         (GLIBC_2.17): Likewise.
76584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76585         (GLIBC_2.17): Likewise.
76586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76587         (GLIBC_2.17): Likewise.
76588         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76590 2012-09-25  Alan Modra  <amodra@gmail.com>
76592         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76593         Add release barrier before setting once_control to say
76594         initialisation is done.  Add hints on lwarx.  Use macro in
76595         place of isync.
76596         (clear_once_control): Add release barrier.
76598 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76600         [BZ #13629]
76601         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76602         specially.
76603         * math/s_clog10.c (__clog10): Likewise.
76604         * math/s_clog10f.c (__clog10f): Likewise.
76605         * math/s_clog10l.c (__clog10l): Likewise.
76606         * math/s_clogf.c (__clogf): Likewise.
76607         * math/s_clogl.c (__clogl): Likewise.
76608         * math/Makefile (libm-calls): Add x2y2m1.
76609         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76610         (__x2y2m1): Likewise.
76611         (__x2y2m1l): Likewise.
76612         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76613         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76614         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76615         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76616         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76617         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76618         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76619         * sysdeps/i386/fpu/libm-test-ulps: Update.
76620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76622         [BZ #14621]
76623         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76624         int as type of variable DEPTH.
76625         (glob): Use size_t instead of int as type of variables NEWCOUNT
76626         and OLD_PATHC.
76628 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76630         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76631         Add s_sincosf-sse2.
76632         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76633         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76634         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76635         macros for using routine as __sincosf_ia32.
76636         Use macro for function declaration and weak_alias.
76637         * sysdeps/i386/fpu/libm-test-ulps: Update.
76639         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76642         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76643         subnormal argument.
76644         * math/s_cexpf.c (__cexpf): Likewise.
76645         * math/s_csinf.c (__csinf): Likewise.
76646         * math/s_csinhf.c (__csinhf): Likewise.
76647         * math/s_ctanf.c (__ctanf): Likewise.
76648         * math/s_ctanhf.c (__ctanhf): Likewise.
76649         * math/s_ccosh.c (__ccoshf): Likewise.
76650         * math/s_cexp.c (__cexpl): Likewise.
76651         * math/s_csin.c (__csin): Likewise.
76652         * math/s_csinh.c (__csinh): Likewise.
76653         * math/s_ctan.c (__ctan): Likewise.
76654         * math/s_ctanh.c (ctanh): Likewise.
76655         * math/s_ccoshl.c (__ccoshl): Likewise.
76656         * math/s_cexpl.c (__cexpl): Likewise.
76657         * math/s_csinl.c (__csinl): Likewise.
76658         * math/s_csinhl.c (__csinhl): Likewise.
76659         * math/s_ctanl.c (__ctanl): Likewise.
76660         * math/s_ctanhl.c (__ctanhl): Likewise.
76662 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76664         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76665         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76666         (_IO_off_t): Define to __off_t, not _G_off_t.
76667         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76668         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76669         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76670         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76671         type of __dummy and __dummy2 fields.
76672         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76673         (_G_ssize_t): Likewise.
76674         (_G_off_t): Likewise.
76675         (_G_pid_t): Likewise.
76676         (_G_uid_t): Likewise.
76677         (_G_wchar_t): Likewise.
76678         (_G_wint_t): Likewise.
76679         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76680         (_G_ssize_t): Likewise.
76681         (_G_off_t): Likewise.
76682         (_G_pid_t): Likewise.
76683         (_G_uid_t): Likewise.
76684         (_G_wchar_t): Likewise.
76685         (_G_wint_t): Likewise.
76686         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76687         (_G_ssize_t): Likewise.
76688         (_G_off_t): Likewise.
76689         (_G_pid_t): Likewise.
76690         (_G_uid_t): Likewise.
76691         (_G_wchar_t): Likewise.
76692         (_G_wint_t): Likewise.
76694 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76696         * malloc/arena.c: Include malloc-sysdep.h.
76697         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76698         is sufficient to shrink the heap or an unmap is needed.
76699         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76700         new function check_may_shrink_heap.
76701         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76702         new function check_may_shrink_heap.
76704 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76706         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76707         comments.
76709 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76711         * catgets/test-gencat.sh: Add "set -e".
76712         * elf/tst-pathopt.sh: Likewise.
76713         * grp/tst_fgetgrent.sh: Likewise.
76714         * iconvdata/run-iconv-test.sh: Likewise.
76715         * intl/tst-gettext.sh: Likewise.
76716         * intl/tst-gettext2.sh: Likewise.
76717         * intl/tst-gettext4.sh: Likewise.
76718         * intl/tst-gettext6.sh: Likewise.
76719         * intl/tst-translit.sh: Likewise.
76720         * io/ftwtest-sh: Likewise.
76721         * libio/test-freopen.sh: Likewise.
76722         * malloc/tst-mtrace.sh: Likewise.
76723         * posix/globtest.sh: Likewise.
76724         * posix/tst-getconf.sh: Likewise.
76725         * posix/wordexp-tst.sh: Likewise.
76726         * stdio-common/tst-printf.sh: Likewise.
76727         * stdio-common/tst-unbputc.sh: Likewise.
76728         * stdlib/tst-fmtmsg.sh: Likewise.
76729         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76730         * catgets/Makefile: Do not specify -e option when running
76731         testsuite shell scripts.
76732         * elf/Makefile: Likewise.
76733         * grp/Makefile: Likewise.
76734         * iconvdata/Makefile: Likewise.
76735         * intl/Makefile: Likewise.
76736         * io/Makefile: Likewise.
76737         * libio/Makefile: Likewise.
76738         * malloc/Makefile: Likewise.
76739         * posix/Makefile: Likewise.
76740         * stdio-common/Makefile: Likewise.
76741         * stdlib/Makefile: Likewise.
76742         * sysdeps/x86_64/Makefile: Likewise.
76744         * io/ftwtest-sh: Add copyright header.
76745         * posix/globtest.sh: Likewise.
76746         * posix/tst-getconf.sh: Likewise.
76747         * posix/wordexp-tst.sh: Likewise.
76748         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76750 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
76752         [BZ #13679]
76753         * Makeconfig (+link): Defined as $(+link-static) if
76754         $(build-shared) isn't yes.
76755         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76756         isn't yes.
76757         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76759         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76761         [BZ #14562]
76762         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76763         new chunk size with MALLOC_ALIGN_MASK.
76765 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
76767         [BZ #5044]
76768         * stdio-common/printf_fphex.c: Include <stdbool.h> and
76769         <rounding-mode.h>.
76770         (__printf_fphex): Determine rounding using get_rounding_mode and
76771         round_away.
76772         * stdio-common/tst-printf-round.c (struct hex_test): New
76773         structure.
76774         (hex_tests): New variable.
76775         (test_hex_in_one_mode): New function.
76776         (do_test): Also run tests for hex float output.
76778 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
76780         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76781         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76782         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76783         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76784         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76785         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76786         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76789 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
76791         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76792         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76793         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76794         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76796 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
76798         [BZ #14579]
76799         * elf/rtld.c (dl_main): Limit the check for self loading to normal
76800         mode only.
76801         * elf/tst-rtld-load-self.sh: New test.
76802         * elf/Makefile: Run it.
76804 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
76806         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76807         (tst-writev-ENV): Remove.
76808         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76810 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
76812         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76814 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
76816         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76817         unconditional.
76818         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76819         Likewise.
76820         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76821         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76822         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76823         Likewise.
76825 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
76827         [BZ #14587]
76828         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76829         * config.make.in (have-cpp-asm-debuginfo): Removed.
76830         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76831         * configure: Regenerated.
76833 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
76835         [BZ #5044]
76836         * stdio-common/printf_fp.c: Include <stdbool.h> and
76837         <rounding-mode.h>.
76838         (___printf_fp): Determine rounding using get_rounding_mode and
76839         round_away.
76840         * stdio-common/tst-printf-round.c: New file.
76841         * stdio-common/Makefile (tests): Add tst-printf-round.
76842         (link-libm): New variable.
76843         ($(objpfx)tst-printf-round): Depend in $(link-libm).
76845 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
76847         [BZ #14576]
76848         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76849         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76850         Likewise.
76851         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76852         Likewise.
76854 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
76856         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76857         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76858         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76859         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76861 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
76863         [BZ #14518]
76864         * include/rounding-mode.h: New file.
76865         * sysdeps/generic/get-rounding-mode.h: Likewise.
76866         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76867         * stdlib/strtod_l.c: Include <rounding-mode.h>.
76868         (MAX_VALUE): New macro.
76869         (MIN_VALUE): Likewise.
76870         (overflow_value): New function.
76871         (underflow_value): Likewise.
76872         (round_and_return): Use overflow_value and underflow_value to
76873         determine return values in overflow and underflow cases.  Use
76874         round_away to determine rounding depending on rounding mode.
76875         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76876         determine return values in overflow and underflow cases.
76877         * stdlib/tst-strtod-round.c: Include <fenv.h>.
76878         (struct test_results): New structure.
76879         (struct test): Use struct test_results to store expected results
76880         for all rounding modes.
76881         (TEST): Include expected results for all rounding modes.
76882         (test_in_one_mode): New function.
76883         (do_test): Use test_in_one_mode to compute and check results.
76884         Check results for all rounding modes.
76885         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76886         $(link-libm).
76888 2012-12-09  Allan McRae  <allan@archlinux.org>
76890         * sysdeps/i386/fpu/libm-test-ulps: Update
76892 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
76894         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76895         (_G_int32_t): Likewise.
76896         (_G_uint16_t): Likewise.
76897         (_G_uint32_t): Likewise.
76898         (_G_HAVE_BOOL): Likewise.
76899         (_G_HAVE_ATEXIT): Likewise.
76900         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76901         (_G_HAVE_IO_FILE_OPEN): Likewise.
76902         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76903         (_G_int32_t): Likewise.
76904         (_G_uint16_t): Likewise.
76905         (_G_uint32_t): Likewise.
76906         (_G_HAVE_BOOL): Likewise.
76907         (_G_HAVE_ATEXIT): Likewise.
76908         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76909         (_G_HAVE_IO_FILE_OPEN): Likewise.
76910         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76911         (_G_int32_t): Likewise.
76912         (_G_uint16_t): Likewise.
76913         (_G_uint32_t): Likewise.
76914         (_G_HAVE_BOOL): Likewise.
76915         (_G_HAVE_ATEXIT): Likewise.
76916         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76917         (_G_HAVE_IO_FILE_OPEN): Likewise.
76919 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
76921         * csu/libc-tls.c: Update copyright years.
76923 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
76925         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76926         [!_G_USING_THUNKS]: Remove conditional code.
76927         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76928         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76930         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76931         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76932         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76933         (_G_VTABLE_LABEL_PREFIX): Likewise.
76934         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76935         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76936         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76937         (_G_VTABLE_LABEL_PREFIX): Likewise.
76938         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76939         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76940         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76941         (_G_VTABLE_LABEL_PREFIX): Likewise.
76942         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76944 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
76946         * libio/Makefile: Include ../Makeconfig before tests.
76947         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76948         only if $(build-shared) is yes.
76950         * iconv/gconv_db.c: Update copyright years.
76952 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76954         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76955         unwind info if defined PIC. Fix special cases description.
76956         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76958         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76959         DP_HI_MASK entry.
76960         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76962 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
76964         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76966         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76967         is NULL.
76969         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76970         (LDLIBS-tst-chk4): This.
76971         (LDFLAGS-tst-chk5): Renamed to ...
76972         (LDLIBS-tst-chk5): This.
76973         (LDFLAGS-tst-chk6): Renamed to ...
76974         (LDLIBS-tst-chk6): This.
76975         (LDFLAGS-tst-lfschk4): Renamed to ...
76976         (LDLIBS-tst-lfschk4): This.
76977         (LDFLAGS-tst-lfschk5): Renamed to ...
76978         (LDLIBS-tst-lfschk5): This.
76979         (LDFLAGS-tst-lfschk6): Renamed to ...
76980         (LDLIBS-tst-lfschk6): This.
76982         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76983         on $(common-objpfx)soversions.mk.
76985 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
76987         [BZ #10014]
76988         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76989         example host name.
76991 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
76993         * malloc/arena.c (arena_get_retry): New function that gets
76994         another arena for the caller to try its request on.
76995         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76996         current arena cannot fulfill the request.
76997         (__libc_memalign): Likewise.
76998         (__libc_memalign): Likewise.
76999         (__libc_pvalloc): Likewise.
77000         (__libc_calloc): Likewise.
77002 2012-09-05  John Tobey  <john.tobey@gmail.com>
77004         [BZ #13542]
77005         * manual/arith.texi (Operations on Complex): Fix description
77006         of carg branch cut.
77008 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77010         [BZ #10014]
77011         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77012         host name.
77014         [BZ #10038]
77015         * manual/memory.texi (Memory): Make order of menu items match
77016         order of sections.
77018 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77020         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77021         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77022         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77024 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77026         * csu/libc-tls.c (static_dtv): Renamed to ...
77027         (_dl_static_dtv): This.  Make it global.
77028         (_dl_initial_dtv): Removed.
77029         (__libc_setup_tls): Updated.
77030         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77031         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77032         DL_INITIAL_DTV.
77034 2012-09-06  Petr Machata  <pmachata@redhat.com>
77036         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77037         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77038         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77039         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77041 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77043         [BZ #14545]
77044         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77045         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77046         freeing dtv[-1].
77048 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77050         [BZ #14544]
77051         * Makeconfig (link-static-before-libc): Replace $(+prector)
77052         with $(+prectorT).
77053         (link-static-after-libc): Replace $(+postctor) with
77054         $(+postctorT).
77055         (link-bounded): Replace $(+prector)/$(+postctor) with
77056         $(+prectorT)/$(+postctorT).
77057         (+prectorT): New macro.
77058         (+postctorT): Likewise.
77060 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77062         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77063         (round_str): Handle values above the maximum for IBM long double
77064         as inexact.
77065         * stdlib/tst-strtod-round.c (tests): Regenerated.
77067 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77069         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77070         assembler flag.
77071         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77072         zarch_nohighgprs around the zarch optimized routines.
77073         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77074         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77075         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77076         for zarch.
77078 2012-09-05  David S. Miller  <davem@davemloft.net>
77080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77082         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77083         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77084         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77085         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77086         entries.
77088 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77090         * malloc/arena.c: Fold copyright years.
77091         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77093 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77095         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77097 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77099         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77101 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77103         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77104         change internal state upon failure.
77106 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77108         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77109         * malloc/memusage.c (mmap): Likewise.
77110         (mmap64, mremap): Likewise.  Adjust name in comment.
77112 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77114         * libio/fileops.c: Fix typos in comments.
77115         * libio/oldfileops.c: Likewise.
77116         * libio/wfileops.c: Likewise.
77118 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77120         [BZ #1349]
77121         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77122         (tst-malloc-usable-ENV): Set environment for test case.
77123         * malloc/hooks.c (malloc_check_get_size): New function to get
77124         requested size.
77125         * malloc/malloc.c (musable): Use malloc_check_get_size.
77126         * malloc/tst-malloc-usable.c: New test case.
77128 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77130         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77132 2012-09-05  Allan McRae  <allan@archlinux.org>
77134         [BZ #13966]
77135         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77136         determine header location.
77137         * configure: Regenerated.
77139 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77141         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77142         float format.
77143         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77144         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77145         format.
77146         (test): Regenerate.
77148 2012-09-04  David S. Miller  <davem@davemloft.net>
77150         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77151         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77152         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77154 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77156         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77157         failures.
77159         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77161 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77163         [BZ #9914]
77164         * libio/iogetdelim.c: Include <limits.h>.
77165         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77166         + len + 1 would overflow.
77168 2012-09-03  Andreas Jaeger  <aj@suse.de>
77170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77171         * sysdeps/i386/fpu/libm-test-ulps: Update.
77173 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77175         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77176         Add s_sinf-sse2, s_conf-sse2.
77178         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77179         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77180         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77181         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77183         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77184         for using routine as __sinf_ia32.
77185         Use macro for function declaration and weak_alias.
77186         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77187         for using routine as __cosf_ia32.
77188         Use macro for function declaration and weak_alias.
77190         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77191         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77193         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77194         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77197         * math/libm-test.inc (cos_test): Add more test cases.
77198         (sin_test): Likewise.
77199         (sincos_test): Likewise.
77201 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77204         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77205         hidden.
77206         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77208 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77210         [BZ #14538]
77211         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77212         first element of the GOT.
77213         (elf_machine_load_address): Return the difference between
77214         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77216 2012-09-01  Allan McRae  <allan@archlinux.org>
77218         [BZ #13412]
77219         * configure.in (AWK): Require gawk version 3.0 or later.
77220         * configure: Regenerated.
77222 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77224         * sysdeps/unix/sysv/linux/kernel-features.h
77225         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77226         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77227         [__NR_clock_getres]: Make code unconditional.
77228         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77229         (clock_getcpuclockid): Remove code left unreachable by removal of
77230         conditionals.
77231         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77232         code unconditional.
77233         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77234         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77235         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77236         Make code unconditional.
77237         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77238         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77239         * sysdeps/unix/sysv/linux/clock_settime.c
77240         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77241         conditional code.
77242         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77243         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77245 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77247         [BZ #14476]
77248         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77249         scripts/test-installation.pl.
77251         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77252         and $ld_so_version if it is set.
77254 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77256         [BZ #14516]
77257         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77258         failure if reading from procfs failed.
77259         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77261 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77263         * sysdeps/unix/sysv/linux/kernel-features.h
77264         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77265         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77266         Remove conditional code.
77267         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77268         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77269         Remove conditional code.
77270         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77271         * sysdeps/unix/sysv/linux/i386/fxstat.c
77272         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77273         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77274         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77275         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77276         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77277         * sysdeps/unix/sysv/linux/i386/lxstat.c
77278         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77279         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77280         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77281         Remove conditional code.
77282         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77283         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77284         Remove conditional code.
77285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77286         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77287         <kernel-features.h>.
77288         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77289         Remove.
77290         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77291         Remove conditional code.
77292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77293         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77294         Remove conditional.
77296 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77298         [BZ #5400]
77299         * NEWS: Add fixed bug number.
77301 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77303         [BZ #14519]
77304         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77305         underflowing exponent in case of negative sign.
77306         * stdlib/tst-strtod-round-data: Add more tests.
77307         * stdlib/tst-strtod-round.c (tests): Regenerated.
77309         [BZ #3479]
77310         * stdlib/strtod_l.c (NDIG): Remove.
77311         (HEXNDIG): Likewise.
77312         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77313         smallest representable value.
77314         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77315         lie within an exact representation of 1/2 ulp of the result.
77316         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77317         unconditionally.
77318         (TENS_P9_IDX): Define unconditionally.
77319         (TENS_P9_SIZE): Likewise.
77320         (TENS_P10_IDX): Likewise.
77321         (TENS_P10_SIZE): Likewise.
77322         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77323         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77324         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77325         entries for 10^2^13 and 10^2^14.
77326         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77327         (TENS_P13_IDX): Define.
77328         (TENS_P13_SIZE): Likewise.
77329         (TENS_P14_IDX): Likewise.
77330         (TENS_P14_SIZE): Likewise.
77331         (_fpioconst_pow10): Change array size to
77332         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77333         unconditional.
77334         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77335         1024]: Add entries for 10^2^13 and 10^2^14.
77336         [LAST_POW10 > _LAST_POW10]: Remove #error.
77337         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77338         (_fpioconst_pow10): Change array size to
77339         FPIOCONST_POW10_ARRAY_SIZE.
77340         * stdlib/gen-fpioconst.c: New file.
77341         * stdlib/gen-tst-strtod-round.c: Likewise.
77342         * stdlib/tst-strtod-round-data: Likewise.
77343         * stdlib/tst-strtod-round.c: Likewise.
77344         * stdlib/Makefile (tests): Add tst-strtod-round.
77346         [BZ #14459]
77347         * stdlib/strtod_l.c: Include <stdint.h>.
77348         (NDEBUG): Do not define.
77349         (round_and_return): Change EXPONENT parameter to type intmax_t.
77350         Rearrange calculations to avoid internal overflow possibilities.
77351         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77352         Rearrange calculations to avoid internal overflow possibilities.
77353         Assert that number fits inside MPNSIZE limbs.
77354         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77355         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77356         calculations and add assertions to avoid internal overflow
77357         possibilities.  Add casts to avoid signed/unsigned operations.
77358         * stdlib/tst-strtod-overflow.c: New file.
77359         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77361 2012-08-25  Marek Polacek  <polacek@redhat.com>
77363         * time/time.h: Fix some typos in comments.
77365 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77367         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77368         * posix/tst-rfc3484-2.c: Likewise.
77369         * posix/tst-rfc3484-3.c: Likewise.
77371 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77373         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77374         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77376 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77378         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77379         #include of fxstatat64.c.
77381 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77383         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77384         * shadow/getspent_r.c: Likewise.
77385         * shadow/getspnam.c: Likewise.
77386         * shadow/getspnam_r.c: Likewise.
77387         * gshadow/getsgent.c: Likewise.
77388         * gshadow/getsgent_r.c: Likewise.
77389         * gshadow/getsgnam.c: Likewise.
77390         * gshadow/getsgnam_r.c: Likewise.
77391         * inet/getnetbyad.c: Likewise.
77392         * inet/getnetbyad_r.c: Likewise.
77393         * inet/getnetbynm.c: Likewise.
77394         * inet/getnetbynm_r.c: Likewise.
77395         * inet/getnetent.c: Likewise.
77396         * inet/getnetent_r.c: Likewise.
77397         * inet/getproto.c: Likewise.
77398         * inet/getproto_r.c: Likewise.
77399         * inet/getprtent.c: Likewise.
77400         * inet/getprtent_r.c: Likewise.
77401         * inet/getprtname.c: Likewise.
77402         * inet/getprtname_r.c: Likewise.
77403         * inet/getrpcbyname.c: Likewise.
77404         * inet/getrpcbyname_r.c: Likewise.
77405         * inet/getrpcbynumber.c: Likewise.
77406         * inet/getrpcbynumber_r.c: Likewise.
77407         * inet/getrpcent.c: Likewise.
77408         * inet/getrpcent_r.c: Likewise.
77409         * inet/getaliasent.c: Likewise.
77410         * inet/getaliasent_r.c: Likewise.
77411         * inet/getaliasname.c: Likewise.
77412         * inet/getaliasname_r.c: Likewise.
77413         * nscd/getgrgid_r.c: Likewise.
77414         * nscd/getgrnam_r.c: Likewise.
77415         * nscd/gethstbyad_r.c: Likewise.
77416         * nscd/gethstbynm3_r.c: Likewise.
77417         * nscd/getpwnam_r.c: Likewise.
77418         * nscd/getpwuid_r.c: Likewise.
77419         * nscd/getsrvbynm_r.c: Likewise.
77420         * nscd/getsrvbypt_r.c: Likewise.
77421         * nscd/gai.c: Likewise.
77423         * configure.in (build_nscd): New substituted variable, set
77424         by --disable-build-nscd and defaults to $use_nscd.
77425         * configure: Regenerated.
77426         * config.make.in (build-nscd): New substituted variable.
77427         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77428         Change conditional to require [$(build-nscd) = yes] as well.
77429         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77431         [BZ #13696]
77432         * configure.in (use_nscd): New substituted variable, set by
77433         --disable-nscd.  If enabled, define USE_NSCD.
77434         * configure: Regenerated.
77435         * config.h.in: Add USE_NSCD.
77436         * config.make.in (use-nscd): New substituted variable.
77437         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77438         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77439         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77440         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77441         (CFLAGS-getgrnam_r.c): Likewise.
77442         (CFLAGS-initgroups.c): Likewise.
77443         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77444         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77445         Variables removed.
77446         * inet/getnetgrent_r.c
77447         (nscd_setnetgrent): New function, broken out of ...
77448         (setnetgrent): ... here.  Call it.
77449         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77450         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77451         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77452         * nscd/Makefile (routines, aux): Move definitions after include of
77453         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77454         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77455         Conditionalize on [USE_NSCD].
77456         (is_nscd, nscd_init_cb): Likewise.
77457         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77458         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77459         * nss/nss_db/db-init.c: Likewise.
77460         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77461         [USE_NSCD].
77462         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77463         (make_request): Use it.
77464         (cache_valid_p): New function.
77465         (__check_pf): Use it.
77466         * NEWS: Add item for --disable-nscd.
77468 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77470         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77471         to support sed >= 4.2.1-20-ga9bf076.
77472         * configure: Regenerated.
77474 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77476         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77477         Conditionalize whole body on [IREL].
77479 2012-08-22  Jeff Law <law@redhat.com>
77481         [BZ #14505]
77482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77483         if the family is PF_UNSPEC.
77485 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77487         * Makerules (lib-version): Rename from V.
77488         (install-lib-nosubdir): Change V to lib-version.
77490 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77492         [BZ #14252]
77493         * powerpc32/power6/wcschr.c: New file.
77494         * powerpc32/power6/wcscpy.c: New file.
77495         * powerpc32/power6/wcsrchr.c: New file.
77496         * powerpc64/power6/wcschr.c: New file.
77497         * powerpc64/power6/wcscpy.c: New file.
77498         * powerpc64/power6/wcsrchr.c: New file.
77500 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77502         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77503         (two_way_short_needle): Use it.
77504         * string/strstr.c (AVAILABLE1_USES_J): Define.
77505         * string/strcasestr.c: Likewise.
77507         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77508         array references.
77509         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77511         [BZ #11607]
77512         * NEWS: Add an entry.
77513         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77514         define their defaults.
77515         (two_way_short_needle): Detect end-of-string on-the-fly.
77516         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77517         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77518         * string/bug-strcasestr1.c: New test.
77519         * string/Makefile: Run it.
77521 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77523         [BZ #11607]
77524         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77525         the first character.
77527 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77529         * csu/elf-init.c (__libc_csu_irel): Function removed.
77530         * csu/libc-start.c (apply_irel): New function.
77531         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77533 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77535         * sysdeps/unix/sysv/linux/kernel-features.h
77536         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77537         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77538         <kernel-features.h>.
77539         [__NR_fadvise64_64]: Make code unconditional.
77540         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77541         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77542         !__NR_fadvise64_64)]: Likewise.
77543         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77544         !__NR_fadvise64_64))]: Likewise.
77545         [__NR_fadvise64]: Make code unconditional.
77546         [!__NR_fadvise64]: Remove conditional code.
77547         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77548         <kernel-features.h>.
77549         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77550         unconditional.
77551         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77552         conditional code.
77553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77554         not include <kernel-features.h>.
77555         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77556         unconditional.
77557         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77558         conditional code.
77559         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77560         include <kernel-features.h>.
77561         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77562         unconditional.
77563         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77564         conditional code.
77566 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77569         slight instruction rearrangements per scrollpipe analysis.
77570         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77572 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77574         * manual/syslog.texi (syslog; vsyslog, closelog):
77575         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77576         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77578         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77579         DSOCAPS to match condition on defining it.
77581 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77583         * sysdeps/unix/sysv/linux/kernel-features.h
77584         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77586         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77587         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77589         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77590         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77592         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77593         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77595         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77596         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77598         * sysdeps/unix/sysv/linux/kernel-features.h
77599         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77600         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77601         unconditional.
77602         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77603         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77604         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77605         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77606         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77607         Make code unconditional.
77608         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77609         (__mmap64) [!__NR_mmap2]: Likewise.
77610         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77611         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77612         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77613         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77614         [__NR_mmap2]: Make code unconditional.
77615         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77616         (__mmap64) [!__NR_mmap2]: Likewise.
77618 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77620         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77622 2012-08-18  Andreas Jaeger  <aj@suse.de>
77624         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77626 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77628         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77629         * include/unistd.h (__have_sock_cloexec): Likewise.
77630         (__have_pipe2): Likewise.
77631         (__have_dup3): Likewise.
77633 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77635         [BZ #9685]
77636         * include/unistd.h (__have_pipe2): Change define into an extern int.
77637         (__have_dup3): Likewise.
77638         * socket/have_sock_cloexec.c: Include fcntl.h.
77639         (__have_pipe2): New variable.
77640         (__have_dup3): Likewise.
77642 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77644         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77646 2012-08-17  Marek Polacek  <polacek@redhat.com>
77648         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77649         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77651 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77653         * configure.in: Add AC_SUBST for sysheaders.
77654         * configure: Regenerated.
77655         * config.make.in (sysheaders): New substituted variable.
77657         * sysdeps/unix/mkfifo.c: Moved ...
77658         * sysdeps/posix/mkfifo.c: ... here.
77659         * sysdeps/unix/mkfifoat.c: Moved ...
77660         * sysdeps/posix/mkfifoat.c: ... here.
77662         * sysdeps/unix/utime.c: Moved ...
77663         * sysdeps/posix/utime.c: ... here.
77665         * sysdeps/unix/time.c: Moved ...
77666         * sysdeps/posix/time.c: ... here.
77667         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77668         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77670         * sysdeps/unix/nice.c: Moved ...
77671         * sysdeps/posix/nice.c: ... here.
77673         * sysdeps/unix/alarm.c: Moved ...
77674         * sysdeps/posix/alarm.c: ... here.
77676         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77678 2012-08-17  Jeff Law <law@redhat.com>
77680         * intl/Makefile (codeset_mo): New variable.
77681         ($(codeset_mo)): New target.
77682         (tst-codeset.out): Depend on that.  Remove explicit rule.
77683         (tst-gettext3.out, tst-gettext5.out): Likewise.
77684         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77685         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77686         * intl/tst-codeset.sh: Remove.
77687         * intl/tst-gettext3.sh: Likewise.
77688         * intl/tst-gettext5.sh: Likewise.
77690 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77692         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77693         * sysdeps/unix/syscalls.list: ... here.
77695         * sysdeps/posix/getaddrinfo.c
77696         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77697         (gaiconf_init, gaiconf_reload): Use them.
77698         [!_STATBUF_ST_NSEC]
77699         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77700         Define using time_t rather than struct timespec.
77702         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77703         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77704         Macros removed.
77705         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77706         [!NO_THREADS].
77707         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77708         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77709         Likewise.
77711         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77712         __libc_cleanup_push argument.
77714         * bits/param.h: New file.
77715         * misc/sys/param.h: New file.
77716         * include/sys/param.h: New file.
77717         * misc/Makefile (headers): Add bits/param.h.
77718         * sysdeps/generic/sys/param.h: File removed.
77719         * sysdeps/unix/sysv/linux/bits/param.h: New file.
77720         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77721         * sysdeps/mach/hurd/bits/param.h: New file.
77722         * sysdeps/mach/hurd/sys/param.h: File removed.
77724         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77725         last change.
77727         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77728         [_IO_MTSAFE_IO].
77729         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77730         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77731         New macros.
77733         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77734         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77735         rather than -D_IO_MTSAFE_IO conditionally.
77736         * stdio-common/Makefile (CPPFLAGS): Likewise.
77737         * wcsmbs/Makefile (CPPFLAGS): Likewise.
77738         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77739         Use $(libio-mtsafe).
77740         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77741         of -D_IO_MTSAFE_IO.
77742         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77743         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77744         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77745         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77746         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77747         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77748         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77749         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77750         (CFLAGS-fread_u_chk.c): Likewise.
77751         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77752         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77753         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77754         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77755         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77756         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77757         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77758         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77759         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77761         * libio/Makefile: Test [$(libc-reentrant) = yes]
77762         instead of [$(filter %REENTRANT, $(defines)) nonempty].
77764         * Makeconfig
77765         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77766         * sysdeps/pthread/configure: File removed.
77767         * sysdeps/pthread/Makeconfig: New file.
77768         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77769         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77771 2012-08-16  Gary Benson  <gbenson@redhat.com>
77773         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77774         unmapping the first object in a namespace.
77776 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77778         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77779         (__internal_setnetgrent): ... this.  Add internal_function to
77780         definition.  Add libc_hidden_def.
77781         (setnetgrent): Update caller.
77782         (internal_endnetgrent): Renamed to ...
77783         (__internal_endnetgrent): ... this.  Add internal_function to
77784         definition.  Add libc_hidden_def.
77785         (endnetgrent): Update caller.
77786         (internal_getnetgrent_r): Renamed to ...
77787         (__internal_getnetgrent_r): ... this.  Add internal_function to
77788         definition.  Add libc_hidden_def.
77789         (__getnetgrent_r): Update caller.
77790         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
77792 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77794         * stdlib/longlong.h: Update from GCC.
77796 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77798         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77799         on _QL, which is set by umul_ppmm but never used.
77800         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77801         variables, which are set by GMP macros but never used.
77802         * stdio-common/_itowa.c (_itowa): Likewise.
77803         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77804         * stdlib/mod_1.c (mpn_mod_1): Likewise.
77806 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
77808         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77809         struct La_sh_regs is not constant.
77810         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77811         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77812         and struct La_sparc64_regs are not constant.
77814 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77816         * sysdeps/unix/sysv/linux/kernel-features.h
77817         (__ASSUME_POSIX_TIMERS): Remove.
77818         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77819         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77820         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77821         Make code unconditional.
77822         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77823         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77824         Make code unconditional.
77825         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77826         * sysdeps/unix/sysv/linux/clock_nanosleep.c
77827         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77828         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77829         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77830         Make code unconditional.
77831         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77832         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77833         (__libc_missing_posix_timers): Remove.
77835 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77837         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77838         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77840         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77842         * elf/dl-sym.c: Include <stdlib.h>.
77844         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77845         constants, which avoids warnings in 32-bit builds.
77847         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77848         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77850         * misc/lseek.c: File moved to ...
77851         * io/lseek.c: ... here.
77853         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77855         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77856         shifting LEN more than 31 bits at once.
77858 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77860         [BZ #14195]
77861         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77862         segmentation fault for a case of two empty input strings.
77863         * string/test-strncasecmp.c (check1): Renamed to...
77864         (bz12205): ...this.
77865         (bz14195): Add new testcase for two empty input strings and N > 0.
77866         (test_main): Call new testcase, adapt for renamed function.
77868 2012-08-15  Andreas Jaeger  <aj@suse.de>
77870         [BZ #14090]
77871         * crypt/md5test2.c: New test, based on test supplied by Serge
77872         Belyshev <belyshev@depni.sinp.msu.ru>.
77873         * crypt/Makefile (xtests): Add md5test-giant..
77874         * crypt/Makefile ($(objpfx)md5test-giant): Add.
77876 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
77878         [BZ #14090]
77879         * crypt/md5.c (md5_process_block): Don't assume the buffer
77880         length is less than 2**32.
77881         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77882         length is less than 2**64.
77884 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77886         * string/str-two-way.h: Include <sys/param.h>.
77887         (MAX): Macro removed.
77889         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77890         Move #define and #undef of memmove to just before and after
77891         including <string.h>.
77893         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77894         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77895         and after including <string.h>.  Move declarations of
77896         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77897         to before #include "string/memmove.c".
77899         * include/dirent.h: Declare __getdirentries.
77901         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77902         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77904 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
77906         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77907         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77908         * sysdeps/i386/configure: Regenerated.
77909         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77910         STABS_CURRENT_FILE, and STABS_FUN.
77911         (END): Remove call to STABS_FUN_END.
77912         (STABS_CURRENT_FILE1): Delete.
77913         (STABS_CURRENT_FILE): Likewise.
77914         (STABS_FUN): Likewise.
77915         (STABS_FUN_END): Likewise.
77916         (STABS_FUN2): Likewise.
77917         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77918         * sysdeps/x86_64/configure: Regenerated.
77920 2012-08-14  Roland McGrath  <roland@hack.frob.com>
77922         * elf/dl-open.c: Include <atomic.h>.
77923         * elf/dl-lookup.c: Likewise.
77925 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
77927         * sysdeps/unix/sysv/linux/kernel-features.h
77928         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77929         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77930         unconditionally.
77931         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77932         unconditionally.
77933         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77934         condition on __ASSUME_CLONE_THREAD_FLAGS.
77936 2012-08-14  Andreas Jaeger  <aj@suse.de>
77938         * sysdeps/i386/fpu/libm-test-ulps: Update.
77940 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
77942         * include/atomic.h (atomic_exchange_and_add): Split into ...
77943         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77944         New atomic macros.
77946 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
77948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77950 2012-08-13  Jeff Law <law@redhat.com>
77952         * manual/stdio.texi (snprintf): Clarify handling of the trailing
77953         null byte in the output string.
77955 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
77957         * sysdeps/unix/sysv/linux/kernel-features.h
77958         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77959         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77960         (__ASSUME_ARG_MAX_STACK_BASED): Define.
77961         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77962         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77963         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
77964         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77966 2012-08-09  Jeff Law <law@redhat.com>
77968         [BZ #13939]
77969         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77970         When avoid_arena is set, don't retry in the that arena.  Pick the
77971         next one, whatever it might be.
77972         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77973         (arena_lock): Pass in new parameter to arena_get2.
77974         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77975         arena_get2.
77976         (__libc_malloc): Unify retrying after main arena failure with
77977         __libc_memalign version.
77978         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77980 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
77982         [BZ #14166]
77983         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77984         to __redirect_strstr.
77985         (__strstr_sse42): Use typeof __redirect_strstr.
77986         (__strstr_ia32): Likewise.
77987         (__libc_strstr): New prototype.
77988         (strstr): Renamed to ...
77989         (__libc_strstr): This.
77990         (strstr): New strong alias of __libc_strstr.
77991         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77992         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77993         __redirect_time.
77994         Include <time.h>.
77995         (__libc_time): New prototype.
77996         (time_ifunc): Replace time with __libc_time.
77997         (time): New strong alias and hidden definition of __libc_time.
77998         (__GI_time): Remove strong alias.
77999         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78000         Include <stddef.h>.
78001         (memmove): Redefined to __redirect_memmove.
78002         (__memmove_sse2): Use typeof __redirect_memmove.
78003         (__memmove_ssse3): Likewise.
78004         (__memmove_ssse3_back): Likewise.
78005         (__libc_memmove): New prototype.
78006         (memmove): Renamed to ...
78007         (__libc_memmove): This.
78008         (memmove): New strong alias of __libc_memmove.
78010 2012-08-08  Mark Salter  <msalter@redhat.com>
78012         * elf/elf.h
78013         (R_MN10300_TLS_GD): Define.
78014         (R_MN10300_TLS_LD): Likewise.
78015         (R_MN10300_TLS_LDO): Likewise.
78016         (R_MN10300_TLS_GOTIE): Likewise.
78017         (R_MN10300_TLS_IE): Likewise.
78018         (R_MN10300_TLS_LE): Likewise.
78019         (R_MN10300_TLS_DTPMOD): Likewise.
78020         (R_MN10300_TLS_DTPOFF): Likewise.
78021         (R_MN10300_TLS_TPOFF): Likewise.
78022         (R_MN10300_SYM_DIFF): Likewise.
78023         (R_MN10300_ALIGN): Likewise.
78024         (R_MN10300_NUM): Update.
78026 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78028         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78029         Remove.
78031 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78033         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78035         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78036         sysdeps/unix -> sysdeps/posix move.
78037         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78039 2012-08-07      Allan McRae     <allan@archlinux.org>
78041         [BZ #14303]
78042         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78043         (SUNOS_CPP): Likewise.
78044         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78045         not found.
78046         (open_input): Call CPP using execvp.
78048 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78050         * sysdeps/unix/sysv/linux/kernel-features.h
78051         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78052         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78053         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78054         (__ASSUME_WAITID_SYSCALL): Likewise.
78055         * sysdeps/unix/sysv/linux/dl-execstack.c
78056         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78057         code unconditional.
78058         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78059         conditional code.
78060         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78061         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78062         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78063         code.
78064         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78065         unconditional.
78066         [__ASSUME_WAITID_SYSCALL]: Likewise.
78067         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78069 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78071         * sysdeps/unix/closedir.c: Renamed to ...
78072         * sysdeps/posix/closedir.c: ... here.
78073         * sysdeps/unix/dirfd.c: Renamed to ...
78074         * sysdeps/posix/dirfd.c: ... here.
78075         * sysdeps/unix/dirstream.h: Renamed to ...
78076         * sysdeps/posix/dirstream.h: ... here.
78077         * sysdeps/unix/fdopendir.c: Renamed to ...
78078         * sysdeps/posix/fdopendir.c: ... here.
78079         * sysdeps/unix/opendir.c: Renamed to ...
78080         * sysdeps/posix/opendir.c: ... here.
78081         * sysdeps/unix/readdir.c: Renamed to ...
78082         * sysdeps/posix/readdir.c: ... here.
78083         * sysdeps/unix/readdir_r.c: Renamed to ...
78084         * sysdeps/posix/readdir_r.c: ... here.
78085         * sysdeps/unix/rewinddir.c: Renamed to ...
78086         * sysdeps/posix/rewinddir.c: ... here.
78087         * sysdeps/unix/seekdir.c: Renamed to ...
78088         * sysdeps/posix/seekdir.c: ... here.
78089         * sysdeps/unix/telldir.c: Renamed to ...
78090         * sysdeps/posix/telldir.c: ... here.
78091         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78092         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78093         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78094         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78096         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78097         * bits/fcntl.h: ... here.
78099         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78100         not 0.
78101         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78102         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78103         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78104         (struct flock): Move l_start, l_len to the beginning.
78105         Use __pid_t for l_pid.
78106         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78107         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78108         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78109         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78110         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78111         [__USE_LARGEFILE64] (struct flock64): New type.
78112         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78114         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78115         * bits/dirent.h: ... here.
78117         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78118         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78120 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78123         Change from 2.6.0 to 2.6.16.
78124         * sysdeps/unix/sysv/linux/configure: Regenerated.
78125         * sysdeps/unix/sysv/linux/kernel-features.h
78126         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78127         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78128         version.
78129         (__ASSUME_UTIMES): Likewise.
78130         (__ASSUME_CLONE_STOPPED): Remove.
78131         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78132         architectures, not kernel version.
78133         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78134         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78135         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78136         (__ASSUME_WAITID_SYSCALL): Likewise.
78137         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78138         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78139         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78140         refer to older versions.
78142 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78144         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78145         Define alphasort64 as an alias.
78146         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78147         Define versionsort64 as an alias.
78148         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78149         Define scandir64 as an alias.
78150         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78151         Define scandirat64 as an alias.
78152         * dirent/alphasort64.c (alphasort64):
78153         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78154         * dirent/versionsort64.c: Likewise.
78155         * dirent/scandir64.c: Likewise.
78156         * dirent/scandirat64.c: Likewise.
78157         * sysdeps/wordsize-64/alphasort.c: File removed.
78158         * sysdeps/wordsize-64/alphasort64.c: File removed.
78159         * sysdeps/wordsize-64/scandir.c: File removed.
78160         * sysdeps/wordsize-64/scandir64.c: File removed.
78161         * sysdeps/wordsize-64/scandirat.c: File removed.
78162         * sysdeps/wordsize-64/scandirat64.c: File removed.
78163         * sysdeps/wordsize-64/versionsort.c: File removed.
78164         * sysdeps/wordsize-64/versionsort64.c: File removed.
78165         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78166         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78167         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78168         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78169         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78170         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78171         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78172         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78174         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78175         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78176         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78178         [defined __arch64__ || defined __sparcv9]
78179         (__INO_T_MATCHES_INO64_T): New macro.
78180         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78181         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78182         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78183         * sysdeps/unix/sysv/linux/bits/dirent.h
78184         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78185         (_DIRENT_MATCHES_DIRENT64): New macro.
78187         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78188         Define lockf64 as an alias.
78189         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78190         Define fseeko64 as an alias.
78191         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78192         Define ftello64 as an alias.
78193         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78194         Define _IO_fgetpos64 and fgetpos64 as aliases.
78195         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78196         Define _IO_fsetpos64 and fsetpos64 as aliases.
78197         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78198         Conditionalize body on this.
78199         * libio/fseeko64.c: Likewise.
78200         * libio/ftello64.c: Likewise.
78201         * libio/iofgetpos64.c: Likewise.
78202         * libio/iofsetpos64.c: Likewise.
78203         * sysdeps/wordsize-64/lockf.c: File removed.
78204         * sysdeps/wordsize-64/lockf64.c: File removed.
78205         * sysdeps/wordsize-64/fseeko.c: File removed.
78206         * sysdeps/wordsize-64/fseeko64.c: File removed.
78207         * sysdeps/wordsize-64/ftello.c: File removed.
78208         * sysdeps/wordsize-64/ftello64.c: File removed.
78209         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78210         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78211         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78212         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78213         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78214         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78215         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78216         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78217         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78218         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78219         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78220         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78221         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78222         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78224         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78225         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78226         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78228         [defined __arch64__ || defined __sparcv9]
78229         (__OFF_T_MATCHES_OFF64_T): New macro.
78230         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78231         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78232         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78233         (__OFF_T_MATCHES_OFF64_T): New macro.
78235 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78237         * stdlib/secure-getenv.c (__secure_getenv): Replace
78238         GLIBC_2_16 with GLIBC_2_17.
78240 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78242         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78243         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78245 2012-08-03  David S. Miller  <davem@davemloft.net>
78247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78249 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78252         Remove.
78253         (__ASSUME_CORRECT_SI_PID): Likewise.
78254         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78255         (__ASSUME_TMPFS_NAME): Likewise.
78256         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78257         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78258         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78259         (HAVE_AUX_SECURE): Make definition unconditional.
78260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78261         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78263 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78265         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78266         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78267         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78268         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78269         __eloop_threshold instead of SYMLOOP_MAX.
78271         * sysdeps/generic/eloop-threshold.h: New file.
78272         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78273         of MAXSYMLINKS.
78274         * elf/chroot_canon.c (chroot_canon): Likewise.
78276 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78278         [BZ #13717]
78279         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78280         Change to 2.6.0 everywhere.
78281         * sysdeps/unix/sysv/linux/configure: Regenerated.
78282         * sysdeps/unix/sysv/linux/kernel-features.h
78283         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78284         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78285         kernel versions.
78286         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78287         (__ASSUME_FUTEX_REQUEUE): Remove.
78288         (__ASSUME_STATFS64): Define unconditionally.
78289         (__ASSUME_AT_SECURE): Likewise.
78290         (__ASSUME_CORRECT_SI_PID): Likewise.
78291         (__ASSUME_TGKILL): Define without depending on kernel version for
78292         i386.
78293         (__ASSUME_UTIMES): Likewise.
78294         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78295         kernel version.
78296         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78297         (__ASSUME_TMPFS_NAME): Likewise.
78298         * README: Update reference to Linux kernel versions.
78300 2012-08-02  Marek Polacek  <polacek@redhat.com>
78302         [BZ #14150]
78303         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78304         libc_cv_asm_type_prefix with %.
78305         * configure: Regenerated.
78306         * include/libc-symbols.h: Remove comment about
78307         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78308         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78309         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78310         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78311         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78312         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78313         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78314         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78315         * elf/tst-unique2mod1.c: Likewise.
78316         * elf/tst-unique1mod2.c: Likewise.
78317         * elf/tst-unique1mod1.c: Likewise.
78318         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78319         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78320         Replace ASM_TYPE_DIRECTIVE with .type.
78321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78322         * sysdeps/i386/sysdep.h: Likewise.
78323         * sysdeps/x86_64/sysdep.h: Likewise.
78324         * sysdeps/sh/sysdep.h: Likewise.
78325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78326         Do not define ASM_TYPE_DIRECTIVE.
78327         * sysdeps/powerpc/sysdep.h: Likewise.
78328         * sysdeps/powerpc/powerpc32/sysdep.h:
78329         Replace ASM_TYPE_DIRECTIVE with .type.
78330         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78331         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78332         * sysdeps/i386/fpu/e_powf.S: Likewise.
78333         * sysdeps/i386/fpu/e_expl.S: Likewise.
78334         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78335         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78336         * sysdeps/i386/fpu/e_pow.S: Likewise.
78337         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78338         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78339         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78340         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78341         * sysdeps/i386/fpu/e_log2.S: Likewise.
78342         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78343         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78344         * sysdeps/i386/fpu/e_powl.S: Likewise.
78345         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78346         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78347         * sysdeps/i386/fpu/e_logl.S: Likewise.
78348         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78349         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78350         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78351         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78352         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78353         * sysdeps/i386/fpu/e_log.S: Likewise.
78354         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78355         * sysdeps/i386/fpu/e_logf.S: Likewise.
78356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78357         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78358         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78359         * sysdeps/i386/fpu/e_log10.S: Likewise.
78360         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78361         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78362         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78363         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78364         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78365         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78366         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78367         * sysdeps/i386/i686/strtok.S: Likewise.
78368         * sysdeps/i386/i386-mcount.S: Likewise.
78369         * sysdeps/i386/strtok.S: Likewise.
78370         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78371         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78372         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78373         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78374         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78375         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78376         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78377         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78378         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78379         * sysdeps/x86_64/_mcount.S: Likewise.
78380         * sysdeps/x86_64/strtok.S: Likewise.
78381         * sysdeps/sh/_mcount.S: Likewise.
78383 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78385         * libio/iofopen.c: Include <fcntl.h>.
78386         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78387         (_IO_fopen64, fopen64): Define as aliases.
78388         * libio/iofopen64.c: Include <fcntl.h>.
78389         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78390         Conditionalize body on this.
78391         * sysdeps/wordsize-64/iofopen.c: File removed.
78392         * sysdeps/wordsize-64/iofopen64.c: File removed.
78394 2012-08-01  Marek Polacek  <polacek@redhat.com>
78396         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78397         Use dlfcn directly instead of a variable.
78398         (binfmt-subdir): Do not define.
78399         (dlfcn): Likewise.
78401 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78404         Remove all definitions.
78405         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78406         <kernel-features.h>.
78407         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78408         (miss_F_GETOWN_EX): Remove all definitions.
78409         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78410         macro definition.
78411         [!__ASSUME_FCNTL64]: Remove conditional code.
78412         [__ASSUME_FCNTL64]: Make code unconditional.
78413         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78414         <kernel-features.h>.
78415         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78416         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78417         (lockf64) [__NR_fcntl64]: Make code unconditional.
78418         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78420         * sysdeps/unix/sysv/linux/kernel-features.h
78421         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78422         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78423         Make code unconditional.
78424         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78425         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78427         [__NR_vfork]: Make code unconditional.
78428         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78429         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78431         [__NR_vfork]: Make code unconditional.
78432         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78433         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78435 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78437         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78438         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78440         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78441         Define mkstemp64 as an alias.
78442         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78443         Define mkstemps64 as an alias.
78444         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78445         Define mkostemp64 as an alias.
78446         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78447         Define mkostemps64 as an alias.
78448         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78449         Conditionalize body on this.
78450         * misc/mkostemp64.c: Likewise.
78451         * misc/mkostemps64.c: Likewise.
78452         * misc/mkstemps64.c: Likewise.
78453         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78454         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78455         * sysdeps/wordsize-64/mkostemp.c: File removed.
78456         * sysdeps/wordsize-64/mkstemp.c: File removed.
78457         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78458         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78459         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78460         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78462         [BZ #14138]
78463         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78464         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78465         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78466         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78468         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78469         compat_symbol macros from <shlib-compat.h> rather than the underlying
78470         default_symbol_version and symbol_version macros, so that DEFAULT
78471         lines in shlib-versions are respected.
78472         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78474 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78476         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78477         Declare with warn_unused_result.
78478         (setgid, setregid, setegid, setresgid): Likewise.
78479         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78480         Likewise.
78481         * WUR-REPORT: Remove set*id functions.
78483 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78485         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78487 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78489         [BZ #10191]
78490         * include/sys/socket.h (__libc_accept, __libc_accept4):
78491         Add attribute_hidden.
78492         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78494         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78495         use of PTR_MANGLE.
78496         * inet/getnetgrent_r.c (setup): Likewise.
78498         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78500 2012-07-31  David S. Miller  <davem@davemloft.net>
78502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78504 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78506         [BZ #13629]
78507         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78508         value between 1.0 and 2.0 and smaller part has absolute value less
78509         than 1.0.
78510         * math/s_clog10.c (__clog10): Likewise.
78511         * math/s_clog10f.c (__clog10f): Likewise.
78512         * math/s_clog10l.c (__clog10l): Likewise.
78513         * math/s_clogf.c (__clogf): Likewise.
78514         * math/s_clogl.c (__clogl): Likewise.
78515         * math/libm-test.inc (clog_test): Add more tests.
78516         (clog10_test): Likewise.
78517         * sysdeps/i386/fpu/libm-test-ulps: Update.
78518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78520 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78522         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78523         Exit with zero in case no suitable GID is found, and write a
78524         message to standard error.
78526 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78528         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78529         rather than to 1.
78530         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78531         (MAXPATHLEN): Removed.
78532         (NOGROUP, NODEV): New macros.
78533         (setbit, clrbit, isset, isclr): New macros.
78534         (howmany, roundup, powerof2): New macros.
78535         (DEV_BSIZE): New macro.
78537         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78538         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78540         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78541         definition on [!__NO_LONG_DOUBLE_MATH].
78543         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78544         PTR_MANGLE and PTR_DEMANGLE.
78546         * socket/accept4.c (accept4): Rename to __libc_accept4.
78547         Define accept4 as a weak alias.
78549         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78550         on [_DIRENT_HAVE_D_TYPE].
78551         * io/ftw.c (ftw_dir): Likewise.
78553         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78555         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78557         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78558         Use the BSD numbers rather than the arbitrary ones we had.
78559         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78560         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78561         (SIGXCPU, SIGXFSZ): New macros.
78562         (_NSIG): Now 32.
78564         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78565         initializer on [_LIBC_REENTRANT].
78567         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78568         definitions inside [_POSIX_MAPPED_FILES].
78570         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78572         * dirent/opendir.c: Include <fcntl.h>.
78574         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78575         (__libc_getspecific): Likewise.
78576         (__libc_key_create): Likewise.
78578         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78579         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78580         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78581         (tmpfile64): Define as alias.
78582         * sysdeps/wordsize-64/tmpfile.c: File removed.
78583         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78584         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78585         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78587         * stdio-common/vfscanf.c: Include <stdbool.h>.
78588         * nss/makedb.c: Likewise.
78589         * stdio-common/_i18n_number.h: Likewise.
78590         * argp/argp-help.c: Likewise.
78591         * posix/wordexp.c: Likewise.
78592         * sysdeps/posix/spawni.c: Likewise.
78593         * nss/nss_files/files-initgroups.c: Likewise.
78594         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78595         * nss/nss_files/files-initgroups.c: Likewise.
78596         * nss/nss_db/db-netgrp.c: Likewise.
78597         * nss/nss_db/db-initgroups.c: Likewise.
78598         * io/fchmodat.c: Include <sys/stat.h>.
78600         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78601         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78603         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78604         [HAVE_MMAP].
78606         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78607         Add multiple inclusion protection.
78609 2012-07-27  David S. Miller  <davem@davemloft.net>
78611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78613 2012-07-27  Gary Benson  <gbenson@redhat.com>
78615         [BZ #14298]
78616         * elf/rtld.c: Include <stap-probe.h>.
78617         (dl_main): Added static probes "init_start" and "init_complete".
78618         * elf/dl-load.c: Include <stap-probe.h>.
78619         (lose): Take new parameter "nsid".
78620         Added static probe "map_failed".
78621         (_dl_map_object_from_fd): Pass namespace id to lose.
78622         Added static probe "map_start".
78623         (open_verify): Pass namespace id to lose.
78624         * elf/dl-open.c: Include <stap-probe.h>.
78625         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78626         and "reloc_complete".
78627         * elf/dl-close.c: Include <stap-probe.h>.
78628         (_dl_close_worker): Added static probes "unmap_start" and
78629         "unmap_complete".
78630         * elf/rtld-debugger-interface.txt: New file documenting the above.
78632 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78634         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78635         rather than a string variable.
78636         * sunrpc/rpc_main.c (h_output): Likewise.
78637         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78639 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78641         * inet/check_native.c: New file.
78643 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78645         [BZ #13629]
78646         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78647         if larger part has absolute value 1.0.
78648         * math/s_clog10.c (__clog10): Likewise.
78649         * math/s_clog10f.c (__clog10f): Likewise.
78650         * math/s_clog10l.c (__clog10l): Likewise.
78651         * math/s_clogf.c (__clogf): Likewise.
78652         * math/s_clogl.c (__clogl): Likewise.
78653         * math/libm-test.inc (clog_test): Add more tests.
78654         (clog10_test): Likewise.
78655         * sysdeps/i386/fpu/libm-test-ulps: Update.
78656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78658         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78659         (pltexit): Likewise.
78660         (La_regs): Likewise.
78661         (La_retval): Likewise.
78662         (int_retval): Likewise.
78663         Update #error for removed macros to refer only to definitions in
78664         tst-audit.h.
78665         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78666         macro.
78667         (pltexit): Likewise.
78668         (La_regs): Likewise.
78669         (La_retval): Likewise.
78670         (int_retval): Likewise.
78671         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78672         macro.
78673         (pltexit): Likewise.
78674         (La_regs): Likewise.
78675         (La_retval): Likewise.
78676         (int_retval): Likewise.
78677         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78678         macro.
78679         (pltexit): Likewise.
78680         (La_regs): Likewise.
78681         (La_retval): Likewise.
78682         (int_retval): Likewise.
78683         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78684         macro.
78685         (pltexit): Likewise.
78686         (La_regs): Likewise.
78687         (La_retval): Likewise.
78688         (int_retval): Likewise.
78689         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78690         macro.
78691         (pltexit): Likewise.
78692         (La_regs): Likewise.
78693         (La_retval): Likewise.
78694         (int_retval): Likewise.
78695         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78696         macro.
78697         (pltexit): Likewise.
78698         (La_regs): Likewise.
78699         (La_retval): Likewise.
78700         (int_retval): Likewise.
78701         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78702         macro definitions in tst-audit.h.
78703         * sysdeps/i386/tst-audit.h: New file.
78704         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78705         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78706         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78707         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78708         * sysdeps/sh/tst-audit.h: Likewise.
78709         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78710         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78711         * sysdeps/x86_64/tst-audit.h: Likewise.
78713 2012-07-26  Andreas Jaeger  <aj@suse.de>
78715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78716         ptrace.
78718         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78719         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78720         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78721         PTRACE_O_MASK.
78722         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78723         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78724         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78726         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78727         value.
78729         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78730         _sigsys.
78731         (si_call_addr, si_syscall, si_arch): Define new macro.
78732         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78733         _sigsys.
78734         (si_call_addr, si_syscall, si_arch): Define new marcro.
78735         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78736         _sigsys.
78737         (si_call_addr, si_syscall, si_arch): Define new macro.
78738         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78739         _sigsys.
78740         (si_call_addr, si_syscall, si_arch): Define new macro.
78742 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78744         [BZ #13717]
78745         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78746         Change to 2.4.21 where previously 2.4.1.
78747         * sysdeps/unix/sysv/linux/configure: Regenerated.
78748         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78749         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78750         Linux kernel version.
78751         (__ASSUME_STD_AUXV): Remove.
78752         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78753         kernel version.
78754         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78755         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78756         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78757         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78758         (__ASSUME_NETLINK_SUPPORT): Likewise.
78759         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78760         (__no_netlink_support): Remove conditional definition.
78761         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78762         Remove.
78763         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78764         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78765         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78766         (if_nameindex_ioctl): Remove.
78767         (if_nameindex_netlink): Do not handle __no_netlink_support.
78768         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78769         code.
78770         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78771         Remove conditional code.
78772         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78773         code.
78774         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78775         unconditional.
78776         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78777         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78778         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78779         Remove.
78780         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78781         [!__ASSUME_STD_AUXV]: Remove conditional code.
78782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78783         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78784         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78786         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78787         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78788         code.
78789         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78791         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78792         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78793         conditional code.
78794         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78796         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78797         code.
78798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78799         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78800         conditional code.
78801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78802         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78803         code unconditional.
78804         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78805         conditional code.
78806         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78807         unconditional.
78808         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78809         conditional code.
78810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78811         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78812         unconditional.
78813         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78814         conditional code.
78815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78816         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78817         code unconditional.
78818         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78819         conditional code.
78820         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78821         unconditional.
78822         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78823         conditional code.
78824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78825         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78826         code unconditional.
78827         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78828         conditional code.
78829         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78830         unconditional.
78831         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78832         conditional code.
78834 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
78836         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78837         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78838         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78839         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78840         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78841         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78842         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78843         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78844         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78845         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78846         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78847         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78848         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78849         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78850         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78851         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78852         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78853         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78854         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78856         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78857         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78860 2012-07-25  Florian Weimer  <fweimer@redhat.com>
78862         * Versions.def: Add GLIBC_2.17.
78863         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78864         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78865         Introduce __libc_secure_getenv.
78866         * stdlib/Versions (2.17): Add secure_getenv
78867         (GLIBC_PRIVATE): Add __libc_secure_getenv.
78868         * stdlib/secure-getenv.c: Rename __secure_getenv to
78869         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
78870         symbol __secure_getenv for GLIBC_2.0.
78871         * stdlib/tst-secure-getenv.c: New.
78872         * stdlib/Makefile (tests): Add testcase.
78873         * manual/startup.texi (Environment Access): Document
78874         secure_getenv.
78875         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78876         __libc_secure_getenv.
78877         * inet/ruserpass.c (ruserpass): Likewise.
78878         * malloc/mtrace.c (mtrace): Likewise.
78879         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78880         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78881         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78882         * sysdeps/posix/tempname.c: Likewise.  Evaluate
78883         HAVE_SECURE_GETENV.
78884         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78885         __secure_getenv to __libc_secure_getenv.
78886         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78888         Likewise.
78889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78890         Likewise.
78891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78893         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78899 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78901         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78902         (struct La_i86_retval): Likewise.
78903         (struct La_x86_64_regs): Likewise.
78904         (struct La_x86_64_retval): Likewise.
78905         (struct La_x32_regs): Likewise.
78906         (struct La_x32_retval): Likewise.
78907         (struct La_ppc32_regs): Likewise.
78908         (struct La_ppc32_retval): Likewise.
78909         (struct La_ppc64_regs): Likewise.
78910         (struct La_ppc64_retval): Likewise.
78911         (struct La_sh_regs): Likewise.
78912         (struct La_sh_retval): Likewise.
78913         (struct La_s390_32_regs): Likewise.
78914         (struct La_s390_32_retval): Likewise.
78915         (struct La_s390_64_regs): Likewise.
78916         (struct La_s390_64_retval): Likewise.
78917         (struct La_sparc32_regs): Likewise.
78918         (struct La_sparc32_retval): Likewise.
78919         (struct La_sparc64_regs): Likewise.
78920         (struct La_sparc64_retval): Likewise.
78921         (struct audit_ifaces): Remove architecture-specific pltenter and
78922         pltexit members.
78923         * sysdeps/i386/ldsodefs.h: New file.
78924         * sysdeps/powerpc/ldsodefs.h: Likewise.
78925         * sysdeps/s390/ldsodefs.h: Likewise.
78926         * sysdeps/sh/ldsodefs.h: Likewise.
78927         * sysdeps/sparc/ldsodefs.h: Likewise.
78928         * sysdeps/x86_64/ldsodefs.h: Likewise.
78930 2012-07-25  Marek Polacek  <polacek@redhat.com>
78932         [BZ #6808]
78933         * math/libm-test.inc (yn_test): Add another test.
78934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78935         to ERANGE when the result is +-Inf.
78936         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78937         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78938         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78939         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78941 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
78943         * conform/data/time.h-data (NULL): Use macro-constant.  Require
78944         equal to 0.
78945         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
78946         clock_t.
78947         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
78949 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
78951         * configure.in <sysdeps resolving>: Correct printing
78952         Implies_before.
78953         * configure: Regenerate.
78955 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
78957         * math/w_ilogb.c: Include <limits.h>.
78958         * math/w_ilogbl.c: Likewise.
78960 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78962         * manual/lang.texi (__va_copy): Document primarily as ISO C99
78963         va_copy.  Document allowing for unavailable va_copy only as
78964         pre-C99 compatibility.
78965         * manual/string.texi (Copying and Concatenation): Use va_copy
78966         instead of __va_copy in concat example.
78968 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
78970         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78971         (__sendto): Use create_address_port.  Initialize APORT and deallocate
78972         it if not null.
78974         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78975         with O_NOLINK passed to __file_name_lookup.
78977         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78978         with O_NOLINK passed to __file_name_lookup.
78980         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78981         negative N or less than NGIDS.
78983         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78984         type to string_t.  Set ERANGE as errno and return it if NAME is not big
78985         enough.  Use memcpy instead of strncpy.
78987 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78989         * elf/Makefile (check-data): Remove.
78990         (localplt.data): New vpath directive.
78991         ($(objpfx)check-localplt.out): Use localplt.data from vpath
78992         instead of $(check-data).
78993         * scripts/data/localplt-generic.data: Move to ...
78994         * sysdeps/generic/localplt.data: ... here.
78995         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78996         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78997         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78999         ... here.
79000         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79002         ... here.
79003         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79005         ... here.
79006         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79008         ... here.
79009         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79011         ... here.
79012         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79014         ... here.
79016 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79018         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79019         PPC32 and PPC64 files.
79020         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79021         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79023 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79025         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79026         __makecontext_ret to ...
79027         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79028         ... here and call exit if uc_link is NULL.  New file.
79029         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79030         __makecontext_ret.S.
79031         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79032         __makecontext_ret to ...
79033         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79034         ... here and call exit if uc_link is NULL.  New file.
79035         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79036         __makecontext_ret.S.
79038 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79040         * elf/elf.h (R_390_IRELATIVE): New definition.
79041         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79042         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79043         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79044         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79045         (elf_machine_lazy_rel): Likewise.
79046         * sysdeps/s390/dl-irel.h: New file.
79047         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79048         * sysdeps/s390/s390-64/memset.S: New asm code.
79049         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79050         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79051         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79052         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79053         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79054         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79055         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79056         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79057         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79058         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79059         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79060         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79061         * sysdeps/s390/s390-32/memset.S: New asm code.
79062         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79064 2012-07-17  Marek Polacek  <polacek@redhat.com>
79066         [BZ #14349]
79067         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79068         * sysdeps/s390/s390-64/configure.in: Likewise.
79069         * sysdeps/sparc/configure.in: Likewise.
79070         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79071         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79072         * sysdeps/i386/configure.in: Likewise.
79073         * sysdeps/x86_64/configure.in: Likewise.
79074         * sysdeps/sh/configure.in: Likewise.
79075         * sysdeps/s390/s390-32/configure: Regenerated.
79076         * sysdeps/s390/s390-64/configure: Likewise.
79077         * sysdeps/x86_64/configure: Likewise.
79078         * sysdeps/sh/configure: Likewise.
79079         * sysdeps/powerpc/powerpc64/configure: Likewise.
79080         * sysdeps/powerpc/powerpc32/configure: Likewise.
79081         * sysdeps/sparc/configure: Likewise.
79082         * sysdeps/i386/configure: Likewise.
79084         * elf/dl-open.c: Comment fixes.
79086 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79088         * Makefile [CXX] (check-data): Remove.
79089         [CXX] (c++-types.data): New vpath directive.
79090         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79091         vpath.  Do not allow for C++ type data being missing.
79092         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79093         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79094         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79095         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79096         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79097         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79098         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79100         ... here.
79101         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79103         ... here.
79104         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79106         ... here.
79107         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79109         ... here.
79110         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79112         ... here.
79113         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79115         ... here.
79116         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79118         ... here.
79119         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79122         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79123         definitions to architecture-specific files.
79124         (TLS_IE): Likewise.
79125         (TLS_LD): Likewise.
79126         (TLS_GD): Likewise.
79127         * sysdeps/i386/tls-macros.h: New file.
79128         * sysdeps/powerpc/tls-macros.h: Likewise.
79129         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79130         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79131         * sysdeps/sh/tls-macros.h: Likewise.
79132         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79133         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79134         * sysdeps/x86_64/tls-macros.h: Likewise.
79136 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79138         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79139         zero value for regular exit case.
79141         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79142         (__start_context): Preserve zero value for regular exit case.
79144 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79145             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79147         * manual/setjmp.texi (setcontext): Clarify normal process
79148         termination when uc_link is the null pointer.
79149         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79150         exit call.
79152 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79154         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79155         preprocessor.  Test for each exception mask separately.
79157 2012-07-16  Andreas Jaeger  <aj@suse.de>
79159         * po/ru.po: Update from translation team.
79161 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79163         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79164         equal to 0.
79165         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79166         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79167         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79168         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79171 2012-07-13  Andreas Jaeger  <aj@suse.de>
79173         * po/fr.po: Update from translation team.
79175 2012-07-12  Marek Polacek  <polacek@redhat.com>
79177         [BZ #14173]
79178         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79179         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79180         loop condition.
79182 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79184         [BZ #13717]
79185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79186         Change to 2.4.1 where previously 2.4.0.
79187         * sysdeps/unix/sysv/linux/configure: Regenerated.
79188         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79189         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79190         version.
79191         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79192         (__ASSUME_AT_CLKTCK): Remove.
79193         (__ASSUME_AT_PAGESIZE): Likewise.
79194         (__ASSUME_AT_XID): Likewise.
79195         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79196         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79197         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79198         unconditionally.
79199         (HAVE_AUX_PAGESIZE): Likewise.
79200         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79201         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79202         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79204 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79206         [BZ #14307]
79207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79208         the temporary buffer used to invoke __gethostbyname2_r,
79209         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79210         host_data / struct gaih_addrtuple.
79211         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79212         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79213         header file nss/nsswitch.h.
79214         * nss/nsswitch.h (global scope): Add definition of implementation
79215         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79216         resolv/nss_dns/dns-host.c).
79218 2012-07-11  Andreas Jaeger  <aj@suse.de>
79220         * po/fr.po: Update from translation team.
79222         * po/sv.po: Update from translation team
79223         * po/fr.po: Another update from translation team.
79225 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79227         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79228         for subnormals or multiply small sinh result by itself.
79229         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79232 2012-07-11  David S. Miller  <davem@davemloft.net>
79234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79236 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79238         [BZ #14347]
79239         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79240         (INTERNAL_MARK): Shift it here.
79242 2012-07-10  Marek Polacek  <polacek@redhat.com>
79244         [BZ #14151]
79245         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79246         libc_cv_asm_global_directive with .globl.
79247         * configure: Regenerated.
79248         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79249         with .globl.
79250         * sysdeps/i386/configure: Regenerated.
79251         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79252         with .globl.
79253         * sysdeps/x86_64/configure: Regenerated.
79254         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79255         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79256         * elf/tst-unique2mod2.c: Likewise.
79257         * elf/tst-unique2mod1.c: Likewise.
79258         * elf/tst-unique1mod2.c: Likewise.
79259         * elf/tst-unique1mod1.c: Likewise.
79260         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79261         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79262         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79263         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79264         * sysdeps/mach/sysdep.h: Likewise.
79265         * sysdeps/i386/sysdep.h: Likewise.
79266         * sysdeps/i386/i386-mcount.S: Likewise.
79267         * sysdeps/x86_64/_mcount.S: Likewise.
79268         * sysdeps/x86_64/sysdep.h: Likewise.
79269         * sysdeps/sh/_mcount.S: Likewise.
79270         * sysdeps/sh/sysdep.h: Likewise.
79271         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79272         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79273         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79274         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79275         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79276         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79277         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79278         * locale/localeinfo.h: Likewise.
79279         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79280         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79282 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79284         [BZ #14336]
79285         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79286         system".
79287         * manual/message.texi (The Uniforum approach): Likewise.
79288         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79289         (glibc iconv Implementation): Likewise.
79291 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79293         [BZ #14337]
79294         * math/s_clog.c (__clog): Avoid scaling a value down where that
79295         could result in underflow.
79296         * math/s_clog10.c (__clog10): Likewise.
79297         * math/s_clog10f.c (__clog10f): Likewise.
79298         * math/s_clog10l.c (__clog10l): Likewise.
79299         * math/s_clogf.c (__clogf): Likewise.
79300         * math/s_clogl.c (__clogl): Likewise.
79301         * math/libm-test.inc (clog_test): Add more tests.
79302         (clog10_test): Likewise.
79303         * sysdeps/i386/fpu/libm-test-ulps: Update.
79304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79306 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79308         [BZ #14283]
79309         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79310         by 7 not 8 to examine high bit of fractional part.
79312         [BZ #14042]
79313         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79314         for call to __mcount_internal.
79315         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79316         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79317         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79319 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79321         [BZ #14154]
79322         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79323         approximation for values within 0x1p-13f of an odd multiple of
79324         pi/4.
79325         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79326         exception.  Add more tests.
79327         * sysdeps/i386/fpu/libm-test-ulps: Update.
79329         [BZ #6778]
79330         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79331         inputs and return -1 for them.  Do not check for +Inf in case not
79332         reachable for +Inf.
79333         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79334         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79335         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79336         and return -1 for them.  Do not check for +Inf in case not
79337         reachable for +Inf.
79338         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79339         define.
79340         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79341         and return -1 for them.  Do not check for +Inf in case not
79342         reachable for +Inf.
79343         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79344         spurious underflow.
79345         * sysdeps/i386/fpu/libm-test-ulps: Update.
79346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79348 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79350         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79352 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79354         [BZ #14157]
79355         [BZ #14331]
79356         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79357         could result in spurious underflow.  Scale down values above
79358         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79359         * math/s_csqrtf.c (__csqrtf): Likewise.
79360         * math/s_csqrtl.c (__csqrtl): Likewise.
79361         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79362         spurious underflow.
79363         * sysdeps/i386/fpu/libm-test-ulps: Update.
79364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79366 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79368         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79369         xopen-msg.sed.
79370         * catgets/xopen-msg.awk: New file.
79371         * catgets/xopen-msg.sed: Removed.
79373         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79374         po2text.sed.
79375         * intl/po2test.awk: New file.
79376         * intl/po2test.sed: Removed.
79378 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79380         [BZ #14328]
79381         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79382         or multiply small sinh result by itself.
79383         * math/s_ctanf.c (__ctanf): Likewise.
79384         * math/s_ctanh.c (__ctanh): Likewise.
79385         * math/s_ctanhf.c (__ctanhf): Likewise.
79386         * math/s_ctanhl.c (__ctanhl): Likewise.
79387         * math/s_ctanl.c (__ctanl): Likewise.
79388         * math/libm-test.inc (ctan_test_tonearest): New function.
79389         (ctan_test_towardzero): Likewise.
79390         (ctan_test_downward): Likewise.
79391         (ctan_test_upward): Likewise.
79392         (ctanh_test_tonearest): Likewise.
79393         (ctanh_test_towardzero): Likewise.
79394         (ctanh_test_downward): Likewise.
79395         (ctanh_test_upward): Likewise.
79396         (main): Call these new functions.
79397         * sysdeps/i386/fpu/libm-test-ulps: Update.
79398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79400 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79402         * .gitignore: Delete /ports entry.
79404 2012-07-03  Andreas Jaeger  <aj@suse.de>
79406         * po/bg.po: Update from translation team.
79407         * po/cs.po: Likewise.
79408         * po/de.po: Likewise.
79409         * po/hr.po: Likewise.
79410         * po/nl.pl: Likewise.
79411         * po/pl.po: Likewise.
79412         * po/vi.po: Likewise.
79414 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79416         * Makeconfig [!+link] (+link-before-libc): New variable.
79417         [!+link] (+link-after-libc): Likewise.
79418         [!+link] (+link-tests): Likewise.
79419         [!+link] (+link): Define in terms of $(+link-before-libc) and
79420         $(+link-after-libc).
79421         [!+link-static] (+link-static-before-libc): New variable.
79422         [!+link-static] (+link-static-after-libc): Likewise.
79423         [!+link-static] (+link-static-tests): Likewise.
79424         [!+link-static] (+link-static): Define in terms of
79425         $(+link-static-before-libc) and $(+link-static-after-libc).
79426         [build-shared] (link-libc-before-gnulib): New variable.
79427         [build-shared] (link-libc-tests): Likewise.
79428         [build-shared] (link-libc): Define in terms of
79429         $(link-libc-before-gnulib).
79430         [!build-shared] (link-libc-tests): New variable.
79431         (link-libc-static-tests): New variable.
79432         [!gnulib] (gnulib-arch): New variable.
79433         [!gnulib] (gnulib-tests): Likewise.
79434         [!gnulib] (static-gnulib-arch): Likewise.
79435         [!gnulib] (static-gnulib-tests): Likewise.
79436         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79437         Define with "=" instead of ":=".
79438         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79439         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79440         * Rules (binaries-all-notests): New variable.
79441         (binaries-all-tests): Likewise.
79442         (binaries-static-notests): Likewise.
79443         (binaries-static-tests): Likewise.
79444         (binaries-all): Define using $(binaries-all-notests) and
79445         $(binaries-all-tests).
79446         (binaries-static): Define using $(binaries-static-notests) and
79447         $(binaries-static-tests).
79448         (binaries-shared-tests): New variable.
79449         (binaries-shared-notests): Likewise.
79450         (binaries-shared): Remove variable.
79451         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79452         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79453         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79454         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79455         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79456         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79457         * elf/Makefile (sln-modules): New variable.
79458         (extra-objs): Add $(sln-modules:=.o).
79459         (ldconfig-modules): Add static-stubs.
79460         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79461         * elf/static-stubs.c: New file.
79463         [BZ #14283]
79464         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79465         by 7 not 8 to examine high bit of fractional part.  Use volatile
79466         variables when splitting into final array of floats if
79467         __FLT_EVAL_METHOD__ != 0.
79468         * math/libm-test.inc (cos_test): Add another test.
79469         (sin_test): Likewise.
79470         * sysdeps/i386/fpu/libm-test-ulps: Update.
79472         [BZ #14273]
79473         * math/libm-test.inc (cosh_test): Add more tests.
79475         * version.h (RELEASE): Set to "development".
79476         (VERSION): Set to "2.16.90".
79478 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79480         * NEWS: Update copyright. Remove last-updated date.
79481         Mention math library bug fixes and timezone data changes.
79482         * README: Mention GNU/Hurd, x32, and HPPA support status.
79484 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79486         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79488 2012-06-27  Andreas Jaeger  <aj@suse.de>
79490         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79492 2012-06-25  Andreas Jaeger  <aj@suse.de>
79494         * sysdeps/s390/fpu/libm-test-ulps: Update.
79496 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79497             Thomas Schwinge  <thomas@codesourcery.com>
79499         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79500         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79501         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79502         fanotify_mark.
79504 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79506         * sysdeps/mach/start.c: Remove file.
79507         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79508         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79509         * sysdeps/sh/init-first.c: Likewise.
79511         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79512         registers for frame unwinding purposes, add CFI directives.
79513         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79514         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79515         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79516         Likewise.
79518         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79519         __fortify_fail returning.
79520         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79522         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79523         sysdeps/sh/____longjmp_chk.S.
79524         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79525         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79526         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79527         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79529         * sysdeps/sh/abort-instr.h: New file.
79530         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79531         process in case exit returns.
79533         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79534         initialize the GOT register before use.
79536         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79537         calculation of ARGC > 4.
79539         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79540         meaningful names to some local labels.
79542 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79543             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79545         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79546         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79547         (__arch_compare_and_exchange_val_16_acq): Likewise.
79548         (__arch_compare_and_exchange_val_32_acq): Likewise.
79549         (atomic_exchange_and_add): Fix gUSA sequence.
79550         (atomic_add): Likewise.
79551         (atomic_add_negative): Likewise.
79552         (atomic_add_zero): Likewise.
79553         (atomic_bit_test_set): Likewise.
79555 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79557         [BZ #13579]
79558         * include/link.h (struct link_map): Add l_free_initfini.
79559         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79560         l_initfini.
79561         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79562         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79563         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79564         set.
79566 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79568         * configure.in: Use AC_LANG_SOURCE.
79569         * configure: Regenerate.
79571 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79573         * configure.in (libc_cv_localstatedir): New substituted variable.
79574         * configure: Regenerated.
79575         * config.make.in (localstatedir): New variable, substituted from
79576         libc_cv_localstatedir.
79577         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79578         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79579         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79580         * sysdeps/gnu/configure: Regenerated.
79582 2012-06-21  Jeff Law  <law@redhat.com>
79584         [BZ #14277]
79585         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79586         free.  Simplify list management for _LIBC case.
79588 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79590         [BZ #14273]
79591         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79592         Clear sign bit of 64-bit integer value before comparing against
79593         overflow value.
79595         * sysdeps/mach/configure: Regenerated.
79597 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79599         [BZ #14278]
79600         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79602 2012-06-21  Jeff Law  <law@redhat.com>
79604         [BZ #13882]
79605         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79606         uint16_t for elements in the "seen" array to avoid char overflows.
79607         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79608         * elf/dl-open.c (dl_open_worker): Likewise.
79610 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79612         * scripts/list-sources.sh: Scan PORTS for translations.
79613         * po/libc.pot: Regenerated.
79615 2012-06-21  Andreas Jaeger  <aj@suse.de>
79617         [BZ #12194]
79618         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79619         warning.
79620         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79621         * bits/byteswap-16.h (__bswap_16): Likewise.
79622         * bits/byteswap.h (__bswap_constant_16): Likewise.
79624 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79626         [BZ #14117]
79627         * sysdeps/i386/fpu_control.h: Removed.
79628         * sysdeps/x86_64/fpu_control.h: Moved to ...
79629         * sysdeps/x86/fpu_control.h: Here.
79631         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79632         (_FPU_SETCW): Likewise.
79634 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79636         [BZ #14117]
79637         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79638         * sysdeps/x86/fpu/bits/mathinline.h: This.
79639         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79641         [BZ #14050]
79642         [BZ #14117]
79643         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79644         functions if __x86_64__ is defined.
79646 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79648         * string/endian.h: Add !__ASSEMBLER__ condition for including
79649         conversion interfaces.
79651 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79653         [BZ #14241]
79654         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79655         of ABS(x) in calculating zero to negative powers other than odd
79656         integers.
79657         * math/libm-test.inc (pow_test): Add more tests.
79659 2012-06-15  Andreas Jaeger  <aj@suse.de>
79661         * manual/contrib.texi (Contributors): Update entry of Liubov
79662         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79663         Machado Filho.
79665 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79667         * string/string.h: Add __wur to GNU version of strerror_r.
79669 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79671         [BZ #14229]
79672         * string/Makefile (tests): Add tst-strtok_r.
79673         * string/tst-strtok_r.c: New file.
79674         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79675         RAX_LP/RDX_LP on SAVE_PTR.
79677 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79679         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79681 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79683         * libm_test.inc (csqrt_test): Allow more spurious underflow
79684         exceptions.
79685         (j0_test): Likewise.
79686         (j1_test): Likewise.
79687         (y0_test): Likewise.
79688         (y1_test): Likewise.
79690 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79692         * po/Makefile (libc.pot): Use UTF-8 charset.
79694 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79696         [BZ #14210]
79697         Suppress sign-conversion warning from FD_SET.
79698         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79699         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79700         not unsigned long int.
79701         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79703 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79705         [BZ #14050]
79706         [BZ #14117]
79707         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79708         __extern_always_inline instead of __extern_inline.
79709         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79710         (__signbit): Likewise.
79711         (__signbitl): Support C++ namespace.
79712         (lrintf): New inline function.
79713         (lrint): Likewise.
79714         (llrintf): Likewise.
79715         (llrint): Likewise.
79716         (fmaxf): Likewise.
79717         (fmax): Likewise.
79718         (fminf): Likewise.
79719         (fmin): Likewise.
79720         (rint): Likewise.
79721         (rintf): Likewise.
79722         (ceil): Likewise.
79723         (ceilf): Likewise.
79724         (floor): Likewise.
79725         (floorf): Likewise.
79726         (nearbyint): Likewise.
79727         (nearbyintf): Likewise.
79729 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
79731         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79732         non-default versions.
79734 2012-06-11  Roland McGrath  <roland@hack.frob.com>
79736         [BZ #14218]
79737         * manual/argp.texi (Argp): Reword argp_parse description slightly.
79739 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
79741         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79742         (FE_UPWARD, FE_DOWNWARD): Don't define.
79743         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79744         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79746         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79747         reading it.
79748         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79749         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79751 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79753         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79754         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79755         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79756         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79758 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
79760         [BZ #14117]
79761         * sysdeps/i386/fpu/bits/fenv.h: Removed.
79762         * sysdeps/i386/fpu/Implies: New file.
79763         * sysdeps/x86_64/fpu/Implies: Likewise.
79764         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79765         * sysdeps/x86/fpu/bits/fenv.h: This.
79767         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79768         __SSE_MATH__.
79770 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
79772         [BZ #14134]
79773         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79774         character 0xffff that matches the last element of the
79775         conversion table.
79777 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79779         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79780         fmodl commit.
79782 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79784         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79785         values higher than 25.6283.
79787 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79789         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79790         subnormal exponent extraction and add some __builtin_expect.
79791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79792         Fix for subnormal mantissa calculation.
79794 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
79796         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79797         cpu2 is -1 and errno is not ENOSYS.
79799 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
79801         [BZ #14117]
79802         * sysdeps/i386/i486/bits/string.h: Renamed to ...
79803         * sysdeps/x86/bits/string.h: This.
79804         * sysdeps/x86_64/bits/string.h: Removed.
79806         * sysdeps/i386/i486/bits/string.h: Define inline functions only
79807         if not compiling for x86-64, but compiling for >= i486.
79809         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79810         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79812         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79813         New macro from Linux kernel 3.4.0.
79814         (FP_XSTATE_MAGIC2): Likewise.
79815         (FP_XSTATE_MAGIC2_SIZE): Likewise.
79816         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79817         (struct _fpx_sw_bytes): New struct.
79818         (struct _xsave_hdr): Likewise.
79819         (struct _ymmh_state): Likewise.
79820         (struct _xstate): Likewise.
79822         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79823         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79824         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79825         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79826         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79827         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79829         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79830         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79831         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79832         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79833         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79834         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79836 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79838         [BZ #13743]
79839         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79840         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79841         (sysdep_headers): Include sys/platform/ppc.h.
79842         * sysdeps/powerpc/test-gettimebase.c: Test for
79843         __ppc_get_timebase() to catch future ISA opcode/insn changes.
79844         * manual/Makefile (appendices): Include platform.texi.
79845         * manual/contrib.texi (Contributors): Update @node pointers.
79846         * manual/maint.texi (Maintenance): Likewise.
79847         (Platform): New node.
79848         * manual/platform.texi: New file.  Document the new features.
79850 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
79851             Jakub Jelinek  <jakub@redhat.com>
79853         [BZ #14188]
79854         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79855         where __builtin_expect is unavailable.
79857 2012-06-03  David S. Miller  <davem@davemloft.net>
79859         * stdlib/longlong.h: Updated from GCC.
79861 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
79863         [BZ #14042]
79864         * sysdeps/powerpc/powerpc32/mcount.c: New file.
79865         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79866         __mcount_internal.
79867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79868         (GLIBC_2.16): Likewise.
79870 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79872         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79874 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79877         (default-abi): New variable.
79878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79879         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79880         variable.
79881         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79882         Likewise.
79883         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79884         Likewise.
79885         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79886         Likewise.
79888         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79889         definition.  Document in comment.
79891 2012-06-01  David S. Miller  <davem@davemloft.net>
79893         * stdlib/longlong.h: Updated from GCC.
79895 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79897         [BZ #14117]
79898         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79899         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79900         sys/debugreg.h sys/io.h here.
79901         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79902         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79903         sys/io.h.
79904         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79905         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79906         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79907         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79908         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79909         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79911         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79912         Define only if __x86_64__ is defined.
79914 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79916         [BZ #14048]
79917         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79918         Use int64_t for variable i.
79919         * math/libm-test.inc (fmod_test): Add more tests.
79921         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79922         z computation is not scheduled after fetestexcept.
79923         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79924         Use math_force_eval instead of asm to ensure calculation scheduled
79925         before exception test.
79926         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79927         Ensure a1 + u.d computation is not scheduled after fetestexcept.
79929 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
79931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79932         computation is not scheduled after fetestexcept.
79934 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79936         [BZ #14117]
79937         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79938         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79940 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79942         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79943         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79945 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79947         [BZ #14117]
79948         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79949         <bits/wordsize.h>.
79950         (__WCHAR_MIN): Support __WORDSIZE == 64.
79951         (__WCHAR_MAX): Likewise.
79953         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79954         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79956         [BZ #14183]
79957         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79958         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79960         [BZ #14117]
79961         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79962         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79964         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79965         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79967         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79968         Defined to 1 if __x86_64__ isn't defined.
79969         (_STAT_VER_LINUX_OLD): New.
79970         (st_atime): Remove duplicate.
79971         (st_mtime): Likewise.
79972         (st_ctime): Likewise.
79974 2012-05-31  David S. Miller  <davem@davemloft.net>
79976         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79977         entries.
79979 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
79981         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79982         gen-libm-test.pl.
79984         [BZ #14132]
79985         * elf/dl-reloc.c: Include <_itoa.h>.
79986         (_dl_reloc_bad_type): Remove use of INTUSE.
79987         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79988         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79989         * stdio-common/psiginfo.c (psiginfo): Likewise.
79990         * stdio-common/psignal.c (psignal): Likewise.
79991         * string/strsignal.c (strsignal): Likewise.
79992         * include/signal.h (_sys_siglist): Declare hidden proto.
79993         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
79994         INTVARDEF with libc_hidden_data_def.
79995         * stdio-common/itoa-udigits.c: Likewise.
79996         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79997         (_itoa_lower_digits_internal): Remove declaration.
79998         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79999         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80000         (_sys_sigabbrev_internal): Remove aliases.
80001         (_sys_siglist): Define hidden alias.
80003 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80006         bits/sysctl.h.
80008 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80010         [BZ #14117]
80011         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80012         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80014         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80015         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80016         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80017         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80019         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80021         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80022         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80023         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80025         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80026         with __addr.
80027         (insw): Likewise.
80028         (insl): Likewise.
80029         (outsb): Likewise.
80030         (outsw): Likewise.
80031         (outsl): Likewise.
80033         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80034         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80035         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80037         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80038         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80039         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80040         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80041         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80042         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80044         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80045         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80047         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80048         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80050         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80051         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80054         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80055         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80056         to ...
80057         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80059         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80060         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80061         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80063         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80064         for x86-64.
80065         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80067 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80069         * math/math.h (M_El): Use two more decimal places.
80070         (M_LOG2El): Likewise.
80071         (M_LOG10El): Likewise.
80072         (M_LN2l): Likewise.
80073         (M_LN10l): Likewise.
80074         (M_PIl): Likewise.
80075         (M_PI_2l): Likewise.
80076         (M_PI_4l): Likewise.
80077         (M_1_PIl): Likewise.
80078         (M_2_PIl): Likewise.
80079         (M_2_SQRTPIl): Likewise.
80080         (M_SQRT2l): Likewise.
80081         (M_SQRT1_2l): Likewise.
80083 2012-05-31  David S. Miller  <davem@davemloft.net>
80085         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80086         values between float registers.
80087         * sysdeps/sparc/sparc64/memset.S: Likewise.
80088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80090 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80092         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80093         -D_FORTIFY_SOURCE=1.
80094         (CPPFLAGS-tst-longjmp_chk.c): Define.
80095         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80096         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80097         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80098         CFLAGS-tst-wchar-h.c.
80100 2012-05-31  Marek Polacek  <polacek@redhat.com>
80102         [BZ #14132]
80103         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80104         __endmntent_internal): Remove declaration.
80105         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80106         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80107         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80109 2012-05-30  David S. Miller  <davem@davemloft.net>
80111         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80112         (___Q_simulate_exceptions): Use real FP ops rather than writing
80113         into the %fsr.
80114         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80115         Likewise.
80117 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80119         [BZ #14117]
80120         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80121         * sysdeps/x86/bits/xtitypes.h: This.
80123         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80124         * sysdeps/x86/bits/wordsize.h: This.
80126         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80127         * sysdeps/x86/bits/huge_vall.h: This.
80129         * sysdeps/i386/bits/select.h: Removed.
80130         * sysdeps/x86_64/bits/select.h: Renamed to ...
80131         * sysdeps/x86/bits/select.h: This.
80133         * sysdeps/i386/bits/setjmp.h: Removed.
80134         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80135         * sysdeps/x86/bits/setjmp.h: This.
80137         * sysdeps/i386/bits/mathdef.h: Removed.
80138         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80139         * sysdeps/x86/bits/mathdef.h: This.
80141 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80143         [BZ #14132]
80144         * include/sys/socket.h (__connect_internal)
80145         (__libc_sa_len_internal): Remove declaration.
80146         (__connect, __libc_sa_len): Declare hidden_proto.
80147         (SA_LEN): Remove use of INTUSE.
80148         * socket/connect.c: Add libc_hidden_def.
80149         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80150         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80151         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80152         alias.
80153         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80154         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80155         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80156         of adding _internal alias.
80158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80160         [BZ #14117]
80161         * sysdeps/i386/bits/link.h: Removed.
80162         * sysdeps/i386/bits/linkmap.h: Likewise.
80163         * sysdeps/x86_64/bits/link.h: Renamed to ...
80164         * sysdeps/x86/bits/link.h: This.
80165         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80166         * sysdeps/x86/bits/linkmap.h: This.
80168         * sysdeps/i386/bits/endian.h: Removed.
80169         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80170         * sysdeps/x86/bits/endian.h: This.
80172         * sysdeps/i386/bits/byteswap.h: Removed.
80173         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80174         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80175         * sysdeps/x86/bits/byteswap.h: This.
80176         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80177         * sysdeps/x86/bits/byteswap-16.h: This.
80178         * sysdeps/i386/Implies: Add x86.
80179         * sysdeps/x86_64/Implies: Likewise.
80181 2012-05-30  David S. Miller  <davem@davemloft.net>
80183         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80184         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80185         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80186         (FP_TRAPPING_EXCEPTIONS): Define.
80187         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80188         (FP_TRAPPING_EXCEPTIONS): Define.
80189         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80190         subnormals only when inexact has been signalled or underflow
80191         exceptions are enabled.
80192         (_FP_PACK_CANONICAL): Likewise.
80194 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80196         [BZ #14183]
80197         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80198         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80200 2012-05-30  Richard Henderson  <rth@twiddle.net>
80202         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80203         with #ifndef NOT_IN_libc.
80205         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80206         marked to avoid plt entry.
80208 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80210         [BZ #14112]
80211         * Makeconfig (default-abi): New macro.
80212         (abi-includes): Likewise.
80213         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80214         $(abi-$(default-abi)-lib-soname) for soname if defined.
80215         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80216         abi-variants.
80217         * Makefile (installed-stubs): Likewise.
80218         * include/stubs-biarch.h: Removed.
80219         * scripts/lib-names.awk: Only handle one library at a time.
80220         * scripts/soversions.awk: Remove WORDSIZE support.
80221         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80222         entries.
80223         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80224         Removed.
80225         (syscall-list-default-condition): Likewise.
80226         (syscall-list-default-condition): Likewise.
80227         (syscall-list-includes): Likewise.
80228         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80229         syscall-list-* with abi-*.  Handle undefined abi-variants.
80230         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80231         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80232         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80233         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80234         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80235         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80236         Removed.
80237         (syscall-list-32-options): Likewise.
80238         (syscall-list-32-condition): Likewise.
80239         (syscall-list-64-options): Likewise.
80240         (syscall-list-64-condition): Likewise.
80241         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80242         macro.
80243         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80244         Renamed to ...
80245         (abi-*): This.
80246         (abi-64-ld-soname): New macro.
80247         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80248         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80249         Renamed to ...
80250         (abi-*): This.
80251         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80252         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80254 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80256         * sysdeps/unix/sysv/linux/kernel-features.h
80257         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80258         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80259         include <kernel-features.h>.
80260         [!__NR_ftruncate64]: Remove conditional code.
80261         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80262         [__NR_ftruncate64]: Make code unconditional.
80263         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80264         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80265         include <kernel-features.h>.
80266         [!__NR_ftruncate64]: Remove conditional code.
80267         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80268         [__NR_ftruncate64]: Make code unconditional.
80269         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80271         include <kernel-features.h>.
80272         [!__NR_ftruncate64]: Remove conditional code.
80273         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80274         [__NR_ftruncate64]: Make code unconditional.
80275         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80277         include <kernel-features.h>.
80278         [!__NR_ftruncate64]: Remove conditional code.
80279         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80280         [__NR_ftruncate64]: Make code unconditional.
80281         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80283         * configure.in (libc_cv_fpie): Weaken to a compile test using
80284         LIBC_TRY_CC_OPTION.
80285         * configure: Regenerated.
80287 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80293         Refreshed.
80294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80300         Refreshed.
80302 2012-05-27  David S. Miller  <davem@davemloft.net>
80304         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80305         (___Q_zero): New.
80306         (__Q_simulate_exceptions): Return void.  Change to simulate
80307         exceptions by writing into the %fsr.
80308         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80309         (__Qp_handle_exceptions): Likewise.
80310         (numbers): Delete.
80311         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80312         __Qp_handle_exceptions.
80313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80314         __Qp_handle_exceptions.
80315         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80316         as unused and give dummy FP_RND_NEAREST initializer.
80317         (FP_INHIBIT_RESULTS): Define.
80318         (___Q_simulate_exceptions): Update declaration.
80319         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80320         formatting.
80321         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80322         as unused and give dummy FP_RND_NEAREST initializer.
80323         (__Qp_handle_exceptions): Update declaration.
80324         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80325         formatting.
80327 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80329         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80330         the temporary FPU control word.
80331         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80332         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80333         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80334         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80335         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80336         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80337         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80338         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80339         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80340         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80341         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80343 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80345         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80346         fields.
80348 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80350         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80351         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80352         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80353         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80354         Likewise.
80355         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80356         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80357         Likewise.
80359 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80361         * po/h.po: Update from translation team.
80363 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80365         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80367         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80368         handling of denormals.
80369         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80370         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80371         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80372         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80373         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80375         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80376         Likewise.
80378 2012-05-26  Marek Polacek  <polacek@redhat.com>
80380         [BZ #14152]
80381         * math/libm-test.inc (fma_test): Don't always expect underflow
80382         exception.
80384 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80386         [BZ #12416]
80387         * elf/tst-execstack.c: Include stackinfo.h.
80388         (do_test): Adjust test case to ensure that pthread_getattr_np
80389         behaviour remains the same after marking stack executable.
80391 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80393         * sysdeps/unix/sysv/linux/kernel-features.h
80394         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80395         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80396         kernel-features.h.
80397         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80398         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80399         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80400         kernel-features.h.
80401         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80402         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80404 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80406         * configure.in: Define the default includes to being none.
80407         * configure: Regenerated.
80409 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80411         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80412         * sysdeps/x86_64/setjmp.S: Likewise.
80413         * sysdeps/i386/bsd-setjmp.S: Likewise.
80414         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80415         * sysdeps/i386/setjmp.S: Likewise.
80416         * sysdeps/i386/__longjmp.S: Likewise.
80417         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80418         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80420         * include/stap-probe.h: New file.
80421         * configure.in: Handle --enable-systemtap.
80422         * configure: Regenerated.
80423         * config.h.in (USE_STAP_PROBE): New #undef.
80424         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80425         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80426         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80428 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80430         [BZ #13717]
80431         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80432         to 2.4.0 where earlier.
80433         * sysdeps/unix/sysv/linux/configure: Regenerated.
80434         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80435         <kernel-features.h>.
80436         [__ASSUME_32BITUIDS]: Make code unconditional.
80437         [!__ASSUME_32BITUIDS]: Remove conditional code.
80438         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80439         <kernel-features.h>.
80440         [__ASSUME_32BITUIDS]: Make code unconditional.
80441         [!__ASSUME_32BITUIDS]: Remove conditional code.
80442         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80443         [__ASSUME_32BITUIDS]: Make code unconditional.
80444         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80445         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80446         <kernel-features.h>.
80447         [__ASSUME_32BITUIDS]: Make code unconditional.
80448         [!__ASSUME_32BITUIDS]: Remove conditional code.
80449         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80450         <kernel-features.h>.
80451         [__ASSUME_32BITUIDS]: Make code unconditional.
80452         [!__ASSUME_32BITUIDS]: Remove conditional code.
80453         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80454         <kernel-features.h>.
80455         [__ASSUME_32BITUIDS]: Make code unconditional.
80456         [!__ASSUME_32BITUIDS]: Remove conditional code.
80457         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80458         <kernel-features.h>.
80459         [__ASSUME_32BITUIDS]: Make code unconditional.
80460         [!__ASSUME_32BITUIDS]: Remove conditional code.
80461         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80462         <kernel-features.h>.
80463         [__ASSUME_32BITUIDS]: Make code unconditional.
80464         [!__ASSUME_32BITUIDS]: Remove conditional code.
80465         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80466         <kernel-features.h>.
80467         [__ASSUME_32BITUIDS]: Make code unconditional.
80468         [!__ASSUME_32BITUIDS]: Remove conditional code.
80469         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80470         <kernel-features.h>.
80471         [__ASSUME_32BITUIDS]: Make code unconditional.
80472         [!__ASSUME_32BITUIDS]: Remove conditional code.
80473         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80474         <kernel-features.h>.
80475         [__ASSUME_32BITUIDS]: Make code unconditional.
80476         [!__ASSUME_32BITUIDS]: Remove conditional code.
80477         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80478         <kernel-features.h>.
80479         [__ASSUME_32BITUIDS]: Make code unconditional.
80480         [!__ASSUME_32BITUIDS]: Remove conditional code.
80481         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80482         <kernel-features.h>.
80483         [__ASSUME_32BITUIDS]: Make code unconditional.
80484         [!__ASSUME_32BITUIDS]: Remove conditional code.
80485         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80486         <kernel-features.h>.
80487         [__NR_setresgid] (__setresgid): Do not declare.
80488         [__ASSUME_32BITUIDS]: Make code unconditional.
80489         [!__ASSUME_32BITUIDS]: Remove conditional code.
80490         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80491         <kernel-features.h>.
80492         [__NR_setresuid] (__setresuid): Do not declare.
80493         [__ASSUME_32BITUIDS]: Make code unconditional.
80494         [!__ASSUME_32BITUIDS]: Remove conditional code.
80495         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80496         <kernel-features.h>.
80497         [__ASSUME_32BITUIDS]: Make code unconditional.
80498         [!__ASSUME_32BITUIDS]: Remove conditional code.
80499         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80500         <kernel-features.h>.
80501         [__ASSUME_32BITUIDS]: Make code unconditional.
80502         [!__ASSUME_32BITUIDS]: Remove conditional code.
80503         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80504         <kernel-features.h>.
80505         [__ASSUME_32BITUIDS]: Make code unconditional.
80506         [!__ASSUME_32BITUIDS]: Remove conditional code.
80507         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80508         <kernel-features.h>.
80509         [__ASSUME_32BITUIDS]: Make code unconditional.
80510         [!__ASSUME_32BITUIDS]: Remove conditional code.
80511         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80512         <kernel-features.h>.
80513         [__ASSUME_32BITUIDS]: Make code unconditional.
80514         [!__ASSUME_32BITUIDS]: Remove conditional code.
80515         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80516         <kernel-features.h>.
80517         [__ASSUME_32BITUIDS]: Make code unconditional.
80518         [!__ASSUME_32BITUIDS]: Remove conditional code.
80519         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80520         <kernel-features.h>.
80521         [__ASSUME_32BITUIDS]: Make code unconditional.
80522         [!__ASSUME_32BITUIDS]: Remove conditional code.
80523         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80524         <kernel-features.h>.
80525         [__ASSUME_32BITUIDS]: Make code unconditional.
80526         [!__ASSUME_32BITUIDS]: Remove conditional code.
80527         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80528         <kernel-features.h>.
80529         [__ASSUME_32BITUIDS]: Make code unconditional.
80530         [!__ASSUME_32BITUIDS]: Remove conditional code.
80531         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80532         <kernel-features.h>.
80533         [__ASSUME_32BITUIDS]: Make code unconditional.
80534         [!__ASSUME_32BITUIDS]: Remove conditional code.
80535         * sysdeps/unix/sysv/linux/kernel-features.h
80536         (__ASSUME_SETRESUID_SYSCALL): Remove.
80537         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80538         (__ASSUME_32BITUIDS): Likewise.
80539         (__ASSUME_LDT_WORKS): Likewise.
80540         (__ASSUME_O_DIRECTORY): Likewise.
80541         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80542         architecture but not kernel version.
80543         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80544         (__ASSUME_MMAP2_SYSCALL): Likewise.
80545         (__ASSUME_STAT64_SYSCALL): Likewise.
80546         (__ASSUME_IPC64): Likewise.
80547         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80548         <kernel-features.h>.
80549         [__ASSUME_32BITUIDS]: Make code unconditional.
80550         [!__ASSUME_32BITUIDS]: Remove conditional code.
80551         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80552         <kernel-features.h>.
80553         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80554         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80555         132096]: Remove conditional code.
80556         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80557         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80558         <kernel-features.h>.
80559         [__ASSUME_32BITUIDS]: Make code unconditional.
80560         [!__ASSUME_32BITUIDS]: Remove conditional code.
80561         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80562         <kernel-features.h>.
80563         [__ASSUME_32BITUIDS]: Make code unconditional.
80564         [!__ASSUME_32BITUIDS]: Remove conditional code.
80565         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80566         <kernel-features.h>.
80567         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80568         unconditional.
80569         (__setresgid): Do not declare.
80570         [__ASSUME_32BITUIDS]: Make code unconditional.
80571         [!__ASSUME_32BITUIDS]: Remove conditional code.
80572         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80573         <kernel-features.h>.
80574         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80575         unconditional.
80576         (__setresuid): Do not declare.
80577         [__ASSUME_32BITUIDS]: Make code unconditional.
80578         [!__ASSUME_32BITUIDS]: Remove conditional code.
80579         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80580         <kernel-features.h>.
80581         [__ASSUME_32BITUIDS]: Make code unconditional.
80582         [!__ASSUME_32BITUIDS]: Remove conditional code.
80583         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80584         <kernel-features.h>.
80585         [__ASSUME_32BITUIDS]: Make code unconditional.
80586         [!__ASSUME_32BITUIDS]: Remove conditional code.
80588 2012-05-25  Richard Henderson  <rth@twiddle.net>
80590         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80591         dl_hwcap to ifunc resolver.
80592         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80593         elf_ifunc_invoke.
80594         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80595         dl_hwcap to ifunc resolver.
80596         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80598 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80600         [BZ #14153]
80601         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80602         for |x| <= 2**-26, not 2**-57.
80603         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80604         exception.
80606 2012-05-24  Jeff Law  <law@redhat.com>
80608         * stdio-common/Makefile (tests): Add bug25.
80609         * stdio-common/bug25.c: New test.
80611 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80613         [BZ #13576]
80614         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80615         multiple of MALLOC_ALIGNMENT in size.
80616         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80618 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80620         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80621         Require >= 256.
80622         (FILENAME_MAX): Use macro-int-constant.
80623         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80624         (_IOFBF): Use macro-int-constant.
80625         (_IOLBF): Likewise.
80626         (_IONBF): Likewise.
80627         (SEEK_CUR): Likewise.
80628         (SEEK_END): Likewise.
80629         (SEEK_SET): Likewise.
80630         (TMP_MAX): Likewise.
80631         (EOF): Use macro-int-constant.  Require < 0.
80632         (NULL): Use macro-constant.  Require == 0.
80633         (stdin): Require type to be FILE *.
80634         (stdout): Likewise.
80635         (stderr): Likewise.
80636         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80637         macro-int-constant.
80638         (EXIT_SUCCESS): Likewise.
80639         (NULL): Use macro-constant.  Require == 0.
80640         (RAND_MAX): Use macro-int-constant.
80641         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80642         [C99-based standards] (strtof): Require function.
80643         [C99-based standards] (strtold): Likewise.
80644         [C99-based standards] (strtoll): Likewise.
80645         [C99-based standards] (strtoull): Likewise.
80646         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80647         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80648         [ISO || ISO99 || ISO11] (math.h): Likewise.
80649         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80650         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80651         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80653 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80655         [BZ #14132]
80656         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80657         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80658         * intl/dgettext.c (DCGETTEXT): Likewise.
80659         * intl/gettext.c (DCGETTEXT): Likewise.
80660         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80661         * posix/regex_internal.h (gettext): Likewise.
80662         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80663         Remove declaration.
80664         * include/argz.h (__argz_count_internal)
80665         (__argz_stringify_internal): Remove declaration.
80666         (__argz_count, __argz_stringify): Declare hidden proto.
80667         * intl/dcgettext.c: Remove use of INTDEF.
80668         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80669         * string/argz-stringify.c: Likewise.
80670         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80671         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80672         Declare hidden proto.
80673         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80674         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80675         Declare hidden proto.
80676         * include/stdio.h (__asprintf_internal): Don't declare.
80677         (__asprintf): Don't define as macro.  Declare hidden proto.
80678         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80679         (__fsetlocking): Declare hidden proto.
80680         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80681         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80682         hidden proto.
80683         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80684         (_IO_setlinebuf): Remove use of INTUSE.
80685         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80686         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80687         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80688         Remove declaration.
80689         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80690         (_IO_do_flush): Remove use of INTUSE.
80691         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80692         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80693         (_IO_adjust_column, _IO_least_wmarker)
80694         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80695         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80696         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80697         (_IO_default_doallocate, _IO_wdefault_doallocate)
80698         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80699         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80700         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80701         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80702         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80703         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80704         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80705         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80706         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80707         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80708         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80709         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80710         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80711         proto.
80712         (_IO_flush_all_internal, _IO_adjust_column_internal)
80713         (_IO_default_uflow_internal, _IO_default_finish_internal)
80714         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80715         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80716         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80717         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80718         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80719         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80720         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80721         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80722         (_IO_file_close_internal, _IO_file_close_it_internal)
80723         (_IO_file_underflow_internal, _IO_file_overflow_internal)
80724         (_IO_file_init_internal, _IO_file_attach_internal)
80725         (_IO_file_fopen_internal, _IO_file_read_internal)
80726         (_IO_file_sync_internal, _IO_file_seek_internal)
80727         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80728         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80729         (_IO_str_underflow_internal, _IO_str_overflow_internal)
80730         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80731         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80732         (_IO_list_all_internal, _IO_link_in_internal)
80733         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80734         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80735         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80736         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80737         (_IO_do_write_internal, _IO_padn_internal)
80738         (_IO_getline_info_internal, _IO_getline_internal)
80739         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80740         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80741         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80742         (_IO_vfscanf_internal, _IO_vfprintf_internal)
80743         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80744         (_IO_init_internal, _IO_un_link_internal): Don't declare.
80745         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80746         with libc_hidden_ver, remove use of INTUSE.
80747         * libio/genops.c: Likewise.
80748         * libio/freopen.c: Likewise.
80749         * libio/freopen64.c: Likewise.
80750         * libio/iofclose.c: Likewise.
80751         * libio/iofdopen.c: Likewise.
80752         * libio/iofflush.c: Likewise.
80753         * libio/iofflush_u.c: Likewise.
80754         * libio/iofgets.c: Likewise.
80755         * libio/iofgets_u.c: Likewise.
80756         * libio/iofopen.c: Likewise.
80757         * libio/iofopncook.c: Likewise.
80758         * libio/iofread.c: Likewise.
80759         * libio/iofread_u.c: Likewise.
80760         * libio/ioftell.c: Likewise.
80761         * libio/iofwrite.c: Likewise.
80762         * libio/iogetline.c: Likewise.
80763         * libio/iogets.c: Likewise.
80764         * libio/iogetwline.c: Likewise.
80765         * libio/iopadn.c: Likewise.
80766         * libio/iopopen.c: Likewise.
80767         * libio/ioseekoff.c: Likewise.
80768         * libio/ioseekpos.c: Likewise.
80769         * libio/iosetbuffer.c: Likewise.
80770         * libio/iosetvbuf.c: Likewise.
80771         * libio/ioungetc.c: Likewise.
80772         * libio/ioungetwc.c: Likewise.
80773         * libio/iovdprintf.c: Likewise.
80774         * libio/iovsprintf.c: Likewise.
80775         * libio/iovsscanf.c: Likewise.
80776         * libio/memstream.c: Likewise.
80777         * libio/obprintf.c: Likewise.
80778         * libio/oldfileops.c: Likewise.
80779         * libio/oldiofclose.c: Likewise.
80780         * libio/oldiofdopen.c: Likewise.
80781         * libio/oldiofopen.c: Likewise.
80782         * libio/oldiopopen.c: Likewise.
80783         * libio/oldstdfiles.c: Likewise.
80784         * libio/putc.c: Likewise.
80785         * libio/setbuf.c: Likewise.
80786         * libio/setlinebuf.c: Likewise.
80787         * libio/stdfiles.c: Likewise.
80788         * libio/strops.c: Likewise.
80789         * libio/vasprintf.c: Likewise.
80790         * libio/vscanf.c: Likewise.
80791         * libio/vsnprintf.c: Likewise.
80792         * libio/vswprintf.c: Likewise.
80793         * libio/wfiledoalloc.c: Likewise.
80794         * libio/wfileops.c: Likewise.
80795         * libio/wgenops.c: Likewise.
80796         * libio/wmemstream.c: Likewise.
80797         * libio/wstrops.c: Likewise.
80798         * libio/__fpurge.c: Likewise.
80799         * libio/__fsetlocking.c: Likewise.
80800         * assert/assert.c: Likewise.
80801         * debug/fgets_chk.c: Likewise.
80802         * debug/fgets_u_chk.c: Likewise.
80803         * debug/fread_chk.c: Likewise.
80804         * debug/fread_u_chk.c: Likewise.
80805         * debug/gets_chk.c: Likewise.
80806         * debug/obprintf_chk.c: Likewise.
80807         * debug/vasprintf_chk.c: Likewise.
80808         * debug/vdprintf_chk.c: Likewise.
80809         * debug/vsnprintf_chk.c: Likewise.
80810         * debug/vsprintf_chk.c: Likewise.
80811         * malloc/mtrace.c: Likewise.
80812         * misc/error.c: Likewise.
80813         * misc/syslog.c: Likewise.
80814         * stdio-common/asprintf.c: Likewise.
80815         * stdio-common/fxprintf.c: Likewise.
80816         * stdio-common/getw.c: Likewise.
80817         * stdio-common/isoc99_fscanf.c: Likewise.
80818         * stdio-common/isoc99_scanf.c: Likewise.
80819         * stdio-common/isoc99_vfscanf.c: Likewise.
80820         * stdio-common/isoc99_vscanf.c: Likewise.
80821         * stdio-common/isoc99_vsscanf.c: Likewise.
80822         * stdio-common/printf-prs.c: Likewise.
80823         * stdio-common/printf_fp.c: Likewise.
80824         * stdio-common/printf_fphex.c: Likewise.
80825         * stdio-common/printf_size.c: Likewise.
80826         * stdio-common/putw.c: Likewise.
80827         * stdio-common/scanf.c: Likewise.
80828         * stdio-common/sprintf.c: Likewise.
80829         * stdio-common/tmpfile.c: Likewise.
80830         * stdio-common/vfprintf.c: Likewise.
80831         * stdio-common/vfscanf.c: Likewise.
80832         * stdlib/strfmon_l.c: Likewise.
80833         * sunrpc/openchild.c: Likewise.
80834         * sunrpc/xdr_stdio.c: Likewise.
80835         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80836         * sysdeps/mach/hurd/tmpfile.c: Likewise.
80838 2012-05-24  Roland McGrath  <roland@hack.frob.com>
80840         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80842         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80843         in the third column, to generate for the shared library an IFUNC
80844         that uses _dl_vdso_vsym.
80845         * Makerules (COMPILE.c, compile-stdin.c): New variables.
80846         * Makeconfig (object-suffixes-noshared): New variable.
80848         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80849         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80850         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80851         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80853         [BZ #14132]
80854         * include/sys/time.h (__gettimeofday): Remove macro.
80855         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80856         * time/gettimeofday.c (__gettimeofday): Remove #undef.
80857         Remove INTDEF.
80858         (__gettimeofday): Add libc_hidden_def.
80859         (gettimeofday): Add libc_hidden_weak.
80860         * sysdeps/mach/gettimeofday.c: Likewise.
80861         * sysdeps/posix/gettimeofday.c: Likewise.
80862         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80863         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80865         (__gettimeofday_internal): Remove strong_alias.
80866         (__gettimeofday): Add libc_hidden_def.
80867         (gettimeofday): Add libc_hidden_weak.
80868         * sysdeps/unix/syscalls.list (gettimeofday):
80869         Remove __gettimeofday_internal alias.
80871 2012-05-24  Daniel Jacobowitz  <drow@false.org>
80872             H.J. Lu  <hongjiu.lu@intel.com>
80874         [BZ #12495]
80875         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80876         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80877         (largebin_index_32_big): New.
80878         (largebin_index): Use it for 16-byte alignment.
80879         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
80880         correction with front_misalign.
80882 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80886         Likewise.
80887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80888         Likewise.
80889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80890         Likewise.
80891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80892         Likewise.
80893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80894         Likewise.
80895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80896         Likewise.
80897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80898         Likewise.
80899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80900         Likewise.
80901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80902         Likewise.
80903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80904         Likewise.
80905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80906         Likewise.
80907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80908         Likewise.
80910         * scripts/data/c++-types-x32-linux-gnu.data: New file.
80911         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80913 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80915         [BZ #10846]
80916         [BZ #14036]
80917         * math/libm-test.inc (exp_test): Add test from bug 14036.
80918         (pow_test): Add test from bug 10846.
80920         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80921         and other flags.
80922         (special_function): Do not include flags in test name.
80923         (parse_args): Likewise.
80924         * sysdeps/i386/fpu/libm-test-ulps: Update.
80925         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80926         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80927         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80930         * math/gen-libm-test.pl (%beautify): Add entries for underflow
80931         exceptions.
80932         * math/libm-test.inc ("Philosophy"): Update comment about
80933         exception testing.
80934         (UNDERFLOW_EXCEPTION): New macro.
80935         (UNDERFLOW_EXCEPTION_OK): Likewise.
80936         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80937         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80938         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80939         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80940         (INVALID_EXCEPTION_OK): Update value.
80941         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80942         (OVERFLOW_EXCEPTION_OK): Likewise.
80943         (IGNORE_ZERO_INF_SIGN): Likewise.
80944         (test_exceptions): Handle underflow exceptions.
80945         (acos_test): Update for underflow exception expectations.
80946         (cexp_test): Likewise.
80947         (clog_test): Likewise.
80948         (clog10_test): Likewise.
80949         (csqrt_test): Likewise.
80950         (ctan_test): Likewise.
80951         (ctanh_test): Likewise.
80952         (exp_test): Likewise.
80953         (exp10_test): Likewise.
80954         (exp2_test): Likewise.
80955         (expm1_test): Likewise.
80956         (fma_test): Likewise.
80957         (j0_test): Likewise.
80958         (jn_test): Likewise.
80959         (nexttoward_test): Likewise.
80960         (pow_test): Likewise.
80961         (scalbn_test): Likewise.
80962         (scalbln_test): Likewise.
80963         (tan_test): Likewise.
80964         (y1_test): Likewise.
80965         * sysdeps/i386/fpu/libm-test-ulps: Update.
80966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80968 2012-05-23  David S. Miller  <davem@davemloft.net>
80970         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80971         (__libc_sigaction): Remove unused local variables.
80973 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80975         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80977 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
80979         mktime: avoid signed integer overflow
80980         * time/mktime.c (__mktime_internal): Do not mishandle the case
80981         where diff == INT_MIN.
80983         mktime: simplify computation of average
80984         * time/mktime.c (ranged_convert): Use new time_t_avg function
80985         instead of rolling our own (probably-slower) code.
80987         mktime: do not assume signed right shift propagates sign bit
80988         * time/mktime.c (isdst_differ): New static function.
80989         (__mktime_internal): No need to normalize tm_isdst now.
80990         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80991         tm_isdst values.
80993         mktime: merge another wrapv change from gnulib
80994         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80995         from some compilers.
80997         mktime: remove incorrect attempt at unusual arithmetics
80998         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80999         The code didn't really work on such machines anyway.
81000         (TYPE_MINIMUM): Assume two's complement.
81001         (twos_complement_arithmetic): Verify that long_int and time_t
81002         are two's complement (or unsigned, in the latter case).
81004         mktime: check signed shifts on long_int and time_t, too
81005         * time/mktime.c (SHR): Check that shifts work as desired
81006         on the types long_int and time_t too, as SHR is used on
81007         such types.
81009         mktime: do not assume 'long' is wide enough
81010         * time/mktime.c (verify): Move decl up.
81011         (long_int): New type.
81012         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81013         to remove assumption in the code that 'long' is wide enough to
81014         store year values.  This assumption is not true on x32 and on
81015         some non-glibc platforms.
81017         mktime: merge wrapv change from gnulib
81018         * time/mktime.c (WRAPV): New macro.
81019         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81020         (guess_time_tm, __mktime_internal): Do not assume that signed
81021         integer overflow wraps around; modern compilers generate code
81022         where this assumption is no longer valid.
81024 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81026         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81027         Replace "jmp L(pseudo_end)" with "ret".
81028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81029         Likewise.
81031 2012-05-23  Andreas Jaeger  <aj@suse.de>
81033         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81034         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81036 2012-05-23  Andreas Jaeger  <aj@suse.de>
81037             Maximilian Attems  <max@stro.at>
81039         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81040         New macros.
81042 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81044         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81045         code so that pseudo_end is just ret and the stack pointer is
81046         correct also for static library in error case.
81048 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81050         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81051         move to syscalls.list.
81052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81057         * manual/install.texi (Running make install): Do not mention Linux
81058         kernel version for which pt_chown is not needed.
81059         (Linux): Do not mention problems with nscd with 2.0 kernels.
81060         * INSTALL: Regenerated.
81062 2012-05-23  Andreas Jaeger  <aj@suse.de>
81064         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81065         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81066         macro.
81067         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81068         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81069         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81070         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81071         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81072         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81073         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81074         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81075         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81076         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81077         * sysdeps/unix/sysv/linux/bits/in.h
81078         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81080 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81082         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81083         (PREPARE_VERSION): Just use assert instead, it will be elided
81084         under [NDEBUG] anyway.
81086 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81088         * sysdeps/unix/sysv/linux/Makefile: Include
81089         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81090         (sysdep_routines): Remove sysctl.
81091         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81092         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81093         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81094         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81095         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81097 2012-05-22  Andreas Jaeger  <aj@suse.de>
81099         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81100         that pseudo_end is just ret and the stack pointer is correct also
81101         for static library in error case.
81103 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81105         [BZ #14122]
81106         * nss/nsswitch.c (defconfig_entries): New variable.
81107         (__nss_database_lookup): Don't leak defconfig entries.
81108         (nss_parse_service_list): Don't leak on error paths.
81109         (free_database_entries): New function.
81110         (free_defconfig): New function.
81111         (free_mem): Move common code to free_database_entries.
81113 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81115         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81116         Add arch_prctl.
81117         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81120         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81122         New macro.
81123         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81124         (INTERNAL_SYSCALL_TYPES): Likewise.
81125         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81126         (LOAD_REGS_TYPES_[1-6]): Likewise.
81127         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81128         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81130 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81132         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81133         copysignl for GLIBC_2_0.
81134         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81135         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81136         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81137         logbl for GLIBC_2_0.
81138         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81139         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81144         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81146         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81147         Use "neg %eax".
81149         * time/mktime.c: Update copyright years.
81151 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81153         mktime: merge comment-quoting-style change from gnulib
81154         * time/mktime.c: Quote 'like this' in comments.
81155         The GNU coding standards suggest that we no longer quote `like this',
81156         as "`" and "'" are typically rendered asymmetrically nowadays.
81157         The typical gnulib style is to quote 'like this' when quoting
81158         code, and "like this" when quoting English.
81160         * time/mktime.c (compile-command): Add "-I.".
81162         mktime: merge mktime-internal.h change from gnulib
81163         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81165         mktime: merge time_r change from gnulib
81166         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81168         mktime: merge DEBUG change from gnulib
81169         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81170         case system <time.h> has a #define.
81172         mktime: merge <sys/types.h> change from gnulib
81173         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81174         since <time.t> is now guaranteed to define time_t.
81176         mktime: merge HAVE_CONFIG_H change from gnulib
81177         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81179 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81182         Use "neg %eax".
81184         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81185         __rlim_t cast.
81186         (struct rusage): Use anonymous union to pad each field to
81187         __syscall_slong_t.
81189 2012-05-21  David S. Miller  <davem@davemloft.net>
81191         * Makefules (o-iterator): Remove .s cases.
81192         (compile-command.s): Delete.
81193         (COMPILE.s): Delete.
81194         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81196 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81198         * configure.in (libc_cv_predef_stack_protector): Only consider
81199         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81200         * configure: Regenerated.
81202 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81205         New macro.  Use R*LP on int and pointer.
81206         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81207         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81208         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81209         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81211         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81212         [__WORDSIZE_TIME64_COMPAT32] instead of
81213         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81214         (struct utmp): Likewise.
81215         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81216         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81217         Renamed to ...
81218         (__WORDSIZE_TIME64_COMPAT32): This.
81219         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81220         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81221         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81222         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81223         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81224         (__WORDSIZE_TIME64_COMPAT32): New macro.
81226 2012-05-21  Andreas Jaeger  <aj@suse.de>
81228         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81229         only if [SHARED]. Add prototype for __wcschr_ia32.
81231 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81233         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81234         of %rbp unmolested in the jmp_buf while mangling the low bits.
81235         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81236         unmolested high bits of %rbp while demangling the low bits.
81237         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81239 2012-05-21  Andreas Jaeger  <aj@suse.de>
81241         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81242         * sunrpc/svc_simple.c: Use it for registerrpc.
81243         * sunrpc/xcrypt.c: Use it for passwd2des.
81245         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81247 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81249         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81250         Don't define if [__SYSCALL_WORDSIZE != 32].
81251         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81252         New macro.
81254 2012-05-21  Bruno Haible  <bruno@clisp.org>
81255             Andreas Jaeger  <aj@suse.de>
81257         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81258         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81259         inptr and inend for must_buffer_ch.
81260         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81261         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81262         * stdio-common/Makefile (tests): Remove bug15.
81263         (bug15-ENV): Remove macro.
81264         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81265         anymore.
81267 2012-05-19  Andreas Jaeger  <aj@suse.de>
81268             Roland McGrath  <roland@hack.frob.com>
81270         * manual/contrib.texi: Completely rewritten. It contains now an
81271         alphabetical list of contributors and their contributions.
81273 2012-05-21  Richard Henderson  <rth@twiddle.net>
81275         * misc/getauxval.c (__getauxval): Use unsigned long int.
81276         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81277         (getauxval): Use unsigned long int.
81279 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81281         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81283 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81285         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81286         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81287         __alignof__ (long double).
81289 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81293 2012-05-20  Richard Henderson  <rth@twiddle.net>
81295         * misc/getauxval.c: New file.
81296         * misc/sys/auxv.h: New file.
81297         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81298         (routines): Add getauxval.
81299         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81300         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81301         * elf/dl-sysdep.c (_dl_auxv): Remove.
81302         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81303         * elf/dl-support.c (_dl_auxv): New variable.
81304         (_dl_aux_init): Initialize it.
81305         * manual/startup.texi (Auxiliary Vector): New node.
81306         * sysdeps/generic/bits/hwcap.h: New file.
81307         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81308         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81309         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81310         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81311         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81312         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81314         Update.
81315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81324 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81328 2012-05-19  David S. Miller  <davem@davemloft.net>
81330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81332 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81334         [BZ #14123]
81335         * math/s_ccosh.c: Include <float.h>
81336         (__ccosh): Avoid internal overflow calculating sinh and cosh
81337         values before multiplying by sin and cos values.
81338         * math/s_ccoshf.c: Likewise.
81339         * math/s_ccoshl.c: Likewise.
81340         * math/s_csin.c: Likewise.
81341         * math/s_csinf.c: Likewise.
81342         * math/s_csinl.c: Likewise.
81343         * math/s_csinh.c: Likewise.
81344         * math/s_csinhf.c: Likewise.
81345         * math/s_csinhl.c: Likewise.
81346         * math/libm-test.inc (ccos_test): Add more tests.
81347         (ccosh_test): Likewise.
81348         (csin_test): Likewise.
81349         (csinh_test): Likewise.
81350         * sysdeps/i386/fpu/libm-test-ulps: Update.
81351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81353 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81355         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81356         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81358         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81360 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81362         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81363         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81364         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81365         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81366         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81367         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81368         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81369         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81370         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81371         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81372         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81373         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81374         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81375         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81376         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81377         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81378         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81379         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81380         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81381         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81382         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81383         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81384         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81385         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81386         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81387         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81388         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81389         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81390         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81391         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81392         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81394 2012-05-18  Andreas Jaeger  <aj@suse.de>
81396         * csu/.gitignore: Delete.
81398 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81400         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81401         (timex): Use __syscall_slong_t.
81403 2012-05-18  Andreas Jaeger  <aj@suse.de>
81404             Carlos O'Donell  <carlos_odonell@mentor.com>
81406         * manual/install.texi (Configuring and compiling): Update
81407         description about files modified in the source directory.
81408         * INSTALL: Regenerated.
81410 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81412         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81413         value.  Use "or" to set return value to -1.
81414         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81415         negate return value.
81417 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81419         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81420         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81421         failure if the compiler has Graphite support disabled.
81422         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81423         Likewise.
81424         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81425         (CFLAGS-memmove.c): Likewise.
81426         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81427         Likewise.
81429 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81431         * sysdeps/x86_64/x32/_itoa.h: New file.
81433         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81434         getdents system call only if kernel and user dirents have the
81435         same d_ino and d_off.
81437         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81438         LLONG_MAX != LONG_MAX.
81439         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81440         (_fitoa_word): Likewise.
81442         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81443         years.
81444         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81445         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81446         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81448         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81449         include <bits/wordsize.h>.  Check __x86_64__ instead of
81450         __WORDSIZE.
81451         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81452         if __x86_64__ is defined.  Use anonymous union on fpstate.
81454         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81455         anonymous union.
81457 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81459         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81460         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81461         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81462         Refer to _rtld_local_ro instead of _rtld_global_ro.
81463         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81464         Likewise.
81465         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81466         Likewise.
81467         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81468         Likewise.
81469         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81470         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81471         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81473         [BZ #10882]
81474         * sysdeps/powerpc/powerpc32/dl-machine.c
81475         (__elf_machine_runtime_setup) [PROF]: Don't reference
81476         _dl_prof_resolve.
81478 2012-05-18  Andreas Jaeger  <aj@suse.de>
81480         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81481         function only available for GCCs before 3.4 since GCC 3.4
81482         introduced a builtin.
81483         (lrint): Likewise.
81484         (llrintf): Likewise.
81485         (llrint): Likewise.
81486         (fmaxf): Likewise.
81487         (fmax): Likewise.
81488         (fminf): Likewise.
81489         (fmin): Likewise.
81490         (rint): Likewise.
81491         (rintf): Likewise.
81492         (nearbyint): Likewise.
81493         (nearbyintf): Likewise.
81494         (ceil): Likewise.
81495         (ceilf): Likewise.
81496         (floor): Likewise.
81497         (floorf): Likewise.
81499 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81501         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81502         on both fields and cast pointer to __syscall_ulong_t.
81504         * bits/types.h (__fsword_t): New type.
81505         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81506         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81507         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81508         (__FSWORD_T_TYPE): Likewise.
81509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81510         (__FSWORD_T_TYPE): Likewise.
81511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81512         (__FSWORD_T_TYPE): Likewise.
81513         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81514         (__FSWORD_T_TYPE): Likewise.
81515         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81516         __SWORD_TYPE with __fsword_t.
81517         (statfs64): Likewise.
81519 2012-05-17  David S. Miller  <davem@davemloft.net>
81521         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81523 2012-05-17  Andreas Jaeger  <aj@suse.de>
81525         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81526         warning.
81528 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81530         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81532 2012-05-17  Andreas Jaeger  <aj@suse.de>
81534         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81535         when it is used.
81537 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81539         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81541 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81543         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81544         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81546 2012-05-17  Andreas Jaeger  <aj@suse.de>
81547             Carlos O'Donell  <carlos_odonell@mentor.com>
81549         [BZ #14059]
81550         * sysdeps/x86_64/multiarch/init-arch.h
81551         (bit_YMM_Usable): Rename to...
81552         (bit_AVX_Usable): ... this.
81553         (bit_FMA4_Usable): New macro.
81554         (bit_XMM_state): New macro.
81555         (bit_YMM_state): New macro.
81556         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81557         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81558         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81559         (CPUID_OSXSAVE): New macro.
81560         (CPUID_AVX): New macro.
81561         (CPUID_FMA4): New macro.
81562         (index_YMM_Usable): Rename to...
81563         (index_AVX_Usable): ... this.
81564         (HAS_AVX): Use HAS_ARCH_FEATURE.
81565         (HAS_FMA4): Likewise.
81566         (HAS_YMM_USABLE): Remove.
81567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81568         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81569         are present.
81570         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81571         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81572         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81573         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81574         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81576 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81578         * math/libm-test.c: Support platforms without multiple rounding modes.
81579         * math/bug-nextafter.c: Support platforms without FP exceptions.
81580         * math/bug-nexttoward.c: Likewise.
81581         * math/test-fenv.c: Likewise.
81582         * math/test-misc.c: Likewise.
81583         * stdlib/bug-getcontext.c: Likewise.
81585 2012-05-17  Andreas Jaeger  <aj@suse.de>
81587         * manual/examples/search.c (critter_cmp): Change signature to
81588         avoid warnings.
81589         * manual/string.texi (Collation Functions): Likewise.
81591 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81593         * bits/types.h: Fold copyright years.
81594         * bits/typesizes.h: Likewise.
81595         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81597         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81599         * time/time.h: Likewise.
81601 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81603         [BZ #208]
81604         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81605         in instead of returning them.  Return void.
81606         (__libc_mallinfo): Accumulate over all arenas.
81607         (__malloc_stats): Adjust for change in int_mallinfo interface.
81609 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81611         [BZ #10375]
81612         * configure.in (NM): Add AC_CHECK_TOOL for it.
81613         (libc_extra_cflags): New substituted variable.
81614         Check for -fstack-protector being used implicitly.
81615         * configure: Regenerated.
81616         * config.make.in (config-extra-cflags): New variable,
81617         gets @libc_extra_cflags@.
81618         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81620         [BZ #10375]
81621         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81622         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81623         * configure: Regenerated.
81624         * config.make.in (CPPUNDEFS): New substituted variable.
81625         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81626         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81627         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81631         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81632         (mq_attr): Use __syscall_slong_t.
81634 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81636         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81637         Check __x86_64__ instead of __WORDSIZE.
81638         (_STAT_VER_LINUX): Likewise.
81639         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81640         __syscall_ulong_t and __syscall_slong_t.
81641         (stat64): Likewise.
81643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81645         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81649         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81653         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81654         __syscall_ulong_t.
81656         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81657         include <bits/wordsize.h>.  Check __x86_64__ instead of
81658         __WORDSIZE.
81659         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81660         defined.
81661         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81663         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81664         include <bits/wordsize.h>.  Check __x86_64__ instead of
81665         __WORDSIZE.
81666         (user_regs_struct): Use "__extension__ unsigned long long"
81667         instead of "unsigned long" if __x86_64__ is defined.
81668         (user): Likewise.  Pad after pointer field if __ILP32__ is
81669         defined.
81671 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81673         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81674         versions 5 to 9.
81675         * configure: Regenerated.
81676         * manual/install.texi (texinfo): Increase version requirement to
81677         4.5 or later.
81678         * INSTALL: Regenerated.
81680         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81684         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81686         * sysdeps/x86_64/x32/ffs.c: New file.
81688         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81689         __syscall_ulong_t.
81690         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81691         defined.  Use __syscall_ulong_t.
81692         (shminfo): Use __syscall_ulong_t.
81693         (shm_info): Likewise.
81695         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81696         __syscall_ulong_t.
81698         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81699         <bits/wordsize.h>.
81700         (msgqnum_t): Use __syscall_ulong_t.
81701         (msglen_t): Likewise.
81702         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81703         __syscall_ulong_t.
81705         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81706         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81708         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81710         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81711         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81713         * sysvipc/sys/msg.h (msgbuf): Replace long int with
81714         __syscall_slong_t.
81716         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81717         include <bits/wordsize.h>.  Check __x86_64__ instead of
81718         __WORDSIZE.
81720         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81721         "unsigned long long int" if __x86_64__ is defined.
81722         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81724         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81725         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81726         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81728         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81729         <stdint.h>.
81730         (GET_PC): Cast to uintptr_t first.
81731         (GET_FRAME): Likewise.
81732         (GET_STACK): Likewise.
81734         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81735         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81736         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81737         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81738         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81739         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81740         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81741         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81742         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81743         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81744         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81746         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81747         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81748         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81749         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81750         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81751         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81752         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81753         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81754         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81755         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81756         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81757         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81758         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81759         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81760         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81761         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81762         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81764 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
81766         * Makerules (+depfiles): Also collect depfiles from .oS in
81767         $(extra-objs).
81768         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81769         .oS, $(libnldbl-routines)).
81771         * Makerules (native-compile-mkdep-flags): Define.
81772         * sunrpc/Makefile (extra-objs): Add $(addprefix
81773         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81774         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81775         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
81776         calling $(make-target-directory).
81778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81780         * bits/types.h (__snseconds_t): Removed.
81781         * time/time.h (struct timespec): Replace __snseconds_t with
81782         __syscall_slong_t.
81783         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81784         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81785         Likewise.
81786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81787         (__SNSECONDS_T_TYPE): Likewise.
81788         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81789         (__SNSECONDS_T_TYPE): Likewise.
81790         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81791         (__SNSECONDS_T_TYPE): Likewise.
81793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81795         * sysdeps/mach/hurd/bits/typesizes.h
81796         (__SYSCALL_SLONG_TYPE): New macro.
81797         (__SYSCALL_ULONG_TYPE): Likewise.
81799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81801         * bits/types.h (__syscall_slong_t): New type.
81802         (__syscall_ulong_t): Likewise.
81804         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81805         (__SYSCALL_ULONG_TYPE): Likewise.
81806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81807         (__SYSCALL_SLONG_TYPE): Likewise.
81808         (__SYSCALL_ULONG_TYPE): Likewise.
81809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81810         (__SYSCALL_SLONG_TYPE): Likewise.
81811         (__SYSCALL_ULONG_TYPE): Likewise.
81812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81813         (__SYSCALL_SLONG_TYPE): Likewise.
81814         (__SYSCALL_ULONG_TYPE): Likewise.
81816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81818         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81819         Add sigaltstack-offsets.sym.
81820         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81821         <sigaltstack-offsets.h>.
81822         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
81823         longjmp_msg pointer.
81824         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
81825         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81826         signal stack.
81827         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81829 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81831         * elf/stackguard-macros.h: Remove file.
81832         * sysdeps/generic/stackguard-macros.h: New file.
81833         * sysdeps/i386/stackguard-macros.h: Likewise.
81834         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81835         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81836         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81837         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81838         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81839         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81840         * sysdeps/x86_64/stackguard-macros.h: Likewise.
81841         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81842         <elf/stackguard-macros.h>.
81844         [BZ #14109]
81845         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81846         __aligned__ in attribute.
81847         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81848         (gregset_t): Likewise.
81850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81852         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81853         * sysdeps/x86_64/64/Implies-after: Here.  New file.
81854         * sysdeps/x86_64/x32/Implies-after: New file.
81856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81858         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81859         and access return value for _dl_profile_fixup.  Use R10_LP to
81860         load frame size.
81862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81864         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81868         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81869         * sysdeps/x86_64/x32/sysdep.h: New file.
81871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81873         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81874         * sysdeps/x86_64/setjmp.S: Likewise.
81876 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81878         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81879         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81880         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81881         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81882         remove unused global constant.
81884 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
81886         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81887         include of <not-cancel.h>.
81889 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81891         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81893 2012-05-15  Jeff Law  <law@redhat.com>
81894             Andreas Jaeger  <aj@suse.de>
81896         [BZ #13594]
81897         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81898         out from...
81899         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81900         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81901         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81902         code changing __hst_map_handle.map.
81904 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81906         * configure.in (sysnames): Look for Implies-before and Implies-after
81907         files.
81908         * configure: Regenerated.
81910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81912         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81913         8-byte data alignment with LP_SIZE alignment.
81915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81917         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81918         into R10_LP.
81920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81922         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81926         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81927         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81928         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81929         Likewise.
81930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81934         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81935         (stackinfo_sub_sp): Likewise.
81937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81940         RAX_LP.
81942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81944         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81945         into R*_LP.
81947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81950         sizes into R*_LP.
81952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81954         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81958         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81959         into R11_LP and load __x86_64_shared_cache_size_half into
81960         R8_LP.
81962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81964         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81965         R8_LP.
81967 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81970         logb for POWER7.
81971         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81972         logbf for POWER7.
81973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81974         logbl for POWER7.
81975         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81976         powerpc32/power7/fpu/s_logb.c via #include.
81977         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81978         powerpc32/power7/fpu/s_logbf.c via #include.
81979         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81980         powerpc32/power7/fpu/s_logbl.c via #include.
81982 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81984         * README.libm: Remove file.
81986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81988         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81989         count for x32.  Use R*_LP and omit operand-size suffix.
81991 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81993         * shlib-versions: Move x86_64-.*-linux.* entries to ...
81994         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
81995         * sysdeps/x86_64/x32/shlib-versions: New file.
81997 2012-05-14  Roland McGrath  <roland@hack.frob.com>
81999         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82000         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82001         Use _dl_fatal_printf instead.
82003 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82005         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82006         set if not set by the user.  Do not allow for being unset.
82007         * sysdeps/unix/sysv/linux/configure: Regenerated.
82009 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82011         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82012         the `q' suffix from lea and replace .quad with ASM_ADDR.
82014 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82017         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82018         instead of $17.
82019         (PTR_DEMANGLE): Likewise.
82021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82023         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82024         (LP_OP): Likewise.
82025         (ASM_ADDR): Likewise.
82026         (RAX_LP): Likewise.
82027         (RBP_LP): Likewise.
82028         (RBX_LP): Likewise.
82029         (RCX_LP): Likewise.
82030         (RDI_LP): Likewise.
82031         (RSI_LP): Likewise.
82032         (RSP_LP): Likewise.
82033         (R8_LP): Likewise.
82034         (R9_LP): Likewise.
82035         (R10_LP): Likewise.
82036         (R10_LP): Likewise.
82037         (R11_LP): Likewise.
82038         (R12_LP): Likewise.
82039         (R13_LP): Likewise.
82040         (R14_LP): Likewise.
82041         (R15_LP): Likewise.
82043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82045         * sysdeps/x86_64/x32/dl-machine.h: New file.
82047 2012-05-14  Andreas Jaeger  <aj@suse.de>
82049         * manual/Makefile (subdir): Remove export of subdir.
82050         (all): Remove target.
82051         (.PHONY): Remove all from list.
82052         (mkinstalldirs): Remove.
82053         (.PHONY): Remove installdirs from list.
82054         ($(inst_infodir)/libc.info): Use make-target-directory.
82055         (installdirs): Remove.
82056         (subdir_%): Remove.
82057         (glibc-targets): Remove.
82058         (lib): Remove.
82059         (stubs): Remove.
82060         ($(objpfx)stubs ../po/manual.pot): Remove.
82061         ($(objpfx)stamp%): Remove.
82062         (make-target-directory): Remove.
82063         (subdir_install): Remove.
82064         (routines): Remove.
82065         (aux): Remove.
82066         (sources): Remove.
82067         (objects): Remove.
82068         (headers): Remove.
82070         [BZ #13750]
82071         * manual/.gitignore: Remove, it's not needed anymore.
82072         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82073         all files in it.
82074         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82075         directory.
82076         (texis): Renamed to $(objpfx)texis.
82077         (texis-path): New, contains path to generated files.
82078         (chapters.%): Use texis-path for complete path, add extra argument
82079         libc-texinfo.sh.
82080         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82081         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82082         (summary,texi, stamp-summary): Use complete path of
82083         files. Generate files in build dir.
82084         (dir-add.texi): Build in build dir.
82085         (libm-err.texi,stamp-libm-err): Likewise.
82086         (version.texi, stamp-version): Likewise.
82087         (.%c.texi): Likewise.
82088         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82089         (mostlyclean): Remove target.
82090         (realclean): Remove target.
82091         (generated): Add new variable with contents from mostlyclean and
82092         realclean, remove entries duplicated in common-mostlyclean, add
82093         stamp-libm-err and stamp-version.
82094         (generated-dirs): Add libc directory.
82095         ($(inst_infodir)/libc.info): Install files from build dir.
82097         * manual/install.texi (Configuring and compiling): Adjust since
82098         the info files are not part of the tar ball anymore.
82100 2012-05-14  Andreas Jaeger  <aj@suse.de>
82102         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82103         variable.
82105 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82107         [BZ #13717]
82108         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82109         to 2.2.0 where earlier.
82110         * sysdeps/unix/sysv/linux/configure: Regenerated.
82111         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82112         Remove conditional code.
82113         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82114         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82115         Remove conditional code.
82116         [!__NR_lchown]: Likewise.
82117         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82118         [__NR_lchown]: Likewise.
82119         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82120         comment referencing __ASSUME_LCHOWN_SYSCALL.
82121         * sysdeps/unix/sysv/linux/i386/sigaction.c
82122         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82123         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82124         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82125         Remove conditional code.
82126         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82127         (__protocol_available): Remove #if 0 code.
82128         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82129         conditional code.
82130         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82131         * sysdeps/unix/sysv/linux/kernel-features.h
82132         (__ASSUME_GETCWD_SYSCALL): Don't define.
82133         (__ASSUME_REALTIME_SIGNALS): Likewise.
82134         (__ASSUME_PREAD_SYSCALL): Likewise.
82135         (__ASSUME_PWRITE_SYSCALL): Likewise.
82136         (__ASSUME_POLL_SYSCALL): Likewise.
82137         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82138         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82139         non-SPARC.
82140         (__ASSUME_SIOCGIFNAME): Don't define.
82141         (__ASSUME_MSG_NOSIGNAL): Likewise.
82142         (__ASSUME_SENDFILE): Define unconditionally.
82143         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82144         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82145         conditional code.
82146         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82147         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82148         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82149         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82150         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82151         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82152         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82154         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82157         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82160         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82163         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82166         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82167         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82169         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82170         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82172         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82173         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82175         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82176         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82177         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82178         Remove conditional code.
82179         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82180         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82181         Remove conditional code.
82182         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82183         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82184         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82185         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82186         Remove conditional code.
82187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82188         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82189         Remove conditional code.
82190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82191         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82192         Remove conditional code.
82193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82194         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82195         Remove conditional code.
82196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82197         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82198         Remove conditional code.
82199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82200         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82203         * sysdeps/unix/sysv/linux/sigaction.c
82204         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82205         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82206         * sysdeps/unix/sysv/linux/sigpending.c
82207         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82208         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82209         * sysdeps/unix/sysv/linux/sigprocmask.c
82210         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82211         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82212         * sysdeps/unix/sysv/linux/sigsuspend.c
82213         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82214         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82215         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82216         (__libc_missing_rt_sigs): Remove.
82217         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82218         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82219         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82220         Remove conditional code.
82221         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82222         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82223         return 1.
82224         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82225         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82226         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82227         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82229 2012-05-14  Andreas Jaeger  <aj@suse.de>
82231         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82232         it's not used in glibc.
82233         (__coshm1): Likewise.
82234         (__acosh1p): Likewise.
82235         (__sgn): Likewise.
82237         * manual/string.texi (Copying and Concatenation): Add missing
82238         variable in concat example.
82239         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82243         [BZ #14103]
82244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82245         __builtin_clzl with __builtin_clzll.
82247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82249         [BZ #14104]
82250         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82251         libc_freeres_ptr.
82253 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82255         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82256         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82257         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82258         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82260 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82262         * NEWS: Update ia64 info.
82264 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82266         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82267         used as bcopy.
82269 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82271         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82272         * sysdeps/unix/syscalls.list (dup3): Likewise.
82273         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82274         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82276 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82278         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82279         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82281 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82283         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82284         thread pointer.
82285         (TLS_IE): Use mov/add instead of movq/addq to load thread
82286         pointer.
82287         (TLS_GD_PREFIX): New.
82288         (TLS_GD): Use it.
82290 2012-05-11  David S. Miller  <davem@davemloft.net>
82292         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82293         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82294         (_FPU_SETCW): Likewise.
82296 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82298         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82299         is 32-byte aligned.
82301 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82303         [BZ #11837]
82304         * iconvdata/gb18030.c: Update tables.
82305         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82306         characters specially.
82307         (BODY for TO_LOOP): Add encoding of missing ranges.
82309 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82311         [BZ #13673]
82312         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82313         * sysdeps/mach/hurd/dup3.c: Likewise.
82314         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82315         * sysdeps/powerpc/memmove.c:: Likewise.
82317 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82319         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82320         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82322 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82324         * elf/elf.h (R_X86_64_RELATIVE64): New.
82325         (R_X86_64_NUM): Updated.
82326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82327         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82328         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82329         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82330         tst-quad1pie tst-quad2pie
82331         (modules-names): Add tst-quadmod1 tst-quadmod2.
82332         ($(objpfx)tst-quad1): New dependency.
82333         ($(objpfx)tst-quad2): Likewise.
82334         ($(objpfx)tst-quad1pie): Likewise.
82335         ($(objpfx)tst-quad2pie): Likewise.
82336         * sysdeps/x86_64/tst-quad1.c: New file.
82337         * sysdeps/x86_64/tst-quad1pie.c: New file.
82338         * sysdeps/x86_64/tst-quad2.c: Likewise.
82339         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82340         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82341         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82342         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82343         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82347         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82348         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82349         * streams/stropts.h (t_scalar_t): Define type.
82351         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82352         (_PATH_PRESERVE): Set to "/var/lib".
82353         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82355         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82356         instead of int.
82358         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82359         if __dir_mkfile succeeded.
82361         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82362         checking for _hurd_dtablesize.  Unlock it right after having
82363         finished _hurd_dtable allocation.
82365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82367         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82368         * sysdeps/mach/hurd/configure: Regenerated.
82369         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82370         special-casing to...
82371         * sysdeps/gnu/configure.in: ... this new file.
82372         * sysdeps/unix/sysv/linux/configure: Regenerated.
82373         * sysdeps/gnu/configure: New generated file.
82375         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82376         for Linux: use nsec instead of usec, as well as:
82377         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82378         members of type struct timespec.
82379         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82380         New macros.
82381         (struct stat64): Likewise.
82382         (_STATBUF_ST_NSEC): New macro.
82383         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82385         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82386         __strtoul_internal rather than strtoul.
82388 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82390         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82391         and reject them.
82393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82395         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82396         which preserves existing values.
82397         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82399 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82401         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82402         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82403         greater than FD_SETSIZE.
82405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82407         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82408         allocated, call __vm_protect to finish enabling the existing space, and
82409         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82410         allocate the remainder.
82412 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82414         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82415         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82419         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82420         sysdeps/mach/hurd/readlink.c.
82422         * posix/tst-sysconf.c (posix_options): Only use
82423         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82424         _POSIX_SYNCHRONIZED_IO when they are defined
82425         * sysdeps/mach/hurd/bits/posix_opt.h:
82426         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82427         (_XOPEN_REALTIME): Undefine macro.
82428         (_XOPEN_REALTIME_THREADS): Undefine macro.
82429         (_XOPEN_SHM): Undefine macro.
82430         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82431         macro to -1.
82432         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82433         macro to -1.
82434         (_POSIX_ASYNC_IO): Undefine macro.
82435         (_POSIX_PRIORITIZED_IO): Undefine macro.
82436         (_POSIX_SPIN_LOCKS): Define macro to -1.
82438         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82439         SA_NODEFER, SA_RESETHAND.
82440         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82441         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82442         F_DUPFD_CLOEXEC.
82444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82446         * elf/Makefile (pldd-modules): Define unconditionally.
82448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82450         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82454         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82455         Return ENOENT when name is empty.
82456         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82460         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82462         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82466         Fix mlock in all cases except non-readable pages.
82467         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82468         instead of VM_PROT_ALL as parameter to __vm_wire function.
82470         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82471         (__mkdir): When path is `/', just fail with EEXIST.
82472         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82476         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82477         <sys/uio.h> (for writev).
82478         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82479         and <sys/param.h> (for MIN).
82481 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82483         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82484         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82485         if interrupted.
82487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82489         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82490         Depend on against $(link-rpcuserlibs).
82492 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82494         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82495         (__libc_stack_end): Do not use attribute_relro.
82496         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82497         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82498         to libthread-provided value.
82499         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82500         attribute_relro.
82502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82504         [BZ #3748]
82505         * bits/libc-lock.h (__libc_once_get): New macro.
82506         * sysdeps/mach/bits/libc-lock.h: Likewise.
82507         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82509         instead of using implementation details.
82511         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82512         * libio/freopen.c: Likewise.
82513         * libio/freopen64.c: Likewise.
82514         * misc/syslog.c: Likewise.
82515         * nscd/connections.c: Likewise.
82516         * nscd/netgroupcache.c: Likewise.
82517         * sysdeps/posix/getcwd.c: Likewise.
82519 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82521         * math/w_ilogbf.c: Add #include <limits.h>.
82523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82525         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82526         path instead of returning without unlocking.
82528         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82529         immediate-write ioctls.
82530         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82532 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82534         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82535         __builtin_frame_address instead of making assumptions about the
82536         location of the return address relative to DATA.  Force early load of
82537         the return address.
82538         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82539         __builtin_frame_address.
82541         dup3 for GNU Hurd.
82542         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82543         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82544         implement dup3 and do some further code clean-ups.
82545         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82546         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82550         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82552         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82553         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82554         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82555         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82556         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82557         d->port.lock.
82559         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82560         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82561         when handler == SIG_ERR, not when handler != SIG_ERR.
82563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82565         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82566         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82567         definitions.
82569         accept4 for GNU Hurd.
82570         * include/sys/socket.h (__libc_accept4): New prototype.
82571         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82572         to implement __libc_accept4.
82573         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82574         __libc_accept4.
82575         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82577         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82578         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82579         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82580         signal-defines.sym.
82582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82584         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82588         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82589         assertion on O_CLOEXEC flag.
82590         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82591         * hurd/intern-fd.c: Likewise.
82592         * hurd/port2fd.c: Likewise.
82594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82596         [BZ #3906]
82597         * bits/in.h (IPV6_PKTINFO): Define new macro.
82598         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82600 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82602         [BZ #13954]
82603         [BZ #13955]
82604         [BZ #13956]
82605         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82607         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82608         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82610         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82611         * math/libm-test.inc (logb_test) : Additional logb tests.
82613 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82614             Andreas Jaeger  <aj@suse.de>
82616         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82617         * configure: Regenerated.
82618         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82619         * config.make.in (link-obsolete-rpc): New substituted variable.
82620         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82621         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82622         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82623         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82624         so that libc.a contains the symbols.
82625         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82626         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82627         * sunrpc/auth_none.c: Likewise.
82628         * sunrpc/auth_unix.c: Likewise.
82629         * sunrpc/authdes_prot.c: Likewise.
82630         * sunrpc/authuxprot.c: Likewise.
82631         * sunrpc/clnt_gen.c: Likewise.
82632         * sunrpc/clnt_perr.c: Likewise.
82633         * sunrpc/clnt_raw.c: Likewise.
82634         * sunrpc/clnt_simp.c: Likewise.
82635         * sunrpc/clnt_tcp.c: Likewise.
82636         * sunrpc/clnt_udp.c: Likewise.
82637         * sunrpc/clnt_unix.c: Likewise.
82638         * sunrpc/des_crypt.c: Likewise.
82639         * sunrpc/des_soft.c: Likewise.
82640         * sunrpc/get_myaddr.c: Likewise.
82641         * sunrpc/key_call.c: Likewise.
82642         * sunrpc/key_prot.c: Likewise.
82643         * sunrpc/netname.c: Likewise.
82644         * sunrpc/pm_getmaps.c: Likewise.
82645         * sunrpc/pm_getport.c: Likewise.
82646         * sunrpc/pmap_clnt.c: Likewise.
82647         * sunrpc/pmap_prot.c: Likewise.
82648         * sunrpc/pmap_prot2.c: Likewise.
82649         * sunrpc/pmap_rmt.c: Likewise.
82650         * sunrpc/publickey.c: Likewise.
82651         * sunrpc/rpc_cmsg.c: Likewise.
82652         * sunrpc/rpc_common.c: Likewise.
82653         * sunrpc/rpc_dtable.c: Likewise.
82654         * sunrpc/rpc_prot.c: Likewise.
82655         * sunrpc/rpc_thread.c: Likewise.
82656         * sunrpc/rtime.c: Likewise.
82657         * sunrpc/svc.c: Likewise.
82658         * sunrpc/svc_auth.c: Likewise.
82659         * sunrpc/svc_raw.c: Likewise.
82660         * sunrpc/svc_run.c: Likewise.
82661         * sunrpc/svc_tcp.c: Likewise.
82662         * sunrpc/svc_udp.c: Likewise.
82663         * sunrpc/svc_unix.c: Likewise.
82664         * sunrpc/svcauth_des.c: Likewise.
82665         * sunrpc/xcrypt.c: Likewise.
82666         * sunrpc/xdr.c: Likewise.
82667         * sunrpc/xdr_array.c: Likewise.
82668         * sunrpc/xdr_float.c: Likewise.
82669         * sunrpc/xdr_intXX_t.c: Likewise.
82670         * sunrpc/xdr_mem.c: Likewise.
82671         * sunrpc/xdr_rec.c: Likewise.
82672         * sunrpc/xdr_ref.c: Likewise.
82673         * sunrpc/xdr_sizeof.c: Likewise.
82674         * sunrpc/xdr_stdio.c: Likewise.
82676 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82679         change.  Update copyright years.
82681 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82683         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82685 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82686             Joseph Myers  <joseph@codesourcery.com>
82687             Paul Pluzhnikov  <ppluzhnikov@google.com>
82689         [BZ #14012]
82690         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82691         requiring rpcgen.
82692         [cross-compiling] (extra-libs): Likewise.
82693         [cross-compiling] (extra-libs-others): Likewise.
82694         [cross-compiling] (librpcsvc-routines): Likewise.
82695         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82696         [cross-compiling] (omit-deps): Likewise.
82697         (sunrpc-CPPFLAGS): New variable.
82698         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82699         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82700         (cross-rpcgen-objs): New variable.
82701         (extra-objs): Append $(cross-rpcgen-objs).
82702         ($(cross-rpcgen-objs)): New rule.
82703         ($(objpfx)cross-rpcgen): Likewise.
82704         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82705         comment.
82706         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82707         ($(objpfx)x%.stmp): Likewise.
82708         * sunrpc/proto.h [IS_IN_build] (_): Define.
82709         [IS_IN_build] (_libc_intl_domainname): Likewise.
82711 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82713         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82714         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82715         and R_X86_64_TPOFF64.
82717 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82719         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82720         sysdeps/unix/sysv/syscalls.list.
82721         (stime): Likewise.
82722         (utime): Likewise.
82723         * sysdeps/unix/sysv/syscalls.list: Remove file.
82725 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
82727         [BZ #3440]
82728         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82729         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82730         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82731         (__LC_IDENTIFICATION): Make these macros useful in #if
82732         expressions, as required by C99.
82734 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
82736         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82737         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
82738         after this.
82740 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
82742         * stdlib/longlong.h: Updated from GCC.
82744 2012-05-09  Andreas Jaeger  <aj@suse.de>
82746         * nscd/nscd.c (run_modes): Make named enum, reorder so that
82747         default is first entry.
82748         (run_mode): Set type.
82749         (main): Remove informal message about syslog.
82750         (options): Fix typo.
82752         [BZ #14053]
82753         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82754         to asm.
82755         (lrint): Likewise.
82756         (llrintf): Likewise.
82757         (llrint): Likewise.
82758         (rint): Likewise.
82759         (rintf): Likewise.
82760         (nearbyint): Likewise.
82761         (nearbyintf): Likewise.
82763 2012-05-09  Andreas Jaeger  <aj@suse.de>
82764             Pedro Alves  <palves@redhat.com>
82766         * nscd/nscd.c (run_mode): Use enum.
82767         (main): Cleanup coding style issue.
82769 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
82770             Andreas Jaeger  <aj@suse.de>
82772         * nscd/nscd.c (go_background): Replaced with...
82773         (run_mode): ... this.
82774         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82775         (options): Add -F --foreground.
82776         (main): Implement it.
82777         (parse_opt): Parse it.
82779 2012-05-09  Andreas Jaeger  <aj@suse.de>
82781         [BZ #14083]
82782         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82783         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82784         -Wconversion warning.
82785         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82786         Likewise.
82788 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
82790         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
82791         == 0.
82792         (LC_ALL): Use macro-int-constant.
82793         (LC_COLLATE): Likewise.
82794         (LC_CTYPE): Likewise.
82795         (LC_MESSAGES): Likewise.
82796         (LC_MONETARY): Likewise.
82797         (LC_NUMERIC): Likewise.
82798         (LC_TIME): Likewise.
82799         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82800         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82801         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82802         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82803         Specify type.
82804         [C99-based standards] (float_t): Expect type.
82805         [C99-based standards] (double_t): Expect type.
82806         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
82807         type.
82808         [C99-based standards] (HUGE_VALL): Likewise.
82809         [C99-based standards] (INFINITY): Likewise.
82810         [C99-based standards] (NAN): Likewise.
82811         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82812         [C99-based standards] (FP_NAN): Likewise.
82813         [C99-based standards] (FP_NORMAL): Likewise.
82814         [C99-based standards] (FP_SUBNORMAL): Likewise.
82815         [C99-based standards] (FP_ZERO): Likewise.
82816         [C99-based standards] (FP_FAST_FMA): Use
82817         optional-macro-int-constant.  Specify type.  Require == 1.
82818         [C99-based standards] (FP_FAST_FMAF): Likewise.
82819         [C99-based standards] (FP_FAST_FMAL): Likewise.
82820         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82821         [C99-based standards] (FP_ILOGBNAN): Likewise.
82822         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82823         Specify type.
82824         [C99-based standards] (MATH_ERREXCEPT): Likewise.
82825         [C99-based standards] (math_errhandling): Specify type.
82826         [ISO99 || ISO11] (signgam): Do not allow.
82827         [non-C99-based standards] (copysignf): Do not allow.
82828         [non-C99-based standards] (exp2f): Likewise.
82829         [non-C99-based standards] (log2f): Likewise.
82830         [non-C99-based standards] (modff): Allow.
82831         [non-C99-based standards] (erff): Do not allow.
82832         [non-C99-based standards] (erfcf): Likewise.
82833         [non-C99-based standards] (gammaf): Likewise.
82834         [non-C99-based standards] (hypotf): Likewise.
82835         [non-C99-based standards] (j0f): Likewise.
82836         [non-C99-based standards] (j1f): Likewise.
82837         [non-C99-based standards] (jnf): Likewise.
82838         [non-C99-based standards] (lgammaf): Likewise.
82839         [non-C99-based standards] (tgammaf): Likewise.
82840         [non-C99-based standards] (y0f): Likewise.
82841         [non-C99-based standards] (y1f): Likewise.
82842         [non-C99-based standards] (ynf): Likewise.
82843         [non-C99-based standards] (isnanf): Likewise.
82844         [non-C99-based standards] (acoshf): Likewise.
82845         [non-C99-based standards] (asinhf): Likewise.
82846         [non-C99-based standards] (atanhf): Likewise.
82847         [non-C99-based standards] (cbrtf): Likewise.
82848         [non-C99-based standards] (expm1f): Likewise.
82849         [non-C99-based standards] (ilogbf): Likewise.
82850         [non-C99-based standards] (log1pf): Likewise.
82851         [non-C99-based standards] (logbf): Likewise.
82852         [non-C99-based standards] (nextafterf): Likewise.
82853         [non-C99-based standards] (remainderf): Likewise.
82854         [non-C99-based standards] (rintf): Likewise.
82855         [non-C99-based standards] (scalbf): Likewise.
82856         [non-C99-based standards] (copysignl): Likewise.
82857         [non-C99-based standards] (exp2l): Likewise.
82858         [non-C99-based standards] (log2l): Likewise.
82859         [non-C99-based standards] (modfl): Allow.
82860         [non-C99-based standards] (erfl): Do not allow.
82861         [non-C99-based standards] (erfcl): Likewise.
82862         [non-C99-based standards] (gammal): Likewise.
82863         [non-C99-based standards] (hypotl): Likewise.
82864         [non-C99-based standards] (j0l): Likewise.
82865         [non-C99-based standards] (j1l): Likewise.
82866         [non-C99-based standards] (jnl): Likewise.
82867         [non-C99-based standards] (lgammal): Likewise.
82868         [non-C99-based standards] (tgammal): Likewise.
82869         [non-C99-based standards] (y0l): Likewise.
82870         [non-C99-based standards] (y1l): Likewise.
82871         [non-C99-based standards] (ynl): Likewise.
82872         [non-C99-based standards] (isnanl): Likewise.
82873         [non-C99-based standards] (acoshl): Likewise.
82874         [non-C99-based standards] (asinhl): Likewise.
82875         [non-C99-based standards] (atanhl): Likewise.
82876         [non-C99-based standards] (cbrtl): Likewise.
82877         [non-C99-based standards] (expm1l): Likewise.
82878         [non-C99-based standards] (ilogbl): Likewise.
82879         [non-C99-based standards] (log1pl): Likewise.
82880         [non-C99-based standards] (logbl): Likewise.
82881         [non-C99-based standards] (nextafterl): Likewise.
82882         [non-C99-based standards] (remainderl): Likewise.
82883         [non-C99-based standards] (rintl): Likewise.
82884         [non-C99-based standards] (scalbl): Likewise.
82885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82886         [non-C99-based standards] (FP_*): Do not allow.
82887         [C99-based standards] (FP_*): Change to
82888         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82889         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82890         allow.
82891         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82892         (SIG_ERR): Likewise.
82893         [X/Open-based standards] (SIG_HOLD): Likewise.
82894         (SIG_IGN): Likewise.
82895         (SIGABRT): Use macro-int-constant.  Specify type.  Require
82896         positive value.
82897         (SIGFPE): Likewise.
82898         (SIGILL): Likewise.
82899         (SIGINT): Likewise.
82900         (SIGSEGV): Likewise.
82901         (SIGTER): Likewise.
82902         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82903         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82904         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82905         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82906         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82907         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82908         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82909         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82910         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82911         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82912         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82913         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82914         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82915         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82916         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82917         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82918         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82919         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82920         [X/Open-based standards] (SIGTRAP): Likewise.
82921         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82922         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82923         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82924         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82925         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82926         allow.
82928 2012-05-08  Ian Wienand  <ianw@vmware.com>
82930         [BZ #14080]
82931         * time/tzset.c (__tzset_parse_tz): Update default rules for
82932         daylight time changes in the Energy Policy Act of 2005.
82934 2012-05-09  Andreas Jaeger  <aj@suse.de>
82936         [BZ #13983]
82937         * elf/ldconfig.c (parse_conf): Change string to make clear that
82938         ldconfig only issued a warning if ld.so.conf does not exist.
82940 2012-05-08  David S. Miller  <davem@davemloft.net>
82942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82943         movxtod instead of popping the value on the stack.
82945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82947 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
82949         * config.h.in: Add HAVE_ARM_PCS_VFP.
82951 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
82953         [BZ #13979]
82954         * include/features.h: Warn if user requests __FORTIFY_SOURCE
82955         checking but the checks are disabled for any reason.
82957 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
82959         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82960         and ELF64_R_TYPE with ELFW(R_TYPE).
82962 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
82964         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82965         (ulimit): Likewise.
82967         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82968         (settimeofday): Likewise.
82970 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
82972         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
82973         a struct th_u2 inside the union, and move tu_block/tu_code into
82974         a new th_u3 union of tu_block/tu_code inside of that.  Move
82975         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
82976         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
82977         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82978         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82979         (th_stuff): Change to th_u1.tu_stuff.
82980         (th_data): Define.
82981         (th_msg): Change to th_u1.th_u2.tu_data.
82983 2012-05-07  David S. Miller  <davem@davemloft.net>
82985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82987         [BZ #14074]
82988         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82989         (SETUP_PIC_REG): Use it.
82990         (SETUP_PIC_REG_LEAF): Use it.
82992 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
82994         [BZ #13885]
82995         [BZ #13923]
82996         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82997         USE_AS_EXPM1L.
82998         (EXPL_FINITE): Likewise.
82999         (FLDLOG): Likewise.
83000         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83001         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83002         e_expl.S.
83003         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83004         USE_AS_EXPM1L.
83005         (EXPL_FINITE): Likewise.
83006         (FLDLOG): Likewise.
83007         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83008         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83009         e_expl.S.
83010         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83011         test of -max_value argument for long double.
83012         * sysdeps/i386/fpu/libm-test-ulps: Update.
83013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83015 2012-05-06  David S. Miller  <davem@davemloft.net>
83017         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83018         quad soft-float symbols whose references which are compiler
83019         generated.
83020         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83022 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83024         [BZ #13884]
83025         [BZ #13914]
83026         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83027         USE_AS_EXP10L.
83028         (EXPL_FINITE): Likewise.
83029         (FLDLOG): Likewise.
83030         (c0): Likewise.
83031         (c1): Likewise.
83032         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83033         Adjust comments for base varying.
83034         (__expl_finite): Change alias to EXPL_FINITE.
83035         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83036         e_expl.S.
83037         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83038         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83039         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83040         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83041         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83042         USE_AS_EXP10L.
83043         (EXPL_FINITE): Likewise.
83044         (FLDLOG): Likewise.
83045         (c0): Likewise.
83046         (c1): Likewise.
83047         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83048         Adjust comments for base varying.
83049         (__expl_finite): Change alias to EXPL_FINITE.
83050         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83051         tests for bugs.
83052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83054         [BZ #14064]
83055         * math/libm-test.inc (check_float_internal): Correct ulp
83056         calculation for subnormal expected results.
83058 2012-05-06  Andreas Jaeger  <aj@suse.de>
83060         * Makeconfig (+math-flags): New, set to -frounding-math.
83061         (+cflags): Add +math-flags so that all of glibc gets compiled with
83062         it.
83064         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83066 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83068         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83069         Disable one test.
83071         [BZ #13787]
83072         [BZ #13922]
83073         [BZ #14036]
83074         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83075         (__ieee754_expl): Allow for and saturate large arguments.
83076         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83077         (u_threshold): Likewise.
83078         (__exp): Call __ieee754_exp before checking for overflow and
83079         underflow.
83080         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83081         (u_threshold): Likewise.
83082         (__expf): Call __ieee754_expf before checking for overflow and
83083         underflow.
83084         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83085         (u_threshold): Likewise.
83086         (__expl): Call __ieee754_expl before checking for overflow and
83087         underflow.
83088         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83089         (__ieee754_expl): Allow for and saturate large arguments.
83090         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83091         missing overflow exception on overflow.
83092         (expm1_test): Do not allow missing overflow exception on overflow.
83094         * sysdeps/i386/fpu/e_expl.c: Move to ...
83095         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83096         rather than using inline asm.
83097         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83098         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83099         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83101         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83102         (nice): Likewise.
83103         (poll): Likewise.
83104         (signal): Likewise.
83105         (time): Likewise.
83106         (times): Likewise.
83108 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83110         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83111         sysdeps/unix/common/syscalls.list.
83112         (fchmod): Likewise.
83113         (fchown): Likewise.
83114         (ftruncate): Likewise.
83115         (getrusage): Likewise.
83116         (gettimeofday): Likewise.
83117         (setpgid): Likewise.
83118         (setregid): Likewise.
83119         (setreuid): Likewise.
83120         (sigaction): Likewise.
83121         (truncate): Likewise.
83122         (vhangup): Likewise.
83123         * sysdeps/unix/common/syscalls.list: Remove file.
83124         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83125         * sysdeps/unix/sysv/linux/Implies: Likewise.
83127 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83129         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83131         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83132         Moved to ...
83133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83134         Here.
83135         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83136         to ...
83137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83138         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83139         to ...
83140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83141         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83142         to ...
83143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83144         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83145         to ...
83146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83147         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83148         to ...
83149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83150         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83151         to ...
83152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83153         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83154         to ...
83155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83156         Here.
83157         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83158         to ...
83159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83160         Here.
83161         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83162         to ...
83163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83164         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83165         Moved to ...
83166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83167         Here.
83168         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83169         to ...
83170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83172 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83174         * sysdeps/unix/common/bits/dirent.h: Remove file.
83175         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83177         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83178         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83179         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83180         * sysdeps/unix/bsd/isatty.c: Likewise.
83181         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83182         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83183         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83185 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83187         [BZ #13563]
83188         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83189         long double comparison inaccuracies.
83190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83193 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83195         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83196         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83198 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83200         [BZ #14049]
83201         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83202         nonzero digits before rounding a hex value.
83203         * stdlib/tst-strtod.c (tests): Add another test.
83205 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83207         * sysdeps/s390/fpu/libm-test-ulps: Update.
83209 2012-05-03  Andreas Jaeger  <aj@suse.de>
83211         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83212         does not get optimized out.
83213         (malloc_opt_barrier): New.
83215 2012-05-03  Andreas Jaeger  <aj@suse.de>
83216             Roland McGrath  <roland@hack.frob.com>
83218         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83219         intermediate file deletion.
83220         (generated): Add .symlist files.
83222 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83224         [BZ #13775]
83225         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83226         Redirect under this condition.
83227         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83228         [__USE_GNU] (__dprintf_chk): Not under this condition.
83229         [__USE_GNU] (__vdprintf_chk): Likewise.
83230         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83231         under this condition.
83232         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83233         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83234         [__USE_XOPEN2K8] (vdprintf): Likewise.
83235         [__USE_GNU] (__dprintf_chk): Not under this condition.
83236         [__USE_GNU] (__vdprintf_chk): Likewise.
83237         [__USE_GNU] (dprintf): Likewise.
83238         [__USE_GNU] (vdprintf): Likewise.
83240 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83242         * elf/Makefile (common-generated): Set this instead of generated for
83243         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83244         $(all-built-dso)-derived lists.
83246 2012-05-03  Andreas Jaeger  <aj@suse.de>
83248         * sysdeps/i386/fpu/libm-test-ulps: Update.
83250         * FAQ: Removed.
83251         * FAQ.in: Likewise.
83252         * scripts/gen-FAQ.pl: Likewise.
83253         * manual/install.texi (Installation): Point to online location of
83254         FAQ.
83255         * Makefile (files-for-dist): Remove FAQ.
83256         (FAQ): Remove.
83258 2012-05-02  Allan McRae  <allan@archlinux.org>
83260         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83261         (LDFLAGS-reldepmod5.so): Likewise.
83262         (LDFLAGS-reldep6mod1.so): Likewise.
83263         (LDFLAGS-reldep6mod4.so): Likewise.
83264         (LDFLAGS-reldep8mod3.so): Likewise.
83265         (LDFLAGS-unload4mod1.so): Likewise.
83266         (LDFLAGS-unload4mod2.so): Likewise.
83267         (LDFLAGS-tst-initorder): Likewise.
83268         (LDFLAGS-tst-initordera2.so): Likewise.
83269         (LDFLAGS-tst-initordera3.so): Likewise.
83270         (LDFLAGS-tst-initordera4.so): Likewise.
83271         (LDFLAGS-tst-initorderb2.so): Likewise.
83272         (LDFLAGS-noload): Likewise.
83273         (LDFLAGS-next): Likewise.
83274         (LDFLAGS-order2mod1.so): Likewise.
83275         (LDFLAGS-order2mod2.so): Likewise.
83276         (LDFLAGS-tst-initorder2): Likewise.
83277         (LDFLAGS-tst-initorder2a.so): Likewise.
83278         (LDFLAGS-tst-initorder2b.so): Likewise.
83279         (LDFLAGS-tst-initorder2c.so): Likewise.
83280         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83282 2012-05-02  David S. Miller  <davem@davemloft.net>
83284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83286 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83288         [BZ #14055]
83289         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83291 2012-05-02  Andreas Jaeger  <aj@suse.de>
83293         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83294         since we manipulate rounding mode.
83295         (CPPFLAGS-test-idouble.c): Likewise.
83296         (CPPFLAGS-test-ifloat.c): Likewise.
83297         (CFLAGS-test-ldouble.c): Likewise.
83298         (CFLAGS-test-double.c): Likewise.
83299         (CFLAGS-test-float.c): Likewise.
83300         (CFLAGS-test-misc.c): Likewise.
83301         (CFLAGS-test-test-fenv.c): Likewise.
83303 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83305         [BZ #2550]
83306         [BZ #2570]
83307         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83308         comparisons to determine direction to adjust input.
83310 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83312         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83313         output to the target.
83315         * scripts/localplt.awk: New file.
83316         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83317         (check-localplt-CFLAGS): Variable removed.
83318         ($(all-built-dso:=.jmprel)): New static pattern rule.
83319         (generated): Add those targets.
83320         (localplt-built-dso): New variable.
83321         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83323         * elf/check-localplt.c: File removed.
83325         * scripts/check-execstack.awk: New file.
83326         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83327         (check-execstack-CFLAGS): Variable removed.
83328         ($(objpfx)check-execstack.h): Target removed.
83329         ($(objpfx)execstack-default): New target.
83330         (generated): Add that instead of check-execstack.h.
83331         ($(all-built-dso:=.phdr)): New static pattern rule.
83332         (generated): Add those targets.
83333         * elf/check-execstack.c: File removed.
83335         * scripts/check-textrel.awk: New file.
83336         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83337         (check-textrel-CFLAGS): Variable removed.
83338         (all-built-dso): Use := to define.o
83339         ($(all-built-dso:=.dyn)): New static pattern rule.
83340         (generated): Add those targets.
83341         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83342         * config.make.in (READELF): New substituted variable.
83343         * elf/check-textrel.c: File removed.
83345 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83347         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83348         allow.
83349         * conform/data/ctype.h-data [C99-based standards] (isblank):
83350         Expect function.
83351         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83352         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83354         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83355         Specify type.  Require positive value.
83356         (EILSEQ): Likewise.
83357         (ERANGE): Likewise.
83358         [ISO || POSIX] (EILSEQ): Do not expect.
83359         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83360         Specify type.  Require positive value.
83361         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83362         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83363         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83364         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83365         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83366         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83367         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83368         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83369         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83370         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83371         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83372         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83373         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83374         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83375         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83376         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83377         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83378         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83379         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83380         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83381         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83382         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83383         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83384         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83385         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83386         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83387         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83388         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83389         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83390         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83391         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83392         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83393         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83394         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83395         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83396         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83397         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83398         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83399         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83400         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83401         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83402         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83403         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83404         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83405         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83406         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83407         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83408         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83409         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83410         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83411         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83412         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83413         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83414         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83415         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83416         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83417         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83418         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83419         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83420         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83421         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83422         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83423         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83424         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83425         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83426         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83427         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83428         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83429         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83430         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83431         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83432         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83433         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83434         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83435         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83436         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83437         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83438         Require >= 2.
83439         (FLT_ROUNDS): Expect as macro, not constant.
83440         (FLT_MANT_DIG): Use macro-int-constant.
83441         (DBL_MANT_DIG): Likewise.
83442         (LDBL_MANT_DIG): Likewise.
83443         (FLT_DIG): Likewise.
83444         (DBL_DIG): Likewise.
83445         (LDBL_DIG): Likewise.
83446         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83447         (DBL_MIN_EXP): Likewise.
83448         (LDBL_MIN_EXP): Likewise.
83449         (FLT_MAX_EXP): Use macro-int-constant.
83450         (DBL_MAX_EXP): Likewise.
83451         (LDBL_MAX_EXP): Likewise.
83452         (FLT_MAX_10_EXP): Likewise.
83453         (DBL_MAX_10_EXP): Likewise.
83454         (LDBL_MAX_10_EXP): Likewise.
83455         (FLT_MAX): Use macro-constant.
83456         (DBL_MAX): Likewise.
83457         (LDBL_MAX): Likewise.
83458         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83459         (DBL_EPSILON): Likewise.
83460         (LDBL_EPSILON): Likewise.
83461         (FLT_MIN): Likewise.
83462         (DBL_MIN): Likewise.
83463         (LDBL_MIN): Likewise.
83464         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83465         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83466         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83467         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83468         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83469         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83470         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83471         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83472         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83473         [ISO11] (FLT_TRUE_MIN): Likewise.
83474         [ISO11] (LDBL_TRUE_MIN): Likewise.
83475         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83476         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83477         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83478         (SCHAR_MAX): Likewise.
83479         (UCHAR_MAX): Likewise.
83480         (CHAR_MIN): Likewise.
83481         (CHAR_MAX): Likewise.
83482         (MB_LEN_MAX): Use macro-int-constant.
83483         (SHRT_MIN): Use macro-int-constant.  Specify type.
83484         (SHRT_MAX): Likewise.
83485         (USHRT_MAX): Likewise.
83486         (INT_MAX): Likewise.
83487         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83488         bound negative.
83489         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83490         bound with "U".
83491         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83492         bound with "L".
83493         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83494         bound negative.  Suffix upper bound with "L".
83495         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83496         bound with "UL".
83497         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83498         Specify type.
83499         [C99-based standards] (LLONG_MAX): Likewise.
83500         [C99-based standards] (ULLONG_MAX): Likewise.
83501         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83502         == 0.
83503         [ISO11] (max_align_t): Require type.
83504         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83506         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83507         from $CFLAGS, without defining away __attribute__ calls.
83508         (checknamespace): Use $CFLAGS_namespace.
83510         * conform/conformtest.pl (@keywords): Only include C99 keywords
83511         for standards based on C99 or C11.
83513         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83514         Disable tests.
83515         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83516         UNIX98]: Likewise.
83518         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83519         usability of symbols in #if.
83521         * conform/conformtest.pl: If macro or constant types start
83522         "promoted:", expect the symbol to be of the following type
83523         promoted by the integer promotions.
83525         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83526         in one place.  Also handle "macro-constant".
83528         * conform/conformtest.pl: Only accept expected macro values with
83529         "==".  Parse all "macro" lines in one place.
83530         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83532         * conform/conformtest.pl: Handle braced types on "constant" lines
83533         instead of handling "typed-constant".
83534         * conform/data/signal.h-data: Use "constant" instead of
83535         "typed-constant".
83537         * conform/conformtest.pl: Handle "optional-" at start of lines in
83538         one place rather than duplicating several cases.  Handle each
83539         format of "macro" line with initial "optional-".
83541         * conform/conformtest.pl: Only accept expected constant or
83542         optional-constant values with "==".  Parse all "constant" lines in
83543         one place.  Parse all "optional-constant" lines in one place.
83544         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83545         * conform/data/fmtmsg.h-data: Likewise.
83546         * conform/data/netinet/in.h-data: Likewise.
83547         * conform/data/tar.h-data: Likewise.
83548         * conform/data/limits.h-data: Use "==" form on "constant" and
83549         "optional-constant" lines.
83551         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83552         Use -std=c99 for XOPEN2K.
83553         (@knownproblems): Remove.
83554         (newtoken): Don't check %isknown.
83556         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83557         Do not expect macro.
83558         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83559         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83560         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83561         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83562         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83563         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83564         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83565         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83566         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83567         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83568         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83569         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83570         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83571         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83572         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83573         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83574         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83575         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83576         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83577         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83578         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83579         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83580         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83581         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83582         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83583         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83584         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83585         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83586         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83587         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83588         [XPG3] (acosh): Likewise.
83589         [XPG3] (asinh): Likewise.
83590         [XPG3] (atanh): Likewise.
83591         [XPG3] (cbrt): Likewise.
83592         [XPG3] (expm1): Likewise.
83593         [XPG3] (ilogb): Likewise.
83594         [XPG3] (log1p): Likewise.
83595         [XPG3] (logb): Likewise.
83596         [XPG3] (nextafter): Likewise.
83597         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83598         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83599         [XPG3] (remainder): Likewise.
83600         [XPG3] (rint): Likewise.
83601         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83602         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83603         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83604         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83605         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83606         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83607         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83608         [UNIX98 || XOPEN2K] (scalb): Expect.
83609         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83610         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83611         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83612         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83613         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83614         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83615         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83616         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83617         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83618         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83619         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83620         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83621         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83622         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83623         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83624         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83625         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83626         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83627         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83628         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83629         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83630         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83631         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83632         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83633         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83634         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83635         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83636         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83637         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83638         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83639         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83640         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83641         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83642         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83643         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83644         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83645         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83646         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83647         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83648         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83649         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83650         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83651         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83652         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83653         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83654         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83655         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83656         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83657         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83658         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83659         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83660         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83661         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83662         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83663         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83664         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83665         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83666         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83667         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83668         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83669         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83670         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83671         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83672         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83673         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83674         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83675         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83676         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83677         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83678         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83679         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83680         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83681         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83682         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83683         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83684         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83685         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83686         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83687         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83688         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83689         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83690         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83691         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83692         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83693         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83694         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83695         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83696         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83697         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83698         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83699         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83700         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83701         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83702         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83703         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83704         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83705         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83706         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83707         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83708         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83709         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83710         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83711         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83712         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83713         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83714         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83715         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83716         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83717         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83718         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83719         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83720         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83721         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83722         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83723         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83724         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83725         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83726         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83727         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83728         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83729         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83730         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83731         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83732         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83733         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83734         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83735         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83736         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83737         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83738         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83739         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83740         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83741         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83742         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83743         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83744         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83745         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83747         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83748         _XOPEN_SOURCE_EXTENDED for XPG4.
83750         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83752         * Makeconfig (localtime): Remove variable.
83753         (inst_localtime-file): Likewise.
83755 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83758         Update.
83759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83760         Update.
83761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83762         Update.
83763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83764         Update.
83765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83766         Update.
83767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83768         Update.
83769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83770         Update.
83771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83772         Update.
83773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83774         Update.
83776 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83778         [BZ #2550]
83779         [BZ #2570]
83780         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83781         comparisons to determine direction to adjust input.
83782         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83783         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83785         Likewise.
83786         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83787         Likewise.
83788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83789         Likewise.
83790         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83791         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83792         Likewise.
83793         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83794         Likewise.
83795         * math/libm-test.inc (nexttoward_test): Add more tests.
83797 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83799         [BZ #14040]
83800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83801         in version GLIBC_2.1, not GLIBC_2.0.
83802         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83803         Likewise.
83805 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
83807         [BZ #13942]
83808         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83809         (1 - x) * (1 + x).
83810         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83811         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83812         * math/libm-test.inc (acos_test): Add more tests.
83813         (asin_test): Likewise.
83814         * sysdeps/i386/fpu/libm-test-ulps: Update.
83815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83817         [BZ #14034]
83818         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83819         of square root.
83820         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83821         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83822         * math/libm-test.inc (acos_test_tonearest): New function.
83823         (acos_test_towardzero): Likewise.
83824         (acos_test_downward): Likewise.
83825         (acos_test_upward): Likewise.
83826         (asin_test_tonearest): Likewise.
83827         (asin_test_towardzero): Likewise.
83828         (asin_test_downward): Likewise.
83829         (asin_test_upward): Likewise.
83830         (main): Call the new functions.
83831         * sysdeps/i386/fpu/libm-test-ulps: Update.
83832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83834         [BZ #13884]
83835         [BZ #13924]
83836         * math/e_exp10.c: Include <float.h>.
83837         (__ieee754_exp10): Handle underflow here rather than multiplying
83838         large negative argument by M_LN10.
83839         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83840         of __ieee754_expf.
83841         * math/e_exp10l.c: Include <float.h>.
83842         (__ieee754_exp10l): Handle underflow here rather than multiplying
83843         large negative argument by M_LN10l.
83844         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
83845         spurious overflow exception on underflow.
83847 2012-04-29  Marek Polacek  <polacek@redhat.com>
83849         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83850         (__fortify_function): New macro.
83851         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83852         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83853         __extern_always_inline.
83854         * libio/bits/stdio2.h: Likewise.
83855         * libio/bits/stdio.h: Likewise.
83856         * string/string.h: Likewise.
83857         * string/bits/string3.h: Likewise.
83858         * include/stdio.h: Likewise.
83859         * stdlib/bits/stdlib.h: Likewise.
83860         * stdlib/stdlib.h: Likewise.
83861         * rt/bits/mqueue2.h: Likewise.
83862         * rt/mqueue.h: Likewise.
83863         * posix/bits/unistd.h: Likewise.
83864         * posix/unistd.h: Likewise.
83865         * io/bits/poll2.h: Likewise.
83866         * io/bits/fcntl2.h: Likewise.
83867         * io/fcntl.h: Likewise.
83868         * io/sys/poll.h: Likewise.
83869         * misc/bits/syslog.h: Likewise.
83870         * misc/bits/syslog-ldbl.h: Likewise.
83871         * misc/sys/syslog.h: Likewise.
83872         * socket/bits/socket2.h: Likewise.
83873         * socket/sys/socket.h: Likewise.
83874         * debug/tst-chk1.c: Likewise.
83875         * wcsmbs/bits/wchar2.h: Likewise.
83876         * wcsmbs/bits/wchar-ldbl.h: Likewise.
83877         * wcsmbs/wchar.h: Likewise.
83879 2012-04-29  Andreas Jaeger  <aj@suse.de>
83881         * Makerules (tests): Remove enable-check-abi protection.
83882         (check-abi-warn): Remove.
83883         (check-abi-%): Remove check-abi-warn usage.
83885         * configure.in: Remove check-abi configure option.
83886         * configure: Regenerated.
83887         * config.make.in (enable-check-abi): Remove.
83889 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
83891         [BZ #14033]
83892         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83893         double functions to double *_finite functions.
83895         [BZ #13941]
83896         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83897         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83898         LDBL_MIN_EXP.
83899         * stdio-common/Makefile (tests): Add tst-sprintf3.
83900         * stdio-common/tst-sprintf3.c: New file.
83902         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83903         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83905 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83907         * conform/conformtest.pl: Remove duplicate typed-constant
83908         handling.
83910 2012-04-28  David S. Miller  <davem@davemloft.net>
83912         * Makerules (%.abilist): Add vpath on sysdep_dirs.
83913         (check-abi-%): Remove AWK script prerequisite and explicit
83914         abilist directory.
83915         (check-abi): Rewrite to just diff the symlist with the abilist.
83916         (config-tls, config-abi-config): Delete, no longer used.
83917         (update-abi-%): Remove AWK script and explicit abilist directory.
83918         (update-abi): Rewrite to simply compare and conditionally copy the
83919         symlist and the sysdep abilist file.  Remove update-abi-config
83920         checks.
83921         * abilist/ld.abilist: Remove.
83922         * abilist/libBrokenLocale.abilist: Remove.
83923         * abilist/libanl.abilist: Remove.
83924         * abilist/libcrypt.abilist: Remove.
83925         * abilist/libdl.abilist: Remove.
83926         * abilist/librt.abilist: Remove.
83927         * abilist/libthread_db.abilist: Remove.
83928         * abilist/libutil.abilist: Remove.
83929         * scripts/extract-abilist.awk: Remove.
83930         * scripts/merge-abilist.awk: Remove.
83931         * sysdeps/generic/libcidn.abilist: New file.
83932         * sysdeps/generic/libnss_compat.abilist: New file.
83933         * sysdeps/generic/libnss_db.abilist: New file.
83934         * sysdeps/generic/libnss_dns.abilist: New file.
83935         * sysdeps/generic/libnss_files.abilist: New file.
83936         * sysdeps/generic/libnss_hesiod.abilist: New file.
83937         * sysdeps/generic/libnss_nis.abilist: New file.
83938         * sysdeps/generic/libnss_nisplus.abilist: New file.
83939         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83940         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83941         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83942         file.
83943         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83944         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83945         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83946         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83947         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83948         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83949         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83950         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83951         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83952         file.
83953         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83954         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83955         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83956         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83957         file.
83958         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83959         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83961         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83962         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83963         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83964         file.
83965         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83966         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83967         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83968         file.
83969         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83971         New file.
83972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83973         New file.
83974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83975         New file.
83976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83977         New file.
83978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83979         New file.
83980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83981         New file.
83982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83983         New file.
83984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83985         New file.
83986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83987         New file.
83988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83989         New file.
83990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83991         New file.
83992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83993         New file.
83994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83995         New file.
83996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83997         file.
83998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83999         New file.
84000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84001         New file.
84002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84003         file.
84004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84005         New file.
84006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84007         New file.
84008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84009         file.
84010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84011         New file.
84012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84013         New file.
84014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84015         New file.
84016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84017         New file.
84018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84019         New file.
84020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84021         New file.
84022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84024         file.
84025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84026         New file.
84027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84028         file.
84029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84030         file.
84031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84032         file.
84033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84034         file.
84035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84036         file.
84037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84038         New file.
84039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84040         file.
84041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84042         file.
84043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84044         New file.
84045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84046         file.
84047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84049         file.
84050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84051         New file.
84052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84053         file.
84054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84055         file.
84056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84057         file.
84058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84059         file.
84060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84061         file.
84062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84063         New file.
84064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84065         file.
84066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84067         file.
84068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84069         New file.
84070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84071         file.
84072         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84073         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84074         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84075         file.
84076         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84077         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84078         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84079         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84080         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84081         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84082         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84083         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84084         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84085         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84088         file.
84089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84090         New file.
84091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84092         file.
84093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84094         file.
84095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84096         file.
84097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84098         file.
84099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84100         file.
84101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84102         New file.
84103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84104         New file.
84105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84106         file.
84107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84108         New file.
84109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84110         file.
84111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84113         file.
84114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84115         New file.
84116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84117         file.
84118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84119         file.
84120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84121         file.
84122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84123         file.
84124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84125         file.
84126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84127         New file.
84128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84129         New file.
84130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84131         file.
84132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84133         New file.
84134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84135         file.
84137 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84139         * conform/conformtest.pl: Fix typo in handling typed-constant from
84140         allow-header.
84142 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84144         * README: Cut down references to pre-2.6 Linux kernels and
84145         Linuxthreads.  Update lists of configurations in libc and ports
84146         and sort alphabetically.  Say "or newer" with Linux kernel version
84147         requirements.
84149         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84151 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84153         [BZ #887]
84154         * math/libm-test.inc (logb_test_downward): New test to expose
84155         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84156         rounding mode.
84158 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84160         [BZ #14027]
84161         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84162         to be done.
84163         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84164         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84166 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84168         * sysdeps/unix/i386/brk.S: Remove file.
84169         * sysdeps/unix/i386/dl-brk.S: Likewise.
84170         * sysdeps/unix/i386/pipe.S: Likewise.
84171         * sysdeps/unix/i386/sigreturn.S: Likewise.
84172         * sysdeps/unix/i386/syscall.S: Likewise.
84173         * sysdeps/unix/i386/vfork.S: Likewise.
84174         * sysdeps/unix/i386/wait.S: Likewise.
84176         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84177         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84179         * configure.in (arm*-none*): Do not allow without
84180         --enable-hacker-mode.
84181         (netbsd*): Remove case setting base_os.
84182         (386bsd*): Likewise.
84183         (freebsd*): Likewise.
84184         (bsdi*): Likewise.
84185         (osf*): Likewise.
84186         (sunos*): Likewise.
84187         (ultrix*): Likewise.
84188         (newsos*): Likewise.
84189         (dynix*): Likewise.
84190         (*bsd*): Likewise.
84191         (sysv*): Likewise.
84192         (isc*): Likewise.
84193         (esix*): Likewise.
84194         (sco*): Likewise.
84195         (minix*): Likewise.
84196         (irix4*): Likewise.
84197         (irix6*): Likewise.
84198         (solaris[2-9]*): Likewise.
84199         (none): Likewise.
84200         * configure: Regenerated.
84202 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84204         [BZ #11521]
84205         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84206         overflow or cancellation in calculating denominator.
84207         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84208         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84209         down expression to avoid unexpected rounding in newer GCCs.
84210         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84212 2012-04-26  David S. Miller  <davem@davemloft.net>
84214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84215         long-double compat symbols.
84216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84230 2012-04-25  David S. Miller  <davem@davemloft.net>
84232         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84233         HWCAP_* values only after the memory barriers have been defined.
84234         (atomic_full_barrier): Define.
84235         (atomic_read_barrier): Define.
84236         (atomic_write_barrier): Define.
84238 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84240         * shlib-versions: Add libgcc_s version information.
84241         * sysdeps/generic/libgcc_s.h: Remove.
84242         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84243         libgcc_s.h.
84244         * sysdeps/gnu/unwind-resume.c: Likewise.
84245         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84247 2012-04-25  David S. Miller  <davem@davemloft.net>
84249         * sysdeps/unix/sparc/brk.S: Delete.
84250         * sysdeps/unix/sparc/dl-brk.S: Delete.
84251         * sysdeps/unix/sparc/pipe.S: Delete.
84252         * sysdeps/unix/sparc/sysdep.S: Delete.
84253         * sysdeps/unix/sparc/sysdep.h: Delete.
84254         * sysdeps/unix/sparc/vfork.S: Delete.
84255         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84256         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84257         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84258         (ret_ERRVAL, r0, r1, MOVE): Define.
84259         (JUMPTARGET): Remove.
84260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84261         sysdeps/unix/sparc/sysdep.h
84262         (ENTRY, END): Remove.
84263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84265 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84267         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84268         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84269         -DIS_IN_build.
84271         * timezone/README: Update upstream location and email address for
84272         tzcode and tzdata.
84273         * timezone/zdump.c: Update from tzcode 2012b.
84274         * timezone/zic.c: Likewise.
84276         * configure.in (libc_cv_as_needed): Remove test.
84277         * configure: Regenerated.
84278         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84279         conditional definition.
84280         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84281         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84282         * config.make.in (have-as-needed): Remove variable.
84284 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84285             Paul Pluzhnikov  <ppluzhnikov@google.com>
84287         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84288         strings correctly.
84290 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84292         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84293         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84294         * sysdeps/sh/strlen.S: Likewise.
84296 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84298         * sysdeps/unix/fork.S: Remove file.
84299         * sysdeps/unix/i386/fork.S: Likewise.
84300         * sysdeps/unix/sparc/fork.S: Likewise.
84302         * sysdeps/unix/system.c: Remove file.
84303         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84305         * sysdeps/unix/getegid.S: Remove file.
84306         * sysdeps/unix/geteuid.S: Likewise.
84308 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84310         * scripts/check-localplt.awk: New file.
84311         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84312         of diff.
84313         * scripts/data/localplt-generic.data: Add a comment.
84315         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84316         NODE when __dir_mkfile failed.
84317         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84318         Reported by Ludovic Courtès <ludo@gnu.org>.
84320 2012-04-24  Andreas Jaeger  <aj@suse.de>
84322         * Makerules (common-clean): Also remove gen-as-const-headers
84323         files.
84325 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84327         * Makerules (native-compile): Do not change working directory for
84328         build.  Use $(OUTPUT_OPTION) in command.
84329         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84331 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84333         [BZ #13886]
84334         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84335         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84336         * math/libm-test.inc (floor_test): Add more tests.
84337         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84339 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84341         * sysdeps/unix/getdents.c: Remove file.
84342         * sysdeps/unix/sysv/getdents.c: Likewise.
84343         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84345         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84346         sysdeps/unix/mman/syscalls.list.
84347         (mmap): Likewise.
84348         (mprotect): Likewise.
84349         (msync): Likewise.
84350         (munmap): Likewise.
84351         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84352         * sysdeps/unix/mman/syscalls.list: Remove.
84353         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84355         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84356         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84357         * configure: Regenerated.
84358         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84359         $(libgcc_s_suffix).
84360         * config.make.in (libgcc_s_suffix): Remove variable.
84362 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84364         * sysdeps/unix/sysv/gethostname.c: Move to ...
84365         * sysdeps/posix/gethostname.c: ... here.
84367         * sysdeps/unix/execve.S: Remove file.
84369         * sysdeps/unix/_exit.S: Remove file.
84371 2012-04-23  Andreas Jaeger  <aj@suse.de>
84373         [BZ #13739]
84374         * manual/Makefile: Remove make dist support, there's no
84375         need for a stand-alone documentation tar ball.
84376         (TEXI2DVI): Define always, it's not in Makeconfig.
84377         (dist): Removed.
84378         (tar-it): Removed.
84379         (edition): Removed.
84380         (glibc-doc-$(edition).tar): Removed
84381         (%.Z): Removed.
84382         (%.gz): Removed.
84383         (%.uu): Removed.
84384         (ETAGS): Remove, it's in Makeconfig.
84385         (move-if-change): Remove, it's in Makeconfig.
84387 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84389         [BZ #13970]
84390         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84391         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84392         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84393         (strtod_l, strtof_l, strtold_l): Remove __wur.
84394         It is not necessarily an error to ignore strtol's return value.
84395         One can reliably look at the stored endptr to decide whether
84396         the number had valid syntax.
84398 2012-04-21  Andreas Jaeger  <aj@suse.de>
84400         [BZ #13739]
84401         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84403 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84405         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84406         * sysdeps/unix/sysv/Versions: Remove file.
84408 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84410         [BZ #13927]
84411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84413 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84415         [BZ #7064]
84416         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84417         version from __vm86.
84419 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84421         * sysdeps/unix/common/lxstat.c: Remove file.
84422         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84424         * sysdeps/unix/sysv/Makefile: Remove file.
84426         * sysdeps/unix/sysv/direct.h: Remove file.
84428         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84429         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84430         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84431         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84432         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84433         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84434         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84436         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84438         * sysdeps/unix/xmknod.c: Remove file.
84439         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84441         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84443         * sysdeps/unix/sysv/i386/time.S: Remove file.
84445         * sysdeps/unix/fxstat.c: Remove file.
84446         * sysdeps/unix/xstat.c: Likewise.
84447         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84449         * sysdeps/unix/sysv/sigaction.c: Remove file.
84451         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84452         (sysdep_headers): Remove variable.
84453         [termio.h not in sysdep_headers] (generated): Likewise.
84454         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84455         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84456         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84457         * sysdeps/unix/sysv/tcflow.c: Likewise.
84458         * sysdeps/unix/sysv/tcflush.c: Likewise.
84459         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84460         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84461         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84462         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84463         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84465         * sysdeps/unix/siglist.c: Remove file.
84467         * sysdeps/unix/getppid.S: Remove file.
84469         * sysdeps/unix/mkdir.c: Remove file.
84470         * sysdeps/unix/rmdir.c: Likewise.
84472 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84474         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84475         ERR_MAX value.
84476         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84477         errlist-compat value.
84479 2012-04-18  David S. Miller  <davem@davemloft.net>
84481         * sysdeps/generic/memcopy.h (reg_char): Delete.
84482         * debug/strcat_chk.c: Use char, not reg_char.
84483         * debug/strcpy_chk.c: Likewise.
84484         * debug/strncat_chk.c: Likewise.
84485         * debug/strncpy_chk.c: Likewise.
84486         * string/memchr.c: Likewise.
84487         * string/memrchr.c: Likewise.
84488         * string/rawmemchr.c: Likewise.
84489         * string/strcat.c: Likewise.
84490         * string/strchr.c: Likewise.
84491         * string/strchrnul.c: Likewise.
84492         * string/strcmp.c: Likewise.
84493         * string/strcpy.c: Likewise.
84494         * string/strncat.c: Likewise.
84495         * string/strncmp.c: Likewise.
84496         * string/strncpy.c: Likewise.
84498 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84500         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84501         __builtin_memcopy is called when src and dest ranges are known to not
84502         overlap.
84504 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84506         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84507         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84508         fwd_align_merge macro call.
84509         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84510         bwd_align_merge macro call.
84511         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84513 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84515         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84516         bwd_align_merge macros.
84517         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84518         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84519         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84521 2012-04-18  David S. Miller  <davem@davemloft.net>
84523         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84525 2012-04-18  Andreas Jaeger  <aj@suse.de>
84527         [BZ #6794]
84528         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84529         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84530         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84532         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84533         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84534         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84536         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84537         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84538         Adjust for changed ldbl-128 files.
84540         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84541         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84542         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84544 2012-04-17  David S. Miller  <davem@davemloft.net>
84546         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84548 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84550         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84551         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84552         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84553         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84554         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84555         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84557 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84559         [BZ #6794]
84560         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84561         * math/libm-test.inc: Add ilogb errno and exception tests.
84562         * math/w_ilogb.c: New file: ilogb wrapper.
84563         * math/w_ilogbf.c: New file: ilogbf wrapper.
84564         * math/w_ilogbl.c: New file: ilogbl wrapper.
84565         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84566         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84567         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84568         exception being thrown with 0.0 as argument.
84569         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84570         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84571         exception being thrown with 0.0 as argument.
84572         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84573         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84574         exception being thrown with 0.0 as argument.
84575         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84576         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84577         exception being thrown with 0.0 as argument.
84578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84579         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84580         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84581         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84582         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84583         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84584         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84585         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84586         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84588 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84590         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84591         with altivec.
84593 2012-04-16  Marek Polacek  <polacek@redhat.com>
84595         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84597 2012-04-16  Marek Polacek  <polacek@redhat.com>
84599         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84600         operands of fdivp instruction.
84602 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84604         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84605         * elf/tst-auditmod3b.c: Likewise.
84606         * elf/tst-auditmod4b.c: Likewise.
84607         * elf/tst-auditmod5b.c: Likewise.
84608         * elf/tst-auditmod6b.c: Likewise.
84609         * elf/tst-auditmod6c.c: Likewise.
84610         * elf/tst-auditmod7b.c: Likewise.
84611         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84612         * sysdeps/x86_64/preconfigure.in: Likewise.
84613         * sysdeps/x86_64/preconfigure: Regenerated.
84615 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84617         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84618         __ILP32__.
84620 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84623         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84625 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84627         [BZ #13973]
84628         * locale/iso-639.def: Fix gl language name. Spotted by
84629         Yaron Shahrabani.
84631 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84633         [BZ #2074]
84634         * libio/libio.h (__io_write_fn): Update comment.
84636 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84638         [BZ #2074]
84639         * stdio.texi (Hook Functions): The user provided writer function
84640         is not allowed to return -1.
84642 2012-04-11  David S. Miller  <davem@davemloft.net>
84644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84646 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84648         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84649         Add a leading slash to rtkaio.
84651 2012-04-11  Jim Meyering  <meyering@redhat.com>
84653         [BZ #11959]
84654         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84655         It is not necessarily an error to ignore fwrite's return
84656         value.  One can reliably use ferror to test for errors after
84657         the fact.
84659 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84661         * bits/types.h (__snseconds_t): New type.
84662         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84664         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84666         (__SNSECONDS_T_TYPE): Likewise.
84667         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84668         (__SNSECONDS_T_TYPE): Likewise.
84669         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84670         (__SNSECONDS_T_TYPE): Likewise.
84672 2012-04-10  Andreas Jaeger  <aj@suse.de>
84674         [BZ #2636]
84675         * manual/time.texi (Processor Time): Return type of times is
84676         elapsed real time since an arbitrary point in the past.
84677         (CPU Time): Move CLK_TCK from here...
84678         (Processor Time): ...to here.  Correct description.
84679         * manual/conf.texi (Constants for Sysconf): Correct description of
84680         _SC_CLK_TCK.
84682 2012-04-10  David S. Miller  <davem@davemloft.net>
84684         [BZ #13967]
84685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84686         where the is a gap between DT_REL(A) and DT_JMPREL.
84688 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84690         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84691         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84692         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84694 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84696         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84697         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84698         (dl_main): Handle --inhibit-cache.
84699         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84700         _dl_inhibit_cache.
84701         * elf/dl-load.c (_dl_map_object): Use it.
84702         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84704 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84706         [BZ #13872]
84707         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84708         (__ieee754_powl): Saturate large exponents rather than testing for
84709         overflow of y*log2(x).
84710         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84711         * math/libm-test.inc (pow_test): Do not permit spurious overflow
84712         exceptions.
84714         [BZ #11521]
84715         * math/s_ctan.c: Include <float.h>.
84716         (__ctan): Avoid internal overflow or cancellation in calculating
84717         denominator.
84718         * math/s_ctanf.c: Likewise.
84719         * math/s_ctanl.c: Likewise.
84720         * math/s_ctanh.c: Likewise.
84721         * math/s_ctanhf.c: Likewise.
84722         * math/s_ctanhl.c: Likewise.
84723         * math/libm-test.inc (ctan_test): Add more tests.
84724         (ctanh_test): Likewise.
84725         * sysdeps/i386/fpu/libm-test-ulps: Update.
84726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84728 2012-04-09  Andreas Jaeger  <aj@suse.de>
84730         [BZ #6894]
84731         * manual/filesys.texi (Directory Entries): Mention that d_namlen
84732         is an optional BSD extension.
84734         [BZ #10254]
84735         * manual/stdio.texi (Opening Streams): Document additional fopen
84736         parameters.
84738 2012-04-09  Roland McGrath  <roland@hack.frob.com>
84740         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84741         %eax without telling the compiler.
84743 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
84745         [BZ # 13963]
84746         * manual/install.texi: Use sourceware.org.
84748 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84750         [BZ #13873]
84751         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84752         (__ieee754_pow): Generate overflow and underflow using huge*huge
84753         and tiny*tiny rather than just returning constant infinity or zero
84754         for large exponents.
84755         * math/libm-test.inc (pow_test): Require overflow exceptions for
84756         applicable cases of large exponents.
84758         [BZ #706]
84759         * sysdeps/i386/fpu/e_pow.S (p10): New object.
84760         (__ieee754_pow): Use iterative multiplication algorithm only for
84761         integer exponents with absolute value below 1024.  Check for odd
84762         integer exponents when using algorithm for real exponents.
84763         * math/libm-test.inc (pow_test): Add more tests.
84764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84766 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
84768         [BZ #13705]
84769         * math/libm-test.inc (exp_test): Do not allow overflow exception
84770         on underflow test.
84772 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
84774         [BZ #13705]
84775         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84776         instead of __kernel_standard_f.
84778 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
84780         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84781         * sysdeps/x86_64/memset_chk.S: Likewise.
84783 2012-04-08  Andreas Jaeger  <aj@suse.de>
84785         [BZ #10153]
84786         * manual/startup.texi (Environment Access): Describe return value
84787         for putenv and setenv.
84789         [BZ #6895]
84790         * manual/filesys.texi (Directory Entries): Add description for
84791         DT_LNK.
84793         [BZ #6890]
84794         * manual/filesys.texi (Directory Entries): Clarify that it's file
84795         system not operating system in the description of DT_UNKNOWN.
84797         [BZ #6578]
84798         * manual/syslog.texi (closelog): Fix reference, it's openlog.
84800 2012-04-08  Stephen Compall  <s11@member.fsf.org>
84802         [BZ #6649]
84803         * manual/llio.texi (Opening and Closing Files): Add cross
84804         reference to explain mode argument.
84806 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
84808         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84809         * sysdeps/x86_64/memset_chk.S: Likewise.
84811 2012-04-07  David S. Miller  <davem@davemloft.net>
84813         * elf/elf.h (R_SPARC_WDISP10): Define.
84814         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84815         R_SPARC_SIZE32.
84816         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84817         R_SPARC_SIZE64 and R_SPARC_H34.
84819 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
84821         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84822         conditions and remove no longer applicable assertion.
84824 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84826         * bits/byteswap.h: Include <features.h>.
84827         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84828         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84830 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84832         * bits/byteswap.h (__bswap_16): Removed.
84833         Include <bits/byteswap-16.h> to get __bswap_16.
84834         * sysdeps/i386/bits/byteswap.h: Likewise.
84835         * sysdeps/s390/bits/byteswap.h: Likewise.
84836         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84837         * bits/byteswap-16.h: New file.
84838         * sysdeps/i386/bits/byteswap-16.h: Likewise.
84839         * sysdeps/s390/bits/byteswap-16.h: Likewise.
84840         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84841         * string/Makefile (headers): Add bits/byteswap-16.h.
84843 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84845         [BZ #13895]
84846         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84847         extra indirection.
84848         * nss/Makefile (tests-static, tests): Add tst-nss-static.
84849         * nss/tst-nss-static.c: New.
84851 2012-04-06  Robert Millan  <rmh@gnu.org>
84853         [BZ #6486]
84854         * manual/llio.texi (File Position Primitive): lseek
84855         refers to WHENCE when it really means OFFSET.
84857 2012-04-06  Andreas Jaeger  <aj@suse.de>
84859         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84860         strncmp declarations.
84862         * abilist/libc.abilist: Add __poll and __ppoll.
84864 2012-04-05  David S. Miller  <davem@davemloft.net>
84866         * scripts/check-local-headers.sh: Accept a host triplet in the
84867         path matched by the exclude regexp.
84869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84870         definition.
84871         * sysdeps/powerpc/powerpc32/dl-machine.h
84872         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84873         * sysdeps/s390/s390-32/dl-machine.h
84874         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84875         * sysdeps/sparc/sparc32/dl-machine.h
84876         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84877         * sysdeps/sparc/sparc64/dl-machine.h
84878         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84880         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84881         lazy binding.
84882         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84883         undefined symbol errors.
84885         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84886         DT_NEEDED entries.
84888 2012-04-05  Michael Matz  <matz@suse.de>
84890         [BZ #13592]
84891         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84893 2012-04-05  Andreas Jaeger  <aj@suse.de>
84895         [BZ #13908]
84896         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84897         comment.
84899 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84901         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84902         which ROUND is no valid rounding mode.
84904 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84906         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84907         read again.
84908         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84910 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84912         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84913         an exception using FPU order intentionally.
84915 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84917         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84918         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84919         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84920         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84922 2012-04-05  Simon Josefsson  <simon@josefsson.org>
84924         [BZ #12340]
84925         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84926         EINVAL when BUFLEN is too smal.
84928 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
84930         [BZ #13553]
84931         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84932         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84934 2012-04-03  Andreas Jaeger  <aj@suse.de>
84936         [BZ #13938]
84937         * manual/setjmp.texi (System V contexts): Fix sentence.
84939         [BZ #13926]
84940         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84941         New macro for this case.
84942         [!__GNUC__] (__bswap_64): New inline function for this case.
84943         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84944         * bits/byteswap.h: Likewise.
84945         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84946         ull, guard with __GLIBC_HAVE_LONG_LONG.
84948         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84949         __GLIBC_HAVE_LONG_LONG.
84951         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84952         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84954 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84956         [BZ #13691]
84957         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84958         inptr and inend, rather than using last_ch.
84960 2012-04-02  David S. Miller  <davem@davemloft.net>
84962         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84963         * stdio-common/printf-parse.h (read_int): Change return type to
84964         'int', return -1 on INT_MAX overflow.
84965         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84966         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
84967         overflows INT_MAX.  Check for overflow of in-format-string precision
84968         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
84969         SIZE_MAX not INT_MAX for integer overflow test.
84970         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84971         skip the construct in the format string but do not record anything.
84972         * stdio-common/bug22.c: Adjust to test both width/prevision
84973         INT_MAX overflow as well as total length INT_MAX overflow.  Check
84974         explicitly for proper errno values.
84976 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
84978         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84979         CHAR_MAX.
84980         * string/test-strcmp.c [! WIDE]: Likewise.
84981         * time/tst-mktime2.c: Likewise for INT_MAX.
84982         * string/test-string.h: #include <sys/param.h> for MIN.
84984         * csu/init-first.c (__libc_init_first): Call __ctype_init.
84985         * sysdeps/i386/init-first.c (init): Likewise.
84986         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84987         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84988         * sysdeps/sh/init-first.c (init): Likewise.
84990 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
84992         * po/ru.po: Update from translation team.
84993         * po/vi.po: Likewise.
84995 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
84997         * resolv/nss_dns/dns-host.c: Merge copyright years.
84999 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85001         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85002         Optimize memcpy with prefetch if
85003         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85004         src, dst pointers have unequal 16 byte alignments.
85006 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85008         [BZ #13928]
85009         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85010         from a CNAME entry and return the minimum ttl for the query.
85011         (gaih_getanswer_slice): Likewise.
85013 2012-03-30  Jeff Law  <law@redhat.com>
85015         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85016         due to long keys.
85017         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85018         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85020         * resolv/nss_dns/dns-host.c: Update copyright year.
85022 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85024         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85025         requests to save a system call.  Fix check that all bytes are sent.
85027         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85028         comments for sendmmsg.
85030 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85032         [BZ #13691]
85033         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85034         with only 1 character between 0x0041 and 0x01b0.
85035         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85036         * wcsmbs/tst-mbsnrtowcs.c: New file.
85038 2012-03-29  David S. Miller  <davem@davemloft.net>
85040         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85041         small copies by hand.
85043 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85045         [BZ #13761]
85046         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85047         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85048         group memberships.
85050 2012-03-28  David S. Miller  <davem@davemloft.net>
85052         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85053         that branches into memcpy.
85054         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85055         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85057         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85058         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85059         bits.
85060         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85061         implementation too.
85062         * sysdeps/sparc/mempcpy.S: New file.
85064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85065         the IFUNC routine in the libc case.
85066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85068         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85069         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85070         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85071         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85072         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85073         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85074         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85075         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85077         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85078         loop to 256 bytes instead of 64 bytes and fix test signedness.
85080         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85081         * sysdeps/sparc/sparc32/Makefile: rather than here...
85082         * sysdeps/sparc/sparc64/Makefile: and here.
85084 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85086         * malloc/mallocbug.c: Avoid warnings about unused variables.
85088 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85090         [BZ #13760]
85091         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85092         in the right place. Discard and retry query if response is
85093         larger than input buffer size.
85095 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85097         [BZ #369]
85098         [BZ #2678]
85099         [BZ #3866]
85100         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85101         x for large integer exponent.
85102         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85103         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85104         sign of result as needed afterwards.
85105         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85106         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85107         result for underflowing pow the same as for overflow.
85108         (__kernel_standard_l): Handle powl overflow and underflow here
85109         rather than calling __kernel_standard.
85110         * math/libm-test.inc (pow_test): Add more tests.
85112         [BZ #3868]
85113         [BZ #13879]
85114         [BZ #13910]
85115         [BZ #13911]
85116         [BZ #13912]
85117         [BZ #13913]
85118         [BZ #13915]
85119         [BZ #13916]
85120         [BZ #13917]
85121         [BZ #13918]
85122         [BZ #13919]
85123         [BZ #13920]
85124         [BZ #13921]
85125         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85126         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85127         (__kernel_standard_l): New function.
85128         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85129         __kernel_standard.
85130         * math/w_acosl.c (__acosl): Likewise.
85131         * math/w_asinl.c (__asinl): Likewise.
85132         * math/w_atan2l.c (__atan2l): Likewise.
85133         * math/w_atanhl.c (__atanhl): Likewise.
85134         * math/w_coshl.c (__coshl): Likewise.
85135         * math/w_exp10l.c (__exp10l): Likewise.
85136         * math/w_exp2l.c (__exp2l): Likewise.
85137         * math/w_fmodl.c (__fmodl): Likewise.
85138         * math/w_hypotl.c (__hypotl): Likewise.
85139         * math/w_j0l.c (__j0l, __y0l): Likewise.
85140         * math/w_j1l.c (__j1l, __y1l): Likewise.
85141         * math/w_jnl.c (__jnl, __ynl): Likewise.
85142         * math/w_lgammal.c (__lgammal): Likewise.
85143         * math/w_log10l.c (__log10l): Likewise.
85144         * math/w_log2l.c (__log2l): Likewise.
85145         * math/w_logl.c (__logl): Likewise.
85146         * math/w_powl.c (__powl): Likewise.
85147         * math/w_remainderl.c (__remainderl): Likewise.
85148         * math/w_scalbl.c (sysv_scalbl): Likewise.
85149         * math/w_sinhl.c (__sinhl): Likewise.
85150         * math/w_sqrtl.c (__sqrtl): Likewise.
85151         * math/w_tgammal.c (__tgammal): Likewise.
85152         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85153         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85154         * math/libm-test.inc (acos_test): Add more tests.
85155         (acosh_test): Likewise.
85156         (asin_test): Likewise.
85157         (atanh_test): Likewise.
85158         (exp_test): Likewise.
85159         (exp10_test): Likewise.
85160         (exp2_test): Likewise.
85161         (expm1_test): Likewise.
85162         (lgamma_test): Likewise.
85163         (log_test): Likewise.
85164         (log10_test): Likewise.
85165         (log1p_test): Likewise.
85166         (log2_test): Likewise.
85167         (pow_test): Do not allow some spurious overflow exceptions.
85168         (sqrt_test): Add more tests.
85169         (tgamma_test): Likewise.
85170         (y0_test): Likewise.
85171         (y1_test): Likewise.
85172         (yn_test): Likewise.
85174 2012-03-27  Anton Blanchard  <anton@samba.org>
85176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85177         MAP_HUGETLB.
85178         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85179         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85180         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85182 2012-03-27  David S. Miller  <davem@davemloft.net>
85184         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85186         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85187         have-as-vis3 check.
85189 2012-03-27  Andreas Jaeger  <aj@suse.de>
85191         * sysdeps/x86_64/elf/configure.in: Moved to ...
85192         * sysdeps/x86_64/configure.in: ... here.
85193         * sysdeps/x86_64/elf/start.S: Moved to ...
85194         * sysdeps/x86_64/start.S: ... here.
85195         * sysdeps/x86_64/elf/configure: Delete.
85197         * sysdeps/x86_64/configure.in: Merge contents from
85198         sysdeps/i386/configure.in (without i686 check).
85200         * sysdeps/i386/elf/Versions: Merge into ...
85201         * sysdeps/i386/Versions: ... this.
85202         * sysdeps/i386/elf/Versions: Delete file.
85203         * sysdeps/i386/elf/start.S: Moved to ...
85204         * sysdeps/i386/start.S: ...here.
85205         * sysdeps/i386/elf/configure.in: Merge into...
85206         * sysdeps/i386/configure.in: ...here.
85207         * sysdeps/i386/elf/configure.in: Delete file.
85208         * sysdeps/i386/elf/configure: Delete file.
85210         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85211         * debug/backtracesyms.c: ... here.
85212         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85213         * debug/backtracesymsfd.c: ... here.
85214         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85215         * sysdeps/generic/ifunc-sel.h: ... here.
85217         * sysdeps/unix/i386/start.c: Delete file.
85218         * sysdeps/unix/sparc/start.c: Delete file.
85219         * sysdeps/unix/start.c: Delete file.
85221         * sysdeps/sh/elf/configure.in: Moved to ...
85222         * sysdeps/sh/configure.in: ... here.
85223         * sysdeps/sh/elf/start.S: Moved to ...
85224         * sysdeps/sh/start.S: ... here.
85225         * sysdeps/sh/elf/configure: Delete file.
85227         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85228         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85229         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85230         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85231         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85232         * sysdeps/powerpc/powerpc64/start.S: here.
85233         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85234         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85235         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85236         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85237         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85239         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85240         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85241         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85242         * sysdeps/powerpc/powerpc32/start.S: ... here.
85243         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85244         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85245         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85247         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85248         * sysdeps/powerpc/ifunc-sel.h: ... here.
85249         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85250         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85252         * sysdeps/sparc/elf/configure.in: Moved to ...
85253         * sysdeps/sparc/configure.in: ... here.
85254         * sysdeps/sparc/elf/configure: Delete file.
85255         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85256         * sysdeps/sparc/sparc32/start.S: ... here.
85257         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85258         * sysdeps/sparc/sparc64/start.S: ... here.
85259         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85260         * sysdeps/sparc/sparc32/Makefile: ... this.
85261         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85262         * sysdeps/sparc/sparc64/Makefile: ... this.
85264         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85265         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85266         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85267         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85268         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85269         * sysdeps/s390/s390-32/setjmp.S: ... here.
85270         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85271         * sysdeps/s390/s390-32/configure.in: ... here.
85272         * sysdeps/s390/s390-32/elf/configure: Delete file.
85273         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85274         * sysdeps/s390/s390-32/start.S: ... here.
85276         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85277         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85278         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85279         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85280         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85281         * sysdeps/s390/s390-64/setjmp.S: ... here.
85282         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85283         * sysdeps/s390/s390-64/configure.in: ... here
85284         * sysdeps/s390/s390-64/elf/configure: Delete file.
85285         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85286         * sysdeps/s390/s390-64/start.S: ... here.
85287         * sysdeps/s390/s390-64/elf/configure: Delete.
85289         * configure.in: Remove support for elf directories in sysdeps.
85291         * configure: Regenerated.
85292         * sysdeps/i386/configure: Regenerated.
85293         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85294         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85295         * sysdeps/s390/s390-32/configure: Regenerated.
85296         * sysdeps/s390/s390-64/configure: Regenerated.
85297         * sysdeps/sh/configure: Regenerated.
85298         * sysdeps/sparc/configure: Regenerated.
85299         * sysdeps/x86_64/configure: Regenerated.
85301 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85306         denormal result into account.
85308 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85310         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85311         Reported by Allan McRae <allan@archlinux.org>.
85313 2012-03-23  Jeff Law  <law@redhat.com>
85315         * nss/getnssent.c (__nss_getent): Fix typo.
85317 2012-03-23  David S. Miller  <davem@davemloft.net>
85319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85321 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85323         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85324         to pad to uint64_t for each field.
85325         (dl_tls_index): Replace unsigned long with uint64_t.
85327 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85328         Paul Pluzhnikov  <ppluzhnikov@google.com>
85330         [BZ #6528]
85331         * grp/Makefile (otherlibs): Don't set it.
85332         * inet/Makefile (otherlibs): Likewise.
85333         * login/Makefile (otherlibs): Likewise.
85334         * nscd/Makefile (otherlibs): Likewise.
85335         * posix/Makefile (otherlibs): Likewise.
85336         * pwd/Makefile (otherlibs): Likewise.
85337         * rt/Makefile (otherlibs): Likewise.
85338         * sunrpc/Makefile (otherlibs): Likewise.
85339         * nss/Makefile (otherlibs): Likewise.
85340         Add libnss_files to routines and static-only-routines.
85341         ($(objpfx)getent): Remove rule.
85342         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85343         static-only-routines.
85345 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85347         [BZ #13892]
85348         * math/s_cexp.c: Include <float.h>.
85349         (__cexp): Handle exp result overflowing not necessarily
85350         overflowing both real and imaginary parts of result.
85351         * math/s_cexpf.c: Likewise.
85352         * math/s_cexpl.c: Likewise.
85353         * math/libm-test.inc (cexp_test): Add more tests.
85354         * sysdeps/i386/fpu/libm-test-ulps: Update.
85355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85357 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85359         * include/link.h (ELFW): New macro.
85360         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85361         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85363 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85365         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85366         with uint64_t.
85368 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85370         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85371         declaration.
85372         (struct La_x32_retval): Likewise.
85374 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85376         * sysdeps/x86_64/preconfigure.in: New file.
85377         * sysdeps/x86_64/preconfigure: New generated file.
85379 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85381         [BZ #13824]
85382         * math/e_exp2l.c: Include <float.h>.
85383         (__ieee754_exp2l): Handle overflow and underflow cases
85384         separately.  Only pass fractional part of argument to
85385         __ieee754_expl.
85386         * math/libm-test.inc (exp2_test): Add more tests.
85388         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85389         negating x to take absolute value.
85390         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85391         Likewise.
85392         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85393         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85394         Likewise.
85395         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85396         computing low part if x was negated.
85397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85399 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85401         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85402         la_x32_gnu_pltexit.
85403         (pltexit): Cast int_retval to ptrdiff_t.
85404         * elf/tst-auditmod3b.c: Likewise.
85405         * elf/tst-auditmod4b.c: Likewise.
85406         * elf/tst-auditmod5b.c: Likewise.
85407         * elf/tst-auditmod6b.c: Likewise.
85408         * elf/tst-auditmod6c.c: Likewise.
85409         * elf/tst-auditmod7b.c: Likewise.
85411         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85412         and x32_gnu_pltexit.
85414         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85415         __ELF_NATIVE_CLASS.
85416         (La_x32_regs): New macro.
85417         (La_x32_retval): Likewise.
85418         (la_x32_gnu_pltenter): New function prototype.
85419         (la_x32_gnu_pltexit): Likewise.
85421 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85423         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85424         exponent.
85426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85428         * configure.in (libc_cv_cc_nofma): Check for option to disable
85429         generation of FMA instructions.
85430         * configure: Regenerate.
85431         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85432         * sysdeps/ieee754/dbl-64/Makefile: New file.
85433         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85434         Remove brandred-fma4.
85435         (CFLAGS-brandred-fma4.c): Remove.
85436         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85437         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85438         define.
85439         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85440         define.
85442 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85444         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85445         LLONG_MAX != LONG_MAX.
85446         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85447         (_fitoa_word): Likewise.
85448         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85449         LLONG_MAX != LONG_MAX.
85450         * stdio-common/_itowa.h: Include <_itoa.h>.
85451         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85452         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85453         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85454         only if not defined.
85455         (_ITOA_WORD_TYPE): Likewise.
85456         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85457         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85459 2012-03-21  David S. Miller  <davem@davemloft.net>
85461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85463 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85465         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85466         of x86_64 when setting libc_cv_slibdir, libdir and
85467         libc_cv_localedir.
85468         * sysdeps/unix/sysv/linux/configure: Regenerated.
85470 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85472         * manual/lang.texi (Old Varargs): Remove section.
85473         (How Variadic): Update menu.
85474         (va_start): Do not mention varargs.h.
85476 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85477             Joseph Myers  <joseph@codesourcery.com>
85479         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85480         link test.
85481         * configure: Regenerated.
85483 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85485         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85486         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85487         conformtest.pl
85489 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85491         * NOTES: Remove.
85492         * Makefile (files-for-dist): Remove NOTES.
85493         (NOTES): Remove rule.
85494         * README: Don't refer to NOTES.
85495         * manual/creature.texi: Don't include macros.texi.
85496         * manual/intro.texi (creature.texi): Remove comment referring to
85497         NOTES.
85499         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85500         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85501         * configure: Regenerated.
85502         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85503         LIBC_TRY_CC_OPTION.
85504         (libc_cv_as_i686): Likewise.
85505         (libc_cv_cc_avx): Likewise.
85506         (libc_cv_cc_sse2avx): Likewise.
85507         (libc_cv_cc_fma4): Likewise.
85508         (libc_cv_cc_novzeroupper): Likewise.
85509         * sysdeps/i386/configure: Regenerated.
85511         [BZ #13883]
85512         * sysdeps/i386/fpu/s_cexp.S: Remove.
85513         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85514         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85515         * math/libm-test.inc (cexp_test): Add more tests.
85516         * sysdeps/i386/fpu/libm-test-ulps: Update.
85517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85519 2012-03-21  Allan McRae  <allan@archlinux.org>
85521         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85523 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85525         [BZ #13871]
85526         * math/w_exp2.c: Do not include <float.h>.
85527         (o_threshold, u_threshold): Remove.
85528         (__exp2): Calculate result before checking finiteness and calling
85529         __kernel_standard.
85530         * math/w_exp2f.c: Likewise.
85531         * math/w_exp2l.c: Likewise.
85532         * math/libm-test.inc (exp2_test): Require overflow exception for
85533         1e6 input.
85535         [BZ #3866]
85536         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85537         range of signed 64-bit integers before using fistpll.  Remove
85538         checks for whether integers fit in mantissa bits.
85539         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85540         the range of signed 32-bit integers before using fistpl.  Remove
85541         checks for whether integers fit in mantissa bits.
85542         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85543         (__ieee754_powl): Test for y outside the range of signed 64-bit
85544         integers before using fistpll.  Reduce 64-bit values to 63-bit
85545         ones as needed.
85546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85547         divide-by-zero is raised for zero to large negative powers.
85548         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85549         (__ieee754_powl): Test for y outside the range of signed 64-bit
85550         integers before using fistpll.  Reduce 64-bit values to 63-bit
85551         ones as needed.
85552         * math/libm-test.inc (pow_test): Add more tests.
85554 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85556         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85557         <stdio-common/_itoa.h>.
85558         * debug/segfault.c: Likewise.
85559         * elf/dl-cache.c: Likewise.
85560         * elf/dl-minimal.c: Likewise.
85561         * elf/dl-misc.c: Likewise.
85562         * elf/dl-sysdep.c: Likewise.
85563         * elf/dl-version.c: Likewise.
85564         * elf/rtld.c: Likewise.
85565         * hurd/hurdsock.c: Likewise.
85566         * hurd/lookup-retry.c: Likewise.
85567         * malloc/malloc.c: Likewise.
85568         * malloc/mtrace.c: Likewise.
85569         * nscd/nscd_getgr_r.c: Likewise.
85570         * nscd/nscd_getpw_r.c: Likewise.
85571         * nscd/nscd_getserv_r.c: Likewise.
85572         * posix/getopt_init.c: Likewise.
85573         * posix/wordexp.c: Likewise.
85574         * stdio-common/_itoa.c: Likewise.
85575         * stdio-common/printf_fphex.c: Likewise.
85576         * stdio-common/vfprintf.c: Likewise.
85577         * string/_strerror.c: Likewise.
85578         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85579         * sysdeps/i386/i686/hp-timing.h: Likewise.
85580         * sysdeps/mach/_strerror.c: Likewise.
85581         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85582         * sysdeps/mach/hurd/sethostid.c: Likewise.
85583         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85584         * sysdeps/mach/xpg-strerror.c: Likewise.
85585         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85587         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85588         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85589         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85590         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85591         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85592         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85593         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85594         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85595         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85596         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85597         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85598         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85599         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85600         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85601         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85602         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85603         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85604         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85605         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85607         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85609         * stdio-common/_itoa.h: Moved to ...
85610         * sysdeps/generic/_itoa.h: Here.
85612         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85614         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85615         instead of "_itoa.h" and "_itowa.h".
85616         * stdio-common/vfprintf.: Likewise.
85618 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85620         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85621         <bits/wordsize.h>.
85622         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85623         (__signbit): Likewise.
85624         (llrintf): Likewise.
85625         (llrint): Likewise.
85627 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85629         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85630         __WORDSIZE != 64.
85632 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85634         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85635         OVERFLOW_EXCEPTION_OK.
85636         * math/libm-test.inc ("Philosophy"): Update comment about
85637         exception testing.
85638         (OVERFLOW_EXCEPTION): Define.
85639         (OVERFLOW_EXCEPTION_OK): Likewise.
85640         (INVALID_EXCEPTION_OK): Renumber.
85641         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85642         (IGNORE_ZERO_INF_SIGN): Likewise.
85643         (test_exceptions): Handle FE_OVERFLOW.
85644         (exp10_test): Expect overflow exceptions.
85645         (exp2_test): Likewise.
85646         (expm1_test): Likewise.
85647         (nextafter_test): Likewise.
85648         (pow_test): Likewise.
85649         (scalbn_test): Likewise.
85650         (scalbln_test): Likewise.
85652 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85654         * sysdeps/x86_64/bits/atomic.h
85655         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85656         64bit integer.
85657         (atomic_exchange_acq): Likewise.
85658         (__arch_exchange_and_add_body): Likewise.
85659         (__arch_add_body): Likewise.
85660         (atomic_add_negative): Likewise.
85661         (atomic_add_zero): Likewise.
85663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85665         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85666         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85670         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85671         Check __x86_64__ instead of __WORDSIZE.
85673 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85675         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85677 2012-03-19  David S. Miller  <davem@davemloft.net>
85679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85681         * sysdeps/sparc/fpu/fenv_private.h: New file.
85682         * sysdeps/sparc/fpu/math_private.h: Use it.
85683         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85684         Remove.
85685         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85686         (libc_feholdexcept_setroundl): Remove.
85687         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85688         Remove.
85689         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85690         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85692 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85694         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85695         int64_t instead of long int.
85696         (INSERT_WORDS64): Likewise.
85698 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85700         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85701         _Unwind_GetCFA return to _Unwind_Ptr first.
85703 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85705         [BZ #13629]
85706         * math/s_clog.c: Include <float.h>.
85707         (__clog): Scale large or subnormal inputs.
85708         * math/s_clogf.c: Likewise.
85709         * math/s_clogl.c: Likewise.
85710         * math/s_clog10.c: Include <float.h>.
85711         (M_LOG10_2): Define.
85712         (__clog10): Scale large or subnormal inputs.
85713         * math/s_clog10f.c: Likewise.
85714         * math/s_clog10l.c: Likewise.
85715         * math/libm-test.inc (clog_test): Add more tests.
85716         (clog10_test): Likewise.
85717         * sysdeps/i386/fpu/libm-test-ulps: Update.
85718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85720         [BZ #11451]
85721         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85722         x and y.
85723         * math/libm-test.inc (atan2_test): Add another test.
85725         * Makerules (common-objdir-compile): Remove.
85726         * sysdeps/unix/Makefile (config-generated): Do not add
85727         $(unix-generated) to variable.
85728         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85729         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85730         Remove rule.
85731         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85732         Likewise.
85733         [generic bits/local_lim.h] (before-compile): Do not append to
85734         variable.
85735         [generic bits/local_lim.h] (common-generated): Likewise.
85736         [generic sys/param.h] (before-compile): Do not append to variable.
85737         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85738         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85739         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85740         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85741         include.
85742         [generic sys/param.h] (sys/param.h-includes): Remove variable.
85743         [generic sys/param.h] (sys/param.h-includes): Remove rule.
85744         [generic sys/param.h] ($(addprefix
85745         $(common-objpfx),$(sys/param.h-includes))): Likewise.
85746         [generic sys/param.h] (common-generated): Do not append to
85747         variable.
85748         [generic sys/param.h] (sysdep_headers): Likewise.
85749         [generic bits/errno.h] (before-compile): Do not append to
85750         variable.
85751         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85752         rule.
85753         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85754         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85755         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85756         [generic bits/errno.h] (common-generated): Do not append to
85757         variable.
85758         [generic bits/ioctls.h] (before-compile): Do not append to
85759         variable.
85760         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85761         rule.
85762         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85763         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85764         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85765         rule.
85766         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85767         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85768         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85769         [generic bits/ioctls.h] (common-generated): Do not append to
85770         variable.
85771         [generic sys/syscall.h] (syscall.h): Remove variable.
85772         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85773         rule.
85774         [generic sys/syscall.h] (before-compile): Do not append to
85775         variable.
85776         [generic sys/syscall.h] (common-generated): Likewise.
85777         * sysdeps/unix/errnos-tmpl.c: Remove file.
85778         * sysdeps/unix/errnos.awk: Likewise.
85779         * sysdeps/unix/ioctls-tmpl.c: Likewise.
85780         * sysdeps/unix/ioctls.awk: Likewise.
85781         * sysdeps/unix/mk-local_lim.c: Likewise.
85782         * sysdeps/unix/snarf-ioctls: Likewise.
85784 2012-03-19  Richard Henderson  <rth@twiddle.net>
85786         * sysdeps/i386/fpu/fenv_private.h: New file.
85787         * sysdeps/i386/fpu/math_private.h: Use it.
85788         (math_opt_barrier, math_force_eval): Remove.
85789         (libc_feholdexcept_setround_53bit): Remove.
85790         (libc_feupdateenv_53bit): Remove.
85791         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85792         (math_opt_barrier, math_force_eval): Remove.
85793         (libc_feholdexcept): Remove.
85794         (libc_feholdexcept_setround): Remove.
85795         (libc_fetestexcept, libc_fesetenv): Remove.
85796         (libc_feupdateenv_test): Remove.
85797         (libc_feupdateenv, libc_feholdsetround): Remove.
85798         (libc_feresetround): Remove.
85800         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85801         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85803         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85804         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85805         (libc_feupdateenv_testl): New.
85806         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85807         (libc_feupdateenv_testf): New.
85808         (libc_feupdateenv): Use libc_feupdateenv_test.
85809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85810         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85812         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85813         (libc_feholdsetroundf, libc_feholdsetroundl): New.
85814         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85815         (libc_feresetround_noex): New.
85816         (libc_feresetround_noexf): New.
85817         (libc_feresetround_noexl): New.
85818         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85819         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85820         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85821         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85822         SET_RESTORE_ROUND.
85823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85825         (__cos): Likewise.
85826         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85827         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85828         SET_RESTORE_ROUND_NOEX.
85829         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85830         SET_RESTORE_ROUND_NOEXF.
85831         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85832         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85833         (libc_feholdsetroundf): New.
85834         (libc_feresetround, libc_feresetroundf): New.
85836         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85837         (libc_feholdexcept_setround_53bit): Convert from macro to function.
85838         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
85840         * sysdeps/generic/math_private.h: Include <fenv.h>.
85841         (default_libc_feholdexcept): New.
85842         (default_libc_feholdexcept_setround): New.
85843         (default_libc_fesetenv, default_libc_feupdateenv): New.
85844         (libc_feholdexcept): Only define if undefined.
85845         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85846         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85847         (libc_feholdexcept_setroundl): Likewise.
85848         (libc_feholdexcept_setround_53bit): Likewise.
85849         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85850         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85851         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85852         (libc_feupdateenv_53bit): Likewise.
85853         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85854         (libc_feholdexcept): Convert from macro to inline function.
85855         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85856         (libc_fesetenv, libc_feupdateenv): Likewise.
85858         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85859         not previously defined.
85860         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85861         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85862         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85863         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85864         * sysdeps/ieee754/flt-32/math_private.h: New file.
85865         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85866         math_private.h below SET_FLOAT_WORD.
85867         (__isnan, __isinf_ns, __finite): Remove.
85868         (__isnanf, __isinf_nsf, __finitef): Remove.
85870 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
85872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85874 2012-03-17  David S. Miller  <davem@davemloft.net>
85876         [BZ #6471]
85877         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85878         for 2.16.
85880 2012-03-16  David S. Miller  <davem@davemloft.net>
85882         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85883         warnings.
85885         [BZ #6471]
85886         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85887         properly.
85888         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85889         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85890         sysdep_routines when subdir is sysvipc.
85891         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85892         __getshmlba helper.
85894         * sysdeps/sparc/fpu/libm-test/ulps: Update.
85896 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85898         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85899         [__LP64__].
85901 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85903         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85904         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85905         (__lround): Renamed to ...
85906         (__llround): This.  Replace long int with long long int.
85907         Define lround functions as aliases of llround functions.
85908         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85910 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85912         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85913         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
85914         adresses to uintptr_t.  Replace "long int" and "unsigned long
85915         int" with "greg_t" on va_arg.
85917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85919         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85920         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85922         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85923         Move e_machine check before EI_CLASS check.  Handle x32
85924         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85925         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85926         SKIP_EM_IA_64 and include
85927         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85929         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85930         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85931         (add_system_dir): New macro.
85933         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85934         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85936 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85938         [BZ #2551]
85939         [BZ #2552]
85940         [BZ #2553]
85941         [BZ #2554]
85942         [BZ #2562]
85943         [BZ #2563]
85944         [BZ #2565]
85945         [BZ #2566]
85946         [BZ #2576]
85947         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85948         (y0): Likewise.
85949         * math/w_j0f.c (j0f): Likewise.
85950         (y0f): Likewise.
85951         * math/w_j0l.c (__j0l): Likewise.
85952         (__y0l): Likewise.
85953         * math/w_j1.c (j1): Likewise.
85954         (y1): Likewise.
85955         * math/w_j1f.c (j1f): Likewise.
85956         (y1f): Likewise.
85957         * math/w_j1l.c (__j1l): Likewise.
85958         (__y1l): Likewise.
85959         * math/w_jn.c (jn): Likewise.
85960         (yn): Likewise.
85961         * math/w_jnf.c (jnf): Likewise.
85962         (ynf): Likewise.
85963         * math/w_jnl.c (__jnl): Likewise.
85964         (__ynl): Likewise.
85965         * math/libm-test.inc (j0_test): Add more tests.
85966         (j1_test): Likewise.
85967         (jn_test): Likewise.  Add trailing semicolon to existing test.
85968         (y0_test): Likewise.
85969         (y1_test): Likewise.
85970         * sysdeps/i386/fpu/libm-test-ulps: Update.
85971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85973         [BZ #13851]
85974         [BZ #13854]
85975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85976         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85977         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85978         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85979         (__tanl): Set errno for infinite argument.
85980         * sysdeps/i386/fpu/mptan.c: Remove.
85981         * sysdeps/i386/fpu/s_tan.S: Likewise.
85982         * sysdeps/i386/fpu/s_tanl.S: Likewise.
85983         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85984         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85985         * math/libm-test.inc (tan_test): Add more tests and enable more
85986         tests for double and long double.
85987         * sysdeps/i386/fpu/libm-test-ulps: Update.
85988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85990 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
85992         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85993         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85995 2012-03-16  Roland McGrath  <roland@hack.frob.com>
85997         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85998         * configure.in: Use it for both main tree and add-ons.
85999         * configure: Regenerated.
86001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86003         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86005 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86007         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86008         in comment.
86010         [BZ #13851]
86011         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86012         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86013         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86014         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86015         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86016         infinite argument.
86017         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86019         != 0 for prec == 2.
86020         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86021         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86022         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86023         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86024         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86025         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86026         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86027         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86028         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86029         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86030         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86031         * math/libm-test.inc (cos_test): Add more tests and enable more
86032         tests for long double.
86033         (sin_test): Likewise.
86034         (sincos_test): Likewise.
86035         * sysdeps/i386/fpu/libm-test-ulps: Update.
86036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86038 2012-03-16  David S. Miller  <davem@davemloft.net>
86040         * sysdeps/sparc/fpu/math_private.h: New file.
86042 2012-03-15  David S. Miller  <davem@davemloft.net>
86044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86045         file.
86046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86048         file.
86049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86054         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86055         sysdep routines.
86056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86058         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86059         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86061         * sysdeps/sparc/sparc-ifunc.h: New file.
86062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86063         sparc-ifunc.h
86064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86066         Likewise.
86067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86068         Likewise.
86069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86073         Likewise.
86074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86079         Likewise.
86080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86081         Likewise.
86082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86088         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86089         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86100         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86101         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86102         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86103         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86104         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86105         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86107 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86109         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86110         scaling.
86111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86113 2012-03-15  Andreas Jaeger  <aj@suse.de>
86115         [BZ #13852]
86116         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86117         ieee754/flt-32 implementation for sin, cos and sincos.
86118         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86119         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86120         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86121         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86122         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86123         ieee754/flt-32 implementation for tan.
86125         * math/libm-test.inc (cos_test): Enable some large input tests for
86126         float as well
86127         (sin_test): Likewise.
86128         (sincos_test): Likewise.
86129         (tan_test): Add tests for large input.
86131         * sysdeps/i386/fpu/libm-test-ulps: Update.
86133 2012-03-15  Andreas Jaeger  <aj@suse.de>
86135         [BZ #13658]
86136         * math/libm-test.inc (cos_test): Add more test cases.
86137         (sin_test): Likewise.
86138         (sincos_test): Likewise.
86140 2012-03-15  Andreas Jaeger  <aj@suse.de>
86142         [BZ #13837]
86143         * math/libm-test.inc (cos_test): Add a test case for large input
86144         value.
86145         (sin_test): Likewise.
86146         (sincos_test): Likewise.
86148 2012-03-15  Andreas Jaeger  <aj@suse.de>
86149             Joseph Myers  <joseph@codesourcery.com>
86151         [BZ #13658]
86152         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86153         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86154         * sysdeps/i386/fpu/branred.c: Likewise.
86155         * sysdeps/i386/fpu/dosincos.c: Likewise.
86156         * sysdeps/i386/fpu/mpa.c: Likewise.
86157         * sysdeps/i386/fpu/s_cos.S: Likewise.
86158         * sysdeps/i386/fpu/s_sin.S: Likewise.
86159         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86160         * sysdeps/i386/fpu/sincos32.c: Likewise.
86162         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86163         Define.
86164         (libc_feupdateenv_53bit): Define.
86165         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86166         Define.
86167         (libc_feupdateenv_53bit): Define.
86169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86170         53 bit (without extend i386 double precision).
86172         * math/libm-test.inc (sincos_test): Add tests for large input.
86173         (sin): Likewise.
86174         (cos): Likewise.
86176         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86178 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86182 2012-03-15  David S. Miller  <davem@davemloft.net>
86184         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86185         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86186         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86187         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86200         file.
86201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86203         file.
86204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86206         file.
86207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86209         file.
86210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86211         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86212         fmin/fmax sysdep routines.
86213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86215 2012-03-14  David S. Miller  <davem@davemloft.net>
86217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86221         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86222         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86223         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86224         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86232         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86237         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86238         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86239         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86240         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86243         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86244         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86246         routines.
86247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86248         file.
86249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86251         file.
86252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86254         file.
86255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86257         file.
86258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86260         file.
86261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86263         file.
86264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86265         file.
86266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86267         file.
86268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86269         file.
86270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86271         New file.
86272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86273         file.
86274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86275         file.
86276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86278         file.
86279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86281         file.
86282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86284         file.
86285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86287         VIS3 routines.
86289         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86290         New file.
86292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86294         * sysdeps/sparc/configure.in: New file.
86295         * sysdeps/sparc/configure: Generate.
86296         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86297         * configure: Regenerate.
86298         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86299         * config.make.in (have-as-vis3): New.
86300         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86301         available use -Av9d instead of -Av9a.
86302         * sysdeps/sparc/sparc64/Makefile: Likewise.
86303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86305         New file.
86306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86307         file.
86308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86309         New file.
86310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86311         file.
86312         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86313         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86314         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86315         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86316         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86318         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86319         fzeros/fnegs to load 0x80000000 into a float register instead of
86320         using the stack.
86321         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86323 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86326         bits/syscall.h.
86327         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86328         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86329         ($(inst_includedir)/bits/syscall.h): Remove rule.
86330         ($(objpfx)bits/syscall.d): Include instead of
86331         $(objpfx)syscall-list.d.
86332         (generated): Change syscall-list.h and syscall-list.d to
86333         bits/syscall.h and bits/syscall.d.
86335 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86337         [BZ #13846]
86338         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86340 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86342         [BZ #13841]
86343         * math/s_csqrt.c: Include <float.h>.
86344         (__csqrt): Scale large or subnormal inputs.
86345         * math/s_csqrtf.c: Likewise.
86346         * math/s_csqrtl.c: Likewise.
86347         * math/libm-test.inc (csqrt_test): Add more tests.
86348         * sysdeps/i386/fpu/libm-test-ulps: Update.
86349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86351         [BZ #13840]
86352         * math/libm-test.inc (hypot_test): Add more tests.
86354 2012-03-13  David S. Miller  <davem@davemloft.net>
86356         [BZ #13840]
86357         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86358         double-precision for the calculation instead of scaling.
86360 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86362         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86363         manipulate bits before adding and subtracting TWO52[sx].
86364         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86365         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86366         Likewise.
86367         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86369 2012-03-13  David S. Miller  <davem@davemloft.net>
86371         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86372         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86374         rtld-global-offsets.h
86375         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86377         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86378         large parameters.
86380         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86382         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86383         'err' in the ifdef scope in which it is actually used.
86385         * nss/nss_db/db-init.c: Include string.h
86387 2012-03-12  David S. Miller  <davem@davemloft.net>
86389         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86390         masking out of the most significant byte of random value used.
86391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86392         Fix coding style in previous change.
86394         * sysdeps/unix/sysv/linux/kernel-features.h
86395         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86396         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86397         expression.
86398         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86399         later.
86401 2012-03-11  David S. Miller  <davem@davemloft.net>
86403         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86404         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86405         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86406         for 'resultvar' otherwise things get truncated on 64-bit.
86408         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86409         Fix masking out of the most significant byte of random value used.
86411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86413 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86417 2012-03-09  David S. Miller  <davem@davemloft.net>
86419         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86420         variables with appropriate CPP guards.
86421         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86422         from the frame pointer, not the stack pointer.  Correct layout
86423         comments.  Fix test on resulting framesize and the management of
86424         the outregs buffer for pltexit.  Preserve floating point return
86425         values across _dl_call_pltexit call.
86426         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86427         framesize and the management of the outregs buffer for pltexit.
86428         Preserve floating point return values across _dl_call_pltexit
86429         call.
86430         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86431         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86432         (la_sparc64_gnu_pltexit): New functions.
86433         (print_exit): Fix format string for return register value.
86435 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86437         * sunrpc/Makefile (others): Add rpcgen.
86438         ($(objpfx)rpcgen): Remove special build rule and dependency on
86439         libc.
86440         * sunrpc/rpcgen.c: New file.
86442 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86444         [BZ #13673]
86445         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86446         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86447         * sysdeps/i386/crti.S: Likewise.
86448         * sysdeps/i386/crtn.S: Likewise.
86449         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86450         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86451         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86452         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86453         * sysdeps/sh/crti.S: Likewise.
86454         * sysdeps/sh/crtn.S: Likewise.
86455         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86457         [BZ #13673]
86458         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86459         with URL.
86460         * locale/programs/locfile-kw.gperf: Likewise.
86461         * locale/programs/charmap-kw.h: Regenerated.
86462         * locale/programs/locfile-kw.h: Likewise.
86464         [BZ #13673]
86465         * intl/plural.y: Replace FSF snail mail address with URL.
86466         * intl/plural.c: Regenerated.
86468 2012-03-09  Richard Henderson  <rth@twiddle.net>
86470         * include/math_private.h: Remove file.
86471         * math/math_private.h: Move file ...
86472         * sysdeps/generic/math_private.h: ... here.
86474         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86475         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86476         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86478         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86479         and <math_private.h>.
86480         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86481         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86482         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86483         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86484         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86485         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86486         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86488         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86489         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86490         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86491         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86492         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86493         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86494         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86495         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86496         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86497         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86498         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86499         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86501         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86502         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86503         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86504         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86505         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86506         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86507         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86510         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86511         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86512         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86513         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86514         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86515         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86516         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86517         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86518         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86519         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86520         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86521         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86522         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86523         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86524         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86525         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86526         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86527         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86528         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86529         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86530         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86531         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86532         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86533         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86534         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86535         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86536         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86537         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86538         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86539         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86540         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86541         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86543         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86544         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86545         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86546         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86547         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86548         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86549         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86550         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86551         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86552         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86553         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86554         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86555         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86556         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86559         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86560         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86561         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86562         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86564         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86566         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86567         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86568         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86569         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86570         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86571         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86572         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86573         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86574         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86575         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86576         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86577         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86578         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86579         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86580         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86581         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86582         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86583         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86584         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86585         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86586         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86587         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86588         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86590         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86591         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86592         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86593         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86594         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86595         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86596         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86597         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86598         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86599         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86600         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86601         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86602         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86603         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86604         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86605         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86606         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86607         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86608         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86609         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86610         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86611         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86612         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86613         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86614         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86615         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86616         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86617         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86618         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86619         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86620         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86621         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86622         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86623         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86624         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86625         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86626         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86627         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86628         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86629         * sysdeps/ieee754/k_standard.c: Likewise.
86630         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86631         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86632         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86633         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86634         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86635         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86636         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86637         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86638         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86639         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86640         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86641         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86642         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86643         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86644         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86645         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86646         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86647         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86648         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86649         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86650         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86651         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86652         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86653         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86654         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86655         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86656         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86657         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86658         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86659         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86660         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86661         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86662         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86663         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86664         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86665         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86666         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86667         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86668         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86669         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86670         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86671         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86672         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86673         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86674         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86675         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86676         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86677         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86678         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86679         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86680         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86681         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86682         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86683         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86684         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86685         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86686         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86687         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86688         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86689         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86690         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86691         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86692         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86693         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86694         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86695         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86696         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86697         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86698         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86700         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86701         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86702         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86703         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86704         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86706         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86707         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86708         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86709         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86710         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86711         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86712         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86713         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86714         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86715         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86716         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86717         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86718         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86720         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86721         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86722         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86723         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86724         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86725         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86726         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86727         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86728         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86729         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86730         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86731         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86732         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86733         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86734         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86735         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86736         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86737         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86738         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86739         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86740         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86741         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86742         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86743         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86744         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86745         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86746         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86747         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86748         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86749         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86751         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86752         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86753         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86754         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86755         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86756         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86757         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86758         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86759         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86760         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86761         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86762         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86763         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86764         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86765         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86766         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86767         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86768         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86769         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86770         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86771         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86772         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86773         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86774         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86775         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86776         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86777         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86778         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86779         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86780         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86781         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86782         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86783         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86784         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86785         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86786         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86787         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86788         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86789         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86790         * sysdeps/ieee754/s_lib_version.c: Likewise.
86791         * sysdeps/ieee754/s_matherr.c: Likewise.
86792         * sysdeps/ieee754/s_signgam.c: Likewise.
86793         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86794         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86795         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86796         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86797         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86798         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86799         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86800         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86801         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86802         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86803         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86804         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86805         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86806         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86807         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86808         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86809         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86810         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86811         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86812         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86813         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86815 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86817         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86818         * sunrpc/rpc_main.c: Likewise.
86819         * sunrpc/rpc_svcout.c: Likewise.
86821 2012-03-09  David S. Miller  <davem@davemloft.net>
86823         * include/math_private.h: New file.
86825 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86827         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86828         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86829         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86830         from <bits/socket_type.h>.
86831         (enum __socket_type): Don't define here.
86832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86834         bits/socket_type.h.
86836         [BZ #13566]
86837         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86838         checking __USE_GNU.
86840         * Makerules ($(inst_includedir)/%.h): New rule.
86841         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86842         (install-others): Remove variable setting.
86843         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86845 2012-03-08  Richard Henderson  <rth@twiddle.net>
86847         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86848         from macro to inline function; merge with the
86849         !__LIBC_INTERNAL_MATH_INLINES version.
86850         (__ieee754_sqrtf): Likewise.
86852         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86853         to inline function.
86854         (__rintf, __floor, __floorf): Likewise.
86856         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86857         macro to inline function.
86858         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86860         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86861         not <math/math_private.h>.
86863 2012-03-08  David S. Miller  <davem@davemloft.net>
86865         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86866         copyright year.
86867         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86869 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
86871         * resolv/gai_misc.c (handle_requests): Fix struct timespec
86872         normalization.
86873         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86874         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86876 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
86878         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
86879         be defined individually, they must be defined as a block.  Define
86880         S for printing a string instead of hidint the different by using a
86881         macro for adding the 'l'.
86882         * stdio-common/tst-fphex-wide.c: Adjust.
86884 2012-03-07  Marek Polacek  <polacek@redhat.com>
86886         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86888 2012-03-08  Marek Polacek  <polacek@redhat.com>
86890         [BZ #13806]
86891         * stdio-common/Makefile (tests): Add tst-fphex-wide.
86892         * stdio-common/tst-fphex.c: Define a few macros to make the
86893         test reusable.  Use them.
86894         * stdio-common/tst-fphex-wide.c: New file.
86896 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
86898         [BZ #6911]
86899         * manual/macros.texi (gnusystems): New macro.
86900         (nongnusystems): Likewise.
86901         (gnulinuxhurdsystems): Likewise.
86902         (gnuhurdsystems): Likewise..
86903         (gnulinuxsystems): Likewise.
86904         * manual/charset.texi: Use new macros or @theglibc{} to refer to
86905         variants of the GNU system, not "GNU system".
86906         * manual/conf.texi: Likewise.
86907         * manual/errno.texi: Likewise.  Update example of errno macro
86908         expansion.
86909         * manual/filesys.texi: Likewise.
86910         (getumask): Document as specific to GNU/Hurd.
86911         * manual/install.texi: Likewise.  Reword some references to
86912         GNU/Linux.
86913         * manual/intro.texi: Likewise.
86914         * manual/io.texi: Likewise.
86915         (File Name Portability): Detail which constraints are inapplicable
86916         to all GNU systems and which are only inapplicable to GNU/Hurd.
86917         * manual/job.texi: Likewise.
86918         * manual/llio.texi: Likewise.
86919         (O_NOCTTY): Document as present on GNU/Linux.
86920         * manual/maint.texi: Likewise.
86921         * manual/memory.texi: Likewise.
86922         * manual/pattern.texi: Likewise.
86923         * manual/pipe.texi: Likewise.
86924         * manual/process.texi: Likewise.
86925         * manual/resource.texi: Likewise.
86926         (RUSAGE_CHILDREN): Remove statement about specifying a particular
86927         child on GNU/Hurd.
86928         * manual/setjmp.texi: Likewise.
86929         * manual/signal.texi: Likewise.
86930         * manual/startup.texi: Likewise.
86931         * manual/stdio.texi: Likewise.
86932         * manual/terminal.texi: Likewise.
86933         (ONLCR): Document as POSIX.
86934         (OXTABS): Document availability on GNU/Linux as XTABS.
86935         (ONOEOT): Document availability separately from other bits.
86936         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86937         * manual/time.texi: Likewise.
86938         * manual/users.texi: Likewise.
86939         * INSTALL: Regenerated.
86940         * sysdeps/gnu/errlist.c: Regenerated.
86942         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86943         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86944         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
86945         puts.
86946         * configure: Regenerated.
86948 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
86950         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86951         default includes instead of AC_HEADER_CHECK.
86952         * sysdeps/i386/configure: Regenerated.
86954         [BZ #10716]
86955         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86956         * math/s_cacoshf.c (__cacoshf): Likewise.
86957         * math/s_cacoshl.c (__cacoshl): Likewise.
86958         * math/s_casinh.c (__casinh): Set signs of result from argument.
86959         * math/s_casinhf.c (__casinhf): Likewise.
86960         * math/s_casinhl.c (__casinhl): Likewise.
86961         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86962         (casinh_test): Add more tests.
86963         * sysdeps/i386/fpu/libm-test-ulps: Update.
86964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86966 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
86968         * po/zh_TW.po: Update from translation team.
86970         * login/Makefile (distribute): Remove variable.
86971         * catgets/Makefile: Likewise.
86972         * mach/Makefile: Likewise.
86973         * malloc/Makefile: Likewise.
86974         * misc/Makefile: Likewise.
86975         * iconv/Makefile: Likewise.
86976         * nscd/Makefile: Likewise.
86977         * hurd/Makefile: Likewise.
86978         * manual/Makefile: Likewise.
86979         * locale/Makefile: Likewise.
86980         * intl/Makefile: Likewise.
86981         * conform/Makefile: Likewise.
86982         * nss/Makefile: Likewise.
86983         * time/Makefile: Likewise.
86984         * soft-fp/Makefile: Likewise.
86985         * dirent/Makefile: Likewise.
86986         * gmon/Makefile: Likewise.
86987         * po/Makefile: Likewise.
86988         * rt/Makefile: Likewise.
86989         * socket/Makefile: Likewise.
86990         * math/Makefile: Likewise.
86991         * signal/Makefile: Likewise.
86992         * debug/Makefile: Likewise.
86993         * elf/Makefile: Likewise.
86994         * timezone/Makefile: Likewise.
86995         * stdlib/Makefile: Likewise.
86996         * iconvdata/Makefile: Likewise.
86997         * sunrpc/Makefile: Likewise.
86998         * io/Makefile: Likewise.
86999         * argp/Makefile: Likewise.
87000         * inet/Makefile: Likewise.
87001         * hesiod/Makefile: Likewise.
87002         * grp/Makefile: Likewise.
87003         * csu/Makefile: Likewise.
87004         * wctype/Makefile: Likewise.
87005         * crypt/Makefile: Likewise.
87006         * libio/Makefile: Likewise.
87007         * string/Makefile: Likewise.
87008         * nis/Makefile: Likewise.
87009         * resolv/Makefile: Likewise.
87010         * stdio-common/Makefile: Likewise.
87011         * wcsmbs/Makefile: Likewise.
87012         * dlfcn/Makefile: Likewise.
87013         * posix/Makefile: Likewise.
87015         [BZ #6959]
87016         * timezone/Makefile: Don't install timezone files, just the programs
87017         and scripts.
87019 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87021         * nss/databases.def: Add missing gshadow entry.
87023         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87025 2012-03-06  Marek Polacek  <polacek@redhat.com>
87027         [BZ #13726]
87028         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87029         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87030         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87031         * stdio-common/tst-long-dbl-fphex.c: New file.
87033 2012-03-06  David S. Miller  <davem@davemloft.net>
87035         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87036         (set_obp_int): New function.
87037         (get_obp_int): New function.
87038         (__get_clockfreq_via_dev_openprom): Likewise.
87039         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87040         Avoid unused variable warnings on 'val' and use builtin_expect.
87041         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87042         __builtin_expect.
87043         (INLINE_CLONE_SYSCALL): Likewise.
87045 2012-03-05  David S. Miller  <davem@davemloft.net>
87047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87049 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87054         only for |x| >= 40.
87055         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87057 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87059         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87060         Replace gettimeofday with __vdso_gettimeofday.
87062         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87063         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87064         __vdso_clock_gettime and __vdso_getcpu.
87066         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87067         time with __vdso_time.
87069 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87071         * manual/lang.texi (size_t): Note types to which size_t may be
87072         equivalent with the GNU C Library, but do not describe when
87073         differences between them are significant.
87075 2012-03-05  Andreas Jaeger  <aj@suse.de>
87077         * sysdeps/i386/fpu/libm-test-ulps: Update.
87079 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87081         [BZ #3976]
87082         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87083         (__ieee754_pow): Save and restore rounding mode and use
87084         round-to-nearest for main computations.
87085         * math/libm-test.inc (pow_test_tonearest): New function.
87086         (pow_test_towardzero): Likewise.
87087         (pow_test_downward): Likewise.
87088         (pow_test_upward): Likewise.
87089         (main): Call the new functions.
87090         * sysdeps/i386/fpu/libm-test-ulps: Update.
87091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87093         [BZ #3976]
87094         * math/libm-test.inc (cosh_test_tonearest): New function.
87095         (cosh_test_towardzero): Likewise.
87096         (cosh_test_downward): Likewise.
87097         (cosh_test_upward): Likewise.
87098         (sinh_test_tonearest): Likewise.
87099         (sinh_test_towardzero): Likewise.
87100         (sinh_test_downward): Likewise.
87101         (sinh_test_upward): Likewise.
87102         (main): Call the new functions.
87103         * sysdeps/i386/fpu/libm-test-ulps: Update.
87104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87106 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87108         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87109         default stack guard is set in last bytes.
87110         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87112 2012-03-05  Kees Cook  <keescook@chromium.org>
87114         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87116         [BZ #13656]
87117         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87118         possibly allocate from heap instead of stack.
87119         * stdio-common/bug-vfprintf-nargs.c: New file.
87120         * stdio-common/Makefile (tests): Add nargs overflow test.
87122 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87126 2012-03-03  Marek Polacek  <polacek@redhat.com>
87128         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87129         * math/math_private.h: Likewise.
87130         * stdlib/tst-strtod.c: Likewise.
87131         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87132         * sysdeps/x86_64/bits/atomic.h: Likewise.
87134 2012-03-02  David S. Miller  <davem@davemloft.net>
87136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87140         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87141         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87142         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87143         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87145 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87147         [BZ #13792]
87148         * manual/examples/README: New file, says the example source files
87149         can be used under GPL>=2.
87150         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87151         line containing just "*/".
87152         * manual/examples/add.c: Add copyright header (GPL>=2).
87153         * manual/examples/argp-ex1.c: Likewise.
87154         * manual/examples/argp-ex2.c: Likewise.
87155         * manual/examples/argp-ex3.c: Likewise.
87156         * manual/examples/argp-ex4.c: Likewise.
87157         * manual/examples/atexit.c: Likewise.
87158         * manual/examples/db.c: Likewise.
87159         * manual/examples/dir.c: Likewise.
87160         * manual/examples/dir2.c: Likewise.
87161         * manual/examples/execinfo.c: Likewise.
87162         * manual/examples/filecli.c: Likewise.
87163         * manual/examples/filesrv.c: Likewise.
87164         * manual/examples/fmtmsgexpl.c: Likewise.
87165         * manual/examples/genpass.c: Likewise.
87166         * manual/examples/inetcli.c: Likewise.
87167         * manual/examples/inetsrv.c: Likewise.
87168         * manual/examples/isockad.c: Likewise.
87169         * manual/examples/longopt.c: Likewise.
87170         * manual/examples/memopen.c: Likewise.
87171         * manual/examples/memstrm.c: Likewise.
87172         * manual/examples/mkfsock.c: Likewise.
87173         * manual/examples/mkisock.c: Likewise.
87174         * manual/examples/mygetpass.c: Likewise.
87175         * manual/examples/pipe.c: Likewise.
87176         * manual/examples/popen.c: Likewise.
87177         * manual/examples/rprintf.c: Likewise.
87178         * manual/examples/search.c: Likewise.
87179         * manual/examples/select.c: Likewise.
87180         * manual/examples/setjmp.c: Likewise.
87181         * manual/examples/sigh1.c: Likewise.
87182         * manual/examples/sigusr.c: Likewise.
87183         * manual/examples/stpcpy.c: Likewise.
87184         * manual/examples/strdupa.c: Likewise.
87185         * manual/examples/strftim.c: Likewise.
87186         * manual/examples/strncat.c: Likewise.
87187         * manual/examples/subopt.c: Likewise.
87188         * manual/examples/swapcontext.c: Likewise.
87189         * manual/examples/termios.c: Likewise.
87190         * manual/examples/testopt.c: Likewise.
87191         * manual/examples/testpass.c: Likewise.
87192         * manual/examples/timeval_subtract.c: Likewise.
87194         [BZ #13792]
87195         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87196         function to ...
87197         * manual/timeval_subtract.c.texi: ... here, new file.
87199 2012-03-02  David S. Miller  <davem@davemloft.net>
87201         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87203 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87205         [BZ #3976]
87206         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87207         (__sin): Save and restore rounding mode and use round-to-nearest
87208         for all computations.
87209         (__cos): Save and restore rounding mode and use round-to-nearest
87210         for all computations.
87211         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87212         <fenv.h>.
87213         (tan): Save and restore rounding mode and use round-to-nearest for
87214         all computations.
87215         * math/libm-test.inc (cos_test_tonearest): New function.
87216         (cos_test_towardzero): Likewise.
87217         (cos_test_downward): Likewise.
87218         (cos_test_upward): Likewise.
87219         (sin_test_tonearest): Likewise.
87220         (sin_test_towardzero): Likewise.
87221         (sin_test_downward): Likewise.
87222         (sin_test_upward): Likewise.
87223         (tan_test_tonearest): Likewise.
87224         (tan_test_towardzero): Likewise.
87225         (tan_test_downward): Likewise.
87226         (tan_test_upward): Likewise.
87227         (main): Call the new functions.
87228         * sysdeps/i386/fpu/libm-test-ulps: Update.
87229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87231         [BZ #10135]
87232         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87233         small n, then large n, before computing and testing k+n.
87234         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87236         Likewise.
87237         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87238         Likewise.
87239         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87240         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87241         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87242         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87243         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87244         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87245         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87246         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87247         * math/libm-test.inc (scalbn_test): Add more tests.
87248         (scalbln_test): Likewise.
87250         * manual/filesys.texi (mode_t): Describe constraints on size and
87251         signedness, not exact equivalence to a particular type.
87252         (ino_t): Likewise.
87253         (ino64_t): Likewise.
87254         (dev_t): Likewise.
87255         (nlink_t): Likewise.
87256         (blkcnt_t): Likewise.
87257         (blkcnt64_t): Likewise.
87258         * manual/llio.texi (off_t): Likewise.
87260         [BZ #3976]
87261         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87262         (__ieee754_exp): Save and restore rounding mode and use
87263         round-to-nearest for all computations.
87264         * math/libm-test.inc (exp_test_tonearest): New function.
87265         (exp_test_towardzero): Likewise.
87266         (exp_test_downward): Likewise.
87267         (exp_test_upward): Likewise.
87268         (main): Call the new functions.
87269         * sysdeps/i386/fpu/libm-test-ulps: Update.
87270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87272 2012-03-01  Chris Demetriou  <cgd@google.com>
87274         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87275         have predictable order.
87277 2012-03-01  David S. Miller  <davem@davemloft.net>
87279         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87281         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87282         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87283         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87284         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87286         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87287         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87288         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87290         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87291         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87292         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87293         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87294         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87298         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87299         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87300         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87302         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87303         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87304         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87305         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87306         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87307         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87308         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87309         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87310         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87311         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87312         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87313         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87315         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87316         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87318         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87319         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87320         * sysdeps/sparc/elf/configure: Regenerated.
87322 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87324         * configure.in (AS, LD): Require binutils 2.20 or later.
87325         * configure: Regenerated.
87326         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87327         as required minimum version.
87328         * INSTALL: Regenerated.
87330         [BZ #2541]
87331         [BZ #4108]
87332         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87333         before squaring exponent.
87334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87335         bottom long double and 27 bits of top long double before squaring
87336         exponent.
87337         * math/libm-test.inc (erfc_test): Add more tests.
87338         * sysdeps/i386/fpu/libm-test-ulps: Update.
87339         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87342 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87344         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87345         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87346         containing bit-fields.
87347         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87348         * soft-fp/single.h (_FP_UNION_S): Likewise.
87349         * soft-fp/double.h (_FP_UNION_D): Likewise.
87351 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87353         [BZ #13786]
87354         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87355         not include ../strcmp.S.
87356         [USE_AS_STRNCASECMP_L]: Likewise.
87357         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87358         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87359         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87360         (__strncasecmp_l_ia32): Define as alias to
87361         __strncasecmp_l_nonascii.
87363         [BZ #5794]
87364         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87365         * sysdeps/i386/fpu/libm-test-ulps: Update.
87366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87368         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87371 2012-02-29  Jeff Law  <law@redhat.com>
87373         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87374         out of bounds read.
87376 2012-02-29  Marek Polacek  <polacek@redhat.com>
87378         [BZ #13706]
87379         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87380         * elf/Makefile: Add rules to run tst-unused-dep.out.
87382 2012-02-28  David S. Miller  <davem@davemloft.net>
87384         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87385         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87386         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87387         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87388         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87389         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87391 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87393         * math/libm-test.inc (llround_test): Move one test from
87394         lround_test.  Use TEST_f_L in moved test.
87395         (lround_test): Move misplaced test to llround_test.  Add testcase
87396         from bug 2561.
87398 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87400         * sysdeps/x86_64/fpu/e_expf.S: New file.
87401         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87403 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87405         [BZ #13637]
87406         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87407         of remain_len that may cause incomplete multi-byte character and
87408         false match.
87409         * posix/bug-regex33.c: New file.
87410         * posix/Makefile (tests): Add bug-regex33.
87412 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87414         * manual/macros.texi: New file.
87415         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87416         * manual/libc.texinfo: Include macros.texi.
87417         * manual/creatute.texi: Likewise.
87418         * manual/install.texi: Likewise.
87419         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87420         @glibcadj{} in references to the GNU C Library.
87421         * manual/charset.texi: Likewise.
87422         * manual/conf.texi: Likewise.
87423         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87424         when not using those macros.
87425         * manual/creature.texi: Likewise.
87426         * manual/crypt.texi: Likewise.
87427         * manual/errno.texi: Likewise.
87428         * manual/filesys.texi: Likewise.
87429         * manual/header.texi: Likewise.
87430         * manual/install.texi: Likewise.
87431         * manual/intro.texi: Likewise.
87432         * manual/io.texi: Likewise.
87433         * manual/job.texi: Likewise.
87434         * manual/lang.texi: Likewise.
87435         * manual/libc.texiinfo: Likewise.
87436         * manual/llio.texi: Likewise.
87437         * manual/locale.texi: Likewise.
87438         * manual/maint.texi: Likewise.
87439         * manual/math.texi: Likewise.
87440         * manual/memory.texi: Likewise.
87441         * manual/message.texi: Likewise.
87442         * manual/nss.texi: Likewise.
87443         * manual/pattern.texi: Likewise.
87444         * manual/process.texi: Likewise.
87445         * manual/resource.texi: Likewise.
87446         * manual/search.texi: Likewise.
87447         * manual/setjmp.texi: Likewise.
87448         * manual/signal.texi: Likewise.
87449         * manual/socket.texi: Likewise.
87450         * manual/startup.texi: Likewise.
87451         * manual/stdio.texi: Likewise.
87452         * manual/string.texi: Likewise.
87453         * manual/sysinfo.texi: Likewise.
87454         * manual/syslog.texi: Likewise.
87455         * manual/terminal.texi: Likewise.
87456         * manual/time.texi: Likewise.
87457         * manual/users.texi: Likewise.
87458         * INSTALL: Regenerated.
87459         * NOTES: Regenerated.
87460         * sysdeps/gnu/errlist.c: Regenerated.
87462 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87464         * include/dirent.h: Include <dirstream.h> before
87465         <dirent/dirent.h>.
87467 2012-02-28  David S. Miller  <davem@davemloft.net>
87469         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87470         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87471         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87472         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87474 2012-02-27  David S. Miller  <davem@davemloft.net>
87476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87478         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87479         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87482         frame pointer instead of stack pointer relative arg slot.
87483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87484         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87485         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87487 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87489         [BZ #3992]
87490         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87492 2012-02-27  David S. Miller  <davem@davemloft.net>
87494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87498         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87499         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87500         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87501         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87503 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87505         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87506         later.  Allow versions 5-9.
87507         * configure: Regenerated.
87508         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87509         required minimum version and 4.6 as recommended version.  Do not
87510         mention bugs in GCC 2.7 and 2.8.
87511         * INSTALL: Regenerated.
87513 2012-02-27  David S. Miller  <davem@davemloft.net>
87515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87519         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87520         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87521         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87522         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87524         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87525         manipulate bits before adding and subtracting TWO112[sx].
87526         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87528 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87530         [BZ #13775]
87531         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87532         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87533         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87534         being in POSIX, because they are in 1003.1-2008.
87536         * rt/tst-aio.c: Include <fcntl.h>.
87537         * rt/tst-aio7.c: Likewise.
87538         * rt/tst-aio64.c: Likewise.
87540         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87542 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87544         * manual/install.texi (--with-headers): Describe headers as
87545         interface headers, not private headers.
87546         (Specific advice for GNU/Linux systems): Describe use of headers
87547         from "make headers_install", not private headers from older
87548         kernels.
87549         * INSTALL: Regenerated.
87550         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87551         Change to 2.6.19.
87552         * sysdeps/unix/sysv/linux/configure: Regenerated.
87554         * manual/llio.texi (fclean): Remove documentation.
87556         * manual/Makefile (libc-texi-generated): New variable.  Include
87557         version.texi.
87558         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87559         $(libc-texi-generated), not duplicated list of files.
87560         (version.texi, stamp-version): New rules.
87561         (realclean): Remove $(libc-texi-generated), not individual files
87562         from that list.  Do not remove dir-add.texinfo.
87563         * manual/libc.texinfo: Comment out uses of edition numbers and
87564         references to printed manual.  Remove last-updated dates.
87565         (EDITION): Comment out.
87566         (ISBN): Likewise.
87567         (VERSION, UPDATED): Remove.
87568         (version.texi): Include.
87570 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87572         * sysdeps/posix/spawni.c: Include <signal.h>.
87573         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87574         * sysdeps/pthread/aio_fsync.c: Likewise.
87576 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87578         * conform/Makefile (tests): Run only when not cross-compiling and
87579         when fast-check is not defined.
87581         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87582         * conform/data/limits.h-data: Fixes for POSIX2008.
87583         * conform/run-conformtest.sh: Run all tests.
87584         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87585         headers.
87586         * include/bits/dlfcn.h: Likewise.
87587         * include/langinfo.h: Likewise.
87588         * include/monetary.h: Likewise.
87589         * include/sys/poll.h: Likewise.
87591         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87592         for __USE_GNU.
87593         * posix/spawn.h: Define __need_sigset_t.
87594         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87595         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87596         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87597         to get sigevent_t only.
87598         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87599         only for __USE_GNU.
87600         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87601         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87602         process_vm_writev only for __USE_GNU.
87603         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87605         * conform/Makefile: For now ignore errors from run-conformtest.
87606         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87607         POSIX to avoid namespace pollution.  Don't prepend headers.
87608         * conform/data/aio.h-data: Fixes for POSIX testing.
87609         * conform/data/fcntl.h-data: Likewise.
87610         * conform/data/glob.h-data: Likewise.
87611         * conform/data/grp.h-data: Likewise.
87612         * conform/data/pthread.h-data: Likewise.
87613         * conform/data/pwd.h-data: Likewise.
87614         * conform/data/signal.h-data: Likewise.
87615         * conform/data/spawn.h-data: Likewise.
87616         * conform/data/stdio.h-data: Likewise.
87617         * conform/data/stdlib.h-data: Likewise.
87618         * conform/data/stropts.h-data: Likewise.
87619         * conform/data/sys/mman.h-data: Likewise.
87620         * conform/data/sys/stat.h-data: Likewise.
87621         * conform/data/sys/types.h-data: Likewise.
87622         * conform/data/sys/wait.h-data: Likewise.
87623         * conform/data/time.h-data: Likewise.
87624         * conform/data/unistd.h-data: Likewise.
87625         * conform/data/utime.h-data: Likewise.
87627         * io/sys/stat.h: fchmod was always in POSIX.
87628         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87629         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87630         * rt/aio.h: Define __need_timespec before including <time.h>.
87631         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87632         struct.  Add forward declaration of pthread_attr_t and use it in
87633         sigevent.
87634         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87636         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87637         always remove CLK_TCK definition.
87639 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87641         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87643 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87645         * conform/run-conformtest.sh: New file.
87646         * conform/Makefile: Run run-conformtest for tests.
87647         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87648         support.
87650         * conform/data/uchar.h-data: New file.
87651         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87652         * conform/data/arpa/inet.h-data: Likewise.
87653         * conform/data/assert.h-data: Likewise.
87654         * conform/data/complex.h-data: Likewise.
87655         * conform/data/cpio.h-data: Likewise.
87656         * conform/data/ctype.h-data: Likewise.
87657         * conform/data/dirent.h-data: Likewise.
87658         * conform/data/dlfcn.h-data: Likewise.
87659         * conform/data/errno.h-data: Likewise.
87660         * conform/data/fcntl.h-data: Likewise.
87661         * conform/data/float.h-data: Likewise.
87662         * conform/data/fmtmsg.h-data: Likewise.
87663         * conform/data/fnmatch.h-data: Likewise.
87664         * conform/data/ftw.h-data: Likewise.
87665         * conform/data/glob.h-data: Likewise.
87666         * conform/data/grp.h-data: Likewise.
87667         * conform/data/iconv.h-data: Likewise.
87668         * conform/data/inttypes.h-data: Likewise.
87669         * conform/data/langinfo.h-data: Likewise.
87670         * conform/data/libgen.h-data: Likewise.
87671         * conform/data/limits.h-data: Likewise.
87672         * conform/data/locale.h-data: Likewise.
87673         * conform/data/math.h-data: Likewise.
87674         * conform/data/monetary.h-data: Likewise.
87675         * conform/data/mqueue.h-data: Likewise.
87676         * conform/data/ndbm.h-data: Likewise.
87677         * conform/data/net/if.h-data: Likewise.
87678         * conform/data/netdb.h-data: Likewise.
87679         * conform/data/netinet/in.h-data: Likewise.
87680         * conform/data/nl_types.h-data: Likewise.
87681         * conform/data/poll.h-data: Likewise.
87682         * conform/data/pthread.h-data: Likewise.
87683         * conform/data/pwd.h-data: Likewise.
87684         * conform/data/regex.h-data: Likewise.
87685         * conform/data/sched.h-data: Likewise.
87686         * conform/data/search.h-data: Likewise.
87687         * conform/data/semaphore.h-data: Likewise.
87688         * conform/data/setjmp.h-data: Likewise.
87689         * conform/data/signal.h-data: Likewise.
87690         * conform/data/spawn.h-data: Likewise.
87691         * conform/data/stdarg.h-data: Likewise.
87692         * conform/data/stdio.h-data: Likewise.
87693         * conform/data/stdlib.h-data: Likewise.
87694         * conform/data/string.h-data: Likewise.
87695         * conform/data/strings.h-data: Likewise.
87696         * conform/data/stropts.h-data: Likewise.
87697         * conform/data/sys/ipc.h-data: Likewise.
87698         * conform/data/sys/mman.h-data: Likewise.
87699         * conform/data/sys/msg.h-data: Likewise.
87700         * conform/data/sys/resource.h-data: Likewise.
87701         * conform/data/sys/select.h-data: Likewise.
87702         * conform/data/sys/sem.h-data: Likewise.
87703         * conform/data/sys/shm.h-data: Likewise.
87704         * conform/data/sys/socket.h-data: Likewise.
87705         * conform/data/sys/stat.h-data: Likewise.
87706         * conform/data/sys/statvfs.h-data: Likewise.
87707         * conform/data/sys/time.h-data: Likewise.
87708         * conform/data/sys/timeb.h-data: Likewise.
87709         * conform/data/sys/times.h-data: Likewise.
87710         * conform/data/sys/types.h-data: Likewise.
87711         * conform/data/sys/uio.h-data: Likewise.
87712         * conform/data/sys/un.h-data: Likewise.
87713         * conform/data/sys/utsname.h-data: Likewise.
87714         * conform/data/sys/wait.h-data: Likewise.
87715         * conform/data/syslog.h-data: Likewise.
87716         * conform/data/tar.h-data: Likewise.
87717         * conform/data/termios.h-data: Likewise.
87718         * conform/data/utime.h-data: Likewise.
87719         * conform/data/utmpx.h-data: Likewise.
87720         * conform/data/varargs.h-data: Likewise.
87721         * conform/data/wchar.h-data: Likewise.
87722         * conform/data/wctype.h-data: Likewise.
87723         * conform/data/wordexp.h-data: Likewise.
87725         * include/stropts.h: New file.
87726         * include/uchar.h: New file.
87727         * include/aio.h: Changes to allow conformtest.pl to use the headers.
87728         * include/assert.h: Likewise.
87729         * include/ctype.h: Likewise.
87730         * include/dirent.h: Likewise.
87731         * include/dlfcn.h: Likewise.
87732         * include/fcntl.h: Likewise.
87733         * include/fnmatch.h: Likewise.
87734         * include/glob.h: Likewise.
87735         * include/grp.h: Likewise.
87736         * include/libio.h: Likewise.
87737         * include/locale.h: Likewise.
87738         * include/math.h: Likewise.
87739         * include/net/if.h: Likewise.
87740         * include/netdb.h: Likewise.
87741         * include/netinet/in.h: Likewise.
87742         * include/pthread.h: Likewise.
87743         * include/pwd.h: Likewise.
87744         * include/regex.h: Likewise.
87745         * include/sched.h: Likewise.
87746         * include/search.h: Likewise.
87747         * include/setjmp.h: Likewise.
87748         * include/signal.h: Likewise.
87749         * include/stdio.h: Likewise.
87750         * include/stdlib.h: Likewise.
87751         * include/string.h: Likewise.
87752         * include/sys/cdefs.h: Likewise.
87753         * include/sys/mman.h: Likewise.
87754         * include/sys/msg.h: Likewise.
87755         * include/sys/resource.h: Likewise.
87756         * include/sys/select.h: Likewise.
87757         * include/sys/socket.h: Likewise.
87758         * include/sys/stat.h: Likewise.
87759         * include/sys/statvfs.h: Likewise.
87760         * include/sys/time.h: Likewise.
87761         * include/sys/times.h: Likewise.
87762         * include/sys/uio.h: Likewise.
87763         * include/sys/utsname.h: Likewise.
87764         * include/sys/wait.h: Likewise.
87765         * include/termios.h: Likewise.
87766         * include/time.h: Likewise.
87767         * include/ulimit.h: Likewise.
87768         * include/unistd.h: Likewise.
87769         * include/utime.h: Likewise.
87770         * include/wchar.h: Likewise.
87771         * include/wctype.h: Likewise.
87772         * include/wordexp.h: Likewise.
87774         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87776         * time/time.h: TIME_UTC must be a macro.
87777         Make timespec_get available for ISO C11 only as well.
87779 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
87781         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87782         Reported by Peng Haitao <penght@cn.fujitsu.com>.
87784 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87786         * configure.in: Use -o not -a in test for unsupported multi-arch.
87788 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87790         * manual/texinfo.tex: Update to version 2012-01-19.16.
87792 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87794         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87796 2012-02-24  Roland McGrath  <roland@hack.frob.com>
87798         [BZ #13738]
87799         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87800         * manual/fdl-1.3.texi: New file.
87801         * manual/fdl-1.1.texi: File removed.
87803         [BZ #13738]
87804         * manual/libc.texinfo (FDL_VERSION): New @set.
87805         Use it for mention of FDL in cover text.
87806         (Documentation License): Use it in @include file name.
87808 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87809             Roland McGrath  <roland@hack.frob.com>
87811         [BZ #5461]
87812         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87813         (not LONG_LONG_MAX and LONG_LONG_MIN.
87814         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87815         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
87816         name.
87817         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87819 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87821         [BZ #2547]
87822         [BZ #11365]
87823         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87824         manipulate bits before adding and subtracting TWO23[sx].
87825         * math/libm-test.inc (nearbyint_test): Add more tests.
87827 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87829         [BZ #2548]
87830         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87831         bits before adding and subtracting TWO23[sx].
87832         * math/libm-test.inc (rint_test): Add more tests.
87833         (rint_test_tonearest): Likewise.
87834         (rint_test_towardzero): Likewise.
87835         (rint_test_downward): Likewise.
87836         (rint_test_upward: Likewise.
87838 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87840         [BZ #10110]
87841         * include/stdc-predef.h: New file.  Extracted from features.h.
87842         * include/features.h: Include stdc-predef.h.
87843         * Makefile (headers): Add stdc-predef.h.
87844         * CONFORMANCE (Compiler limitations): Update.
87846 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87848         * manual/libc.texinfo (VERSION, UPDATED): Revert.
87850 2012-02-21  David S. Miller  <davem@davemloft.net>
87852         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87853         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87855 2012-02-20  David S. Miller  <davem@davemloft.net>
87857         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87858         using a normal save/restore sequence, rather than allocating a
87859         dummy stack frame just to store a frame pointer and restore.
87860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87862 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87864         * manual/install.texi: Fix stray word in line-wrapped comment.
87866 2012-02-20  David S. Miller  <davem@davemloft.net>
87868         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87869         both binutils and gcc support GOTDATA.
87871         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87872         "rd %pc" in the PIC register setup sequences.
87874         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87875         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87876         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87877         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87878         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87880         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87881         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87882         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87883         (SYSCALL_ERROR_HANDLER): Likewise.
87884         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87885         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87887         (SYSCALL_ERROR_HANDLER): Likewise.
87889         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87890         (HAVE_GCC_GOTDATA): New.
87891         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87892         relocation support in both binutils and gcc.
87893         * sysdeps/sparc/elf/configure: Regenerate.
87895         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87896         * sysdeps/sparc/sparc32/elf/configure: Delete.
87897         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87898         * sysdeps/sparc/sparc64/elf/configure: Delete.
87899         * sysdeps/sparc/elf/configure.in: New file.
87900         * sysdeps/sparc/elf/configure: Generate.
87902         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87903         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87904         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87905         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87906         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87908 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87910         * manual/install.texi: Do not mention specific glibc version
87911         numbers.
87912         * manual/libc.texinfo (VERSION, UPDATED): Update.
87913         (@copying): Use @copyright{} and range of years.
87915 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87917         [BZ #13695]
87918         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87919         [crti.S not in sysdirs] (generated): Do not append.
87920         [crti.S not in sysdirs] (omit-deps): Likewise.
87921         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87922         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87923         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87924         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87925         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87926         Likewise.
87927         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87928         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87929         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87930         * csu/defs.awk: Remove file.
87931         * sysdeps/generic/initfini.c: Likewise.
87932         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87933         variable.
87934         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87935         Likewise.
87937 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87939         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87940         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87941         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87942         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87943         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87944         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87945         <bits/epoll.h>.
87946         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87947         (__EPOLL_PACKED): Define to empty if not defined by
87948         <bits/epoll.h>.
87949         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87951         bits/epoll.h.
87953 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87955         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87956         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87957         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87958         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87959         <bits/timerfd.h>.
87960         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87961         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87962         bits/timerfd.h.
87964 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87966         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87967         in C locale.
87968         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87969         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87970         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87973 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
87975         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87976         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87978 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
87980         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87981         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87982         defined.
87983         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87984         Likewise.
87985         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87986         entry for 2.16.
87988 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
87990         * math/w_acos.c: Use non-signaling floating-point comparisons.
87991         * math/w_acosf.c: Likewise.
87992         * math/w_acosh.c: Likewise.
87993         * math/w_acoshf.c: Likewise.
87994         * math/w_acoshl.c: Likewise.
87995         * math/w_acosl.c: Likewise.
87996         * math/w_asin.c: Likewise.
87997         * math/w_asinf.c: Likewise.
87998         * math/w_asinl.c: Likewise.
87999         * math/w_atanh.c: Likewise.
88000         * math/w_atanhf.c: Likewise.
88001         * math/w_atanhl.c: Likewise.
88002         * math/w_exp2.c: Likewise.
88003         * math/w_exp2f.c: Likewise.
88004         * math/w_exp2l.c: Likewise.
88005         * math/w_j0.c: Likewise.
88006         * math/w_j0f.c: Likewise.
88007         * math/w_j0l.c: Likewise.
88008         * math/w_j1.c: Likewise.
88009         * math/w_j1f.c: Likewise.
88010         * math/w_j1l.c: Likewise.
88011         * math/w_jn.c: Likewise.
88012         * math/w_jnf.c: Likewise.
88013         * math/w_log.c: Likewise.
88014         * math/w_log10.c: Likewise.
88015         * math/w_log10f.c: Likewise.
88016         * math/w_log10l.c: Likewise.
88017         * math/w_log2.c: Likewise.
88018         * math/w_log2f.c: Likewise.
88019         * math/w_log2l.c: Likewise.
88020         * math/w_logf.c: Likewise.
88021         * math/w_logl.c: Likewise.
88022         * math/w_sqrt.c: Likewise.
88023         * math/w_sqrtf.c: Likewise.
88024         * math/w_sqrtl.c: Likewise.
88025         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88026         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88027         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88028         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88029         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88031 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88033         [BZ #9739]
88034         * manual/string.texi (strnlen): Use correct parameter name in
88035         equivalent expression.
88037 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88039         [BZ #11174]
88040         * manual/users.texi (seteuid): Consistently use neweuid for
88041         argument name.
88043 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88045         [BZ #13704]
88046         * manual/nss.texi (Services in the NSS configuration): Correct
88047         list of services in example configuration file.
88049 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88051         [BZ #11322]
88052         * manual/arith.texi: Remove statements about negative zero
88053         behaving identically to zero.
88055 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88057         [BZ #5993]
88058         * manual/install.texi: Do not document upgrading from libc5.
88060 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88062         [BZ #4596]
88063         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88065 2012-02-18  David S. Miller  <davem@davemloft.net>
88067         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88068         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88069         %o7 across the call.
88070         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88071         instead.
88072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88073         SETUP_PIC_REG_LEAF.
88074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88075         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88076         * sysdeps/sparc/crtn.S: Likewise.
88078 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88080         * aout/Makefile: Remove.
88082 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88084         [BZ #13058]
88085         * manual/examples/argp-ex1.c (main): Format definition in GNU
88086         style.
88087         * manual/examples/argp-ex2.c (main): Likewise.
88088         * manual/examples/argp-ex3.c (main): Likewise.
88089         * manual/examples/argp-ex4.c (main): Likewise.
88090         * manual/examples/longopt.c (main): Use new-style prototype
88091         definition.
88092         * manual/examples/strncat.c (main): Specify return type and use
88093         (void) for arguments.
88094         * manual/examples/subopt.c (main): Use char **argv argument.
88096 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88098         [BZ #5077]
88099         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88100         rounding modes.
88102 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88104         [BZ #6907]
88105         * manual/string.texi (strchr): Change when strchrnul is
88106         recommended.
88108 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88110         [BZ #174]
88111         * manual/locale.texi (setlocale): Document LOCPATH.
88113 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88115         [BZ #10210]
88116         * manual/process.texi (execle): Move @dots{} before last argument.
88118 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88120         [BZ #12047]
88121         * manual/charset.texi (Generic Charset Conversion): Fix typo
88122         (LC_TYPE -> LC_CTYPE).
88124 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88126         [BZ #5805]
88127         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88128         (scalbnf): Likewise.
88129         (scalbnl): Likewise.
88130         (scalbln): Likewise.
88131         (scalblnf): Likewise.
88132         (scalblnl): Likewise.
88133         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88134         (vwarnx): Likewise.
88135         (verr): Likewise.
88136         (verrx): Likewise.
88137         * manual/filesys.texi (telldir): Use braces around return type.
88138         * manual/llio.texi (mmap): Add space after comma.
88139         (mmap64): Likewise.
88140         * manual/math.texi (jn): Use @var{} on parameter names.
88141         (jnf): Likewise.
88142         (jnl): Likewise.
88143         (yn): Likewise.
88144         (ynf): Likewise.
88145         (ynl): Likewise.
88146         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88147         line.
88148         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88149         "...".
88150         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88151         (sched_get_priority_max): Likewise.
88152         * manual/signal.texi (sigvec): Add space after comma.
88153         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88154         names.
88155         (if_indextoname): Likewise.
88156         (if_freenameindex): Likewise.
88157         (sendto): Use ',' instead of '.' in prototype.
88158         * manual/startup.texi (syscall): Use @dots{} instead of literal
88159         "...".
88160         * manual/stdio.texi (__fpending): Separate initial words of
88161         paragraph from @deftypefun line.
88162         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88163         "...".
88164         (vsyslog): Use @var{} on parameter names.
88165         * manual/terminal.texi (stty): Use @var{} on parameter names.
88166         * manual/users.texi (getutmp): Use @var{} on parameter names.
88167         (getutmpx): Likewise.
88169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88171         [BZ #6884]
88172         * manual/stdio.texi (fopen): Fix typos in description of
88173         ",ccs=STRING".
88175 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88177         [BZ #4026]
88178         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88179         get clock_id definition.
88181 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88183         [BZ #4822]
88184         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88185         (madvise): Cast every argument to void on its own.
88187 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88189         [BZ #9902]
88190         * manual/startup.texi (Exit Status): Fix typo.
88192 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88194         [BZ #10140]
88195         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88196         * manual/examples/argp-ex2.c: Likewise.
88197         * manual/examples/argp-ex3.c: Likewise.
88199 2012-02-16  Richard Henderson  <rth@redhat.com>
88201         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88202         * sysdeps/s390/s390-32/initfini.c: Remove.
88203         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88204         * sysdeps/s390/s390-64/initfini.c: Remove.
88206 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88208         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88209         compiler output for sysdeps/generic/initfini.c.
88210         * sysdeps/sh/elf/initfini.c: Remove file.
88212 2012-02-16  David S. Miller  <davem@davemloft.net>
88214         [BZ #11494]
88215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88217         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88218         * sysdeps/sparc/crti.S: New file.
88219         * sysdeps/sparc/crtn.S: New file.
88220         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88221         * sysdeps/sparc/sparc64/Makefile: Likewise.
88223 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88225         [BZ #3335]
88226         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88228 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88230         [BZ #4822]
88231         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88233         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88234         (write, read, close): Likewise.
88235         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88237 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88239         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88240         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88241         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88242         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88243         <bits/signalfd.h>.
88244         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88246         bits/signalfd.h.
88248 2012-02-14  Marek Polacek  <polacek@redhat.com>
88250         * sysdeps/x86_64/crti.S: New file.
88251         * sysdeps/x86_64/crtn.S: New file.
88252         * sysdeps/x86_64/elf/initfini.c: Remove file.
88254 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88256         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88257         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88258         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88259         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88260         <bits/inotify.h>.
88261         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88263         bits/inotify.h.
88265 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88267         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88268         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88269         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88270         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88271         <bits/eventfd.h>.
88272         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88274         bits/eventfd.h.
88276 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88278         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88279         __feraiseexcept instead of feraiseexcept.
88281         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88282         nanosleep invocations.
88283         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88284         strings, and add error checking for a nanosleep invocations.
88286 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88288         Replace FSF snail mail address with URLs, as per GNU coding standards.
88289         Most of the snail mail addresses were wrong anyway, and omitting
88290         them makes the source code easier to maintain.  Almost all of the
88291         changes are to license notices and to locale LC_IDENTIFICATION
88292         addresses, except for this one:
88293         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88294         not its snail mail address.
88296 2012-02-09  Richard Henderson  <rth@twiddle.net>
88298         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88299         of kernel-features.h.
88301         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88303 2012-02-08  Marek Polacek  <polacek@redhat.com>
88305         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88306         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88307         * sysdeps/gnu/_G_config.h: Likewise.
88308         * sysdeps/generic/_G_config.h: Likewise.
88310 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88312         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88313         tests.
88314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88316         * sysdeps/powerpc/powerpc32/crti.S: New file.
88317         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88318         * sysdeps/powerpc/powerpc64/crti.S: New file.
88319         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88321         * Makeconfig (have-initfini): Don't set.
88322         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88323         * configure.in (nopic_initfini): Don't substitute.
88324         * config.h.in (HAVE_INITFINI): Don't #undef.
88325         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88326         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88328 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88330         Support crti.S and crtn.S provided directly by architectures.
88331         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88332         [crti.S in sysdirs] (omit-deps): Likewise.
88333         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88334         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88335         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88336         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88337         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88338         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88339         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88340         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88341         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88342         compiler output for sysdeps/generic/initfini.c.
88343         * sysdeps/i386/elf/Makefile: Remove file.
88344         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88346 2012-02-07  Marek Polacek  <polacek@redhat.com>
88348         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88349         * sysdeps/gnu/_G_config.h: Likewise.
88350         * sysdeps/mach/hurd/_G_config.h: Likewise.
88352 2012-02-07  Marek Polacek  <polacek@redhat.com>
88354         * math/Makefile (tests): Add tst-CMPLX2.
88355         * math/tst-CMPLX2.c: New file.
88357 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88359         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88361         * math/libm-test.inc (jn_test): Add missing L suffix.
88363 2012-02-06  Marek Polacek  <polacek@redhat.com>
88365         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88366         * sysdeps/i386/fpu/e_powf.S: Likewise.
88367         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88368         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88369         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88370         * sysdeps/i386/fpu/e_pow.S: Likewise.
88371         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88372         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88373         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88374         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88375         * sysdeps/i386/fpu/e_log2.S: Likewise.
88376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88377         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88378         * sysdeps/i386/fpu/e_powl.S: Likewise.
88379         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88380         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88381         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88382         * sysdeps/i386/fpu/e_logl.S: Likewise.
88383         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88384         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88385         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88386         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88387         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88388         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88389         * sysdeps/i386/fpu/e_log.S: Likewise.
88390         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88391         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88392         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88393         * sysdeps/i386/fpu/e_logf.S: Likewise.
88394         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88395         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88396         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88397         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88398         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88399         * sysdeps/i386/fpu/e_log10.S: Likewise.
88400         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88401         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88402         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88403         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88404         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88405         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88406         * sysdeps/i386/asm-syntax.h: Likewise.
88407         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88408         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88409         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88410         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88411         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88412         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88413         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88414         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88415         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88416         * sysdeps/powerpc/sysdep.h: Likewise.
88417         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88418         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88420 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88422         [BZ #411]
88423         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88425 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88427         * sysdeps/i386/sysdep.h: Include <features.h>.
88428         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88429         version.
88431 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88433         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88434         Define.
88435         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88436         LOAD_PIC_REG_STR.
88438 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88440         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88441         (SETUP_PIC_REG): Use GET_PC_THUNK.
88442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88443         macro.
88445 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88447         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88448         for non-PIC compilation.
88449         (SETUP_PIC_REG): Add .p2align directive.
88450         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88451         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88452         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88454         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88455         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88456         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88457         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88458         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88459         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88460         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88461         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88462         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88463         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88464         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88465         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88466         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88467         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88468         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88469         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88470         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88471         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88472         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88473         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88474         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88476         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88477         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88478         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88479         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88480         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88481         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88482         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88483         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88484         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88485         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88486         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88487         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88488         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88489         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88490         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88492 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88494         * math/tst-CMPLX.c: Include <stdio.h>.
88496 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88498         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88499         float.
88500         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88501         * sysdeps/sparc/bits/mathdef.h: Likewise.
88503 2012-01-31  Marek Polacek  <polacek@redhat.com>
88505         * libio/libio.h: Don't define _PARAMS.
88506         * locale/programs/config.h: Don't define PARAMS.
88507         * stdlib/strtol_l.c: Likewise.
88508         (__strtol_l): Remove PARAMS from the prototype.
88510 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88512         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88513         names.  Just use the correct names.  Remove unnecessary wrapper
88514         functions.
88515         * malloc/arena.c: Likewise.
88516         * malloc/hooks.c: Likewise.
88518         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88519         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88520         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88522 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88524         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88525         into tail calls.
88526         (update_get_addr): New function.
88527         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88528         GET_ADDR_MODULE parameter.
88530 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88532         * crypt/cert.c: Remove __STDC__ conditionals.
88533         * crypt/crypt-entry.c: Likewise.
88534         * crypt/crypt_util.c: Likewise.
88535         * libio/filedoalloc.c: Likewise.
88536         * libio/fileops.c: Likewise.
88537         * libio/genops.c: Likewise.
88538         * libio/iofclose.c: Likewise.
88539         * libio/iofdopen.c: Likewise.
88540         * libio/iofopen.c: Likewise.
88541         * libio/iofopen64.c: Likewise.
88542         * libio/iogetdelim.c: Likewise.
88543         * libio/iopopen.c: Likewise.
88544         * libio/obprintf.c: Likewise.
88545         * libio/oldfileops.c: Likewise.
88546         * libio/oldiofclose.c: Likewise.
88547         * libio/oldiofdopen.c: Likewise.
88548         * libio/oldiofopen.c: Likewise.
88549         * libio/oldiopopen.c: Likewise.
88550         * libio/wfiledoalloc.c: Likewise.
88551         * libio/wgenops.c: Likewise.
88552         * locale/programs/xmalloc.c: Likewise.
88553         * misc/syslog.c: Likewise.
88554         * stdio-common/xbug.c: Likewise.
88555         * string/memchr.c: Likewise.
88556         * string/memcmp.c: Likewise.
88557         * string/memrchr.c: Likewise.
88558         * string/rawmemchr.c: Likewise.
88559         * sysdeps/posix/getcwd.c: Likewise.
88560         * time/strftime_l.c: Likewise.
88562 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88564         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88565         * config.make.in (config-cflags-sse2avx): Define.
88566         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88567         Fix typo.
88569 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88571         * scripts/config.guess: Update from upstream config git repository.
88572         * scripts/config.sub: Likewise.
88574 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88576         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88577         (EM_NUM): Update.
88578         (R_TILEPRO_*, R_TILEGX_*): New macros.
88580         * scripts/firstversions.awk: Fix bug in version range handling.
88582         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88584         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88586         * include/sys/epoll.h: New file.
88587         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88588         libc_hidden_def.
88590 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88592         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88593         Avoid unnecessary __WORDSIZE == 64 test.
88594         (fmaxf): Use VEX format if possible.
88595         (fmax): Likewise.
88596         (fminf): Likewise.
88597         (fmin): Likewise.
88599         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88600         * math/math_private.h: Remove libc_fegetround* and
88601         libc_fesetround*.
88602         * sysdeps/i386/configure.in: Check for -msse2avx.
88603         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88604         also if SSE2AVX is defined.
88605         Remove libc_fegetround* and libc_fesetround*.
88606         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88607         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88608         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88609         of HAS_YMM_USABLE.
88610         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88611         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88612         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88613         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88614         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88616         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88618 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88620         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88621         size is not set.
88622         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88624 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88626         [BZ #13618]
88627         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88628         relocation.
88629         * Makeconfig (libm): Define.
88630         * elf/Makefile: Add rules to build and run tst-relsort1.
88631         * elf/tst-relsort1.c: New file.
88632         * elf/tst-relsort1mod1.c: New file.
88633         * elf/tst-relsort1mod2.c: New file.
88635 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88637         * math/s_ldexp.c: Remove __STDC__ conditionals.
88638         * math/s_ldexpf.c: Likewise.
88639         * math/s_ldexpl.c: Likewise.
88640         * math/s_nextafter.c: Likewise.
88641         * math/s_nexttowardf.c: Likewise.
88642         * math/s_significand.c: Likewise.
88643         * math/s_significandf.c: Likewise.
88644         * math/s_significandl.c: Likewise.
88645         * math/w_jnl.c: Likewise.
88646         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88647         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88648         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88649         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88650         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88651         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88652         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88653         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88654         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88655         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88656         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88657         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88658         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88659         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88660         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88661         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88662         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88663         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88664         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88665         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88666         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88667         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88668         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88670         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88671         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88672         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88673         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88674         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88675         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88676         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88677         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88678         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88679         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88680         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88681         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88682         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88683         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88684         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88685         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88686         * sysdeps/ieee754/k_standard.c: Likewise.
88687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88689         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88690         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88691         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88692         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88693         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88694         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88695         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88696         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88697         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88698         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88699         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88700         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88701         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88702         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88703         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88704         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88706         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88707         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88708         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88709         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88710         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88711         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88712         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88713         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88714         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88716         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88717         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88718         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88719         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88720         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88722         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88723         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88724         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88725         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88726         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88727         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88729         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88730         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88731         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88732         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88733         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88734         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88735         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88736         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88737         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88738         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88739         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88740         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88741         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88742         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88743         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88744         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88745         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88746         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88747         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88748         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88749         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88750         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88751         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88752         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88753         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88754         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88755         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88756         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88757         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88758         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88759         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88760         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88761         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88762         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88763         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88764         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88765         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88766         * sysdeps/ieee754/s_matherr.c: Likewise.
88767         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88768         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88772 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88774         * crypt/md5.h: Remove __STDC__ conditionals.
88775         * libio/libioP.h: Likewise.
88776         * locale/programs/config.h: Likewise.
88777         * sysdeps/generic/sysdep.h: Likewise.
88778         * sysdeps/i386/asm-syntax.h: Likewise.
88779         * sysdeps/s390/asm-syntax.h: Likewise.
88780         * sysdeps/unix/sysdep.h: Likewise.
88781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88784 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88786         * libio/libio.h: Remove __STDC__ conditionals.
88787         * malloc/obstack.h: Likewise.
88788         * math/complex.h: Likewise.
88789         * math/math.h: Likewise.
88790         * sysdeps/generic/_G_config.h: Likewise.
88791         * sysdeps/gnu/_G_config.h: Likewise.
88792         * sysdeps/mach/hurd/_G_config.h: Likewise.
88793         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88794         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88795         * sysdeps/sparc/bits/mathdef.h: Likewise.
88797 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
88799         [BZ #13583]
88800         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88801         Clean up HAS_* macros.
88802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88803         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88804         possible.
88805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88806         HAS_AVX.
88807         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88808         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88809         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88810         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88811         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88813 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
88815         * elf/tst-unique3.cc (gets): Remove declaration.
88816         * elf/tst-unique3lib.cc (gets): Likewise.
88817         * elf/tst-unique3lib2.cc (gets): Likewise.
88818         * elf/tst-unique4.cc (gets): Likewise.
88820 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
88822         * include/stdio.h: Add C++ protection.  Add gets declarations and
88823         definitions.
88824         * debug/tst-chk1.c: Don't declare gets here.
88825         * stdio-common/tst-gets.c: Likewise.
88827 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88829         * posix/glob: Remove directory.
88831 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88833         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88835 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
88837         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88838         of the non-standard EPFNOSUPPORT.
88840 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88842         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88843         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88844         ANYWHERE set to 1 only on KERN_NO_SPACE error.
88846 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
88848         * wcsmbs/uchar.h: Test __STDC_VERSION__.
88850 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
88852         * nscd/aicache.c (addhstaiX): Do not cache negative results of
88853         transient errors.
88854         * nscd/grpcache.c (cache_addgr): Likewise.
88855         * nscd/hstcache.c (cache_addhst): Likewise.
88856         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88857         * nscd/pwdcache.c (cache_addpw): Likewise.
88858         * nscd/servicescache.c (cache_addserv): Likewise.
88860 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
88862         * malloc/malloc.c: Various cleanups.
88863         * malloc/hooks.c: Likewise.
88865         * stdlib/Makefile (tests): Add bug-fmtmsg1.
88866         * stdlib/bug-fmtmsg1.c: New file.
88868         * stdlib/fmtmsg.c (init): Add missing unlock.
88869         Patch by Peng Haitao <penght@cn.fujitsu.com>.
88871 2012-01-12  Marek Polacek  <polacek@redhat.com>
88873         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88874         and _GNU_SOURCE.
88876 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88878         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88879         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88880         macro to ensure uniqueness of label name.
88881         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88882         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88884 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
88886         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88888         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88889         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88890         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88891         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88893 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
88895         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88897         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88898         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88899         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88901         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88903         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88904         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88905         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88906         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88908         * math/bits/math-finite.h: Add ldexp support.
88910 2012-01-10  Marek Polacek  <polacek@redhat.com>
88912         * locale/programs/localedef.h (show_archive_content): Add noreturn
88913         attribute.
88915 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
88917         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88919 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88921         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88923         * io/Makefile (headers): Add bits/poll2.h.
88925 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
88927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88928         typo #include statement.
88930 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88932         * include/sys/cdefs.h: Define __attribute_alloc_size.
88933         * catgets/gencat.c: Add alloc_size attribute and apply consistently
88934         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88935         * elf/pldd.c: Likewise.
88936         * iconv/iconv_charmap.c: Likewise.
88937         * iconv/iconvconfig.c: Likewise.
88938         * iconv/strtab.c: Likewise.
88939         * locale/programs/locale.c: Likewise.
88940         * locale/programs/localedef.h: Likewise.
88941         * locale/programs/simple-hash.c: Likewise.
88942         * nscd/nscd.h: Likewise.
88943         * nss/makedb.c: Likewise.
88944         * sysdeps/generic/ldconfig.h: Likewise.
88945         * locale/programs/localedef.c: Remove xmalloc prototype.
88946         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88948 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88950         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88951         appropriate.
88953 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88955         * math/Makefile (tests): Add tst-CMPLX.
88956         * math/tst-CMPLX.c: New file.
88958         * math/complex.h (CMPLXL): Fix typo.
88960         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88961         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88962         GLIBC_2.16.
88963         * debug/tst-chk1.c: Add poll and ppoll tests.
88964         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88965         * include/sys/poll.h: Add hidden proto for ppoll.
88966         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88967         * sysdeps/mach/hurd/ppoll.c: Likewise.
88968         * io/ppoll.c: Likewise.
88969         * debug/poll_chk.c: New file.
88970         * debug/ppoll_chk.c: New file.
88971         * include/bits/poll2.h: New file.
88972         * io/bits/poll2.h: New file.
88974         [BZ #1350]
88975         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88977         * configure.in: static is always set to yes.  Remove.
88978         * config.make.in: Don't set build-static.
88979         * Makeconfig: Remove use of build-static.
88980         * dlfcn/Makefile: Likewise.
88981         * elf/Makefile: Likewise.
88982         * math/Makefile: Likewise.
88983         * misc/Makefile: Likewise.
88984         * nptl/Makefile: Likewise.
88985         * sysdeps/mach/hurd/Makefile: Likewise.
88987         * configure.in: PWD_P is not used anymore.
88988         * config.make.in: Remove PWD_P entry.
88990         * configure.in: Remove last remnants of RANLIB.
88991         No need to check for signed size_t anymore.
88992         Don't set libc_commonpagesize and libc_relro_required here for Alpha
88993         and IA-64.
88994         Remove __builtin_expect test because we require at least gcc 3.4.
88995         * aclocal.m4: Likewise.
88997         * wcsmbs/mbrtoc16.c: Implement using towc function.
88998         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88999         * wcsmbs/wcsmbsload.c: Likewise.
89000         * iconv/gconv_simple.c: Likewise.
89001         * iconv/gconv_int.h: Likewise.
89002         * iconv/gconv_builtin.h: Likewise.
89003         * iconv/iconv_prog.c: Remove CHAR16 handling.
89005         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89007         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89009         * configure.in: Remove --with-elf and --enable-bounded options.
89010         Dont set base_machine for ia64.  More non-ELF conditions removed.
89011         Remove testing and setting of leading underscore information.
89012         * config.make.in (build-bounded): Set to no.
89013         * config.h.in: Remove NO_UNDERSCORES entry.
89014         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89015         them.
89016         * csu/start.c: Remove !NO_UNDERSCORE code.
89017         * locale/localeinfo.h: Likewise.
89018         * sysdeps/generic/machine-gmon.h: Likewise.
89019         * sysdeps/generic/sysdep.h: Likewise.
89020         * sysdeps/i386/sysdep.h: Likewise.
89021         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89022         * sysdeps/mach/sysdep.h: Likewise.
89023         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89024         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89025         * sysdeps/sh/sysdep.h: Likewise.
89026         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89027         * sysdeps/unix/i386/sysdep.S: Likewise.
89028         * sysdeps/unix/sparc/start.c: Likewise.
89029         * sysdeps/unix/sparc/sysdep.S: Likewise.
89030         * sysdeps/unix/sparc/sysdep.h: Likewise.
89031         * sysdeps/unix/start.c: Likewise.
89032         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89033         * sysdeps/x86_64/sysdep.h: Likewise.
89035 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89037         [BZ #13553]
89038         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89039         for non-gcc.
89040         * argp/argp-fmtstream.h: Use const instead __const.
89041         * argp/argp.h: Likewise.
89042         * assert/assert.h: Likewise.
89043         * bits/fenv.h: Likewise.
89044         * bits/sched.h: Likewise.
89045         * bits/sigset.h: Likewise.
89046         * bits/sigthread.h: Likewise.
89047         * catgets/nl_types.h: Likewise.
89048         * conform/data/pthread.h-data: Likewise.
89049         * crypt/crypt-private.h: Likewise.
89050         * crypt/crypt.h: Likewise.
89051         * crypt/crypt_util.c: Likewise.
89052         * ctype/ctype.h: Likewise.
89053         * debug/execinfo.h: Likewise.
89054         * debug/mbsnrtowcs_chk.c: Likewise.
89055         * debug/mbsrtowcs_chk.c: Likewise.
89056         * debug/wcsnrtombs_chk.c: Likewise.
89057         * debug/wcsrtombs_chk.c: Likewise.
89058         * debug/wcstombs_chk.c: Likewise.
89059         * dirent/dirent.h: Likewise.
89060         * dlfcn/dlfcn.h: Likewise.
89061         * elf/neededtest4.c: Likewise.
89062         * grp/grp.h: Likewise.
89063         * gshadow/gshadow.h: Likewise.
89064         * iconv/gconv.h: Likewise.
89065         * iconv/gconv_int.h: Likewise.
89066         * iconv/gconv_simple.c: Likewise.
89067         * iconv/iconv.h: Likewise.
89068         * iconv/loop.c: Likewise.
89069         * iconv/skeleton.c: Likewise.
89070         * include/aio.h: Likewise.
89071         * include/aliases.h: Likewise.
89072         * include/argz.h: Likewise.
89073         * include/arpa/inet.h: Likewise.
89074         * include/assert.h: Likewise.
89075         * include/dirent.h: Likewise.
89076         * include/dlfcn.h: Likewise.
89077         * include/execinfo.h: Likewise.
89078         * include/fcntl.h: Likewise.
89079         * include/fenv.h: Likewise.
89080         * include/glob.h: Likewise.
89081         * include/grp.h: Likewise.
89082         * include/libintl.h: Likewise.
89083         * include/mntent.h: Likewise.
89084         * include/netdb.h: Likewise.
89085         * include/pwd.h: Likewise.
89086         * include/rpc/netdb.h: Likewise.
89087         * include/sched.h: Likewise.
89088         * include/search.h: Likewise.
89089         * include/shadow.h: Likewise.
89090         * include/signal.h: Likewise.
89091         * include/stdio.h: Likewise.
89092         * include/stdlib.h: Likewise.
89093         * include/string.h: Likewise.
89094         * include/sys/socket.h: Likewise.
89095         * include/sys/stat.h: Likewise.
89096         * include/sys/statfs.h: Likewise.
89097         * include/sys/statvfs.h: Likewise.
89098         * include/sys/syslog.h: Likewise.
89099         * include/sys/time.h: Likewise.
89100         * include/sys/uio.h: Likewise.
89101         * include/time.h: Likewise.
89102         * include/unistd.h: Likewise.
89103         * include/utmp.h: Likewise.
89104         * include/wchar.h: Likewise.
89105         * include/wctype.h: Likewise.
89106         * inet/aliases.h: Likewise.
89107         * inet/arpa/inet.h: Likewise.
89108         * inet/netinet/ether.h: Likewise.
89109         * inet/netinet/in.h: Likewise.
89110         * intl/libintl.h: Likewise.
89111         * io/bits/fcntl2.h: Likewise.
89112         * io/fcntl.h: Likewise.
89113         * io/ftw.h: Likewise.
89114         * io/sys/poll.h: Likewise.
89115         * io/sys/stat.h: Likewise.
89116         * io/sys/statfs.h: Likewise.
89117         * io/sys/statvfs.h: Likewise.
89118         * io/utime.h: Likewise.
89119         * libio/bits/stdio.h: Likewise.
89120         * libio/bits/stdio2.h: Likewise.
89121         * libio/libio.h: Likewise.
89122         * libio/libioP.h: Likewise.
89123         * libio/stdio.h: Likewise.
89124         * locale/lc-ctype.c: Likewise.
89125         * locale/locale.h: Likewise.
89126         * login/utmp.h: Likewise.
89127         * malloc/arena.c: Likewise.
89128         * malloc/malloc.c: Likewise.
89129         * malloc/malloc.h: Likewise.
89130         * malloc/mcheck.c: Likewise.
89131         * malloc/mtrace.c: Likewise.
89132         * math/bits/mathcalls.h: Likewise.
89133         * math/fenv.h: Likewise.
89134         * math/math_private.h: Likewise.
89135         * misc/bits/error.h: Likewise.
89136         * misc/bits/syslog.h: Likewise.
89137         * misc/err.h: Likewise.
89138         * misc/error.h: Likewise.
89139         * misc/fstab.h: Likewise.
89140         * misc/mntent.h: Likewise.
89141         * misc/regexp.h: Likewise.
89142         * misc/search.h: Likewise.
89143         * misc/sgtty.h: Likewise.
89144         * misc/sys/mman.h: Likewise.
89145         * misc/sys/syslog.h: Likewise.
89146         * misc/sys/uio.h: Likewise.
89147         * misc/sys/xattr.h: Likewise.
89148         * misc/ttyent.h: Likewise.
89149         * nis/rpcsvc/ypclnt.h: Likewise.
89150         * nss/nss.h: Likewise.
89151         * posix/bits/unistd.h: Likewise.
89152         * posix/fnmatch.h: Likewise.
89153         * posix/glob.h: Likewise.
89154         * posix/sched.h: Likewise.
89155         * posix/spawn.h: Likewise.
89156         * posix/sys/wait.h: Likewise.
89157         * posix/unistd.h: Likewise.
89158         * posix/wordexp.h: Likewise.
89159         * pwd/pwd.h: Likewise.
89160         * resolv/netdb.h: Likewise.
89161         * resource/sys/resource.h: Likewise.
89162         * rt/aio.h: Likewise.
89163         * rt/bits/mqueue2.h: Likewise.
89164         * rt/mqueue.h: Likewise.
89165         * shadow/shadow.h: Likewise.
89166         * signal/signal.h: Likewise.
89167         * socket/send.c: Likewise.
89168         * socket/sendto.c: Likewise.
89169         * socket/sys/socket.h: Likewise.
89170         * stdio-common/printf.h: Likewise.
89171         * stdlib/bits/stdlib.h: Likewise.
89172         * stdlib/fmtmsg.h: Likewise.
89173         * stdlib/monetary.h: Likewise.
89174         * stdlib/stdlib.h: Likewise.
89175         * stdlib/ucontext.h: Likewise.
89176         * streams/stropts.h: Likewise.
89177         * string/argz.h: Likewise.
89178         * string/bits/string2.h: Likewise.
89179         * string/string.h: Likewise.
89180         * string/strings.h: Likewise.
89181         * sunrpc/rpc/auth.h: Likewise.
89182         * sunrpc/rpc/auth_des.h: Likewise.
89183         * sunrpc/rpc/clnt.h: Likewise.
89184         * sunrpc/rpc/netdb.h: Likewise.
89185         * sunrpc/rpc/pmap_clnt.h: Likewise.
89186         * sunrpc/rpc/xdr.h: Likewise.
89187         * sysdeps/generic/inttypes.h: Likewise.
89188         * sysdeps/generic/net/if.h: Likewise.
89189         * sysdeps/generic/sys/swap.h: Likewise.
89190         * sysdeps/gnu/net/if.h: Likewise.
89191         * sysdeps/gnu/utmpx.h: Likewise.
89192         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89193         * sysdeps/i386/i486/bits/string.h: Likewise.
89194         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89195         * sysdeps/s390/bits/string.h: Likewise.
89196         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89197         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89198         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89199         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89200         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89201         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89202         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89203         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89204         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89205         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89206         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89207         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89208         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89209         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89210         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89211         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89212         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89214         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89215         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89216         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89217         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89218         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89219         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89220         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89221         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89222         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89223         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89224         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89225         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89226         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89227         * sysvipc/sys/ipc.h: Likewise.
89228         * sysvipc/sys/msg.h: Likewise.
89229         * sysvipc/sys/sem.h: Likewise.
89230         * sysvipc/sys/shm.h: Likewise.
89231         * termios/termios.h: Likewise.
89232         * time/sys/time.h: Likewise.
89233         * time/time.h: Likewise.
89234         * wcsmbs/bits/wchar2.h: Likewise.
89235         * wcsmbs/uchar.h: Likewise.
89236         * wcsmbs/wchar.h: Likewise.
89237         * wctype/wctype.h: Likewise.
89239         [BZ #13551]
89240         * Makeconfig: Remove all but ELF support including AIX support.
89241         * Makerules: Likewise.
89242         * config.h.in: Likewise.
89243         * config.make.in: Likewise.
89244         * configure: Likewise.
89245         * configure.in: Likewise.
89246         * csu/Makefile: Likewise.
89247         * csu/version.c: Likewise.
89248         * debug/Makefile: Likewise.
89249         * dlfcn/Makefile: Likewise.
89250         * elf/Makefile: Likewise.
89251         * extra-lib.mk: Likewise.
89252         * iconv/Makefile: Likewise.
89253         * include/libc-symbols.h: Likewise.
89254         * include/shlib-compat.h: Likewise.
89255         * resolv/Makefile: Likewise.
89256         * resolv/res_libc.c: Likewise.
89257         * rt/Makefile: Likewise.
89258         * sysdeps/i386/asm-syntax.h: Likewise.
89259         * sysdeps/i386/sysdep.h: Likewise.
89260         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89261         * sysdeps/mach/sysdep.h: Likewise.
89262         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89263         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89264         * sysdeps/s390/asm-syntax.h: Likewise.
89265         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89266         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89267         * sysdeps/sh/sysdep.h: Likewise.
89268         * sysdeps/unix/sparc/sysdep.h: Likewise.
89269         * sysdeps/wordsize-32/divdi3.c: Likewise.
89270         * sysdeps/x86_64/sysdep.h: Likewise.
89272         * argp/Versions: Remove _argp_unlock_xxx.
89274         [BZ #13559]
89275         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89276         * abilist/libBrokenLocale.abilist: Likewise.
89277         * abilist/libanl.abilist: Likewise.
89278         * abilist/libc.abilist: Likewise.
89279         * abilist/libcrypt.abilist: Likewise.
89280         * abilist/libdl.abilist: Likewise.
89281         * abilist/libm.abilist: Likewise.
89282         * abilist/libnsl.abilist: Likewise.
89283         * abilist/libpthread.abilist: Likewise.
89284         * abilist/libresolv.abilist: Likewise.
89285         * abilist/librt.abilist: Likewise.
89286         * abilist/libthread_db.abilist: Likewise.
89287         * abilist/libutil.abilist: Likewise.
89288         * abilist/libnss_db.abilist: New file.
89290         * scripts/abilist.awk: Add support for indirect functions.
89292         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89294         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89296         * shlib-versions: Remove entries for ports architectures.
89298         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89299         files in ports.
89300         * elf/stackguard-macros.h: Remove support for IA-64.
89301         * elf/tst-auditmod1.c: Likewise.
89302         * sysdeps/generic/ldsodefs.h: Likewise.
89304         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89305         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89306         configure files.
89308         [BZ #13552]
89309         * configure.in: Remove --enable-omitfp support.
89310         * FAQ.in: Adjust.
89311         * config.make.in: Likewise.
89312         * Makeconfig: Likewise.
89313         * manual/install.texi: Likewise.
89315         In case anyone cares, the IA-64 architecture could move to ports.
89316         * sysdeps/ia64/*: Removed.
89317         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89318         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89320         [BZ #13555]
89321         * configure.in: Remove entries for unsupported architectures.
89323         [BZ #13533]
89324         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89325         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89326         routines.
89327         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89328         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89329         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89330         fall back to using wcrtomb.
89331         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89332         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89333         renaming.
89334         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89335         * wcsmbs/tst-c16c32-1.c: New file.
89337         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89338         local variable.
89340         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89342         * elf/tst-unique3.cc: Add explicit declaration of gets.
89343         * elf/tst-unique3lib.cc: Likewise.
89344         * elf/tst-unique3lib2.cc: Likewise.
89345         * elf/tst-unique4.cc: Likewise.
89347         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89349 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89351         [BZ #13566]
89352         * assert/assert.h (static_assert): Don't define for C++.
89353         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89354         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89356 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89358         * iconv/loop.c (single loop): Fix assertion in storing of
89359         remaining bytes.
89361         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89363 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89365         * posix/getconf.c: Update copyright year.
89366         * nss/getent.c: Likewise.
89367         * nss/makedb.c: Likewise.
89368         * iconv/iconvconfig.c: Likewise.
89369         * iconv/iconv_prog.c: Likewise.
89370         * elf/ldconfig.c: Likewise.
89371         * elf/pldd.c: Likewise.
89372         * elf/sotruss.ksh: Likewise.
89373         * catgets/gencat.c: Likewise.
89374         * csu/version.c: Likewise.
89375         * elf/ldd.bash.in: Likewise.
89376         * elf/sprof.c (print_version): Likewise.
89377         * locale/programs/locale.c: Likewise.
89378         * locale/programs/localedef.c: Likewise.
89379         * login/programs/pt_chown.c: Likewise.
89380         * nscd/nscd.c (print_version): Likewise.
89381         * debug/xtrace.sh: Likewise.
89382         * malloc/memusage.sh: Likewise.
89383         * malloc/mtrace.pl: Likewise.
89384         * debug/catchsegv.sh: Likewise.
89386 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89388         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89389         pure attribute.
89391 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89393         [BZ #13533]
89394         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89395         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89396         transformations.
89397         * iconv/gconv_int.h: Likewise.
89398         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89399         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89400         from libc for GLIBC_2.16.
89401         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89402         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89403         * wcsmbs/uchar.h: Really define mbstate_t.
89404         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89405         * wcsmbs/c16rtomb.c: New file.
89406         * wcsmbs/mbrtoc16.c: New file.
89407         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89408         for C/POSIX locale.
89409         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89410         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89412         * wcsmbs/wchar.h: Add missing __restrict.
89414 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89416         [BZ #13532]
89417         * time/Makefile (routines): Add timespec_get.
89418         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89419         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89420         timespec for ISO C11.
89421         * time/timespec_get.c: New file.
89422         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89423         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89425         [BZ #13531]
89426         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89427         * stdlib/stdlib.h: Declare aligned_alloc.
89428         * Versions.def: Add GLIBC_2.16 for libc.
89429         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89431         [BZ 13527]
89432         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89433         ISO C11.
89435         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89436         code.
89438         [BZ #13528]
89439         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89441         [BZ #13529]
89442         * assert/assert.h (static_assert): Define.
89444         * version.h: Update for 2.16 development version.
89446         [BZ #13526]
89447         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89448         _ISOC11_SOURCE.
89450         * version.h (RELEASE): Bump for 2.15 release.
89451         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89453         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89454         Patch by Marek Polacek <mpolacek@redhat.com>.
89456         * bits/byteswap.h: Protect long long constants with __extension__.
89457         * sysdeps/i386/bits/byteswap.h: Likewise.
89458         * sysdeps/ia64/bits/byteswap.h: Likewise.
89459         * sysdeps/s390/bits/byteswap.h: Likewise.
89460         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89462 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89464         [BZ #13540]
89465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89466         destination buffer.
89467         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89469 2011-12-23  Marek Polacek  <polacek@redhat.com>
89471         * elf/dl-addr.c (determine_info): Add inline keyword.
89472         * elf/tst-auditmod4b.c (check_avx): Likewise.
89473         * elf/tst-auditmod6b.c (check_avx): Likewise.
89474         * elf/tst-auditmod6c.c (check_avx): Likewise.
89475         * elf/tst-auditmod7b.c (check_avx): Likewise.
89477 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89479         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89480         !__SSE_MATH__.
89482 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89484         [BZ #13540]
89485         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89486         processing for last bytes.
89488 2011-08-06  Bruno Haible  <bruno@clisp.org>
89490         [BZ #13061]
89491         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89492         U+0385, not to U+1FEE.
89494         [BZ #13062]
89495         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89496         entry for U+00A5 U+0301.
89498 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89500         [BZ #13166]
89501         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89502         buffer for the output is too small.
89504         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89505         optimization.
89507         [BZ #13185]
89508         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89509         SSE flags if possible.
89511 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89513         [BZ #13540]
89514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89515         processing for last bytes.
89517 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89519         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89520         (syscall-list-default-options, syscall-list-default-condition)
89521         (syscall-list-includes): Define.
89522         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89523         list of ABIs and options and #if conditions for each ABI.  Do not
89524         handle common syscalls between ABIs specially.
89525         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89526         Remove.
89527         (syscall-list-variants, syscall-list-32bit-options)
89528         (syscall-list-32bit-condition, syscall-list-64bit-options)
89529         (syscall-list-64bit-condition): Define.
89530         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89531         (syscall-list-variants, syscall-list-32bit-options)
89532         (syscall-list-32bit-condition, syscall-list-64bit-options)
89533         (syscall-list-64bit-condition): Define.
89534         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89535         Remove.
89536         (syscall-list-variants, syscall-list-32bit-options)
89537         (syscall-list-32bit-condition, syscall-list-64bit-options)
89538         (syscall-list-64bit-condition): Define.
89539         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89540         Remove.
89541         (syscall-list-variants, syscall-list-32bit-options)
89542         (syscall-list-32bit-condition, syscall-list-64bit-options)
89543         (syscall-list-64bit-condition): Define.
89545 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89547         * locale/iso-639.def: Add brx entry.
89549         [BZ #13328]
89550         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89551         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89553         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89554         __feraiseexcept_renamed.
89556 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89558         [BZ #13538]
89559         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89560         EPOLLET with unsigned values.
89561         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89562         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89564         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89565         to large cancellation.
89566         * math/s_cacoshf.c: Likewise.
89567         * math/s_cacoshl.c: Likewise.
89569 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89571         [BZ #13305]
89572         [BZ #12786]
89573         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89574         * math/s_cacoshf.c: Likewise.
89575         * math/s_cacoshl.c: Likewise.
89577 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89579         [BZ #13439]
89580         * iconv/gconv.h: Define __GCONV_SWAP.
89581         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89582         * iconvdata/utf-16.c: Likewise.
89583         * iconvdata/utf-32.c: Likewise.
89585 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89587         [BZ #13524]
89588         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89589         numerator after shifting it by one limb.
89591 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
89593         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89594         under [__USE_EXTERN_INLINES].
89596 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89598         [BZ #13446]
89599         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89601 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89603         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89604         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89605         optimized code.
89606         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89607         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89608         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89609         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89610         for strncasecmp/strncasecmp_l compilation.
89611         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89612         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89614 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89616         [BZ #13484]
89617         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89618         of __asm__.
89620 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89622         [BZ #13506]
89623         * time/tzfile.c (__tzfile_read): Check values from file header.
89625 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89627         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89628         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89629         * powerpc/powerpc32/dl-start.S: Likewise.
89630         * powerpc/powerpc32/elf/start.S: Likewise.
89631         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89632         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89633         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89634         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89635         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89636         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89637         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89638         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89639         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89640         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89641         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89642         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89643         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89644         * powerpc/powerpc32/memset.S: Likewise.
89645         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89646         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89647         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89648         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89649         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89650         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89651         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89652         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89653         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89654         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89655         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89656         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89657         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89659 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89661         * math/libm-test.inc: Added more nearbyint tests.
89662         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89663         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89664         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89665         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89667 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89669         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89670         FD_CLOEXEC.
89672 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89674         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89675         Add wcscpy-ssse3 wcscpy-c.
89676         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89677         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89678         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89679         * sysdeps/x86_64/wcschr.S: New file.
89680         * sysdeps/x86_64/wcsrchr.S: New file.
89681         * string/test-strcmp.c: Remove checking of wcscmp function for
89682         wrong alignments.
89683         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89684         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89685         wcsrchr-sse2 wcsrchr-c.
89686         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89687         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89688         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89689         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89690         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89691         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89692         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89693         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89694         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89695         * wcsmbc/wcschr.c (WCSCHR): New macro.
89697 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89699         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89700         * wcsmbs/test-wcsrchr.c: New file.
89701         * string/test-strrchr.c: Add wcsrchr support.
89702         (WIDE): New macro.
89703         * wcsmbs/test-wcscpy.c: New file.
89704         * string/test-strcpy.c: Add wcscpy support.
89705         (WIDE): New macro.
89707 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89709         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89710         the inner loop.
89712 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
89714         [BZ #13472]
89715         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89717 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
89719         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89720         Minor optimizations.
89722         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89723         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89724         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89726 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
89728         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89729         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89730         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89731         for gcc to avoid warnings.
89732         * inet/Makefile (tests): Add tst-checks.
89733         * inet/tst-checks.c: New file.
89735         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89736         warning.
89738         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89739         __wmemcmp_sse2.
89741         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89742         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89744         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89746 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
89748         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89749         problem.
89751         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89753 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
89755         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89756         conditional on GCC version.
89757         (__arch_compare_and_exchange_val_8_acq)
89758         (__arch_compare_and_exchange_val_16_acq)
89759         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89760         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89761         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89763 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
89765         * sysdeps/sh/backtrace.c: New file.
89767 2011-12-02  Andreas Schwab  <schwab@redhat.com>
89769         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
89770         parenthesis.
89772 2011-12-01  Andreas Schwab  <schwab@redhat.com>
89774         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89775         falling back to utime.
89777 2011-11-30  Andreas Schwab  <schwab@redhat.com>
89779         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89780         expectations for float.
89782 2011-11-29  Andreas Schwab  <schwab@redhat.com>
89784         * locale/weight.h (findidx): Add parameter len.
89785         * locale/weightwc.h (findidx): Likewise.
89786         * posix/fnmatch_loop.c (FCT): Adjust caller.
89787         * posix/regcomp.c (build_equiv_class): Likewise.
89788         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89789         * posix/regexec.c (check_node_accept_bytes): Likewise.
89790         * string/strcoll_l.c (STRCOLL): Likewise.
89791         * string/strxfrm_l.c (STRXFRM): Likewise.
89793 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
89795         * Makefile.in: Remove CVSOPT handling.
89796         * configure.in: Remove use of AC_REVISION.
89797         * iconvdata/Makefile (distribute): No need to filter out CVS.
89798         * scripts/list-sources.sh: Remove CVS, subversion and monotone
89799         handling.
89801 2011-11-16  Andreas Schwab  <schwab@redhat.com>
89803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89804         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89805         [USE_AS_STRNCASECMP_L]: Likewise.
89806         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89807         NO_TLS_DIRECT_SEG_REFS.
89808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89809         Fix argument offsets for non-PIC.
89810         [USE_AS_STRNCASECMP_L]: Likewise.
89811         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89812         NO_TLS_DIRECT_SEG_REFS.
89814 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89816         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89817         O_CLOEXEC.
89818         * locale/loadlocale.c (_nl_load_locale): Likewise.
89820 2011-11-15  Andreas Schwab  <schwab@redhat.com>
89822         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89823         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89824         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89825         (SYSCALL_GETTIME): Set errno on error.
89827         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89828         count references to noai6ai_cached.
89830 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89832         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89834         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89835         FD_CLOEXEC for /proc/self/maps.
89837         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89838         FD_CLOEXEC for /proc/meminfo.
89840         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89841         gai.conf.
89843         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
89844         FD_CLOEXEC for given file.
89846         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89848         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89849         FD_CLOEXEC for /etc/hosts.
89850         (_gethtent): Likewise.
89852         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89854         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89855         cancellation and set FD_CLOEXEC for /etc/netgroup.
89857         * nss/nss_files/files-key.c (search): Don't allow cancellation when
89858         reading /etc/publickey.
89860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89861         allow cancellation when reading /etc/group.
89863         * nss/nss_files/files-alias.c (internal_setent): Don't allow
89864         cancellation.
89865         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
89867         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89868         when using data file.
89870         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89872         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89873         (write_nis_obj): Use "c" and "e" in fopen.
89875         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89877         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89879         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89881         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89883         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89884         locale.alias.
89886         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89888         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89890         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89892         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89893         file parsing and set FD_CLOEXEC.
89895 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89897         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89899 2011-11-14  Andreas Schwab  <schwab@redhat.com>
89901         * malloc/arena.c (arena_get2): Don't call reused_arena when
89902         _int_new_arena failed.
89904 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89906         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89907         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89909         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89910         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89911         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89912         to compile strcasecmp and strncasecmp.
89913         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89914         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89916         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89918 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
89920         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89921         locale-defines.sym to gen-as-const-headers.
89922         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89923         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89925         to compile strcasecmp and strncasecmp.
89926         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89927         strcasecmp_l and strncasecmp_l.
89928         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89929         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89930         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89931         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89932         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89933         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89934         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89935         * sysdeps/i386/i686/multiarch/strncase.S: New file.
89936         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89937         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89938         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89940 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
89942         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89943         result of SYSDEP_GETTIME_CPU to retval.
89944         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89945         parameter list to macro.  Remove trailing semicolon.  Adjust users.
89947         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89948         variable.
89950         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89951         mantissa words.
89952         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89954         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89955         from unused variable.
89957         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89958         DWARF definitions.
89959         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89960         for assembling.
89962         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89963         over namespaces.
89965         * sunrpc/rpc_prot.c (rejected): Fix case value.
89967         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89968         unsigned long long int to avoid warnings in shift.
89970         * posix/regex_internal.c (re_string_reconstruct): Actually use result
89971         of use of trans.
89972         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89973         variable tmp.
89975         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89976         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89977         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89979         * nis/nis_table.c (nis_list): Use variable of correct type for
89980         result of __follow_path call.
89982 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89984         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89985         of math functions ceil, trunc, floor, round, and sqrt, when
89986         avaliable on the platform.
89987         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89988         name clash.
89989         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89990         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89991         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89993 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
89995         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89996         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89998 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90000         * include/unistd.h: Fix __readlink return type.
90001         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90003 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90005         * stdlib/ucontext.h: Undo last change for makecontext.
90007 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90009         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90011         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90012         * setjmp/setjmp.h: Mark functions as non-leaf.
90013         * setjmp/bits/setjmp2.h: Likewise.
90014         * stdlib/ucontext.h: Likewise.
90016 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90018         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90019         (reused_arena): Don't check arena limit.
90020         (arena_get2): Atomically check arena limit.
90022 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90024         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90025         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90028         instructions.
90030 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90032         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90033         handler when locking.
90035         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90036         Fix size of allocated buffer.
90038 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90040         [BZ #10103]
90041         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90042         declarations for long double functions.
90043         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90045         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90047 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90049         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90050         installed.
90052         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90053         is disabled.
90055 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90057         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90059 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90061         * include/alloca.h (stackinfo_alloca_round): Define.
90062         (extend_alloca): Use it.
90063         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90064         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90065         here.
90067         * scripts/check-local-headers.sh: Ignore libaudit.h.
90069         * nscd/Makefile (extra-objs): Make recursively expanded.
90071 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90073         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90074         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90076         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90077         * posix/tst-rfc3484-2.c: Likewise.
90078         * posix/tst-rfc3484-3.c: Likewise.
90080         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90081         process_vm_writev.
90082         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90083         process_vm_writev.
90084         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90085         process_vm_writev from libc using GLIBC_2.15 version.
90087         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90089 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90091         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90092         stack usage.
90094 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90096         [BZ #13367]
90097         * nss/getent.c (initgroups_keys): Show error message in case no group
90098         names are given.
90100         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90101         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90102         __bump_nl_timestamp.
90103         * nscd/connections (nscd_init): When host database is served open
90104         netlink socket and request notification about configuration changes.
90105         (main_loop_poll): Track netlink file descriptor and bump timestamp
90106         in case data becomes available.
90107         (main_loop_epoll): Likewise.
90108         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90109         (database_pers_head): Add extra_data fileds.
90110         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90111         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90112         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90113         Adjust caller.
90114         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90115         in6ai data, call __free_in6ai.
90116         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90117         Add -DHAVE_NETLINK.
90118         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90119         interface information.  Reuse previous data if netlink timestamp
90120         is not changed.
90121         (__bump_nl_timestamp): New function.
90122         (__free_in6ai): New function.
90124 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90126         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90127         close_not_cancel_no_status here.
90128         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90130 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90132         [BZ #13276]
90133         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90134         return value.
90136         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90137         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90138         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90140 2011-07-03  Andreas Jaeger  <aj@suse.de>
90142         [BZ #10709]
90143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90144         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90145         * math/libm-test.inc (sin_test): Add test case.
90147 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90149         [BZ #13337]
90150         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90151         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90153         * elf/chroot_canon.c (chroot_canon): Cleanups.
90155         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90157         [BZ #13335]
90158         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90159         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90161         * string/test-strchr.c: Make usable for strchrnul testing.
90162         * string/test-strchrnul.c: New file.
90163         * string/Makefile (strop-tests): Add strchrnul.
90165         * po/it.po: Update from translation team.
90166         * po/es.po: Likewise.
90168 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90170         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90171         the three constants needed as parameters.  Drop the others.
90172         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90173         __m128i_strloadu_tolower.
90174         Create and initialize variable zero and use it in all the places
90175         where _mm_setzero_si128 was used.
90177         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90178         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90179         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90180         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90181         anymore.
90182         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90183         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90184         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90185         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90186         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90187         __mpranred, __mptan.
90188         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90189         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90190         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90191         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90192         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90193         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90194         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90195         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90196         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90198 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90200         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90201         redefine if SHARED.
90202         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90205         wide char related routines to wcsmbs subdir.
90207 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90209         [BZ #13344]
90210         * misc/sys/cdefs.h (__THROWNL): Define.
90211         * posix/unistd.h: Use __THREADNL instead of __THREAD
90212         for memory synchronization functions.
90214 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90216         [BZ #13349]
90217         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90218         doesn't exist.
90219         * manual/stdio.texi (Obstack Streams): Node removed.
90221 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90223         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90224         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90225         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90227         * math/math_private.h (math_force_eval): Allow non-addressable
90228         arguments.
90229         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90231 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90233         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90234         file is not needed.
90236         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90237         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90238         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90239         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90240         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90241         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90242         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90243         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90244         Add AVX variants.
90245         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90246         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90247         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90248         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90249         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90250         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90251         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90252         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90253         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90254         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90255         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90256         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90257         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90258         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90259         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90260         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90261         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90262         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90263         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90265         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90266         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90269         place.  Use VEX encoding when compiling for AVX.
90271 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90273         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90274         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90276         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90278 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90280         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90281         useless if() expression.
90282         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90283         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90284         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90285         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90286         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90287         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90288         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90289         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90290         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90291         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90292         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90293         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90294         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90295         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90296         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90297         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90298         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90300         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90302         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90304 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90306         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90307         condition.
90308         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90310 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90312         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90313         .text section.  Avoid duplicate constants.
90314         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90315         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90316         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90317         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90322         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90323         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90324         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90325         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90326         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90327         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90328         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90329         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90330         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90331         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90332         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90334         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90335         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90336         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90337         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90338         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90339         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90340         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90341         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90342         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90343         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90344         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90345         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90346         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90347         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90348         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90349         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90350         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90351         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90352         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90353         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90354         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90355         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90356         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90357         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90358         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90360 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90362         * sysdeps/x86_64/dla.h: Move to ...
90363         * sysdeps/x86_64/fpu/dla.h: ...here.
90364         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90365         situations.  Use __builtin_fma only for gcc 4.6 and up.
90367         * config.make.in: Add have-mfma4 entry.
90368         * configure.in: Substitute libc_cv_cc_fma4.
90369         * math/Makefile (dbl-only-routines): Add sincostab.
90370         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90371         Use __sincostab not sincos.
90372         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90373         name is a macro.
90374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90378         using __copysign.
90379         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90380         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90381         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90382         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90383         and __inv.
90384         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90385         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90386         __copysign.
90387         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90388         define aliases when function name is a macro.
90389         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90390         sysdeps/ieee754/dbl-64/sincos.tbl.
90391         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90392         fma4-enabled routines.
90393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90394         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90395         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90396         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90397         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90398         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90400         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90401         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90402         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90403         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90404         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90405         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90406         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90407         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90408         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90409         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90410         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90411         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90412         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90413         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90414         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90415         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90416         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90417         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90418         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90419         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90420         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90421         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90422         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90424         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90425         rename.
90426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90427         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90428         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90429         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90430         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90431         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90432         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90433         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90435 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90437         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90439 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90441         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90443         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90444         prediction.
90445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90447         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90448         Remove unused variable magic_bits.
90449         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90451         * string/strnlen.c: Define and use STRNLEN macro.
90452         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90453         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90454         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90455         * wcsmbs/wcslen.c: Define and use WCSLEN.
90456         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90457         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90458         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90459         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90460         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90461         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90462         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90464 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90467         strnlen-sse2-no-bsf.
90468         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90470         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90471         Add strnlen support.
90472         (USE_AS_STRNLEN): New macro.
90473         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90474         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90475         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90476         * sysdeps/x86_64/wcslen.S: New file.
90478 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90480         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90481         XMM-moves are used for copying on small sizes.
90483 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90485         * wcsmbs/Makefile (strop-tests): Add wcschr.
90486         * wcsmbs/test-wcschr.c: New file.
90487         * string/test-strchr.c: Update.
90488         Add wcschr support.
90489         (WIDE): New macro.
90491 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90493         * wcsmbs/Makefile (strop-tests): Add wcslen.
90494         * wcsmbs/test-wcslen.c: New file.
90495         * string/test-strlen.c: Update.
90496         Add wcslen support.
90497         (WIDE): New macro.
90499 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90501         * po/it.po: Update from translation team.
90503 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90505         * sysdeps/x86_64/wcscmp.S: Update.
90506         Fix wrong comparison semantics.
90507         wcscmp shall use signed comparison not unsigned.
90508         Don't use substraction to avoid overflow bug.
90509         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90510         * wcsmbc/wcscmp.c: Likewise.
90511         * string/test-strcmp.c: Likewise.
90512         Add new tests to check cases with negative values.
90514 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90516         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90517         * sysdeps/x86_64/dla.h: ...here.  New file.
90518         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90521         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90522         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90523         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90524         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90528 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90531         __ynl_finite aliases.
90533 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90537         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90538         define DLA_FMA.
90539         [DLA_FMA] (EMULV): Use DLA_FMA.
90540         [DLA_FMA] (MUL12): Use EMULV.
90541         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90542         that are not needed.
90543         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90544         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90545         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90546         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90547         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90551 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90553         * math/s_nan.c: Undef __nan.
90554         * math/s_nanf.c: Undef __nanf.
90555         * math/s_nanl.c: Undef __nanl.
90556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90557         "math_private.h".
90559 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90561         * math/s_catan.c: Add branch predictions.
90562         * math/s_catanf.c: Likewise.
90563         * math/s_catanh.c: Likewise.
90564         * math/s_catanhf.c: Likewise.
90565         * math/s_catanhl.c: Likewise.
90566         * math/s_catanl.c: Likewise.
90567         * math/s_cexp.c: Likewise.
90568         * math/s_cexpf.c: Likewise.
90569         * math/s_cexpl.c: Likewise.
90570         * math/s_clog.c: Likewise.
90571         * math/s_clog10.c: Likewise.
90572         * math/s_clog10f.c: Likewise.
90573         * math/s_clog10l.c: Likewise.
90574         * math/s_clogf.c: Likewise.
90575         * math/s_clogl.c: Likewise.
90576         * math/s_csqrt.c: Likewise.
90577         * math/s_csqrtf.c: Likewise.
90578         * math/s_csqrtl.c: Likewise.
90579         * math/s_ctanf.c: Likewise.
90580         * math/s_ctanh.c: Likewise.
90581         * math/s_ctanhf.c: Likewise.
90582         * math/s_ctanhl.c: Likewise.
90583         * math/s_ctanl.c: Likewise.
90585         * math/math_private.h: Define __nan, __nanf, __nanl.
90586         * math/s_cacosh.c: Include <math_private.h>.
90587         * math/s_cacoshl.c: Likewise.
90588         * math/s_casinh.c: Likewise.
90589         * math/s_casinhf.c: Likewise.
90590         * math/s_casinhl.c: Likewise.
90591         * math/s_ccos.c: Rely entire on ccosh.
90592         * math/s_ccosf.c: Rely entire on ccoshf.
90593         * math/s_ccosl.c: Rely entirely on ccoshl.
90594         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90595         Remove tests for FE_INVALID.
90596         * math/s_ccoshf.c: Likewise.
90597         * math/s_ccoshl.c: Likewise.
90598         * math/s_csin.c: Likewise.
90599         * math/s_csinf.c: Likewise.
90600         * math/s_csinh.c Likewise.
90601         * math/s_csinhf.c: Likewise.
90602         * math/s_csinhl.c: Likewise.
90603         * math/s_csinl.c: Likewise.
90604         * math/s_ctan.c: Likewise.
90605         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90606         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90607         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90609 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90612         compilation problems.
90614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90615         __builtin_expect.
90617 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90619         * sysdeps/i386/configure.in: Test for -mfma4 option.
90620         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90621         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90622         COMMON_CPUID_INDEX_80000001.
90623         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90624         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90625         use it if FMA3 is not supported.
90626         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90628         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90629         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90631 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90633         [BZ #12892]
90634         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90635         it would create a cycle with a link time dependency.
90637 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90639         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90640         instruction.
90641         * string/Makefile (strop-tests): Add rawmemchr.
90642         * string/test-rawmemchr.c: New file.
90644         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90645         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90646         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90647         when compiling str{,n}casecmp and when AVX is available.  Hook up
90648         new optimized code in initializers.
90650 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90652         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90653         __feraiseexcept instead of feraiseexcept.
90655 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90657         * math/math_private.h: Define defaults for libc_fetestexcept and
90658         libc_feupdateenv.
90659         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90660         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90661         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90662         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90663         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90664         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90665         libc_fetestexcept and libc_feupdateenv.
90667         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90668         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90669         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90670         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90671         libc_feholdexcept_setround.
90673         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90674         Add s_nearbyint-c and s_nearbyintf-c.
90675         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90676         nearbyintf inlines.
90677         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90678         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90679         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90680         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90682         * math/math_private.h: Define defaults for libc_fegetround,
90683         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90684         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90685         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90686         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90687         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90688         standard functions.
90689         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90690         Remove comments and hacks for old compiler versions.
90691         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90692         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90693         libc_feholdexceptl.
90695 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90697         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90698         (__feraiseexcept_renamed): Add __NTH.
90699         (feraiseexcept): Add __NTH.  Rename local variables to fix
90700         namespace violations.
90702 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90704         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90706         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90708         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90709         recently added interfaces.
90710         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90712         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90713         about macro parameter expansion.
90715         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90716         __NO_MATH_INLINES is defined.  Cleanups.
90718         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90719         and __floorf is target has SSE4.1.
90720         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90721         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90722         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90723         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90725         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90726         name.
90727         (floorf): Likewise.
90729         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90731 2011-10-17  Andreas Schwab  <schwab@redhat.com>
90733         * misc/sys/cdefs.h: Fix last change.
90735         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90736         database lookup.
90738 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
90740         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90742         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90743         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90744         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90746         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90747         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90748         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90749         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90750         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90751         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90752         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90753         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90754         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90755         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90756         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90757         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90758         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90759         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90760         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90761         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90762         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90763         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90765         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90766         ceil, ceilf, floor, floorf.
90768         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90769         Perform IRELATIVE relocations last.
90771         * elf/do-rel.h: Add another parameter nrelative, replacing the
90772         local variable with the same name.  Change name of the function
90773         to end in Rel or Rela (uppercase).
90774         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90775         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
90776         elf_dynamic_do_##reloc function.
90778 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90780         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90781         is sufficient, at least on modern CPUs.
90783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90785         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90786         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90788         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90789         __expl_finite.
90790         * math/bits/math-finite.h: Add entries for exp.
90791         * math/e_expl.c: Add __*_finite alias.
90792         * sysdeps/i386/fpu/e_exp.S: Likewise.
90793         * sysdeps/i386/fpu/e_expf.S: Likewise.
90794         * sysdeps/i386/fpu/e_expl.c: Likewise.
90795         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90796         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90797         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90798         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90799         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90800         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90801         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90803         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90804         is sufficient, at least on modern CPUs.
90806         * ctype/ctype-info.c (__ctype_init): Define.
90807         * include/ctype.h (__ctype_init): Declare.
90808         (__ctype_b_loc): The variable is always initialized.
90809         (__ctype_toupper_loc): Likewise.
90810         (__ctype_tolower_loc): Likewise.
90811         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90812         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90814 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
90816         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90818         * configure.in: Also look in $cxxmachine/include for C++ system
90819         headers.
90821 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90823         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90824         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90825         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90826         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
90827         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90828         (USE_AS_WMEMCMP): New macro.
90829         Fixing indents.
90830         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90831         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90832         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90833         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90834         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90835         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90836         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90837         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90838         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90839         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90840         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90841         (USE_AS_WMEMCMP): New macro.
90842         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90843         * sysdeps/string/test-memcmp.c: Update.
90844         Fix simple_wmemcmp.
90845         Add new tests.
90846         * wcsmbs/wmemcmp.c: Update.
90847         (WMEMCMP): New macro.
90848         Fix overflow bug.
90850 2011-10-12  Andreas Jaeger  <aj@suse.de>
90852         [BZ #13268]
90853         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90855 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90857         * libio/iofwide.c (do_length): Avoid warning.
90859         * ctype/ctype.h (__isctype_f): Add missing __THROW.
90861 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
90863         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90865         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90866         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90867         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90868         * sysdeps/i386/i686/fpu/e_log.S: New file.
90869         * sysdeps/i386/i686/fpu/e_logf.S: New file.
90870         * sysdeps/i386/i686/fpu/e_logl.S: New file.
90872         * ctype/ctype.h: Add support for inlined isXXX functions when
90873         compiling C++ code.
90875 2011-10-14  Andreas Schwab  <schwab@redhat.com>
90877         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90879         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90881 2011-10-13  Roland McGrath  <roland@hack.frob.com>
90883         [BZ #13291]
90884         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90886 2011-10-13  Andreas Schwab  <schwab@redhat.com>
90888         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90889         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90890         feraiseexcept.
90892         * sysdeps/x86_64/memrchr.S: Check for zero size.
90894         * string/stratcliff.c: Add memrchr tests.
90896 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90899         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90900         rawmemchr-sse2 rawmemchr-sse2-bsf.
90901         * sysdeps/i386/i686/multiarch/memchr.S: New file.
90902         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90903         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90904         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90905         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90906         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90907         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90908         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90909         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90910         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90911         * string/memrchr.c (MEMRCHR): New macro.
90913 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
90915         Add integration with gcc's -ffinite-math-only and optimize wrapper
90916         functions in libm.
90917         * Versions.def: Define GLIBC_2.15 version for libm.
90918         * math/Makefile (headers): Add bits/math-finite.h.
90919         * math/bits/math-finite.h: New file.
90920         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90921         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90922         * math/e_acoshl.c: Add __*_finite alias.
90923         * math/e_acosl.c: Likewise.
90924         * math/e_asinl.c: Likewise.
90925         * math/e_atan2l.c: Likewise.
90926         * math/e_atanhl.c: Likewise.
90927         * math/e_coshl.c: Likewise.
90928         * math/e_exp10.c: Likewise.
90929         * math/e_exp10f.c: Likewise.
90930         * math/e_exp10l.c: Likewise.
90931         * math/e_exp2l.c: Likewise.
90932         * math/e_fmodl.c: Likewise.
90933         * math/e_gammal_r.c: Likewise.
90934         * math/e_hypotl.c: Likewise.
90935         * math/e_j0l.c: Likewise.
90936         * math/e_j1l.c: Likewise.
90937         * math/e_jnl.c: Likewise.
90938         * math/e_lgammal_r.c: Likewise.
90939         * math/e_log10l.c: Likewise.
90940         * math/e_log2l.c: Likewise.
90941         * math/e_logl.c: Likewise.
90942         * math/e_powl.c: Likewise.
90943         * math/e_sinhl.c: Likewise.
90944         * math/e_sqrtl.c: Likewise.
90945         * math/e_scalb.c: Completely rewritten and optimized.
90946         * math/e_scalbf.c: Likewise.
90947         * math/e_scalbl.c: Likewise.
90948         * math/w_acos.c: Likewise.
90949         * math/w_acosf.c: Likewise.
90950         * math/w_acosl.c: Likewise.
90951         * math/w_acosh.c: Likewise.
90952         * math/w_acoshf.c: Likewise.
90953         * math/w_acoshl.c: Likewise.
90954         * math/w_asin.c: Likewise.
90955         * math/w_asinf.c: Likewise.
90956         * math/w_asinl.c: Likewise.
90957         * math/w_atan2.c: Likewise.
90958         * math/w_atan2f.c: Likewise.
90959         * math/w_atan2l.c: Likewise.
90960         * math/w_atanh.c: Likewise.
90961         * math/w_atanhf.c: Likewise.
90962         * math/w_atanhl.c: Likewise.
90963         * math/w_exp10.c: Likewise.
90964         * math/w_exp10f.c: Likewise.
90965         * math/w_exp10l.c: Likewise.
90966         * math/w_fmod.c: Likewise.
90967         * math/w_fmodf.c: Likewise.
90968         * math/w_fmodl.c: Likewise.
90969         * math/w_j0.c: Likewise.
90970         * math/w_j0f.c: Likewise.
90971         * math/w_j0l.c: Likewise.
90972         * math/w_j1.c: Likewise.
90973         * math/w_j1f.c: Likewise.
90974         * math/w_j1l.c: Likewise.
90975         * math/w_jn.c: Likewise.
90976         * math/w_jnf.c: Likewise.
90977         * math/w_log.c: Likewise.
90978         * math/w_logf.c: Likewise.
90979         * math/w_logl.c: Likewise.
90980         * math/w_log10.c: Likewise.
90981         * math/w_log10f.c: Likewise.
90982         * math/w_log10l.c: Likewise.
90983         * math/w_log2.c: Likewise.
90984         * math/w_log2f.c: Likewise.
90985         * math/w_log2l.c: Likewise.
90986         * math/w_pow.c: Likewise.
90987         * math/w_powf.c: Likewise.
90988         * math/w_powl.c: Likewise.
90989         * math/w_remainder.c: Likewise.
90990         * math/w_remainderf.c: Likewise.
90991         * math/w_remainderl.c: Likewise.
90992         * math/w_scalb.c: Likewise.
90993         * math/w_scalbf.c: Likewise.
90994         * math/w_scalbl.c: Likewise.
90995         * math/w_sqrt.c: Likewise.
90996         * math/w_sqrtf.c: Likewise.
90997         * math/w_sqrtl.c: Likewise.
90998         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90999         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91000         used.
91001         * math/math_private.h: Declare __kernel_standard_f.
91002         * math/w_cosh.c: Remove cruft and optimize a bit.
91003         * math/w_coshf.c: Likewise.
91004         * math/w_coshl.c: Likewise.
91005         * math/w_exp2.c: Likewise.
91006         * math/w_exp2f.c: Likewise.
91007         * math/w_exp2l.c: Likewise.
91008         * math/w_hypot.c: Likewise.
91009         * math/w_hypotf.c: Likewise.
91010         * math/w_hypotl.c: Likewise.
91011         * math/w_lgamma.c: Likewise.
91012         * math/w_lgamma_r.c: Likewise.
91013         * math/w_lgammaf.c: Likewise.
91014         * math/w_lgammaf_r.c: Likewise.
91015         * math/w_lgammal.c: Likewise.
91016         * math/w_lgammal_r.c: Likewise.
91017         * math/w_sinh.c: Likewise.
91018         * math/w_sinhf.c: Likewise.
91019         * math/w_sinhl.c: Likewise.
91020         * math/w_tgamma.c: Likewise.
91021         * math/w_tgammaf.c: Likewise.
91022         * math/w_tgammal.c: Likewise.
91023         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91024         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91025         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91026         Minor optimizations.  Pretty printing.  Remove cruft.
91027         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91028         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91029         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91030         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91031         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91032         * sysdeps/i386/fpu/e_asin.S: Likewise.
91033         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91034         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91035         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91036         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91037         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91038         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91039         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91040         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91041         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91042         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91043         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91044         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91045         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91046         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91047         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91048         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91049         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91050         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91051         * sysdeps/i386/fpu/e_log.S: Likewise.
91052         * sysdeps/i386/fpu/e_log10.S: Likewise.
91053         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91054         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91055         * sysdeps/i386/fpu/e_log2.S: Likewise.
91056         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91057         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91058         * sysdeps/i386/fpu/e_logf.S: Likewise.
91059         * sysdeps/i386/fpu/e_logl.S: Likewise.
91060         * sysdeps/i386/fpu/e_pow.S: Likewise.
91061         * sysdeps/i386/fpu/e_powf.S: Likewise.
91062         * sysdeps/i386/fpu/e_powl.S: Likewise.
91063         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91064         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91065         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91066         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91067         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91068         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91069         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91070         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91071         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91072         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91075         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91076         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91077         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91078         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91079         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91081         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91082         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91083         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91085         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91086         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91087         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91088         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91089         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91090         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91092         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91093         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91094         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91095         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91096         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91097         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91098         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91099         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91100         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91101         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91102         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91103         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91104         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91105         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91106         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91107         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91108         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91109         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91110         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91111         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91112         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91113         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91114         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91115         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91116         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91117         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91118         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91119         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91120         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91121         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91122         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91123         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91124         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91125         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91126         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91127         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91128         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91129         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91130         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91131         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91132         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91134         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91136         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91137         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91138         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91142         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91146         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91147         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91148         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91149         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91150         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91151         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91152         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91153         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91154         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91155         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91156         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91157         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91158         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91159         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91160         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91161         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91162         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91163         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91164         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91165         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91166         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91167         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91168         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91169         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91170         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91171         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91172         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91173         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91174         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91175         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91176         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91177         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91178         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91179         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91180         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91181         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91182         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91183         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91184         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91185         (__isnanf): Likewise.
91186         (__isinf_ns): Likewise.
91187         (__isinf_nsf): Likewise.
91188         (__finite): Likewise.
91189         (__finitef): Likewise.
91190         (__ieee754_sqrt): Define as macro.
91191         (__ieee754_sqrtf): Define as macro.
91192         (__ieee754_sqrtl): Define as macro.
91193         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91194         inlined copy.
91195         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91196         __FINITE_MATH_ONLY__ consistent.
91197         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91199 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91201         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91202         of rawmemchr.
91204         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91206 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91208         * po/ja.po: Update from translation team.
91210 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91212         * locale/programs/locarchive.c (prepare_address_space): New function.
91213         (create_archive, enlarge_archive, open_archive): Use it.
91215         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91216         inside [SHARED], where it is used.
91218         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91220         * nss/getent.c (netgroup_keys): Remove unused variable.
91221         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91223 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91225         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91226         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91227         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91228         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91229         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91230         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91231         * math/Makefile (libm-calls): Add s_isinf_ns.
91232         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91233         * math/multc3.c: Likewise.
91234         * math/s_casin.c: Likewise.
91235         * math/s_casinf.c: Likewise.
91236         * math/s_casinl.c: Likewise.
91237         * math/s_ccos.c: Likewise.
91238         * math/s_ccosf.c: Likewise.
91239         * math/s_ccosl.c: Likewise.
91240         * math/s_ctan.c: Likewise.
91241         * math/s_ctanf.c: Likewise.
91242         * math/s_ctanh.c: Likewise.
91243         * math/s_ctanhf.c: Likewise.
91244         * math/s_ctanhl.c: Likewise.
91245         * math/s_ctanl.c: Likewise.
91246         * math/w_fmod.c: Likewise.
91247         * math/w_fmodf.c: Likewise.
91248         * math/w_fmodl.c: Likewise.
91249         * math/w_remainder.c: Likewise.
91250         * math/w_remainderf.c: Likewise.
91251         * math/w_remainderl.c: Likewise.
91252         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91253         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91254         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91255         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91256         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91257         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91258         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91259         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91261         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91262         of the number.
91263         * stdio-common/printf_fphex.c: Likewise.
91264         * stdio-common/printf_size.c: Likewise.
91266         * math/e_exp10.c: Include math_private.h using <...> not "...".
91267         * math/e_exp10f.c: Likewise.
91268         * math/e_exp10l.c: Likewise.
91269         * math/e_exp2l.c: Likewise.
91270         * math/e_j0l.c: Likewise.
91271         * math/e_j1l.c: Likewise.
91272         * math/e_jnl.c: Likewise.
91273         * math/e_lgammal_r.c: Likewise.
91274         * math/e_rem_pio2l.c: Likewise.
91275         * math/e_scalb.c: Likewise.
91276         * math/e_scalbf.c: Likewise.
91277         * math/e_scalbl.c: Likewise.
91278         * math/k_cosl.c: Likewise.
91279         * math/k_sinl.c: Likewise.
91280         * math/k_tanl.c: Likewise.
91281         * math/s_cacoshf.c: Likewise.
91282         * math/s_catan.c: Likewise.
91283         * math/s_catanf.c: Likewise.
91284         * math/s_catanh.c: Likewise.
91285         * math/s_catanhf.c: Likewise.
91286         * math/s_catanhl.c: Likewise.
91287         * math/s_catanl.c: Likewise.
91288         * math/s_ccosh.c: Likewise.
91289         * math/s_ccoshf.c: Likewise.
91290         * math/s_ccoshl.c: Likewise.
91291         * math/s_cexp.c: Likewise.
91292         * math/s_cexpf.c: Likewise.
91293         * math/s_cexpl.c: Likewise.
91294         * math/s_clog.c: Likewise.
91295         * math/s_clog10.c: Likewise.
91296         * math/s_clog10f.c: Likewise.
91297         * math/s_clog10l.c: Likewise.
91298         * math/s_clogf.c: Likewise.
91299         * math/s_clogl.c: Likewise.
91300         * math/s_csin.c: Likewise.
91301         * math/s_csinf.c: Likewise.
91302         * math/s_csinh.c: Likewise.
91303         * math/s_csinhf.c: Likewise.
91304         * math/s_csinhl.c: Likewise.
91305         * math/s_csinl.c: Likewise.
91306         * math/s_csqrt.c: Likewise.
91307         * math/s_csqrtf.c: Likewise.
91308         * math/s_csqrtl.c: Likewise.
91309         * math/s_ctan.c: Likewise.
91310         * math/s_ctanf.c: Likewise.
91311         * math/s_ctanh.c: Likewise.
91312         * math/s_ctanhf.c: Likewise.
91313         * math/s_ctanhl.c: Likewise.
91314         * math/s_ctanl.c: Likewise.
91315         * math/s_ldexp.c: Likewise.
91316         * math/s_ldexpf.c: Likewise.
91317         * math/s_ldexpl.c: Likewise.
91318         * math/s_significand.c: Likewise.
91319         * math/s_significandf.c: Likewise.
91320         * math/s_significandl.c: Likewise.
91321         * math/w_acos.c: Likewise.
91322         * math/w_acosf.c: Likewise.
91323         * math/w_acosh.c: Likewise.
91324         * math/w_acoshf.c: Likewise.
91325         * math/w_acoshl.c: Likewise.
91326         * math/w_acosl.c: Likewise.
91327         * math/w_asin.c: Likewise.
91328         * math/w_asinf.c: Likewise.
91329         * math/w_asinl.c: Likewise.
91330         * math/w_atan2.c: Likewise.
91331         * math/w_atan2f.c: Likewise.
91332         * math/w_atan2l.c: Likewise.
91333         * math/w_atanh.c: Likewise.
91334         * math/w_atanhf.c: Likewise.
91335         * math/w_atanhl.c: Likewise.
91336         * math/w_cosh.c: Likewise.
91337         * math/w_coshf.c: Likewise.
91338         * math/w_coshl.c: Likewise.
91339         * math/w_dremf.c: Likewise.
91340         * math/w_exp10.c: Likewise.
91341         * math/w_exp10f.c: Likewise.
91342         * math/w_exp10l.c: Likewise.
91343         * math/w_exp2.c: Likewise.
91344         * math/w_exp2f.c: Likewise.
91345         * math/w_fmod.c: Likewise.
91346         * math/w_fmodf.c: Likewise.
91347         * math/w_fmodl.c: Likewise.
91348         * math/w_hypot.c: Likewise.
91349         * math/w_hypotf.c: Likewise.
91350         * math/w_hypotl.c: Likewise.
91351         * math/w_j0.c: Likewise.
91352         * math/w_j0f.c: Likewise.
91353         * math/w_j0l.c: Likewise.
91354         * math/w_j1.c: Likewise.
91355         * math/w_j1f.c: Likewise.
91356         * math/w_j1l.c: Likewise.
91357         * math/w_jn.c: Likewise.
91358         * math/w_jnf.c: Likewise.
91359         * math/w_jnl.c: Likewise.
91360         * math/w_lgamma.c: Likewise.
91361         * math/w_lgamma_r.c: Likewise.
91362         * math/w_lgammaf.c: Likewise.
91363         * math/w_lgammaf_r.c: Likewise.
91364         * math/w_lgammal.c: Likewise.
91365         * math/w_lgammal_r.c: Likewise.
91366         * math/w_log.c: Likewise.
91367         * math/w_log10.c: Likewise.
91368         * math/w_log10f.c: Likewise.
91369         * math/w_log10l.c: Likewise.
91370         * math/w_log2.c: Likewise.
91371         * math/w_log2f.c: Likewise.
91372         * math/w_log2l.c: Likewise.
91373         * math/w_logf.c: Likewise.
91374         * math/w_logl.c: Likewise.
91375         * math/w_pow.c: Likewise.
91376         * math/w_powf.c: Likewise.
91377         * math/w_powl.c: Likewise.
91378         * math/w_remainder.c: Likewise.
91379         * math/w_remainderf.c: Likewise.
91380         * math/w_remainderl.c: Likewise.
91381         * math/w_scalb.c: Likewise.
91382         * math/w_scalbf.c: Likewise.
91383         * math/w_scalbl.c: Likewise.
91384         * math/w_sinh.c: Likewise.
91385         * math/w_sinhf.c: Likewise.
91386         * math/w_sinhl.c: Likewise.
91387         * math/w_sqrt.c: Likewise.
91388         * math/w_sqrtf.c: Likewise.
91389         * math/w_sqrtl.c: Likewise.
91390         * math/w_tgamma.c: Likewise.
91391         * math/w_tgammaf.c: Likewise.
91392         * math/w_tgammal.c: Likewise.
91394         * po/ja.po: Update from translation team.
91396 2011-09-29  Andreas Jaeger  <aj@suse.de>
91398         [BZ #13179]
91399         * sunrpc/netname.c (netname2host): Fix logic.
91401         [BZ #6779]
91402         [BZ #6783]
91403         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91404         correctly.
91405         * math/w_remainder.c (__remainder): Likewise.
91406         * math/w_remainderf.c (__remainderf): Likewise.
91407         * math/libm-test.inc (remainder_test): Add test cases.
91409 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91411         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91412         sdiv_qrnnd.
91414 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91416         * string/test-memcmp.c: Avoid unncessary #defines.
91417         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91419 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91421         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91422         Use new sse2 version for core i3 - i7 as it's faster
91423         than sse42 version.
91424         (bit_Prefer_PMINUB_for_stringop): New.
91425         * sysdeps/x86_64/rawmemchr.S: Update.
91426         Replace with faster SSE2 version.
91427         * sysdeps/x86_64/memrchr.S: New file.
91428         * sysdeps/x86_64/memchr.S: Update.
91429         Replace with faster SSE2 version.
91431 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91433         * elf/dl-load.c (lose): Add cast to avoid warning.
91435 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91437         * po/ca.po: Update from translation team.
91439         * inet/getnetgrent_r.c: Hook up nscd.
91440         * nscd/Makefile (routines): Add nscd_netgroup.
91441         (nscd-modules): Add netgroupcache.
91442         (CFLAGS-netgroupcache.c): Define.
91443         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91444         (cache_search): Add const to second parameter.
91445         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91446         INNETGR.
91447         (dbs): Add netgrdb entry.
91448         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91449         (verify_persistent_db): Handle netgrdb.
91450         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91451         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91452         GETFDNETGR.
91453         (netgroup_response_header): Define.
91454         (innetgroup_response_header): Define.
91455         (datahead): Add netgroup_response_header and innetgroup_response_header
91456         elements.
91457         * nscd/nscd.conf: Add entries for netgroup cache.
91458         * nscd/nscd.h (dbtype): Add netgrdb.
91459         (_PATH_NSCD_NETGROUP_DB): Define.
91460         (netgroup_iov_disabled): Declare.
91461         (xmalloc, xcalloc, xrealloc): Move declarations here.
91462         (cache_search): Adjust prototype.
91463         Add netgroup-related prototypes.
91464         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91465         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91466         (__nscd_innetgr): Declare.
91467         * nscd/selinux.c (perms): Use access_vector_t as element type and
91468         add netgroup-related initializers.
91469         * nscd/netgroupcache.c: New file.
91470         * nscd/nscd_netgroup.c: New file.
91471         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91472         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91473         For four parameters use innetgr.
91474         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91475         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91476         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91477         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91479         * nscd/connections.c (register_traced_file): Don't register file
91480         for disabled databases.
91482 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91484         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91486         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91487         from tree and freeing node.
91489 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91491         * nss/nsswitch.c (__nss_database_lookup): Handle
91492         nss_parse_service_list out of memory case.
91494 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91496         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91497         out of memory case.
91499 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91501         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91502         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91503         pass it down.
91504         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91505         elf_machine_rela, elf_machine_lazy_rel.
91506         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91507         (ELF_DYNAMIC_DO_REL): Likewise.
91508         (ELF_DYNAMIC_DO_RELA): Likewise.
91509         (ELF_DYNAMIC_RELOCATE): Likewise.
91510         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91511         to ELF_DYNAMIC_DO_REL.
91512         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91513         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91514         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91515         elf_machine_rela.
91516         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91517         skip_ifunc, don't call ifunc function if non-zero.
91518         (elf_machine_rela): Likewise.
91519         (elf_machine_lazy_rel): Likewise.
91520         (elf_machine_lazy_rela): Likewise.
91521         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91522         (elf_machine_lazy_rel): Likewise.
91523         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91524         Likewise.
91525         (elf_machine_lazy_rel): Likewise.
91526         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91527         Likewise.
91528         (elf_machine_lazy_rel): Likewise.
91529         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91530         (elf_machine_lazy_rel): Likewise.
91531         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91532         (elf_machine_lazy_rel): Likewise.
91533         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91534         (elf_machine_lazy_rel): Likewise.
91535         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91536         (elf_machine_lazy_rel): Likewise.
91537         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91538         (elf_machine_lazy_rel): Likewise.
91539         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91540         (elf_machine_lazy_rel): Likewise.
91542 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91544         * nss/nss_files/files-init.c (_nss_files_init): Use static
91545         initialization for all the *_traced_file variables.
91547 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91549         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91551 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91553         [BZ #13226]
91554         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91556 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91558         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91559         Reread the line before reparsing it.
91561 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91563         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91565 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91566             Maxim Kuvyrkov  <maxim@codesourcery.com>
91567             Joseph Myers  <joseph@codesourcery.com>
91569         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91570         if needed for __stack_chk_guard.
91572 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91574         * sysdeps/posix/spawni.c (script_execute): Always define it.
91575         It will be optimized away if unused.
91576         (maybe_script_execute): New function.
91577         (__spawni): Call it.
91579         * Makerules: Don't include tls.make.
91580         (config-tls): Always set to thread.
91581         * tls.make.c: File removed.
91583 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91585         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91586         * config.make.in (CPPFLAGS-config): New substituted variable.
91588 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91592         [BZ #13192]
91593         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91594         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91596 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91598         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91599         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91600         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91601         (CALL_FAIL): Likewise.
91602         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91603         (CALL_FAIL): Macro removed.
91604         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91606 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91608         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91609         for __FINITE_MATH_ONLY__ == 1.
91611 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91613         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91614         __ieee754_sqrt instead of sqrt.
91615         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91616         __ieee754_sqrtf instead of sqrtf.
91617         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91618         __floorf instead of floorf.
91619         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91620         __floorf, __truncf instead of floorf, truncf.
91622 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91624         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91626         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91627         __extern_always_inline.
91628         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91629         32-bit.
91631 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91633         * elf/rtld.c (dl_main): Also relocate in dependency order when
91634         doing symbol dependency testing.
91636 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91639         Always define `refsym'.
91641 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91643         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91644         (__FD_ELT): Renamed from __FDELT.
91645         * misc/bits/select2.h (__FD_ELT): Likewise.
91646         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91647         __FD_MASK instead of __FDELT, __FDMASK.
91648         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91649         Likewise.
91650         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91651         Likewise.
91653         * elf/Makefile (gen-ldd): Fix pattern.
91655         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91656         (init_tls): Likewise.
91658 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91662 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91664         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91665         `struct cmsghdr *' instead of `void *'.
91666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91667         Likewise.
91669 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91671         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91672         if non-absolute.
91673         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91674         ldd_rewrite_script.
91676 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91678         * configure.in: Remove --with-tls option.
91679         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91680         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91681         out in case it is missing.
91682         * sysdeps/ia64/elf/configure.in: Likewise.
91683         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91684         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91685         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91686         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91687         * sysdeps/sh/elf/configure.in: Likewise.
91688         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91689         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91690         * sysdeps/x86_64/elf/configure.in: Likewise.
91691         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91692         * sysdeps/mach/hurd/tls.h: Likewise.
91694         [BZ #13067]
91695         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91697         [BZ #13090]
91698         * configure.in: Fix use of AC_INIT.
91700         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91702 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91704         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91705         __set_errno.
91706         * malloc/hooks.c: Likewise.
91708         [BZ #11929]
91709         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91710         variables statically.
91711         (narenas): Initialize.
91712         (list_lock): Initialize.
91713         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
91714         initializtion of main_arena and list_lock.  Small cleanups.
91715         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91716         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
91717         Add initializers to main_arena and mp_.
91718         (malloc_state): Remove pagesize member.  Change all users to use
91719         GLRO(dl_pagesize).
91721         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91722         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
91723         is always initialized.
91725         * malloc/malloc.c: Removed unused configurations and dead code.
91726         * malloc/arena.c: Likewise.
91727         * malloc/hooks.c: Likewise.
91728         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91730         * include/tls.h: Removed.  USE___THREAD must always be defined.
91731         * bits/libc-tsd.h: Don't handle !USE___THREAD.
91732         * elf/dl-libc.c: Likewise.
91733         * elf/dl-tsd.c: Likewise.
91734         * include/errno.h: Likewise.
91735         * include/netdb.h: Likewise.
91736         * include/resolv.h: Likewise.
91737         * inet/herrno-loc.c: Likewise.
91738         * inet/herrno.c: Likewise.
91739         * malloc/arena.c: Likewise.
91740         * malloc/hooks.c: Likewise.
91741         * malloc/malloc.c: Likewise.
91742         * resolv/res-state.c: Likewise.
91743         * resolv/res_libc.c: Likewise.
91744         * sysdeps/i386/dl-machine.h: Likewise.
91745         * sysdeps/ia64/dl-machine.h: Likewise.
91746         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91747         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91748         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91749         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91750         * sysdeps/sh/dl-machine.h: Likewise.
91751         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91752         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91753         * sysdeps/unix/i386/sysdep.S: Likewise.
91754         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91755         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91760         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91762         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91764         * sysdeps/unix/x86_64/sysdep.S: Likewise.
91765         * sysdeps/x86_64/dl-machine.h: Likewise.
91766         * tls.make.c: Likewise.
91768         * configure.in: Remove --with-__thread option.  Make tests for
91769         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91770         tls_model attribute fail if no support is available.  Remove
91771         USE_IN_LIBIO.
91772         * Makeconfig: Adjust for dropped configure option.  All features are
91773         now mandatory.
91774         * Makerules: Likewise.
91775         * Versions.def: Likewise.
91776         * argp/argp-fmtstream.c: Likewise.
91777         * argp/argp-fmtstream.h: Likewise.
91778         * argp/argp-help.c: Likewise.
91779         * assert/assert.c: Likewise.
91780         * config.h.in: Likewise.
91781         * config.make.in: Likewise.
91782         * configure: Likewise.
91783         * configure.in: Likewise.
91784         * csu/Versions: Likewise.
91785         * csu/init.c: Likewise.
91786         * elf/tst-audit2.c: Likewise.
91787         * elf/tst-tls10.c: Likewise.
91788         * elf/tst-tls10.h: Likewise.
91789         * elf/tst-tls11.c: Likewise.
91790         * elf/tst-tls12.c: Likewise.
91791         * elf/tst-tls14.c: Likewise.
91792         * elf/tst-tlsmod11.c: Likewise.
91793         * elf/tst-tlsmod12.c: Likewise.
91794         * elf/tst-tlsmod13.c: Likewise.
91795         * elf/tst-tlsmod13a.c: Likewise.
91796         * elf/tst-tlsmod14a.c: Likewise.
91797         * elf/tst-tlsmod15b.c: Likewise.
91798         * elf/tst-tlsmod16a.c: Likewise.
91799         * elf/tst-tlsmod16b.c: Likewise.
91800         * elf/tst-tlsmod7.c: Likewise.
91801         * elf/tst-tlsmod8.c: Likewise.
91802         * elf/tst-tlsmod9.c: Likewise.
91803         * gmon/gmon.c: Likewise.
91804         * grp/fgetgrent_r.c: Likewise.
91805         * grp/putgrent.c: Likewise.
91806         * hurd/fopenport.c: Likewise.
91807         * include/libc-symbols.h: Likewise.
91808         * include/tls.h: Likewise.
91809         * intl/gettextP.h: Likewise.
91810         * intl/loadinfo.h: Likewise.
91811         * locale/global-locale.c: Likewise.
91812         * locale/localeinfo.h: Likewise.
91813         * mach/devstream.c: Likewise.
91814         * malloc/arena.c: Likewise.
91815         * malloc/set-freeres.c: Likewise.
91816         * misc/err.c: Likewise.
91817         * misc/getttyent.c: Likewise.
91818         * misc/mntent_r.c: Likewise.
91819         * posix/getopt.c: Likewise.
91820         * posix/wordexp.c: Likewise.
91821         * pwd/fgetpwent_r.c: Likewise.
91822         * resolv/Versions: Likewise.
91823         * resolv/res_hconf.c: Likewise.
91824         * shadow/fgetspent_r.c: Likewise.
91825         * shadow/putspent.c: Likewise.
91826         * stdio-common/printf_fphex.c: Likewise.
91827         * stdio-common/tmpfile.c: Likewise.
91828         * stdlib/abort.c: Likewise.
91829         * stdlib/fmtmsg.c: Likewise.
91830         * sunrpc/auth_unix.c: Likewise.
91831         * sunrpc/clnt_perr.c: Likewise.
91832         * sunrpc/clnt_tcp.c: Likewise.
91833         * sunrpc/clnt_udp.c: Likewise.
91834         * sunrpc/clnt_unix.c: Likewise.
91835         * sunrpc/openchild.c: Likewise.
91836         * sunrpc/svc_simple.c: Likewise.
91837         * sunrpc/svc_tcp.c: Likewise.
91838         * sunrpc/svc_udp.c: Likewise.
91839         * sunrpc/svc_unix.c: Likewise.
91840         * sunrpc/xdr.c: Likewise.
91841         * sunrpc/xdr_array.c: Likewise.
91842         * sunrpc/xdr_rec.c: Likewise.
91843         * sunrpc/xdr_ref.c: Likewise.
91844         * sunrpc/xdr_stdio.c: Likewise.
91846 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91848         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91850 2011-07-03  Andreas Jaeger  <aj@suse.de>
91852         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91853         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91854         regenerate with gen-libm-tests.pl.
91856 2010-05-12  Petr Baudis  <pasky@suse.cz>
91858         [BZ #11589]
91859         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91860         around j0() zero points by switching to j1().
91861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91862         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91864         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91866 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91868         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91869         instead of 0.
91870         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91871         instead of 0.
91872         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91873         Patch in part by Pavel Roskin <proski@gnu.org>.
91875         [BZ #13138]
91876         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91877         realloc.
91878         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
91879         Free memory block if necessary.
91881         [BZ #12847]
91882         * libio/genops.c (INTDEF): For string streams the _lock pointer can
91883         be NULL.  Don't lock in this case.
91885 2011-09-09  Roland McGrath  <roland@hack.frob.com>
91887         * elf/elf.h (ELFOSABI_GNU): New macro.
91888         (ELFOSABI_LINUX): Define to that.
91890 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
91892         * string/strncat.c (strncat): Undef the symbol in case it has been
91893         defined in bits/string.h.
91895 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91897         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91899         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91900         link map.
91902 2011-08-17  Andreas Jaeger  <aj@suse.de>
91904         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91906 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
91907             Ian Lance Taylor  <iant@google.com>
91909         * math/libm-test.inc (lround_test): New testcase.
91910         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91912 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
91914         * Makefile: Remove support for automatic cvs check-ins.
91915         * Makerules: Likewise.
91916         * config.make.in: Likewise.
91917         * configure.in: Likewise.
91918         * intl/Makefile: Likewise.
91919         * locale/Makefile: Likewise.
91920         * po/Makefile: Likewise.
91921         * posix/Makefile: Likewise.
91922         * sysdeps/gnu/Makefile: Likewise.
91923         * sysdeps/mach/hurd/Makefile: Likewise.
91924         * sysdeps/sparc/sparc32/Makefile: Likewise.
91926         [BZ #13118]
91927         * posix/Makefile (bug-regex32-ENV): Define.
91928         Patch by John Stanley <jpsinthemix@verizon.net>.
91930         * misc/Makefile (headers): Add bits/select2.h.
91931         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91932         * misc/bits/select2.h: New file.
91933         * include/bits/select2.h: New file.
91934         * debug/Makefile (routines): Add fdelt_chk.
91935         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91936         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91937         FD_ISSET.
91938         * debug/fdelt_chk.c: New file.
91940         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
91941         * wcsmbs/test-wmemcmp.c: Likewise.
91942         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91943         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91945 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91947         * string/Makefile (strop-tests): Add memcmp.
91948         * string/test-wmemcmp.c: New file.
91949         * string/test-memcmp.c: Add wmemcmp support.
91951 2011-09-08  Roland McGrath  <roland@hack.frob.com>
91953         [BZ #13153]
91954         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91955         2011-07-19 change.
91957         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91958         garbage value in a __mach_port_mod_refs call in the cases of the
91959         task-self and thread-self ports.
91961 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91963         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91965 2011-09-08  Andreas Schwab  <schwab@redhat.com>
91967         * elf/dl-load.c (lose): Check for non-null L.
91969 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91971         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91973         * elf/dl-libc.c (dlerror_run): Pass back error code from
91974         dl_catch_error.
91976         [BZ #13123]
91977         * elf/dl-load.c (lose): Free l_origin if it is valid.
91979         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91980         names.
91981         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91982         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91983         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91984         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91985         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91986         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91988 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91990         * sysdeps/powerpc/fpu/e_hypot.c: New file.
91991         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91992         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91993         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91994         * sysdeps/powerpc/fpu/k_cosf.c: New file.
91995         * sysdeps/powerpc/fpu/k_sinf.c: New file.
91996         * sysdeps/powerpc/fpu/s_cosf.c: New file.
91997         * sysdeps/powerpc/fpu/s_sinf.c: New file.
91998         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91999         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92001 2011-08-15  Alan Modra  <amodra@gmail.com>
92003         [BZ #13092]
92004         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92005         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92006         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92007         ppc_mcount to static-only-routines.
92008         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92009         __mcount_internal.
92010         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92011         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92013 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92015         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92016         for finite and infinity parameters.
92018 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92021         and add nop instructions for throughput optimization.
92022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92024 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92026         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92027         aligned copy for power7 with vector-scalar instructions.
92028         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92030 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92033         AVX check.
92035 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92037         [BZ #13144]
92038         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92039         last change.
92041 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92043         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92044         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92045         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92046         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92047         clock_gettime.
92049 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92051         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92052         Forgot to demangle the pointer.
92054         * sysdeps/i386/sysdep.h: Define atom_text_section.
92055         * sysdeps/x86_64/sysdep.h: Likewise.
92056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92057         section with atom_text_section.
92058         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92059         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92060         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92061         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92062         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92064         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92065         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92066         already be defined.  Change to take two parameters and don't assign
92067         result to variable.  Adjust all users.
92068         Define INTERNAL_GETTIME if not already defined.
92069         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92070         call.
92071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92072         HAVE_CLOCK_GETTIME_VSYSCALL.
92073         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92076         gettimeofday vsyscall, just use time.
92078 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92080         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92081         <errno.h>.
92083 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92085         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92086         syscall on x86-64.
92087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92088         syscall.
92089         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92090         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92091         syscall if possible.
92093 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92095         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92096         e_ident.  Don't pass to find_mapsXX.
92097         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92099 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92102         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92103         * sysdeps/x86_64/multiarch/strchr.S: Update.
92104         Check bit_slow_BSF bit.
92105         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92106         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92107         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92109 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92111         [BZ #13134]
92112         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92113         before glibc 2.15.
92114         (tryshell): Define.
92115         (__spawni): Change last parameter to be flag.  Test
92116         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92117         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92118         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92119         * posix/spawni.c: Likewise.
92120         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92121         * posix/spawnp.c: Likewise.  Change normal version to use
92122         SPAWN_XFLAGS_USE_PATH.
92123         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92124         SPAWN_XFLAGS_TRY_SHELL.
92126         [BZ #13150]
92127         * posix/glob.h: Remove gcc 1.x support.
92129         [BZ #13068]
92130         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92132 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92135         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92136         strrchr-sse2-bsf
92137         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92138         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92139         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92140         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92141         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92142         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92144 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92146         * sysdeps/x86_64/wcscmp.S: New file.
92148         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92149         wcscmp-c wcscmp-sse2
92150         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92151         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92152         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92153         * wcsmbs/wcscmp.c: Allow renaming.
92155 2011-09-05  David S. Miller  <davem@davemloft.net>
92157         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92158         stack slot, rather than the struct return pointer slot.
92159         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92160         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92162         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92164 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92166         * po/ja.po: Update from translation team.
92168         [BZ #13144]
92169         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92170         kernel in 64-bit binaries.
92172 2011-09-01  David S. Miller  <davem@davemloft.net>
92174         * elf/elf.h (HWCAP_SPARC_*): Move to..
92175         * sysdeps/sparc/sysdep.h: this new file and add new values.
92176         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92177         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92178         _DL_HWCAP_COUNT to 24.
92179         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92180         entries.
92181         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92182         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92183         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92184         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92185         instead of magic constants.
92186         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92188 2011-08-31  David S. Miller  <davem@davemloft.net>
92190         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92192         Reimplement to do errno handling inline.
92193         (SYSCALL_ERROR_HANDLER): New macro.
92194         (__SYSCALL_STRING): Do not do errno handling in asm.
92195         (__CLONE_SYSCALL_STRING): Delete.
92196         (__INTERNAL_SYSCALL_STRING): Delete.
92197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92198         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92199         (PSEUDO): Reimplement to do errno handling inline.
92200         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92201         (SYSCALL_ERROR_HANDLER): New macro.
92202         (__SYSCALL_STRING): Do not do errno handling in asm.
92203         (__CLONE_SYSCALL_STRING): Delete.
92204         (__INTERNAL_SYSCALL_STRING): Delete.
92205         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92206         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92207         i386.
92208         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92209         (inline_syscall*): Add 'err' argument.
92210         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92211         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92212         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92213         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92215         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92216         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92218 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92220         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92222 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92224         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92225         directive.
92227 2011-08-24  David S. Miller  <davem@davemloft.net>
92229         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92231 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92233         * elf/Makefile: Add rules to build and run unload8 test.
92234         * elf/unload8.c: New file.
92235         * elf/unload8mod1.c: New file.
92236         * elf/unload8mod1x.c: New file.
92237         * elf/unload8mod2.c: New file.
92238         * elf/unload8mod3.c: New file.
92240         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92241         it wasn't used.
92243 2011-08-23  David S. Miller  <davem@davemloft.net>
92245         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92246         subtract stack bias.
92247         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92248         %sp not %fp in calculations.
92249         (_JMPBUF_UNWINDS_ADJ): Likewise.
92251         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92252         (aio_suspend): Call it to force an exception region around the
92253         AIO_MISC_WAIT() invocation.
92255 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92257         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92258         backslash.
92260 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92262         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92263         protection macro.
92264         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92265         and <dl-machine.h>.
92266         (Elf64_FuncDesc): Remove.
92268 2011-08-22  David S. Miller  <davem@davemloft.net>
92270         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92271         sigaltstack check, add missing cfi directives.
92272         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92273         missing cfi directives, and sigaltstack handling.
92275 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92277         [BZ #11724]
92278         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92279         object is seen twice.
92280         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92282         * elf/Makefile (distribute): Add tst-initorder2.c.
92283         (tests): Add tst-initorder2.
92284         (modules-names): Add tst-initorder2a tst-initorder2b
92285         tst-initorder2c tst-initorder2d.  Add rules to build them.
92286         ($(objpfx)tst-initorder2.out): New rule.
92287         * elf/tst-initorder2.c: New file.
92288         * elf/tst-initorder2.exp: New file.
92290 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92292         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92294         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92295         dependencies back to end of function.
92297         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92298         $(elfobjdir)/ld.so.
92300 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92302         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92303         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92304         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92305         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92306         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92307         of __vdso_gettimeofday.
92308         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92309         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92310         attribute_hidden.
92311         (_libc_vdso_platform_setup): Remove initialization of
92312         __vdso_gettimeofday and __vdso_time.
92314 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92316         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92317         and fgetc_unlocked.
92318         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92319         getc_unlocked.
92321         * elf/dl-open.c (add_to_global): Report additions to the global scope
92322         for LD_DEBUG=scopes.
92323         (dl_open_worker): Also print scope of newly loaded dependencies.
92324         (_dl_show_scope): Indicate if there is no scope.
92326         [BZ #13114]
92327         * stdio-common/Makefile (tests): Add bug24.
92328         * stdio-common/bug24.c: New file.
92330 2011-08-19  Andreas Jaeger  <aj@suse.de>
92332         [BZ #13114]
92333         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92334         non-existant file when using close-on-exec mode.
92336 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92339         the very first instruction.
92341         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92342         the CFI state in the end.
92343         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92344         inclusion of dl-trampoline.h.
92345         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92347 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92349         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92350         expectations for long double.
92352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92353         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92355 2011-08-14  David S. Miller  <davem@davemloft.net>
92357         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92358         artificual limit depends upon the system page size.
92360 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92362         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92363         * resolv/Makefile: Define CFLAGS-libresolv.
92365 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92367         * nss/makedb.c (compute_tables): Make variables used in nested
92368         function static.
92370 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92372         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92373         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92374         if buffer was too small.
92376         * elf/pldd.c (main): Attach to all threads in the process.
92377         Rewrite /proc handling to use *at functions.
92379 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92381         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92382         specifies first scope to show.
92383         (dl_open_worker): Update callers.  Move printing scope of new
92384         object to before the relocation.
92385         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92386         * sysdeps/generic/ldsodefs.h: Update declaration.
92388         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92389         string for the scope number.
92391 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92393         * nscd/servicescache.c (cache_addserv): Make sure written is always
92394         initialized.
92396 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92398         * sysdeps/i386/i486/bits/atomic.h
92399         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92400         statement expression, so as to suppress "set but not used" warning.
92401         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92403         * string/strncat.c (STRNCAT): Use prototype definition.
92405         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92406         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92407         -Iprograms here.
92408         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92409         (localedef-modules): Add localedef.
92410         (locale-modules): Add locale.
92412         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92413         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92414         to avoid a warning.
92416 2011-08-14  David S. Miller  <davem@davemloft.net>
92418         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92419         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92421 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92423         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92424         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92425         * elf/rtld.c (dl_main): Set l_name of vDSO.
92426         Call _dl_show_scope when DL_DEBUG_SCOPES.
92427         (process_dl_debug): Recognize scopes flag and also set it for all.
92428         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92429         Declare _dl_show_scope.
92431         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92432         (do_dlopen): Pass caller_dlopen to dl_open.
92433         (__libc_dlopen_mode): Initialize caller_dlopen.
92435         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92436         of libc.  Make tolower call locale-independent.  Optimize a bit by
92437         using isdigit instead of isalnum.
92438         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92440 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92442         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92443         was a dependency or dynamically loaded.
92445 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92447         * intl/l10nflist.c: Allow architecture-specific pop function.
92448         * sysdeps/x86_64/l10nflist.c: New file.
92450         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92451         classification.
92453 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92455         * include/dirent.h: Add libc_hidden_proto for scandirat and
92456         scandirat64.  Don't declare __scandirat64.
92457         * dirent/scandirat.c: Add libc_hidden_def.
92458         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92459         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92461 2011-08-10  David S. Miller  <davem@davemloft.net>
92463         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92464         enum.
92465         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92466         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92467         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92469 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92471         * Versions.def [libc]: Add GLIBC_2.15.
92472         * dirent/Makefile (routines): Add scandirat and scandirat64.
92473         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92474         GLIBC_2.15.
92475         * dirent/dirent.h: Declare scandirat and scandirat64.
92476         * dirent/scandirat.c: New file.
92477         * dirent/scandirat64.c: New file.
92478         * sysdeps/wordsize-64/scandirat.c: New file.
92479         * sysdeps/wordsize-64/scandirat64.c: New file.
92480         * dirent/opendir.c: Define opendirat.
92481         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92482         using scandirat.
92483         * dirent/scandir64.c: Adjust for scandir.c change.
92484         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92485         __scandirat64, and __scandir_cancel_handler.
92486         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92487         additional parameter and use openat instead of open (outside of ld.so).
92488         Add new __opendir as wrapper around __opendirat.
92489         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92490         here without requiring old scandirat implementation.
92492 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92494         * dirent/scandir.c (cancel_handler): Renamed to
92495         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92496         defined.  Adjust users.
92497         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92498         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92500 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92502         * string/test-string.h (IMPL): Use __STRING to expand name and then
92503         stringify it.
92505         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92506         of cleanups.
92508 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92510         * string/Makefile: Update.
92511         (strop-tests): Append strncat.
92512         * string/test-wcscmp.c: New file.
92513         New comprehensive test for wcscmp.
92514         * string/test-strcmp.c: Update.
92515         (WIDE): New define.
92517 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92519         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92520         line.
92522 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92525         encoding to ACE if AI_IDN.
92527 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92529         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92530         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92532 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92534         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92535         Fix overflow bug in strncat.
92536         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92538         * string/test-strncat.c: Update.
92539         Add new tests for checking overflow bugs.
92541 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92544         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92545         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92546         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92547         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92548         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92549         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92550         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92551         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92553         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92554         (USE_AS_STRCAT): Define.
92555         Add strcat and strncat support.
92556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92558 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92560         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92561         __n bigger than INT_MAX+1.
92562         (__strncmp_g): Likewise.
92564 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92566         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92567         * libio/stido.h: Likewise.
92569         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92570         (AF_NFC): Define.
92571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92572         (AF_NFC): Define.
92574         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92575         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92577         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92578         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92580         [BZ #13021]
92581         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92582         installed.
92584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92585         typo.
92586         (_dl_x86_64_save_sse): Likewise.
92588 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92590         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92591         OSXSAVE.
92592         (_dl_x86_64_save_sse): Likewise.
92594         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92596         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92598 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92601         change.
92602         (_dl_x86_64_save_sse): Use correct AVX check.
92604 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92606         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92607         bug in strncpy/strncat.
92608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92610 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92612         * string/tester.c (test_strcat): Add tests for different alignments
92613         of source and destination.
92614         (test_strncat): Likewise.
92616 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92618         [BZ #12852]
92619         * posix/glob.c (glob): Check passed in values before using them in
92620         expressions to avoid some overflows.
92621         (glob_in_dir): Likewise.
92623         [BZ #13007]
92624         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92625         check for AVX enablement so that we don't crash with old kernels and
92626         new hardware.
92627         * elf/tst-audit4.c: Add same checks here.
92628         * elf/tst-audit6.c: Likewise.
92630         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92632 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92634         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92636 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92638         * po/cs.po: Update from translation team.
92639         * po/bg.po: Likewise.
92641 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92643         * misc/sys/cdefs.h: Add support for const attribute.
92644         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92645         to gnu_dev_{major,minor,makedev} functions.
92647 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92649         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92651 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92653         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92654         strlen results.
92656 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92659         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92660         register in order to avoid conflicts with the soft frame pointer
92661         being held in r11 when necessary.
92662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92663         (INTERNAL_VSYSCALL_NCS): Likewise.
92665 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92667         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92668         * elf/dl-fini.c (_dl_fini): Adjust caller.
92669         * elf/dl-close.c (_dl_close_worker): Likewise.
92670         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92672 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92674         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92675         "aux_cache->nlibs < 0".
92677         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92678         in the reload-count case.
92680 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92683         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92684         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92685         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92686         * sysdeps/x86_64/multiarch/strcat.S: New file.
92687         * sysdeps/x86_64/multiarch/strncat.S: New file.
92688         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92689         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92690         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92691         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92692         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92693         (USE_AS_STRCAT): Define.
92694         Add strcat and strncat support.
92695         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92696         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92697         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92698         * string/strncat.c: Update.
92699         (USE_AS_STRNCAT): Define.
92700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92701         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92702         and i7.
92703         * sysdeps/x86_64/multiarch/init-arch.h
92704         (bit_Prefer_PMINUB_for_stringop): New.
92705         (index_Prefer_PMINUB_for_stringop): Likewise.
92706         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92707         bit_Prefer_PMINUB_for_stringop.
92709 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92711         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92712         buffer64.
92713         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92714         of casting of buffer.
92715         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92716         buffer32 and buffer64.
92717         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92718         writes instead of casting of buffer.
92719         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92720         buffer32.
92721         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92722         casting of buffer.
92724 2011-07-19  Andreas Schwab  <schwab@redhat.com>
92726         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92728 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92730         * nscd/nscd.c (termination_handler): Don't do anything for a database
92731         if it has not yet been initialized.
92733 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92735         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92737 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92739         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92741 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92743         * po/nl.po: Update from translation team.
92744         * po/sv.po: Likewise.
92746 2011-07-16  Roland McGrath  <roland@hack.frob.com>
92748         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92749         now disallowed by GCC.
92751         * configure.in (use-default-link): Default to yes if a test -shared
92752         link meets our qualifications.
92753         * configure: Regenerated.
92755         * config.make.in (output-format): New variable.
92756         * configure.in: Check for ld --print-output-format support.
92757         * configure: Regenerated.
92758         * Makerules ($(common-objpfx)format.lds)
92759         [$(output-format) != unknown]: Just use $(output-format),
92760         instead of the linker-script munging.
92762 2011-07-14  Roland McGrath  <roland@hack.frob.com>
92764         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92765         of $(common-objpfx)shlib.lds.
92766         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92768         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92769         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92771         * configure.in (-z relro check): Adjust test code to add a large
92772         writable data section after it.
92773         * configure: Regenerated.
92775 2011-07-11  Roland McGrath  <roland@hack.frob.com>
92777         * configure.in (-z relro check): Fix test code to make the variable
92778         truly const.
92779         * configure: Regenerated.
92781 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
92783         * nscd/nscd.h (struct traced_file): Define.
92784         (struct database_dyn): Remove inotify_descr, reset_res, and filename
92785         elements.  Add traced_files.
92786         (inotify_fd): Declare.
92787         (register_traced_file): Declare.
92788         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92789         (inotify_fd): Export.
92790         (resolv_conf_descr): Remove.
92791         (nscd_init): Move inotify descriptor creation to main.
92792         Don't register files for notification here.
92793         (register_traced_file): New function.
92794         (invalidate_cache): Don't use reset_res to determine whether to call
92795         res_init, go through the list of registered files.
92796         (main_loop_poll): The inotify descriptors are now stored in the
92797         structures for the traced files.
92798         (main_loop_epoll): Likewise.
92799         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
92800         to __nss_disable_nscd.
92801         * nscd/cache.c (prune_cache): There is no single inotify descriptor
92802         for a database anymore.  Check the records for all the registered
92803         files instead.
92804         * nss/Makefile (libnss_files-routines): Add files-init.
92805         (libnss_db-routines): Add db-init.
92806         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92807         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92808         * nss/nss_db/db-init.c: New file.
92809         * nss/nss_files/files-init.c: New file.
92810         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
92811         __nss_lookup_function.
92812         (__nss_lookup_function): Call nss_load_library.
92813         (nss_load_all_libraries): New function.
92814         (__nss_disable_nscd): Take parameter with callback function for files
92815         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
92816         used for the cached services.
92817         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92818         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92819         options for features to all the files in nscd.
92821         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92823 2011-07-10  Roland McGrath  <roland@hack.frob.com>
92825         * csu/elf-init.c (__libc_csu_init): Comment typo.
92827 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
92829         * po/pl.po: Update from translation team.
92830         * po/ja.po: Likewise.
92831         * po/ru.po: Likewise.
92832         * po/ko.po: Likewise.
92833         * po/fr.po: Likewise.
92835 2011-07-09  Roland McGrath  <roland@hack.frob.com>
92837         * configure.in (.ctors/.dtors header and trailer check):
92838         Use an empirical test on a built program.
92839         * configure: Regenerated.
92841         * configure.in (-z relro check): Use an empirical test on a built DSO.
92842         Detect, but do not require, on ia64.
92843         * configure: Regenerated.
92845         * configure.in (READELF): Find it with AC_CHECK_TOOL.
92846         Update tests that use readelf to use $READELF instead.
92847         * configure: Regenerated.
92849 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
92851         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92852         if the result is not used.
92854 2011-07-05  Andreas Jaeger  <aj@suse.de>
92856         [BZ #9696]
92857         * stdlib/tst-strtod.c: Add testcase.
92859 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
92861         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92862         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92863         The latter has a higher limit.  Take additional parameter to pass to
92864         the new function.
92865         (__pathconf): Pass file to __statfs_link_max.
92866         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92867         __statfs_link_max.
92868         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92869         __statfs_link_max.
92871         [BZ #12868]
92872         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92873         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92874         Handle Lustre.
92875         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92876         (__statfs_filesize_max): Likewise.
92877         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92879 2011-07-05  Andreas Jaeger  <aj@suse.de>
92881         * resolv/res_comp.c (dn_skipname): Remove unused variable.
92883 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
92885         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92886         `status' variable.
92887         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92888         Likewise.
92890 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
92892         * Makefile (strop-tests): Add strncat.
92893         * string/test-strncat.c: New file.
92895 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
92897         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92899 2011-06-21  Andreas Jaeger  <aj@suse.de>
92901         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92902         Copy rule from iconvdata/Makefile.
92904 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92906         [BZ #12922]
92907         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92908         but no long options are defined, just return 'W'.
92910 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
92912         [BZ #9696]
92913         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92915 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92917         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92918         netgroups to read.
92919         (innetgr): Likewise.
92921 2011-07-05  Roland McGrath  <roland@hack.frob.com>
92923         * config.make.in (install_root): Default to $(DESTDIR).
92925 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
92927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92929 2011-07-02  Roland McGrath  <roland@hack.frob.com>
92931         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92933         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92934         containing directory rather than embedding absolute directory names.
92936         * scripts/check-local-headers.sh: Rewritten using awk.
92937         Match by word, not by line.  Print error messages for matches.
92938         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92940         * Makerules [shlib-lds-flags empty]:
92941         ($(common-objpfx)libc_pic.opts): New target.
92942         ($(common-objpfx)libc_pic.os.clean): New target.
92943         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92945         * config.make.in (OBJCOPY): New variable.
92946         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92947         * configure: Regenerated.
92949         * config.make.in (use-default-link): New variable.
92950         * configure.in (use_default_link): Grok --with-default-link to set it.
92951         * configure: Regenerated.
92952         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92953         (shlib-lds, shlib-lds-flags): Define to empty.
92955         * Makerules (shlib-lds): New variable.
92956         (shlib-lds-flags): New variable.
92957         (build-shlib, build-moduile, build-module-asneeded): Use it.
92958         ($(common-objpfx)libc.so): Use $(shlib-lds).
92959         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92960         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92962         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92963         DT_FLAGS/DT_FLAGS_1 with zero flags.
92965         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92966         linker script munging.
92968 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
92970         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92971         as 128-bit value.
92972         * crypt/sha512.c (sha512_process_block): Perform total addition using
92973         128-bit if possible.
92974         (__sha512_finish_ctx): Likewise.
92975         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92976         as 64-bit value.
92977         * crypt/sha256.c (SWAP64): Define.
92978         (sha256_process_block): Perform total addition using 64-bit if
92979         possible.
92980         (__sha256_finish_ctx): Likewise.
92982 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
92984         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
92985         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92986         * nscd/hstcache.c (cache_addhst): Likewise.
92987         * nscd/grpcache.c (cache_addgr): Likewise.
92988         * nscd/aicache.c (addhstaiX): Likewise.
92989         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92991 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
92993         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92994         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92995         * nscd/hstcache.c (cache_addhst): Likewise.
92996         * nscd/grpcache.c (cache_addgr): Likewise.
92997         * nscd/aicache.c (addhstaiX): Likewise.
92999 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93001         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93002         domain only when needed.
93004 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93007         is always restored.
93009 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93011         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93012         are re-adding the entry.
93013         * nscd/servicescache.c (cache_addserv): Likewise.
93015 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93017         * sysdeps/generic/dl-irel.h: fix protection against multiple
93018         inclusions.
93019         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93021 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93023         [BZ #12935]
93024         * malloc/memusage.sh: Fix quoting in message.
93025         * debug/xtrace.sh: Likewise.
93027         * configure.in: Remove support for --experimental-malloc option, make
93028         it the default.
93029         * config.make.in: Likewise.
93030         * malloc/Makefile: Likewise.
93032 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93034         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93035         two-byte characters.
93037 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93039         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93040         AC_CACHE_CHECK invocation.
93041         * configure: Regenerated.
93043         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93045 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93047         [BZ #12350]
93048         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93049         bit from old_res_options.
93051         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93053         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93054         value type for setfct.
93056 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93058         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93059         __gettimeofday instead of gettimeofday.
93061 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93063         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93065 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93067         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93069         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93070         info.
93072 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93075         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93076         strcpy-sse2-unaligned strncpy-sse2-unaligned
93077         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93078         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93079         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93080         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93081         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93082         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93083         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93084         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93085         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93086         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93087         (STRCPY): Support SSE2 and SSSE3 versions.
93089 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93091         [BZ #12874]
93092         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93093         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93094         kernels which artificially limit size of requests.
93096 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93099         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93100         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93101         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93102         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93103         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93104         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93105         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93108         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93109         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93110         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93111         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93112         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93114         Enable unaligned load optimization for Intel Core i3, i5 and i7
93115         processors.
93116         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93117         Define.
93118         (index_Fast_Unaligned_Load): Define.
93119         (HAS_FAST_UNALIGNED_LOAD): Define.
93121 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93123         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93125 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93127         [BZ #12907]
93128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93129         until it is clear that the information is realy needed.
93130         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93132 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93136 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93139         /sys/devices/system/cpu/online if it is usable.
93141         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93142         reading the information from the /proc filesystem to once a second.
93144 2011-06-21  Andreas Jaeger  <aj@suse.de>
93146         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93147         NULL after inclusion of kernel headers.
93149 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93151         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93152         calls to internal_setent.
93154         [BZ #12885]
93155         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93156         addresses using gethostbyname4_r ignore IPv4 addresses.
93158         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93159         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93161         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93163 2011-06-20  David S. Miller  <davem@davemloft.net>
93165         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93166         inclusions.
93167         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93169         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93170         (elf_irel): Use it.
93171         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93172         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93173         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93174         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93175         * sysdeps/x86_64/dl-irel.h: Likewise.
93177         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93178         * elf/dl-sym.c: Likewise.
93180 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93182         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93183         need to dereference resplen2.
93185 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93187         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93189 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93191         * Makeconfig: Define vardbdir and inst_vardbdir.
93192         * nss/Makefile: Add rules to install db-Makefile.
93194         * nss/nss_db/db-XXX.c: Cleanup.
93196         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93197         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93198         GLIBC_PRIVATE.
93199         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93200         * nss/makedb.c: Implement -g option to specify that value strings
93201         are generated and should not be added to table iterated over for
93202         get*ent calls.
93203         * nss/nss_db/db-initgroups.c: New file.
93205         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93206         interface.
93208         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93209         (internal_getgrouplist): Adjust to name change.
93210         Update use_initgroups_entry if this is not the first call.
93211         * nss/databases.def: Add initgroups entry.
93213         * nss/makedb.c (compute_tables): Check result of multiple hash table
93214         sizes to minimize maximum chain length.
93216 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93218         * Versions.def: Add entry for libnss_db.
93219         * shlib-versions: Likewise.
93220         * nss/Makefile: Add rules to build libnss_db.
93221         * nss/Versions: Add libnss_db information.  Organize libnss_files
93222         entries better.
93223         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93224         makedb progra.  Some minor improvements to generate smaller files.
93225         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93226         here from...
93227         * nss/makedb.c: ...here.
93228         Improve database format to be smaller and require less memory at
93229         runtime.
93230         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93231         db anymore.
93232         * nss/nss_db/db-netgrp.c: Likewise.
93233         * nss/nss_db/db-open.c: Likewise.
93234         * nss/nss_files/flies-XXX.x: Adjust comments.
93235         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93236         * nss/nss_files/files-grp.c: Likewise.
93237         * nss/nss_files/files-hosts.c: Likewise.
93238         * nss/nss_files/files-network.c: Likewise.
93239         * nss/nss_files/files-proto.c: Likewise.
93240         * nss/nss_files/files-pwd.c: Likewise.
93241         * nss/nss_files/files-rpc.c: Likewise.
93242         * nss/nss_files/files-service.c: Likewise.
93243         * nss/nss_files/files-sgrp.c: Likewise.
93244         * nss/nss_files/files-spwd.c: Likewise.
93245         * nss/nss_db/db-alias.c: Removed.
93246         * nss/nss_db/dummy-db.h: Removed.
93248 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93250         * nss/makedb.c: Rewritten to not use database library.
93251         * nss/Makefile: Update to build new makedb program.
93253 2011-06-14  Andreas Jaeger  <aj@suse.de>
93255         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93256         memset declaration.
93258 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93260         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93261         tmpbuf.
93263 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93265         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93266         * elf/Makefile ($(objpfx)ld.so): Likewise.
93268         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93269         Don't list ld.so twice in dependencies.
93271         * posix/bug-regex31.c: Include <stdlib.h>.
93273         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93275         * nis/nss_compat/compat-spwd.c
93276         (getspent_next_nss_netgr): Remove unused variable.
93277         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93279         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93280         nonmembers" output to use the right array.
93282         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93284         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93286         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93287         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93288         * catgets/gencat.c (read_input_file): Likewise.
93289         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93291         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93292         variable definition inside #if's controlling its use.
93294         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93296         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93298         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93300         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93301         unreachable code.
93303         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93305         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93306         * configure: Regenerated.
93308         * Makerules: Revert last change.
93309         * elf/Makefile: Likewise.
93311 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93313         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93314         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93315         (reloc-link): Likewise.
93317 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93319         * elf/Makefile: Add rules to build pldd.
93320         * elf/pldd.c: New file.
93321         * elf/pldd-xx.c: New file.
93323 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93325         * version.h: Update for 2.15 development version.
93327 2011-06-07  David S. Miller  <davem@davemloft.net>
93329         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93330         ifuncs.
93331         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93332         elf_machine_lazy_rel): Likewise.
93333         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93334         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93335         elf_machine_lazy_rel): Likewise.
93336         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93337         dl_hwcap via passed in argument.
93338         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93339         Likewise.
93341 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93343         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93345 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93347         [BZ #12849]
93348         * manual/fdl-1.1.texi: New file, verbatim from:
93349         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93350         * manual/lgpl-2.1.texi: New file, verbatim from:
93351         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93352         * manual/Makefile (licenses): New variable, list those new file names.
93353         (texis): Use it.
93354         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93356         * manual/fdl.texi: File removed.
93357         * manual/lesser.texi: File removed.
93358         * manual/libc.texinfo (Copying, Documentation License):
93359         Use new @include file names, put @appendix directive before @include.
93361 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93363         [BZ #12841]
93364         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93365         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93366         (mq_open): Add __NTH.
93368 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93371         Assume Intel Core i3/i5/i7 processor if AVX is available.
93373 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93376         typo.
93378 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93380         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93381         memory.  Use alloca_account.  Fix memory leak when retrying.
93383 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93385         * version.h (RELEASE): Bump for 2.14 release.
93386         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93388         * config.make.in (RANLIB): Remove entry.
93390 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93392         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93393         (libc.pot): Work around missing support for .ksh extension in xgettext.
93395         [BZ #12684]
93396         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93397         if both request failed.
93398         (send_dg): In case of server errors clear resplen or *resplen2.
93400         [BZ #12454]
93401         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93402         when there are multiple maps.
93403         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93404         (_dl_fini): Remove test here.
93406         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93408 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93410         [BZ #12350]
93411         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93412         bit from old_res_options.
93413         (gaih_inet): Likewise.
93415         [BZ #11099]
93416         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93417         as signed.
93419         * resolv/res_init.c (res_setoptions): Make the code more compact.
93421         [BZ #11558]
93422         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93423         set RES_USEVC.
93425         [BZ #11634]
93426         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93428         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93430         [BZ #11781]
93431         * malloc/malloc.h: Declare malloc hook variables as volatile.
93433         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93434         in last patch.
93436         [BZ #11799]
93437         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93438         raise in the comment.
93439         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93440         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93441         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93443 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93445         [BZ #12811]
93446         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93447         grow the buffers more if it already has to be sufficient.
93448         (build_wcs_upper_buffer): Likewise.
93449         * posix/regexec.c (check_matching): Likewise.
93450         (clean_state_log_if_needed): Likewise.
93451         (extend_buffers): Don't enlarge buffers beyond size of the input
93452         buffer.
93453         Patches mostly by Emil Wojak <emil@wojak.eu>.
93454         * posix/bug-regex32.c: New file.
93455         * posix/Makefile (tests): Add bug-regex32.
93457         * locale/findlocale.c (_nl_find_locale): Return right away if
93458         _nl_explode_name failed.
93459         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93461         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93463         * debug/xtrace.sh: Unify messages.
93464         * malloc/memusage.sh: Likewise.
93466         [BZ #12813]
93467         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93468         time symbol from vDSO.  Substitute with vsyscall if not available.
93469         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93470         __vdso_time.
93472         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93473         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93474         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93475         Add sendmmsg and internal_sendmmsg.
93476         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93477         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93478         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93480         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93481         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93482         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93484 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93486         [BZ #12813]
93487         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93488         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93489         available.
93490         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93491         __vdso_getcpu.
93493         [BZ #12814]
93494         * iconvdata/Makefile (tests): Add bug-iconv9.
93495         * iconvdata/bug-iconv9.c: New file.
93497 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93499         [BZ #12814]
93500         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93502 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93505         (struct user_regs_struct): Change intcs field back to cs.
93507 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93509         * po/ja.po: Update from translation team.
93511 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93513         [BZ #12795]
93514         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93515         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93517 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93519         * stdlib/longlong.h: Update from GCC.
93521 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93523         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93524         parameter name.
93525         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93526         Add parameter name.
93527         (__sysconf): Pass it down.
93529 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93531         [BZ #12671]
93532         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93533         some situations.
93534         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93535         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93536         add in in __libc_use_alloca calls.  Adjust callers.
93537         (glob): Use malloc in some situations.
93539         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93540         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93541         pltexit.
93543 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93545         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93546         and CLOCK_BOOTTIME_ALARM.
93548         [BZ #12782]
93549         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93550         is returned.
93552         * string/_strerror.c (__strerror_r): Print negative errors as signed
93553         numbers.
93555         [BZ #12777]
93556         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93557         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93558         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93560         * configure.in: Fix typo in redirection and correct removal of test
93561         files in two cases.
93563         [BZ #12788]
93564         * locale/setlocale.c (new_composite_name): Fix test to check for
93565         identical name of all categories.
93567         [BZ #12792]
93568         * libio/filedoalloc.c (local_isatty): New function.
93569         (_IO_file_doallocate): Use local_isatty.
93570         * stdio-common/perror.c (perror): In case a new stream is used
93571         forward the stream error.
93572         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93573         error flag.
93575 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93577         [BZ #11884]
93578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93579         alloca.
93580         * include/alloca.h (extend_alloca_account): Define.
93582         [BZ #11857]
93583         * posix/regex.h: Fix comments with documentation of user-accessible
93584         fields after compilation and describe correct free'ing of pattern
93585         after re_compile_pattern.
93586         Patch by Reuben Thomas <rrt@sc3d.org>.
93588 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93590         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93591         and -mno-altivec to prevent the compiler from using Altivec and/or
93592         VSX instructions when the corresponding registers are not available.
93594 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93596         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93598 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93600         * libio/freopen.c (freopen): Use __dup2, not dup2.
93601         * libio/freopen64.c (freopen64): Likewise.
93603 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93605         [BZ #12775]
93606         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93607         * math/Makefile (tests): Add test-powl.
93608         (CFLAGS-test-powl.c): Define.
93609         * math/test-powl.c: New file.
93611 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93613         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93615 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93617         [BZ #11837]
93618         * iconvdata/gb18030.c: Update to GB18020-2005.
93620 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93622         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93623         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93624         Patch by Aharon Robbins <arnold@skeeve.com>.
93626         [BZ #11892]
93627         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93628         on the stack.
93630         [BZ #11895]
93631         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93632         through underflows.
93634         [BZ #12766]
93635         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93636         point to strings before performing equality test for error_one_per_line
93637         mode.
93639         [BZ #11697]
93640         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93642         [BZ #11820]
93643         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93644         (struct user_fpregs_struct): Avoid __uint*_t types.
93646         [BZ #6420]
93647         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93648         symbol info.  Use it instead of calling _dl_addr locally.
93649         (lock_and_info): New function.
93650         (tr_freehook): Call lock_and_info and pass symbol info as additional
93651         parameter to tr_where.
93652         (tr_mallochook): Likewise.
93653         (tr_reallochook): Likewise.
93654         (tr_memalignhook): Likewise.
93656         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93657         used and couldn't be at all thread-safe.
93659 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93661         * libio/freopen.c (freopen): Don't close old file descriptor
93662         before the new one is opened.  Instead dup the new file descriptor
93663         to the old one after the new stream is created.
93664         * libio/freopen64.c (freopen64): Likewise.
93665         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93666         * libio/fileops.c (_IO_new_file_close_it): Handle new
93667         _IO_FLAGS2_NOCLOSE flag.
93668         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93669         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93670         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93671         _IO_FLAGS2_NOCLOSE flag.
93672         * include/unistd.h: Add hidden_proto for dup3.
93673         Define __have_dup3.
93674         * io/dup3.c: Define hidden symbol.
93675         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93677         [BZ #7101]
93678         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93679         when an incomplete long option is used.
93680         * posix/tst-getopt_long1.c: New file.
93681         * posix/Makefile (tests): Add tst-getopt_long1.
93683         [BZ #10138]
93684         * scripts/config.guess: Update from autoconf-2.68.
93685         * scripts/config.sub: Likewise.
93687         [BZ #10157]
93688         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93689         tests into ...
93690         (has_cpuclock): ...this.  New function.
93691         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93692         macro here based on has_cpuclock code.
93694         [BZ #10149]
93695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93696         First byte (not low byte) is now always NUL.
93697         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93700         Use non-cancelable interfaces.
93702         [BZ #9809]
93703         * locale/iso-639.def: Add entry for Sorani.
93705         [BZ #11901]
93706         * include/stdlib.h: Move include protection to the right place.
93707         Define abort_msg_s.  Declare __abort_msg with it.
93708         * stdlib/abort.c (__abort_msg): Adjust type.
93709         * assert/assert.c (__assert_fail_base): New function.  Majority
93710         of code from __assert_fail.  Allocate memory for __abort_msg with
93711         mmap.
93712         (__assert_fail): Now call __assert_fail_base.
93713         * assert/assert-perr.c: Remove bulk of implementation.  Use
93714         __assert_fail_base.
93715         * include/assert.hL Declare __assert_fail_base.
93716         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93717         mmap.
93718         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93720 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
93722         [BZ #11952]
93723         [BZ #12453]
93724         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93725         until all modules are registered in the DTV.
93726         * elf/Makefile: Add rules to build and run tst-tls19.
93727         * elf/tst-tls19.c: New file.
93728         * elf/tst-tls19mod1.c: New file.
93729         * elf/tst-tls19mod2.c: New file.
93730         * elf/tst-tls19mod3.c: New file.
93731         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93733         [BZ #12083]
93734         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93735         correctly.
93737         [BZ #12601]
93738         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93739         two-byte sequence errors.
93740         * iconvdata/Makefile (tests): Add bug-iconv8.
93741         * iconvdata/bug-iconv8.c: New file.
93743         [BZ #12626]
93744         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93745         buf2 definition.
93747         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93749         [BZ #12432]
93750         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93751         (dummy_getcfa): New function.
93752         (init): Get _Unwind_GetCFA address, use dummy if not found.
93753         (backtrace_helper): In recursion check, also check whether CFA changes.
93754         (__backtrace): Completely initialize arg.
93756         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93757         storing incomplete byte sequence in state object.  Avoid testing for
93758         guaranteed too small input if we know there is enough data available.
93760 2011-05-11  Andreas Schwab  <schwab@redhat.com>
93762         * Makeconfig (+link-pie): Indent.
93763         * Rules (binaries-pie): Define if $(have-fpie) and
93764         $(build-shared).
93765         (binaries-shared): Also filter out $(binaries-pie).
93766         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93767         * nscd/Makefile (others-pie): Add nscd.
93768         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93769         ($(objpfx)nscd): Remove command override.
93770         * login/Makefile (others-pie): Add pt_chown.
93771         ($(objpfx)pt_chown): Remove command override.
93772         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93773         remove command overrides.
93775 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
93777         * libio/tst_putwc.c: Fix error messages.
93779         [BZ #12724]
93780         * libio/fileops.c (_IO_new_file_close_it): Always flush when
93781         currently writing and seek to current position when not.
93782         * libio/Makefile (tests): Add bug-fclose1.
93783         * libio/bug-fclose1.c: New file.
93785 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
93787         [BZ #12511]
93788         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93789         don't set DF_1_NODELETE here.
93790         (do_lookup_x): When entering new entry test for copy relocation
93791         and if necessary set DF_1_NODELETE flag.
93792         * elf/tst-unique4.cc: New file.
93793         * elf/tst-unique4.h: New file.
93794         * elf/tst-unique4lib.cc: New file.
93795         * elf/Makefile: Add rules to build and run tst-unique4.
93796         Patch by Piotr Bury <pbury@goahead.com>.
93798 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
93800         [BZ #12052]
93801         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93803         [BZ #12625]
93804         * misc/mntent_r.c (addmntent): Flush the stream after the output
93806         [BZ #12393]
93807         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93808         (is_trusted_path_normalize): Skip initial colon.  Append slash
93809         to empty buffer.  Duplicate is_trusted_path code but allow
93810         constructed patch to be prefix.
93811         (is_dst): Allow $ORIGIN followed by /.
93812         (_dl_dst_substitute): Correct clearing of check_for_trusted.
93813         Correct testing of result of is_trusted_path_normalize
93814         (decompose_rpath): Fix warning.
93816 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
93818         [BZ #11257]
93819         * grp/initgroups.c (internal_getgrouplist): When we found the service
93820         list through the initgroups entry in nsswitch.conf do not always
93821         continue on a successful lookup.  Don't always use the
93822         __nss_group_database value if it is set.
93823         * nss/nsswitch.conf (initgroups): Change action for successful db
93824         lookup to continue for compatibility.
93826 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
93828         [BZ #11532]
93829         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93830         and CP774 modules.
93831         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93832         and CP774 modules.
93833         * iconvdata/tst-tables.sh: Likewise.
93834         * iconvdata/cp770.c: New file.
93835         * iconvdata/cp771.c: New file.
93836         * iconvdata/cp772.c: New file.
93837         * iconvdata/cp773.c: New file.
93838         * iconvdata/cp774.c: New file.
93839         * iconvdata/testdata/CP770: New file.
93840         * iconvdata/testdata/CP770..UTF8: New file.
93841         * iconvdata/testdata/CP771: New file.
93842         * iconvdata/testdata/CP771..UTF8: New file.
93843         * iconvdata/testdata/CP772: New file.
93844         * iconvdata/testdata/CP772..UTF8: New file.
93845         * iconvdata/testdata/CP773: New file.
93846         * iconvdata/testdata/CP773..UTF8: New file.
93847         * iconvdata/testdata/CP774: New file.
93848         * iconvdata/testdata/CP774..UTF8: New file.
93850         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93851         END CHARMAP line.
93852         * iconvdata/gen-8bit-gap.sh: Likewise.
93853         * iconvdata/gen-8bit.sh: Likewise.
93855         * locale/iso-639.def: Add ary entry.
93857         [BZ #11258]
93858         * locale/C-translit.h.in: Add U20A1 transliteration.
93860         [BZ #12178]
93861         * locale/iso-639.def: Add wae entry.
93862         Patch by Kevin Bortis <bortis@translate-wae.ch>.
93864         [BZ #12545]
93865         * locale/programs/localedef.c (construct_output_path): Use ssize_t
93866         for n.
93868         [BZ #12711]
93869         * locale/C-translit.h.in: Add entry for U20B9.
93870         Patch by pravin.d.s@gmail.com.
93872 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
93874         [BZ #12713]
93875         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93876         ENAMETOOLONG use generic getcwd.
93877         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
93878         in rtld.  Use *stat64.
93879         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93880         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93881         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93882         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93883         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93884         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93885         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93886         __fstatat64 macros.
93887         * include/dirent.h: Add libc_hidden_proto for rewinddir.
93888         * dirent/rewinddir.c: Add libc_hidden_def.
93889         * sysdeps/mach/hurd/rewinddir.c: Likewise.
93890         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
93892         * include/dirent.h (__alloc_dir): Add flags parameter.
93893         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93894         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93895         __alloc_dir.
93896         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
93897         from fdopendir if O_CLOEXEC is already set.
93899 2011-03-15  Alan Modra  <amodra@gmail.com>
93901         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93902         l_tls_firstbyte_offset non-zero.  Save padding offset in
93903         l_tls_firstbyte_offset for later use.
93904         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93905         freeing static tls block.
93907 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
93909         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93910         where #ifdef was intended.  The intent is to prevent ARG_MAX from
93911         being defined by the kernel headers.
93913 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
93915         [BZ #12734]
93916         * resolv/resolv.h: Define RES_NOTLDQUERY.
93917         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93918         no-tld-query and set RES_NOTLDQUERY.
93919         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93920         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93921         modern BIND to search name as TLD unless forbidden.
93923 2011-05-07  Petr Baudis  <pasky@suse.cz>
93924             Ulrich Drepper  <drepper@gmail.com>
93926         [BZ #12393]
93927         * elf/dl-load.c (fillin_rpath): Move trusted path check...
93928         (is_trusted_path): ...to here.
93929         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93930         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93931         using is_trusted_path_normalize() in setuid scripts.
93933 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
93935         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93936         __BEGIN/__END_DECLS.
93938 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
93940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93941         NSS_STATUS_NOTFOUND if no record was found.
93943 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93945         * sunrpc/Makefile (headers): Add rpc/netdb.h.
93946         (headers-not-in-tirpc): Remove rpc/netdb.h
93947         * resolv/netdb.h: Revert last change.
93949 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
93951         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93952         circular dependency between libgcc.a and libc.a.
93954 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93956         * resolv/netdb.h: Don't include <rpc/netdb.h>.
93957         * nis/Makefile: Don't install rpcsvc/*.
93958         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93959         instead of <rpc/types.h>.
93960         (MAXHOSTNAMELEN): Define.
93962 2011-05-03  Andreas Schwab  <schwab@redhat.com>
93964         * elf/ldconfig.c (add_dir): Don't crash on empty path.
93966 2011-04-28  Maciej Babinski  <mbabinski@google.com>
93968         [BZ #12714]
93969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93970         gethostbyname4_r when IPv6 results are possible.
93972 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
93974         [BZ #12723]
93975         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93976         _PC_PIPE_BUF handling.
93978 2011-04-30  Bruno Haible  <bruno@clisp.org>
93980         [BZ #12717]
93981         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93982         * resolv/netdb.h (getnameinfo): Change type of flags parameter
93983         to 'int'.
93984         * inet/getnameinfo.c (getnameinfo): Likewise.
93986 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
93988         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93989         to groups setting in database lookup.
93990         * nss/nsswitch.conf: Add initgroups entry.
93992 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
93994         [BZ #12685]
93995         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93996         mode string.
93997         Patch by Eric Blake <eblake@redhat.com>.
93999 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94001         * sunrpc/Makefile (need-export-routines): Add svc_run.
94002         (routines): Remove svc_run.
94003         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94004         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94005         * sunrpc/svc_run.c (svc_run): Likewise.
94006         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94008 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94010         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94011         problem in reallocation in last patch.
94013 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94015         * sunrpc/Makefile: Move inclusion of Rules.
94017 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94019         * nss/nss_files/files-initgroups.c: New file.
94020         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94021         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94022         _nss_files_initgroups_dyn.
94024 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94026         * elf/elf.h (R_ARM_IRELATIVE): Define.
94028 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94030         * po/ru.po: Update from translation team.
94032 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94034         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94035         dependencies.
94037 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94039         [BZ #12653]
94040         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94041         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94042         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94043         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94044         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94046 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94048         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94049         differing bytes.
94050         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94051         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94052         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94054 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94056         [BZ #12420]
94057         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94058         storing it.
94059         * stdlib/bug-getcontext.c: New file.
94060         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94062 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94064         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94065         instructions into .machine "z9-109".
94066         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94067         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94069 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94071         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94072         between environment variables and auxiliary vector.
94074 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94076         * Makefile: Add rules to build linkobj/libc.so.
94077         * include/libc-symbols.h: Define libc_hidden_nolink.
94078         * include/rpc/auth.h: Mark functions which are to be hidden.
94079         * include/rpc/auth_des.h: Likewise.
94080         * include/rpc/auth_unix.h: Likewise.
94081         * include/rpc/clnt.h: Likewise.
94082         * include/rpc/des_crypt.h: Likewise.
94083         * include/rpc/key_prot.h: Likewise.
94084         * include/rpc/pmap_clnt.h: Likewise.
94085         * include/rpc/pmap_prot.h: Likewise.
94086         * include/rpc/pmap_rmt.h: Likewise.
94087         * include/rpc/rpc_msg.h: Likewise.
94088         * include/rpc/svc.h: Likewise.
94089         * include/rpc/svc_auth.h: Likewise.
94090         * include/rpc/xdr.h: Likewise.
94091         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94092         * nss/Makefile: Likewise.
94093         * sunrpc/Makefile: Don't install headers.  Build library with normal
94094         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94095         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94096         for the compat linking library.  Remove use of INTDEF/INTUSE.
94097         * sunrpc/auth_none.c: Likewise.
94098         * sunrpc/auth_unix.c: Likewise.
94099         * sunrpc/authdes_prot.c: Likewise.
94100         * sunrpc/authuxprot.c: Likewise.
94101         * sunrpc/clnt_gen.c: Likewise.
94102         * sunrpc/clnt_perr.c: Likewise.
94103         * sunrpc/clnt_raw.c: Likewise.
94104         * sunrpc/clnt_simp.c: Likewise.
94105         * sunrpc/clnt_tcp.c: Likewise.
94106         * sunrpc/clnt_udp.c: Likewise.
94107         * sunrpc/clnt_unix.c: Likewise.
94108         * sunrpc/des_crypt.c: Likewise.
94109         * sunrpc/des_soft.c: Likewise.
94110         * sunrpc/get_myaddr.c: Likewise.
94111         * sunrpc/key_call.c: Likewise.
94112         * sunrpc/key_prot.c: Likewise.
94113         * sunrpc/netname.c: Likewise.
94114         * sunrpc/pm_getmaps.c: Likewise.
94115         * sunrpc/pm_getport.c: Likewise.
94116         * sunrpc/pmap_clnt.c: Likewise.
94117         * sunrpc/pmap_prot.c: Likewise.
94118         * sunrpc/pmap_prot2.c: Likewise.
94119         * sunrpc/pmap_rmt.c: Likewise.
94120         * sunrpc/publickey.c: Likewise.
94121         * sunrpc/rpc_cmsg.c: Likewise.
94122         * sunrpc/rpc_common.c: Likewise.
94123         * sunrpc/rpc_dtable.c: Likewise.
94124         * sunrpc/rpc_prot.c: Likewise.
94125         * sunrpc/rpc_thread.c: Likewise.
94126         * sunrpc/rtime.c: Likewise.
94127         * sunrpc/svc.c: Likewise.
94128         * sunrpc/svc_auth.c: Likewise.
94129         * sunrpc/svc_authux.c: Likewise.
94130         * sunrpc/svc_raw.c: Likewise.
94131         * sunrpc/svc_run.c: Likewise.
94132         * sunrpc/svc_simple.c: Likewise.
94133         * sunrpc/svc_tcp.c: Likewise.
94134         * sunrpc/svc_udp.c: Likewise.
94135         * sunrpc/svc_unix.c: Likewise.
94136         * sunrpc/svcauth_des.c: Likewise.
94137         * sunrpc/xcrypt.c: Likewise.
94138         * sunrpc/xdr.c: Likewise.
94139         * sunrpc/xdr_array.c: Likewise.
94140         * sunrpc/xdr_float.c: Likewise.
94141         * sunrpc/xdr_intXX_t.c: Likewise.
94142         * sunrpc/xdr_mem.c: Likewise.
94143         * sunrpc/xdr_rec.c: Likewise.
94144         * sunrpc/xdr_ref.c: Likewise.
94145         * sunrpc/xdr_sizeof.c: Likewise.
94146         * sunrpc/xdr_stdio.c: Likewise.
94148 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94150         [BZ #12650]
94151         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94152         * sysdeps/ia64/dl-tls.h: Likewise.
94153         * sysdeps/powerpc/dl-tls.h: Likewise.
94154         * sysdeps/s390/dl-tls.h: Likewise.
94155         * sysdeps/sh/dl-tls.h: Likewise.
94156         * sysdeps/sparc/dl-tls.h: Likewise.
94157         * sysdeps/x86_64/dl-tls.h: Likewise.
94158         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94160 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94162         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94163         rpath element also skip the following colon.
94164         (expand_dynamic_string_token): Add is_path parameter and pass
94165         down to DL_DST_REQUIRED and _dl_dst_substitute.
94166         (decompose_rpath): Call expand_dynamic_string_token with
94167         non-zero is_path.  Ignore empty rpaths.
94168         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94169         with zero is_path.
94171 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94174         Make cancelable.
94176 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94178         [BZ #12655]
94179         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94180         Patch by Filipe David Manana <fdmanana@apache.org>.
94182 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94185         Maintain aligned stack.
94186         (CHECK_RSP): Remove unused macro.
94188 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94190         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94191         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94193 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94195         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94197         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94199 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94201         [BZ #12518]
94202         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94203         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94204         * sysdeps/x86_64/memmove.c: New file.
94205         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94206         (memcpy): Renamed to ...
94207         (__new_memcpy): This.
94208         (memcpy): Provide GLIBC_2_14 memcpy.
94209         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94210         (memcpy): Provide GLIBC_2_2_5 memcpy.
94212 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94214         [BZ #12631]
94215         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94217 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94219         * misc/syncfs.c: New file.
94220         * misc/Makefile (routines): Add syncfs.
94221         * posix/unistd.h: Declare syncfs.
94222         * sysdeps/unix/syscalls.list: Add syncfs.
94224 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94226         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94227         open_by_handle_at.
94228         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94229         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94231         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94233         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94236 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94238         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94239         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94240         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94244         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94246         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94247         sync_file_range.c with -fexceptions.
94248         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94249         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94250         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94251         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94252         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94253         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94255         sync_file_range as cancellation point
94256         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94257         now a wrapper around __call_sync_file_range with cancellation handling.
94258         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94259         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94260         function name to __call_sync_file_range.
94261         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94262         Add call_sync_file_range.
94264 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94267         bits/timex.h.
94269 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94271         * iconv/iconv.h: Fix typo in comment.
94272         * io/fcntl.h: Likewise.
94273         * libio/stdio.h: Likewise.
94274         * posix/spawn.h: Likewise.
94275         * posix/unistd.h: Likewise.
94276         * stdlib/stdlib.h: Likewise.
94277         * time/time.h: Likewise.
94278         * wcsmbs/wchar.h: Likewise.
94280         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94281         open_by_handle): Add.
94282         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94283         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94284         Augment a few comments.
94285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94287         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94290         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94291         open_by_handle.
94293         * io/fcntl.h (AT_EMPTY_PATH): Define.
94295 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94297         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94298         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94299         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94300         to...
94301         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94302         * Versions.def: Add GLIBC_2.14.
94303         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94304         Export.
94306 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94308         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94309         round counter.
94310         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94312 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94314         [BZ #12597]
94315         * string/test-strncmp.c (do_page_test): New function.
94316         (check2): Likewise.
94317         (test_main): Call check2.
94318         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94320 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94322         [BZ #12587]
94323         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94324         Handle cache information in CPU leaf 4.
94325         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94327 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94329         [BZ #12583]
94330         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94331         character representation.
94332         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94334 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94336         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94337         END(__isnan) to END(__isnanf) to match function entry point/label
94338         EALIGN(__isnanf,...).
94340 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94342         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94344 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94346         [BZ #12510]
94347         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94348         copy from the symbol referenced in the relocation to initialize the
94349         used variable.
94350         Patch by Piotr Bury <pbury@goahead.com>.
94351         * elf/Makefile: Add rules to build and tst-unique3.
94352         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94353         * elf/tst-unique3.cc: New file.
94354         * elf/tst-unique3.h: New file.
94355         * elf/tst-unique3lib.cc: New file.
94356         * elf/tst-unique3lib2.cc: New file.
94358         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94360 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94362         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94363         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94364         to _start.
94366 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94368         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94369         to-be-loaded object along a path to loader is ld.so.
94371 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94372             Ulrich Drepper  <drepper@gmail.com>
94374         * sysdeps/x86_64/memset.S: After aligning destination, code
94375         branches to different locations depending on the value of
94376         misalignment, when multiarch is enabled. Fix this.
94378 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94380         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94381         Set _x86_64_preferred_memory_instruction for AMD processsors.
94382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94383         Set bit_Prefer_SSE_for_memop for AMD processors.
94385 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94387         * libio/fmemopen.c (fmemopen): Optimize a bit.
94389 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94391         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94393 2011-03-03  Roland McGrath  <roland@redhat.com>
94395         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94397 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94399         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94400         __bzero_ultra1 instead of __memset_ultra1.
94402 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94403             Ulrich Drepper  <drepper@gmail.com>
94405         [BZ #12509]
94406         * include/link.h (struct link_map): Add l_orig_initfini.
94407         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94408         returning unsuccessfully.
94409         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94410         close of a file loaded at startup, restore the original l_initfini
94411         list.
94412         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94413         list, store the pointer.
94414         * elf/Makefile ($(objpfx)noload-mem): New rule.
94415         (noload-ENV): Define.
94416         (tests): Add $(objpfx)noload-mem.
94417         * elf/noload.c: Include <memcheck.h>.
94418         (main): Call mtrace.  Close all opened handles.
94420 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94422         [BZ #12454]
94423         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94424         dependencies are missing.
94426 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94428         Fix __if_freereq crash: Unlike the generic version which uses free,
94429         Hurd needs munmap.
94430         * sysdeps/mach/hurd/ifreq.h: New file.
94432 2011-01-27  Petr Baudis  <pasky@suse.cz>
94433             Ulrich Drepper  <drepper@gmail.com>
94435         [BZ 12445]#
94436         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94437         to extend_alloca().
94438         * stdio-common/bug23.c: New file.
94439         * stdio-common/Makefile (tests): Add bug23.
94441 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94442             Ulrich Drepper  <drepper@gmail.com>
94444         [BZ #12489]
94445         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94446         before performing relro protection.  At old place add assertion
94447         to make sure nothing changed.
94449 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94450             Glauber de Oliveira Costa  <glommer@gmail.com>
94452         * elf/elf.h: Add new ARM TLS relocs.
94454 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94457         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94458         cast from r3.
94459         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94460         'tests' variable.
94461         * sysdeps/wordsize-64/tst-writev.c: New file.
94463 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94465         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94466         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94467         insns in _dl_start to prevent a TOC reference before relocs are
94468         resolved.
94470 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94472         [BZ #12469]
94473         * Makeconfig: Remove RANLIB definition.
94474         * Makerules: Don't use RANLIB.
94475         * aclocal.m4: Remove ranlib test.
94476         * configure.in: No need to check for ranlib.
94477         * elf/rtld-Rules: Don't use RANLIB.
94479 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94481         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94482         protection macro.
94483         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94484         inclusion protection macro.
94486         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94487         SIGRTMIN and SIGRTMAX and print information in that case only when
94488         SIGRTMIN is defined.
94490 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94492         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94493         arginfo fn returning -1.
94495         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94496         and thousands string is zero terminated.
94498 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94501         sysdeps/unix/sysv/linux/bits/socket.h.
94503 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94505         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94506         (__CPU_COUNT): Remove old macros.
94507         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94508         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94509         (__CPU_ALLOC, __CPU_FREE): Add macros.
94510         (__sched_cpualloc, __sched_cpufree): Add declarations.
94512 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94514         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94515         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94516         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94517         (readdhstai): Return value of addhstaiX call.
94518         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94519         (addgrbyX): Return value returned by cache_addgr.
94520         (readdgrbyname): Return value returned by addgrbyX.
94521         (readdgrbygid): Likewise.
94522         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94523         (addpwbyX): Return value returned by cache_addpw.
94524         (readdpwbyname): Return value returned by addhstbyX.
94525         (readdpwbyuid): Likewise.
94526         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94527         (addservbyX): Return value returned by cache_addserv.
94528         (readdservbyname): Return value returned by addservbyX:
94529         (readdservbyport): Likewise.
94530         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94531         (addhstbyX): Return value returned by cache_addhst.
94532         (readdhstbyname): Return value returned by addhstbyX.
94533         (readdhstbyaddr): Likewise.
94534         (readdhstbynamev6): Likewise.
94535         (readdhstbyaddrv6): Likewise.
94536         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94537         (readdinitgroups): Return value returned by addinitgroupsX.
94538         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94539         (prune_cache): Keep track of timeout value of re-added entries.
94540         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94541         * nscd/nscd.h: Adjust prototypes of readd* functions.
94543 2011-02-04  Roland McGrath  <roland@redhat.com>
94545         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94546         (nis_stats): Likewise.
94547         * nis/nis_modify.c (nis_modify): Likewise.
94548         * nis/nis_remove.c (nis_remove): Likewise.
94549         * nis/nis_add.c (nis_add): Likewise.
94551         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94553         * posix/fnmatch_loop.c: Add some consts.
94555         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94557 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94559         [BZ #12460]
94560         * config.make.in (config-cflags-novzeroupper): Define.
94561         * configure.in: Substitute libc_cv_cc_novzeroupper.
94562         * elf/Makefile (AVX-CFLAGS): Define.
94563         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94564         (CFLAGS-tst-auditmod4a.c): Likewise.
94565         (CFLAGS-tst-auditmod4b.c): Likewise.
94566         (CFLAGS-tst-auditmod6b.c): Likewise.
94567         (CFLAGS-tst-auditmod6c.c): Likewise.
94568         (CFLAGS-tst-auditmod7b.c): Likewise.
94569         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94571 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94573         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94574         function to the callback.
94575         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94577 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94579         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94580         of errno.
94582 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94584         [BZ #11724]
94585         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94586         of constructors.
94587         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94588         of destructors.
94589         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94591         [BZ #11724]
94592         * elf/Makefile: Add rules to build and run new test.
94593         * elf/tst-initorder.c: New file.
94594         * elf/tst-initorder.exp: New file.
94595         * elf/tst-initordera1.c: New file.
94596         * elf/tst-initordera2.c: New file.
94597         * elf/tst-initordera3.c: New file.
94598         * elf/tst-initordera4.c: New file.
94599         * elf/tst-initorderb1.c: New file.
94600         * elf/tst-initorderb2.c: New file.
94601         * elf/tst-order-a1.c: New file.
94602         * elf/tst-order-a2.c: New file.
94603         * elf/tst-order-a3.c: New file.
94604         * elf/tst-order-a4.c: New file.
94605         * elf/tst-order-b1.c: New file.
94606         * elf/tst-order-b2.c: New file.
94607         * elf/tst-order-main.c: New file.
94608         New test case by George Gensure <werkt0@gmail.com>.
94610 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94613         decoding ACE if AI_CANONIDN.
94615 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94617         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94619 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94621         * version.h (RELEASE): Bump for 2.13 release.
94622         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94624         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94626         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94627         MADV_NOHUGEPAGE.
94628         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94630         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94631         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94632         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94633         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94635         * posix/getconf.c: Update copyright year.
94636         * catgets/gencat.c: Likewise.
94637         * csu/version.c: Likewise.
94638         * debug/catchsegv.sh: Likewise.
94639         * debug/xtrace.sh: Likewise.
94640         * elf/ldconfig.c: Likewise.
94641         * elf/ldd.bash.in: Likewise.
94642         * elf/sprof.c (print_version): Likewise.
94643         * iconv/iconv_prog.c: Likewise.
94644         * iconv/iconvconfig.c: Likewise.
94645         * locale/programs/locale.c: Likewise.
94646         * locale/programs/localedef.c: Likewise.
94647         * malloc/memusage.sh: Likewise.
94648         * malloc/mtrace.pl: Likewise.
94649         * nscd/nscd.c (print_version): Likewise.
94650         * nss/getent.c: Likewise.
94652         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94653         PF_CAIF, and PF_ALG.
94654         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94656 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94658         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94659         (modules-names): Use them.
94660         (ifunc-test-modules, ifunc-pie-tests): Define.
94661         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94662         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94663         (test-extras): Likewise.
94664         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94665         $(compile-command.c).
94666         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94667         (all-built-dso): Define.
94668         (check-textrel.out, check-execstack.out): Depend on it.
94670         * configure.in: Don't override --enable-multi-arch.
94672 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94674         [BZ #6812]
94675         * nscd/hstcache.c (tryagain): Define.
94676         (cache_addhst): Return tryagain not notfound for temporary errors.
94677         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94678         failed.
94680 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94682         [BZ #10563]
94683         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94684         to make the syscall.
94685         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94687         [BZ #12378]
94688         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94689         and fall back to matching as normal character if the string ends before
94690         the matching ']' is found.  This is what POSIX requires.
94691         * posix/testfnm.c: Adjust test result.
94692         * posix/globtest.sh: Adjust test result.  Add new test.
94693         * posix/tst-fnmatch.input: Likewise.
94694         * posix/tst-fnmatch2.c: Add new test.
94696 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94698         * elf/Makefile (check-execstack): Revert last change.  Depend on
94699         check-execstack.h.
94700         (check-execstack.h): New target.
94701         (generated): Add check-execstack.h.
94702         * elf/check-execstack.c: Include "check-execstack.h".
94703         (main): Revert last change.
94704         (handle_file): Return zero if GNU_STACK is absent and
94705         DEFAULT_STACK_PERMS doesn't include PF_X.
94707 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94709         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94710         in child fails because the descriptor is already closed.
94711         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94712         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94713         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94715         [BZ #12397]
94716         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94717         syscall.
94719         [BZ #10484]
94720         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94721         temporary buffer used to handle multi lookups locally.
94722         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94724 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94726         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94727         loader is ld.so.
94729 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
94731         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94732         alignment for SSE2.
94734 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94736         [BZ #12394]
94737         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94738         characters.  When rounding increased number of integer digits recompute
94739         number of groups.
94740         * stdio-common/tst-grouping.c: New file.
94741         * stdio-common/Makefile: Add rules to build and run tst-grouping.
94743 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
94745         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94746         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
94748         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94749         void.
94750         * bits/select.h: Likewise.
94752 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
94754         * po/ja.po: Update from translation team.
94756 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
94758         [BZ #11155]
94759         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94760         implementation just like for lxstat, fxstatat, et al.
94762 2010-12-27  Jim Meyering  <meyering@redhat.com>
94764         [BZ #12348]
94765         * posix/regexec.c (build_trtable): Return failure indication upon
94766         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
94768 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
94770         [BZ #12201]
94771         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94772         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94773         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94774         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94776         [BZ #12207]
94777         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94779         [BZ #12204]
94780         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94781         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94783 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
94785         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94786         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94787         script has SORT_BY_INIT_PRIORITY.
94788         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94789         NO_CTORS_DTORS_SECTIONS is defined.
94790         * elf/soinit.c: Likewise.
94791         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94792         NO_CTORS_DTORS_SECTIONS is defined.
94793         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94794         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94795         * sysdeps/sh/init-first.c: Likewise.
94796         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94798 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
94800         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94801         always use the slow path.
94803 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
94805         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94806         similar rule which adds the sysdep directories to the header search in
94807         order to pick up the correct platform stackinfo.h.
94808         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94809         perform test if it is, otherwise return successfully without testing.
94810         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94811         DEFAULT_STACK_PERMS define in stackinfo.h.
94812         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94813         defined in stackinfo.h.
94814         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94815         DEFAULT_STACK_PERMS defined in stackinfo.h.
94816         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94817         * sysdeps/ia64/stackinfo.h: Likewise.
94818         * sysdeps/s390/stackinfo.h: Likewise.
94819         * sysdeps/sh/stackinfo.h: Likewise.
94820         * sysdeps/sparc/stackinfo.h: Likewise.
94821         * sysdeps/x86_64/stackinfo.h: Likewise.
94822         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94823         PF_X for powerpc64.  Retain PF_X for powerpc32.
94825 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
94827         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94828         accurately.
94829         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94830         GETDENTS_64BIT_ALIGNED.
94832 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
94834         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94836 2010-12-10  Andreas Schwab  <schwab@redhat.com>
94838         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94839         _GNU_SOURCE.
94841         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94842         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94843         Remove __restrict.
94844         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94845         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94847 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
94849         [BZ #11655]
94850         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94851         are initialized.
94853 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
94855         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94857 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
94859         * po/it.po: Update from translation team.
94861 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
94863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94864         unused codes.
94866 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
94868         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94870 2010-11-24  Andreas Schwab  <schwab@redhat.com>
94872         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94873         specially.
94874         (gaih_getanswer_slice): Likewise.
94876 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
94878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94880 2010-05-31  Petr Baudis  <pasky@suse.cz>
94882         [BZ #11149]
94883         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94884         silently even in the chroot mode.
94886 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
94888         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94889         last patch a bit.  Pretty printing
94891 2010-05-31  Petr Baudis <pasky@suse.cz>
94893         [BZ #10085]
94894         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94895         initialization of skip_initgroups_dyn.
94897 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
94899         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94900         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94902 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
94904         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94906 2010-11-11  Andreas Schwab  <schwab@redhat.com>
94908         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94909         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94910         (tst-fnmatch-ENV): Set MALLOC_TRACE.
94911         ($(objpfx)tst-fnmatch-mem): New rule.
94912         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94913         * posix/tst-fnmatch.c (main): Call mtrace.
94915 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
94917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94918         Support Intel processor model 6 and model 0x2c.
94920 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
94922         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94923           signed comparison.
94925 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
94927         [BZ #12205]
94928         * string/test-strncasecmp.c (check_result): New function.
94929         (do_one_test): Use it.
94930         (check1): New function.
94931         (test_main): Use it.
94932         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94933         Support strcasecmp and strncasecmp.
94935 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
94937         [BZ #12194]
94938         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94939         * sysdeps/x86_64/bits/byteswap.h: Likewise.
94941 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
94943         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94944         IFUNC support.
94945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94946         memset-x86-64.
94947         * sysdeps/x86_64/multiarch/bzero.S: New file.
94948         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94949         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94950         * sysdeps/x86_64/multiarch/memset.S: New file.
94951         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94953         Set bit_Prefer_SSE_for_memop for Intel processors.
94954         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94955         Define.
94956         (index_Prefer_SSE_for_memop): Define.
94957         (HAS_PREFER_SSE_FOR_MEMOP): Define.
94959 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
94961         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94962         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94964 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
94966         [BZ #12191]
94967         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94968         (__x86_64_raw_data_cache_size_half): Likewise.
94969         (__x86_64_raw_shared_cache_size): Likewise.
94970         (__x86_64_raw_shared_cache_size_half): Likewise.
94972         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94973         (__x86_64_raw_data_cache_size_half): Likewise.
94974         (__x86_64_raw_shared_cache_size): Likewise.
94975         (__x86_64_raw_shared_cache_size_half): Likewise.
94976         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94977         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94978         and __x86_64_raw_shared_cache_size_half.  Round
94979         __x86_64_data_cache_size_half, __x86_64_data_cache_size
94980         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94981         to multiple of 256 bytes.
94983 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
94985         [BZ #12167]
94986         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94987         of inacessible symlinks.  Verify result of symlink before returning it.
94988         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94989         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94991 2010-10-28  Erich Ritz  <erichritz@gmail.com>
94993         * math/math.h (isinf): Fix typo in comment.
94995 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
94997         * po/da.po: Update from translation team.
94999 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95001         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95002         is added to the list.
95004 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95005             Ulrich Drepper  <drepper@gmail.com>
95007         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95008         the global list here.  Move code to...
95009         (_dl_add_to_namespace_list): ...here.  New function.
95010         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95011         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95012         * elf/dl-load.c (lose): Don't remove the element from the list.
95013         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95014         (_dl_map_object): Likewise.
95016 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95018         [BZ #12159]
95019         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95020         into all bytes of SSE register.
95021         Patch by Richard Li <richardpku@gmail.com>.
95023 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95025         [BZ #12140]
95026         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95027         perturbing.
95029 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95031         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95032         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95033         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95034         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95036         submachine.
95037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95039 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95041         * include/dlfcn.h (__RTLD_SECURE): Define.
95042         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95043         mode & __RTLD_SECURE instead.
95044         (open_path): Rename preloaded parameter to secure.
95045         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95046         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95047         * elf/dl-deps.c (openaux): Likewise.
95048         * elf/rtld.c (struct map_args): Remove is_preloaded.
95049         (map_doit): Don't use it.
95050         (dl_main): Likewise.
95051         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95052         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95054 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95056         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95057         (sysd-rules-targets): Remove duplicates.
95058         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95059         rtld-%.$o dependency.
95061 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95063         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95064         _dl_map_object do it.
95066 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95068         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95069         fast fma builtins, define the macros in the C99 standard.
95070         (FP_FAST_FMAF): Likewise.
95071         (FP_FAST_FMAL): Likewise.
95072         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95074         * bits/mathdef.h: Update copyright year.
95075         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95077 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95079         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95080         builtins, define the macros in the C99 standard.
95081         (FP_FAST_FMAF): Likewise.
95082         (FP_FAST_FMAL): Likewise.
95083         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95084         multiply/add.
95085         (FP_FAST_FMAF): Likewise.
95087 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95089         [BZ #3268]
95090         * math/libm-test.inc (fma_test): Some new testcases.
95091         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95092         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95093         y and infinite z.  Do multiplication by C already in long double.
95094         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95096         y and infinite z.  Do bitwise or of inexact bit into u.d.
95097         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95098         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95099         * sysdeps/i386/fpu/s_fma.S: Removed.
95100         * sysdeps/i386/fpu/s_fmal.S: Removed.
95102 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95104         [BZ #3268]
95105         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95106         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95107         computation is not scheduled after fetestexcept.  Fix value
95108         of minimum denormal long double.
95110 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95112         [BZ #3268]
95113         * math/libm-test.inc (fma_test): Add some more tests.
95114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95115         correctly.
95117 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95119         * scripts/data/localplt-s390-linux-gnu.data: New file.
95120         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95122 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95124         [BZ #3268]
95125         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95126         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95127         instead of dbl-64.
95128         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95129         inlines.
95130         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95132         if one of x and y is very large and the other is subnormal.
95133         * sysdeps/s390/fpu/s_fmaf.c: New file.
95134         * sysdeps/s390/fpu/s_fma.c: New file.
95135         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95136         * sysdeps/powerpc/fpu/s_fma.S: New file.
95137         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95138         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95139         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95141 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95143         [BZ #3268]
95144         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95145         fma tests.
95146         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95147         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95148         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95149         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95150         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95151         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95152         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95154 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95156         [BZ #12078]
95157         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95158         * posix/bug-regex31.input: Add test case.
95160 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95162         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95163         * posix/bug-regex31.input: New file.
95165         [BZ #12078]
95166         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95167         (parse_sub_exp): Fix last change, use postorder.
95169         * posix/bug-regex31.c: New file.
95170         * posix/Makefile: Add rules to build and run bug-regex31.
95172         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95174         [BZ #12078]
95175         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95177         [BZ #12108]
95178         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95179         to have entries in sys_siglist.
95181         [BZ #12093]
95182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95183         be NULL.
95185 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95187         [BZ #3268]
95188         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95189         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95190         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95191         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95192         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95193         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95194         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95195         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95196         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95197         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95198         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95199         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95200         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95201         * math/ftestexcept.c (fetestexcept): Likewise.
95202         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95203         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95204         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95205         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95206         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95207         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95208         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95210 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95212         [BZ #12107]
95213         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95214         newline.
95216 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95218         * string/bug-strstr1.c: New file.
95219         * string/Makefile: Add rules to build and run bug-strstr1.
95221 2010-10-05  Eric Blake  <eblake@redhat.com>
95223         [BZ #12092]
95224         * string/str-two-way.h (two_way_long_needle): Always clear memory
95225         when skipping input due to the shift table.
95227 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95229         [BZ #12005]
95230         * malloc/mcheck.c: Handle large requests.
95232         [BZ #12077]
95233         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95234         for strncmp and strncasecmp.
95235         * string/stratcliff.c: Add tests for strcmp and strncmp.
95236         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95238 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95240         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95241         __set_fpscr.
95243 2010-09-30  Andreas Jaeger  <aj@suse.de>
95245         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95246         (CGROUP_SUPER_MAGIC): Define.
95247         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95248         Handle btrfs and cgroup file systems.
95249         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95250         Likewise.
95252 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95254         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95255         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95257 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95259         [BZ #12067]
95260         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95261         trying to locate the ELF header.
95263 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95265         [BZ #11611]
95266         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95267         Mask out sign-bit copies when constructing f_fsid.
95269 2010-09-24  Petr Baudis <pasky@suse.cz>
95271         * debug/stack_chk_fail_local.c: Add missing licence exception.
95272         * debug/warning-nop.c: Likewise.
95274 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95276         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95277         implementing getdents64 using getdents syscall, set d_type if
95278         __ASSUME_GETDENTS32_D_TYPE.
95280 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95282         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95283         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95285 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95287         [BZ #12037]
95288         * posix/unistd.h: Undo change of feature selection for ftruncate from
95289         2010-01-11.
95291 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95293         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95294         detection.
95296 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95298         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95299         fanotify_mark.
95300         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95302 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95304         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95305         variables after CHECK_SP call.
95306         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95308 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95309             Ulrich Drepper  <drepper@redhat.com>
95311         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95312         re-relocationg ld.so.
95313         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95314         _dl_init_paths call.
95315         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95316         here anymore.
95318 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95320         * resolv/res_init.c (__res_vinit): Count the default server we added.
95322 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95323             Ulrich Drepper  <drepper@redhat.com>
95325         [BZ #11968]
95326         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95327         (____longjmp_chk): Use %ebx for saving value across system call.
95328         Add unwind info.
95330 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95332         * manual/Makefile: Don't mix pattern rules with normal rules.
95334 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95336         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95337         operation.
95338         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95339         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95340         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95341         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95343         Likewise.
95345 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95347         [BZ #11979]
95348         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95349         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95351 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95353         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95354         * sysdeps/x86_64/addmul_1.S: Likewise.
95355         * sysdeps/x86_64/lshift.S: Likewise.
95356         * sysdeps/x86_64/mul_1.S: Likewise.
95357         * sysdeps/x86_64/rshift.S: Likewise.
95358         * sysdeps/x86_64/sub_n.S: Likewise.
95359         * sysdeps/x86_64/submul_1.S: Likewise.
95361 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95363         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95364         Define __sched_param instead of SCHED_* and sched_param when
95365         <bits/sched.h> is included with __need_schedparam defined.
95366         * bits/sched.h [__need_schedparam]
95367         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95368         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95369         (__defined_schedparam): Define to 1.
95370         (__sched_param): New structure, identical to sched_param.
95371         (__need_schedparam): Undefine.
95373 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95375         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95376         (epoll_create1): Declare.
95378         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95380 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95382         [BZ #7066]
95383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95384         shifting retval into place.
95386 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95388         * nis/rpcsvc/nis.h: Update copyright notice.
95389         * nis/rpcsvc/nis.x: Likewise.
95390         * nis/rpcsvc/nis_callback.h: Likewise.
95391         * nis/rpcsvc/nis_callback.x: Likewise.
95392         * nis/rpcsvc/nis_object.x: Likewise.
95393         * nis/rpcsvc/nis_tags.h: Likewise.
95394         * nis/rpcsvc/yp.h: Likewise.
95395         * nis/rpcsvc/yp.x: Likewise.
95396         * nis/rpcsvc/ypupd.h: Likewise.
95397         * nis/yp_xdr.c: Likewise.
95398         * nis/ypupdate_xdr.c: Likewise.
95400         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95401         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95402         (pmap_getport): Use __libc_rpc_getport.
95403         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95404         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95405         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95407 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95410         fanotify_mark.
95412 2010-08-27  Roland McGrath  <roland@redhat.com>
95414         * sysdeps/i386/i686/multiarch/Makefile
95415         (CFLAGS-varshift.c): New variable.
95417 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95419         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95420         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95422         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95424         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95426 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95428         * sysdeps/x86_64/strlen.S: Unroll the loop.
95429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95430         strlen-sse2 strlen-sse2-bsf.
95431         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95432         __strlen_no_bsf if bit_Slow_BSF is set.
95433         (__strlen_sse42): Removed.
95434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95435         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95437 2010-08-25  Roland McGrath  <roland@redhat.com>
95439         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95440         * sysdeps/x86_64/multiarch/varshift.c: New file.
95441         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95442         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95443         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95444         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95446 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95449         strlen-sse2 strlen-sse2-bsf.
95450         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95451         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95452         (__strlen_sse2): Removed.
95453         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95454         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95456         bit_Slow_BSF for Atom.
95457         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95458         (index_Slow_BSF): Define.
95459         (HAS_SLOW_BSF): Define.
95461 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95463         [BZ #10851]
95464         * resolv/res_init.c (__res_vinit): When no server address at all
95465         is given default to loopback.
95467 2010-08-24  Roland McGrath  <roland@redhat.com>
95469         * configure.in: Remove config-name.h generation.
95470         * configure: Regenerated.
95471         * config-name.in: File removed.
95472         * scripts/config-uname.sh: New file.
95473         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95474         ($(objdir)config-name.h): New target.
95476         * sunrpc/rpc_parse.h: Avoid nested comment.
95478 2010-08-24  Richard Henderson  <rth@redhat.com>
95479             Ulrich Drepper  <drepper@redhat.com>
95480             H.J. Lu  <hongjiu.lu@intel.com>
95482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95484         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95485         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95486         _mm_alignr_epi8 with _mm_loadu_si128.
95487         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95488         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95489         (__m128i_shift_right): Removed.
95490         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95491         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95492         * sysdeps/x86_64/multiarch/varshift.h: New file.
95493         * sysdeps/x86_64/multiarch/varshift.S: New file.
95495 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95497         * configure.in: Move assembler checks to before sysdep dir checking.
95499 2010-08-20  Petr Baudis  <pasky@suse.cz>
95501         * LICENSES: Sync the sunrpc license.
95503 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95505         * sunrpc/auth_des.c: Update copyright notice once again.
95506         * sunrpc/auth_none.c: Likewise.
95507         * sunrpc/auth_unix.c: Likewise.
95508         * sunrpc/authdes_prot.c: Likewise.
95509         * sunrpc/authuxprot.c: Likewise.
95510         * sunrpc/bindrsvprt.c: Likewise.
95511         * sunrpc/clnt_gen.c: Likewise.
95512         * sunrpc/clnt_perr.c: Likewise.
95513         * sunrpc/clnt_raw.c: Likewise.
95514         * sunrpc/clnt_simp.c: Likewise.
95515         * sunrpc/clnt_tcp.c: Likewise.
95516         * sunrpc/clnt_udp.c: Likewise.
95517         * sunrpc/clnt_unix.c: Likewise.
95518         * sunrpc/des_crypt.c: Likewise.
95519         * sunrpc/des_soft.c: Likewise.
95520         * sunrpc/get_myaddr.c: Likewise.
95521         * sunrpc/getrpcport.c: Likewise.
95522         * sunrpc/key_call.c: Likewise.
95523         * sunrpc/key_prot.c: Likewise.
95524         * sunrpc/openchild.c: Likewise.
95525         * sunrpc/pm_getmaps.c: Likewise.
95526         * sunrpc/pm_getport.c: Likewise.
95527         * sunrpc/pmap_clnt.c: Likewise.
95528         * sunrpc/pmap_prot.c: Likewise.
95529         * sunrpc/pmap_prot2.c: Likewise.
95530         * sunrpc/pmap_rmt.c: Likewise.
95531         * sunrpc/rpc/auth.h: Likewise.
95532         * sunrpc/rpc/auth_unix.h: Likewise.
95533         * sunrpc/rpc/clnt.h: Likewise.
95534         * sunrpc/rpc/des_crypt.h: Likewise.
95535         * sunrpc/rpc/key_prot.h: Likewise.
95536         * sunrpc/rpc/netdb.h: Likewise.
95537         * sunrpc/rpc/pmap_clnt.h: Likewise.
95538         * sunrpc/rpc/pmap_prot.h: Likewise.
95539         * sunrpc/rpc/pmap_rmt.h: Likewise.
95540         * sunrpc/rpc/rpc.h: Likewise.
95541         * sunrpc/rpc/rpc_des.h: Likewise.
95542         * sunrpc/rpc/rpc_msg.h: Likewise.
95543         * sunrpc/rpc/svc.h: Likewise.
95544         * sunrpc/rpc/svc_auth.h: Likewise.
95545         * sunrpc/rpc/types.h: Likewise.
95546         * sunrpc/rpc/xdr.h: Likewise.
95547         * sunrpc/rpc_clntout.c: Likewise.
95548         * sunrpc/rpc_cmsg.c: Likewise.
95549         * sunrpc/rpc_common.c: Likewise.
95550         * sunrpc/rpc_cout.c: Likewise.
95551         * sunrpc/rpc_dtable.c: Likewise.
95552         * sunrpc/rpc_hout.c: Likewise.
95553         * sunrpc/rpc_main.c: Likewise.
95554         * sunrpc/rpc_parse.c: Likewise.
95555         * sunrpc/rpc_parse.h: Likewise.
95556         * sunrpc/rpc_prot.c: Likewise.
95557         * sunrpc/rpc_sample.c: Likewise.
95558         * sunrpc/rpc_scan.c: Likewise.
95559         * sunrpc/rpc_scan.h: Likewise.
95560         * sunrpc/rpc_svcout.c: Likewise.
95561         * sunrpc/rpc_tblout.c: Likewise.
95562         * sunrpc/rpc_util.c: Likewise.
95563         * sunrpc/rpc_util.h: Likewise.
95564         * sunrpc/rpcinfo.c: Likewise.
95565         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95566         * sunrpc/rpcsvc/key_prot.x: Likewise.
95567         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95568         * sunrpc/rpcsvc/mount.x: Likewise.
95569         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95570         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95571         * sunrpc/rpcsvc/rex.x: Likewise.
95572         * sunrpc/rpcsvc/rstat.x: Likewise.
95573         * sunrpc/rpcsvc/rusers.x: Likewise.
95574         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95575         * sunrpc/rpcsvc/spray.x: Likewise.
95576         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95577         * sunrpc/rtime.c: Likewise.
95578         * sunrpc/svc.c: Likewise.
95579         * sunrpc/svc_auth.c: Likewise.
95580         * sunrpc/svc_authux.c: Likewise.
95581         * sunrpc/svc_raw.c: Likewise.
95582         * sunrpc/svc_run.c: Likewise.
95583         * sunrpc/svc_simple.c: Likewise.
95584         * sunrpc/svc_tcp.c: Likewise.
95585         * sunrpc/svc_udp.c: Likewise.
95586         * sunrpc/svc_unix.c: Likewise.
95587         * sunrpc/svcauth_des.c: Likewise.
95588         * sunrpc/xcrypt.c: Likewise.
95589         * sunrpc/xdr.c: Likewise.
95590         * sunrpc/xdr_array.c: Likewise.
95591         * sunrpc/xdr_float.c: Likewise.
95592         * sunrpc/xdr_mem.c: Likewise.
95593         * sunrpc/xdr_rec.c: Likewise.
95594         * sunrpc/xdr_ref.c: Likewise.
95595         * sunrpc/xdr_sizeof.c: Likewise.
95596         * sunrpc/xdr_stdio.c: Likewise.
95598         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95599         handling.
95601 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95603         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95605 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95607         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95608         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95609         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95610         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95611         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95612         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95613         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95614         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95615         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95616         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95617         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95618         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95619         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95620         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95622 2010-07-26  Anton Blanchard  <anton@samba.org>
95624         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95625         * malloc/arena.c (heap_trim): Likewise.
95627 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95629         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95630         here.  Not...
95631         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95632         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95634 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95636         * sysdeps/i386/elf/Makefile: New file.
95638 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95640         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95641         from fanotify_init.
95642         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95645 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95647         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95648         of strncasecmp_l.
95649         * sysdeps/multiarch/strcmp.S: Likewise.
95651 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95653         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95654         strncase_l-nonascii.
95655         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95656         Add strncase_l-ssse3.
95657         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95658         * sysdeps/x86_64/strcmp.S: Likewise.
95659         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95660         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95661         * sysdeps/x86_64/strncase.S: New file.
95662         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95663         * sysdeps/x86_64/strncase_l.S: New file.
95664         * string/Makefile (strop-tests): Add strncasecmp.
95665         * string/test-strncasecmp.c: New file.
95667         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95668         warning.
95670         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95671         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95673 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95675         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95677 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95679         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95680         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95681         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95683 2010-05-01  Alan Modra  <amodra@gmail.com>
95685         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95686         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95687         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95688         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95689         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95690         tidying.  Don't tail-call __sigjmp_save for static lib.
95691         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95692         save location.
95693         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95694         (CALL_MCOUNT): Add eh info, and nop after bl.
95695         (TAIL_CALL_SYSCALL_ERROR): New macro.
95696         (PSEUDO_RET): Use it.
95697         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95698         Correct save location of integer regs and cr.
95699         (_dl_profile_resolve): Correct cr save location.  Delete nops
95700         after bl when SHARED.  Reduce cfi size a little by better
95701         placement of cfi directives.
95702         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95703         make a stack frame.  Instead use parm save area as a temp.
95704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95705         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95707         Don't make a stack frame for parent, use parm save area.
95708         Increase child stack frame to 112 bytes.  Don't save unused reg,
95709         and adjust reg usage.  Set up cfi on error recovery and
95710         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95712         (__makecontext): Add dummy nop after jump to exit.
95713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95714         Use correct parm save area and cr save, reduce stack frame.
95715         Correct cfi for possible PSEUDO_RET frame setup.
95716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95717         Branch to local label emitted by PSEUDO_RET rather than
95718         __syscall_error.
95720 2010-08-12  Andreas Schwab  <schwab@redhat.com>
95722         [BZ #11904]
95723         * locale/programs/locale.c (print_assignment): New function.
95724         (show_locale_vars): Use it.
95726 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
95728         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95729         field.
95730         (struct statfs64): Likewise.
95731         (_STATFS_F_FLAGS): Define.
95732         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95733         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95734         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95735         (ST_VALID): Define locally.
95736         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95737         __statvfs_getflags, use the provided value.
95738         * sysdeps/unix/sysv/linux/kernel-features.h: Define
95739         __ASSUME_STATFS_F_FLAGS.
95741         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95743         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95744         Add sys/fanotify.h.
95745         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95746         fanotify_mask for GLIBC_2.13.
95747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95748         fanotify_init and fanotify_mark.
95749         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95750         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95752         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95753         Add prlimit.
95754         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95755         prlimit64 for GLIBC_2.13.
95756         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95757         prlimit64.
95758         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95759         syscall.
95760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95761         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95762         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95763         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
95765         add prlimit alias.
95766         * sysdeps/unix/sysv/linux/prlimit.c: New file.
95768         [BZ #11903]
95769         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95770         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95772         * nss/Makefile: Add rules to build and run tst-nss-test1.
95773         * shlib-versions: Add entry for libnss_test1.
95774         * nss/nss_test1.c: New file.
95775         * nss/tst-nss-test1.c: New file.
95777         * nss/nsswitch.c (__nss_database_custom): Define new variable.
95778         (__nss_configure_lookup): Set appropriate entry in
95779         __nss_configure_lookup to true.
95780         * nss/nsswitch.h: Define enum with indeces of databases in
95781         databases and __nss_database_custom arrays.  Declare
95782         __nss_database_custom.
95783         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95784         to avoid using nscd when custom rules are installed.
95785         * nss/getXXbyYY_r.c: Likewise.
95786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95788         * nss/nss_files/files-parse.c: Whitespace fixes.
95790 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
95792         [BZ #11883]
95793         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95794         * posix/fnmatch_loop.c: Likewise.
95796 2010-07-17  Andi Kleen  <ak@linux.intel.com>
95798         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95799         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95800         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95801         * Versions.def [GLIBC_2.13]: Add.
95803 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
95805         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95806         Also fail if tpwd after pwuid call is NULL.
95808 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95810         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95811         when converting to ms.
95813 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95815         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95816         EOPNOTSUPP errors with ENOTTY.
95817         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95818         EOPNOTSUPP errors with ENOTTY.
95820 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
95822         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95823         Add strcasecmp_l-ssse3.
95824         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95825         strcasecmp.
95826         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95827         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95828         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95830 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
95832         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95834         * string/Makefile (strop-tests): Add strcasecmp.
95835         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95836         strcasecmp_l-nonascii.
95837         (gen-as-const-headers): Add locale-defines.sym.
95838         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95839         * sysdeps/x86_64/strcasecmp.S: New file.
95840         * sysdeps/x86_64/strcasecmp_l.S: New file.
95841         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95842         * sysdeps/x86_64/locale-defines.sym: New file.
95843         * string/test-strcasecmp.c: New file.
95845         * string/test-strcasestr.c: Test both ends of the range of characters.
95846         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95848 2010-07-29  Roland McGrath  <roland@redhat.com>
95850         [BZ #11856]
95851         * manual/locale.texi (Yes-or-No Questions): Fix example code.
95853 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
95855         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95856         for ld.so.
95858 2010-07-27  Andreas Schwab  <schwab@redhat.com>
95860         * manual/memory.texi (Malloc Tunable Parameters): Document
95861         M_PERTURB.
95863 2010-07-26  Roland McGrath  <roland@redhat.com>
95865         [BZ #11840]
95866         * configure.in (-fgnu89-inline check): Set and substitute
95867         gnu89_inline, not libc_cv_gnu89_inline.
95868         * configure: Regenerated.
95869         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95871 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
95873         * string/test-strnlen.c: New file.
95874         * string/Makefile (strop-tests): Add strnlen.
95875         * string/tester.c (test_strnlen): Add a few more test cases.
95876         * string/tst-strlen.c: Better error reporting.
95878         * sysdeps/x86_64/strnlen.S: New file.
95880 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
95882         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95883         lower-latency instructions.
95885 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
95887         * string/test-strcasestr.c: New file.
95888         * string/test-strstr.c: New file.
95889         * string/Makefile (strop-tests): Add strstr and strcasestr.
95890         * string/str-two-way.h: Don't undefine MAX.
95891         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95893 2010-07-21  Andreas Schwab  <schwab@redhat.com>
95895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95896         strcasestr-nonascii.
95897         (CFLAGS-strcasestr-nonascii.c): Define.
95898         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95899         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95900         Remove unused attribute.
95902 2010-07-20  Roland McGrath  <roland@redhat.com>
95904         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95905         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
95906         ld.so.cache was broken.  With it, there is no way to disable dsocaps
95907         like LD_HWCAP_MASK can disable hwcaps.
95909 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95911         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95913 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
95915         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95916         call in strcasestr.
95917         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95918         __strcasestr_sse42_nonascii.
95919         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95920         strcasestr-nonascii.c.
95921         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95923 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
95925         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95926         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95927         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95928         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95930 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
95932         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95933         fcntl.
95935 2010-07-06  Andreas Schwab  <schwab@redhat.com>
95937         [BZ #11577]
95938         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95939         dl_signal_cerror.
95941 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
95943         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95944         _PC_PIPE_BUF using F_GETPIPE_SZ.
95946 2010-07-05  Roland McGrath  <roland@redhat.com>
95948         * manual/arith.texi (Rounding Functions): Fix rint description
95949         implicit in round description.
95951 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
95953         * elf/Makefile: Fix linking for a few tests to make recent linker
95954         happy.
95956 2010-06-30  Andreas Schwab  <schwab@redhat.com>
95958         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95959         $(common-objpfx)libc_nonshared.a.
95961 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
95963         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95964         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95965         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95966         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95967         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95968         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95969         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95970         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95985         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95986         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95987         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95988         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95989         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95990         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95991         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95992         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95993         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95994         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95995         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95996         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96012 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96014         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96015         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96016         * string/memmove.c (memmove): Renamed to ...
96017         (MEMMOVE): ...this.  Default to memmove.
96018         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96019         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96020         (END_CHK): Define.
96021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96022         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96023         mempcpy-ssse3-back memmove-ssse3-back.
96024         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96025         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96026         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96027         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96028         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96029         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96030         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96031         * sysdeps/x86_64/multiarch/memmove.c: New file.
96032         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96033         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96034         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96035         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96036         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96037         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96038         Define.
96039         (index_Fast_Copy_Backward): Define.
96040         (HAS_ARCH_FEATURE): Define.
96041         (HAS_FAST_REP_STRING): Define.
96042         (HAS_FAST_COPY_BACKWARD): Define.
96044 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96046         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96047         Restore proper fallback handling.
96049 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96051         [BZ #11701]
96052         * posix/group_member.c (__group_member): Correct checking loop.
96054         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96055         OOM in getpwuid_r correctly.  Return error number when the caller
96056         should return, otherwise -1.
96057         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96058         call returning > 0 value.
96059         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96061 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96063         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96064         libc_nonshared.a from targets in modules-names.
96066 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96068         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96069         requires it.
96071 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96074         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96076         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96078 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96080         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96082 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96084         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96085         and F_GETPIPE_SZ.
96086         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96087         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96090         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96091         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96093 2010-06-14  Roland McGrath  <roland@redhat.com>
96095         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96097 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96099         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96100         __REDIRECT followed by __THROW.
96101         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96102         * posix/getopt.h (getopt): Likewise.
96104 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96106         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96107         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96108         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96109         in AT_FLAGS.
96110         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96111         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96113 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96115         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96117 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96119         [BZ #11640]
96120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96121         Properly check family and model.
96123 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96125         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96127 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96129         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96131 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96133         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96134         symbol reference.
96136 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96138         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96139         symbol reference.
96141 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96143         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96144         and internal_recvmmsg.
96145         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96146         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96147         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96148         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96150         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96151         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96152         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96154 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96156         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96158 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96160         POWER7 optimizations.
96161         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96162         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96164 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96166         * version.h: Update for 2.13 development version.
96168 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96170         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96171         exceptions.  Return 0.
96173 2010-05-07  Roland McGrath  <roland@redhat.com>
96175         * elf/ldconfig.c (main): Add a const.
96177 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96179         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96180         (args_options): Add no-idn option.
96181         (ahosts_keys_int): Add idn_flags to ai_flags.
96182         (parse_option): Handle 'i' option to clear idn_flags.
96184         * malloc/malloc.c (_int_free): Possible race in the most recently
96185         added check.  Only act on the data if no current modification
96186         happened.
96188 See ChangeLog.17 for earlier changes.